Regression / Signing Issue with Xcode 13.3 on macOS 12: "Development team" required for Cocoapods targets

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I'm running build jobs on the (private beta) macos-12 VMs from Github actions, using Xcode 13.3.
Fastlane: 2.205.1
Cocoapods: 1.11.3
During build, I'm getting "Development team required" error messages for some of the cocoapods-generated targets in my app, specifically the only ones that include resource_bundles commands in their podspecs.
The exact error messages are
[09:45:48]: ▸ ❌  error: Signing for "SDCAlertView-SDCAlertView" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'SDCAlertView-SDCAlertView' from project 'SDCAlertView')
[09:45:48]: ▸ ❌  error: Signing for "Snabble-Snabble" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'Snabble-Snabble' from project 'Snabble')
[09:45:48]: ▸ ❌  error: Signing for "Snabble-SnabbleDT" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'Snabble-SnabbleDT' from project 'Snabble')
[09:45:48]: ▸ ** ARCHIVE FAILED **

This is the lane I'm running:
lane :githubbuild do
    setup_travis
    update_code_signing_settings(
      use_automatic_signing: false
    )
    import_certificate(
      certificate_path: "fastlane/Certificates/distribution.p12",
      certificate_password: ENV["KEY_PASSWORD"],
      keychain_name: "fastlane_tmp_keychain",
      log_output: false
    )
    install_provisioning_profile(
      path: "fastlane/Certificates/MyApp_Release.mobileprovision"
    )
    update_project_provisioning(
      xcodeproj: "MyApp.xcodeproj",
      profile: "fastlane/Certificates/MyApp_Release.mobileprovision",
      build_configuration: "Release",
      code_signing_identity: "Apple Distribution: s****e GmbH (5********L)"
    )
    sigh(
      adhoc: false,
      provisioning_name: "MyApp Release",
    )
    build_number = ENV["GITHUB_RUN_NUMBER"]
    increment_build_number(build_number: build_number)
    build_ios_app(
      configuration: "Release",
      export_method: "app-store",
      include_bitcode: true,
      include_symbols: true,
    )
end

Running this lane locally does not cause any errors, nor does running it on a macos-11 runner instance with Xcode 13.2.1
What could be causing this?  This was affecting the betas but got fixed with the RC

https://github.com/CocoaPods/CocoaPods/issues/11196
https://github.com/CocoaPods/CocoaPods/issues/8891#issuecomment-1063056608


Update dapp challenge and related docs to use the stellar cli

CLI docs update for dapp-challenge is blocked by a need to make some updates to the dapp challenge repo

Unclear dapp challenge is still be actively maintained.

Completed with https://github.com/stellar/stellar-docs/pull/750


Fixes

Ensures Microsoft.PythonTools.Core.pkgdef is not excluded from installation package.
Ensure the correct file extension is used for the pyproj launcher.
Fixes #1774 Unobserved exception after creating virtual env

👍


Having issues viewing the plots possible bug

I'm trying to view the plots but I keep getting an error that the file doesn't exist.
I looked at the source it looks like there is a hard coded value
 pf = pd.read_pickle(f'tickers_df_{7}.p')#process.last_processed

just as a guess I think that should be:
pf = pd.read_pickle(f'tickers_df_{day}.p')

I didn't run process.py first


Fix distribution build

Proposed change

Rename distribution build target in order to resolve local directory name conflict.
Type of change

[ ] New country/market holidays support (thank you!)
[ ] Supported country/market holidays update (calendar discrepancy fix, localization)
[ ] Existing code/test/process quality improvement (best practice, cleanup, refactoring, optimization)
[ ] Dependency upgrade (version update)
[x] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (a code change causing existing functionality to break)
[ ] New feature (new python-holidays functionality in general)

Checklist

[x] I've followed the contributing guidelines
[x] This PR is filed against beta branch of the repository
[x] This PR doesn't contain any merge conflicts and has clean commit history
[x] The code style looks good (make pre-commit)
[x] I've added tests to verify that the new code works and all tests pass locally (make test, make tox)
[x] The related documentation has been added/updated (check off the box for free if no updates is required)

Coverage: 99.961%. Remained the same when pulling 1ab30cbcdfc5683bee25598d67815894afc1f2ff on arkid15r:fix-distribuition-build into 80927d6110889b26ae3ccd198198b7f4a32e7f61 on dr-prodigy:beta.


Create vector swizzle operators in WSL's standard library

Migrated from https://bugs.webkit.org/show_bug.cgi?id=177116:
At 2017-09-19T01:17:51Z<EMAIL_ADDRESS>wrote:
Create vector swizzle operators in WSL's standard library

At 2017-09-19T01:18:56Z<EMAIL_ADDRESS>wrote:
Created attachment 321164
Patch

At 2017-09-20T16:44:18Z<EMAIL_ADDRESS>wrote:
Comment on attachment 321292
Patch
Clearing flags on attachment: 321292
Committed r222267: http://trac.webkit.org/changeset/222267

At 2017-09-20T05:25:11Z<EMAIL_ADDRESS>wrote:
Created attachment 321292
Patch

At 2017-09-20T06:10:48Z<EMAIL_ADDRESS>wrote:
Comment on attachment 321292
Patch
This is so cool!

At 2017-09-20T16:44:20Z<EMAIL_ADDRESS>wrote:
All reviewed patches have been landed.  Closing bug.

At 2017-09-27T19:26:46Z<EMAIL_ADDRESS>wrote:
rdar://problem/34693292


MINOR: Add test for describe topic with ID

Increase the coverage for describeTopics method in the AdminClient
Committer Checklist (excluded from commit message)

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation (including upgrade notes)

The test failed, but not related. All failed tests are integration test and this is a unit test only change.

Hi @divijvaidya, any chance you can check this commit? Thank you in advance!

Thank you @divijvaidya for the timely review, updated!

Hi @divijvaidya can you take another look?

@satishd can you help to review?


configure allowed included entities + add way to document this in OpenAPI docs [MARXAN-208]

See https://vizzuality.atlassian.net/browse/MARXAN-208

The only thing that i miss is a way for the api user to know which are the available include relationships on each module. Apart from that i've been able to properly fetch relationships in projects related users and scenarios.

We do have support for this!

The OpenAPI output is configured here:
https://github.com/Vizzuality/marxan-cloud/pull/99/files#diff-8004824776c1bfc398aac2199f95ff630b5396ffcf741c1376fa9ecb8d10d26eR18
And the actual includes are configured here (for example in the OrganizationsModule):
https://github.com/Vizzuality/marxan-cloud/pull/99/files#diff-e91240c8879096abe6a97f2b8844c2334218db945b3ffb8fcec867f608578c6eR13
and
https://github.com/Vizzuality/marxan-cloud/pull/99/files#diff-31c1831c70abddff8ac7ae1d5cf8e41d9fcc3fdf16676b41ff622909c41a35e5R60
What I don't super like is that for the serializer configuration we have strong typing for an entity's own attributes:
https://github.com/Vizzuality/marxan-cloud/pull/99/files#diff-2b5d0b429abc297338bc221e8ead6e8a79e22113a0c29eb0050afddeb3b29f1cR37
but not for those of included entities:
https://github.com/Vizzuality/marxan-cloud/pull/99/files#diff-2b5d0b429abc297338bc221e8ead6e8a79e22113a0c29eb0050afddeb3b29f1cR40
But this is a bit more complicated...


[BUG] Outdated links/content

Describe the bug
The organization name was renamed to WeMakeDevs, the same for the whole community.
All links and various logos/content are currently outdated and must be updated immediately.
To Reproduce
No response
Expected Behavior
All commclassroom links should be updated to  WeMakeDevs. Content should be updated to match the new branding as well.
Screenshot/ Video
No response
Desktop (please complete the following information)
No response
Additional context
No response

Hello, I would like to help you with this. I can adjust the links to WeMakeDevs. Depending on how many there are, I can complete this in maybe 2 days.

Hello, I would like to help you with this. I can adjust the links to WeMakeDevs. Depending on how many there are, I can complete this in maybe 2 days.

Hello! Sure, feel free to work on it. :)
Fixing this shouldn't be hard. Mostly check all the documentation files, contributing, and readme. The content can be fixed in another PR.
If you need any help, let us know! Thanks.

Hey, @nathan-ashman! Any updates on this? No rush, just asking. Thanks. 🙂

hey, @Panquesito7 can you assign it to me please.

@Panquesito7 is this right??

@Panquesito7  You connected my pull request to this issue but did not assign it to me yet. 🤦🏻♂

@Panquesito7 You connected my pull request to this issue but did not assign it to me yet. 🤦🏻♂

There's no need to assign as you've already made a PR. But I'll still do it.


[cmake] unify cmake cxx flags across GW

Centralize the cmake flags to ensure all modules inherit common configurations.
Closes #291

Good for me as well, but one test is failing and complains about min() and max() for 16-bit in common/base/include/claraparabricks/genomeworks/utils/limits.cuh

rerun tests

Hey @ahehn-nv and @mimaric  - I'm running into a gcc error after the merge from https://github.com/clara-parabricks/GenomeWorks/pull/626 which added libcudaxx dependency. The -Werror now kicks in with an unused argument error for the following -
/jenkins/workspace/clara-genomics/gpuci/clara-genomics-analysis/prb/clara-genomics-analysis-cpu-build/3rdparty/libcudacxx/include/cuda/std/atomic:161:73: error: unused parameter ‘_Scope’ [-Werror=unused-parameter]

 inline __host__ __device__ void atomic_thread_fence(memory_order __m, thread_scope _Scope = thread_scope_system) {

                                                                         ^

cc1plus: all warnings being treated as errors

CMake Error at cudaaligner_generated_myers_gpu.cu.o.Release.cmake:280 (message):

  Error generating file

  /jenkins/workspace/clara-genomics/gpuci/clara-genomics-analysis/prb/clara-genomics-analysis-cpu-build/build/cudaaligner/CMakeFiles/cudaaligner.dir/src/./cudaaligner_generated_myers_gpu.cu.o

Now this shows up in the core cudaaligner compilation, so I had to ignore this particular check in myers_gpu.cu. Let me know if there's a better way to handle this.

Not sure if there is a better way.
If I remember correctly, disabling warnings like that was recommended by the "C++ Coding Standards" book, right?
Personally, I don't really like putting things like this in the code, especially since they are compiler specific. I'd just remove the -Werror from the compilation flags, live with the warnings that are beyond our control and make sure that our code compiles warning free manually. I.e. fix a warning whenever I see one and make all regular contributors aware that their code should compile warning free (and use git blame extensively! ;) ). But that's just my personal view.

I agree that once it goes it, it's hard to take out especially because there's no frequent review of these exceptions. That said, I personally prefer to err on the side of caution and leave the strict checking with -Werror in there since it forces us to evaluate what's causing the warning. With best effort, I've rarely seen a consistent effort put in by all developers to ensure warning free compilation. Since it's the recommended way, I'd say let's keep it as is and if we find ourselves adding a whole lot of exceptions, then we can revisit taking out -Werror :).


[Feature Request] Worker instance lifespan

It would be nice to have some kind of lifespan for worker instances.
In my case i need shared http client (httpx.AsyncClient) for my activities, and i now don't see a proper place to call await client.aclose().

Can you clarify the request a bit? A worker is running and using what it has until run returns (or if you're using async with, until that block is done). A worker's run does not return until it is shutdown and all activities are done (see https://github.com/temporalio/sdk-python?tab=readme-ov-file#worker-shutdown). You should add your client close after the worker run is complete.

async with has its own complex cleanup logic, which i have to reproduce in my scenario without context manager.
Why not to include the implementation of __aexit__  to some kind of asynd def cleanup(...)? Or maybe worker.shutdown is sufficient?

Why not to include the implementation of aexit to some kind of asynd def cleanup(...)? Or maybe worker.shutdown is sufficient?

Worker shutdown should be sufficient. If you add your cleanup code after worker is shutdown (or after context manager is complete), that is enough to guarantee the worker isn't using things anymore. A worker lifetime is the life of its run or context manager, both will not complete while it is running (neither will the shutdown call), add any cleanup after that as needed.


pretrained model on VIGOR

hello, Is the model you provide for pretrained on VIGOR under same-aera or cross-aera protocol?

Should be same-area.

I will close this issue if no further question.


Change repo name

I guess we should change the repo name.
Do you have an idea ?

@thc/weback-chemistry, using the name of the bare repo

webpack-labo or webpack-laboratory ?
I think with alchemy I would never remember between chemistry/alchemy which is which : repo or base package


WARN on duplicate prop

Fixes #499 - Add a warning to console when same key is used in both parent and state props

So, I would remake this against the next branch. I don't think we should land something like this in a patch release, since it might produce spurious output for devs. However, since 5.0's right around the corner, it's a perfect chance to get something like this in.

The file you would need to modify in the next branch is here: https://github.com/reactjs/react-redux/blob/next/src/connect/mergeProps.js#L5


ARR setting seems not to have any effect

Setting it to 0ns doesn't "teleport" pieces.

Hello!
Inferring from the short description you gave (in combination with a similar you opened) it seems this is another issue stemming from common terminal limitations (see 'Important note' in README and the similar issue mentioned).
However, this led me to discover and fix a bug in the implementation of 0 ARR for kitty terminals (where the event simulation looped infinitely.)
Thank you for your issue. :-)


Update index.css

This pull request proposes improvements to the UI of the internship section of the website using CSS. The changes aim to enhance responsiveness, readability, and overall user experience.
Testing: Manually tested the changes on various screen sizes and devices to ensure responsiveness.
Referenced the existing CSS code for the internship section while making changes.
Maintained a consistent coding style throughout the implementation.
Please review the implemented changes and provide feedback. I welcome suggestions for further improvement.
Thank you!
Garima Singh

@GarimaSingh0109 It seems too big decrease the card size make 3 cards inline so that it would looks better

ok working on it

I have made the required changes. Please review the implemented changes and provide feedback.

@GarimaSingh0109 That looks good.  As I m neither getting any response or feedback.


Keyboard keystroke to enter date picker is not discoverable

For a keyboard user who doesn't use a screen reader, it's not clear how to access the calendar of the date picker. Even if you figure out how to open the keyboard shortcut menu, it doesn't explain how to get into the calendar.
For a screen reader user, there are instructions to use the down arrow key to access the calendar. However, there are a few problems with this. When using a screen reader, the down key (and the arrow keys in general) have special meaning and captured by the screen reader and not passed down to the UI. Additionally, when using a touch device without a keyboard, that action isn't even possible, making the instructions confusing.

So perhaps things have changed since this was opened but at present, you can use tab to move from the input to the calendar.  I'm not sure if this is sufficient or not but at least that's now an option in addition to the down arrow key.  I really don't know what it should be though.  What would a keyboard only user expect?  Probably tab is acceptable, I'm guessing that would be the first or second thing they would try?  So is that ok and should we close this issue now?  Or should we figure out if there should be another means to navigate into the calendar from the input?

I think this never got closed after it was addressed! @monokrome addressed this in https://github.com/airbnb/react-dates/pull/1499


[CNCF Check List] Migrate project to OpenELB org

OpenELB is CNCF project now and we need migrate project to OpenELB org for CNCF check list of OpenELB

/cc @FeynmanZhou

/cc @FeynmanZhou

Yes, I will migrate this repo to OpenELB org soon. @zheng1 Could you please verify if this migration has no effect on the current project usage.

@FeynmanZhou LGTM, please do it

Hi team,
I have transferred the OpenELB repo to the OpenELB organization as CNCF is needed.


Increase minimum Node version to 18

The minimum Node version of all packages should be increased from 16 to 18, in part to allow us to use APIs only in Node 18 like fetch. (https://github.com/microsoft/typespec/issues/1846).
https://github.com/microsoft/typespec/blob/a5d648c95699ab4f6220f8adc17a30102b0ae386/packages/compiler/package.json#L47

Node 16 has now reached EOL as of today. https://nodejs.org/en/blog/announcements/nodejs16-eol
So we should schedule this, there is nothing urgent right now but dependencies might start to stop working on node 16 and/or setup their own engine requirement.

est: 3

Describe the breaking change
Node version 16 is out of support, remove nofe16 from node engine versions in package.json,  consumers should end usage of node 16 (otherwise, warning)
Back-compat design to avoid immediate breaking
Any back-compat design: Verified with DPG team no node16 usage in pipelines
Link to detailed breaking design
Impact
This change affecting:

[ ] ARM
[ ] Data-plane
[ ] Existing specs: approx. # of service/spec impacted
[x] New specs
[x] Emitters
[ ] SDK

Targeted Sprint
Sprint: November
Additional information


How can we apply to join the audit team?

Our team of Substrate, EVM, XCM, and Solidity experts has carried out extensive internal audits. In recent years, we've significantly contributed code to the Polkadot ecosystem.

I would recommend joining our Discord and reaching out through there. https://discord.gg/AmC6EfjMcw

I would recommend joining our Discord and reaching out through there. discord.gg/AmC6EfjMcw

Our team joined that server 5 months ago.
It seems I can't get enough attention there, which is disappointing.


unverified http contexts [PEP0466]

Add the unverfied=True parameter to all connect calls allowing the
samples changed to connect to vCenter or ESXi hosts that do not
have signed SSL certificates. This is related to changes made for
PEP0466.
See: https://github.com/vmware/pyvmomi/pull/252
fixes: https://github.com/vmware/pyvmomi/issues/212, https://github.com/vmware/pyvmomi/issues/235, and https://github.com/vmware/pyvmomi/issues/179

Rather than change each sample to hardcode unverified=True, can we add a parameter to tools/cli.py and propagate that? One of the things I like about the samples is that if you remember 'soup' (server, port, user, password) the samples are grab and go cli commands. How about -w or --unverified for weak SSL? Default all samples to strong for production and in dev/test I add -w=True to my command invocation.

@bobfraser1 I like it

Skipping cert verification is handled in all Samples now with -S argument.
Closing PR due to inactivity from long time
Thanks


suggestion for symmetric alibi implementation.

as you mentioned, alibi is not trivial to apply for bidirectional encoder.
there's some work from meta, data2vec 2.0, where they employed alibi with bidirectional encoder, especially for audio encoder.
voicebox adopted similar architecture, incorporating both convolutional positional encoding and alibi. and it appears they utilized a symmetric version of alibi. you can see alibi bias part of data2vec 2.0 code.
https://github.com/facebookresearch/fairseq/blame/100cd91db19bb27277a06a25eb4154c805b10189/examples/data2vec/models/modalities/base.py#L568-L577
what do you think about applying symmetric alibi?

@seastar105 hey Haesung, i've tried symmetric Alibi before, but the best results i've had is still dynamic positional bias. that is what i would use if i had to use attention bias
since flash attention came on the scene though, it is not preferable to use attention bias. rotary embeddings should be a good fit here, given it has been proven out in a number of significant models (palm, llama)

@seastar105 actually, i spoke too soon - let me read how they did their implementation this morning. do you know if there was a paper with the necessary data to show the effectiveness of their proposal?

@seastar105 ok, just took a quick look. i would say that is not correct. how would the network differentiate between left and right given the same relative distance?

i don't think i'm going to go with this until i see a follow up paper

actually i have no idea, and do not know papers to suggest why symmetric alibi bias can work better than dynamic positional bias in bidirectional encoder, especially for rope, also why symmetric alibi is better than assymetric way. i've just noticed alibi is used for audio in data2vec 2.0, and also voicebox.
my hyphothesis was learned alibi bias could be lightweight alternative to conformer since it penalizes attention scores to be local(at least, 0.5 is quite high penalty for attention scores). conformer performs better than vanila transformers in many works, even generation of speech, appeared in espnet's report (https://arxiv.org/pdf/2010.13956.pdf). so, suggestion is not backed on concrete experiments.
i really appreciate on your experience @lucidrains. i'm gonna compare conformer models trained for ASR and fine-tuned alibi feature encoder. if i have any decent results, i'm gonna report here.

@seastar105 i'm no longer a fan of alibi
even its length extrapolation abilities have been under question recently

i don't think it has to be one or the other
mixing in some convolutions is a fine choice, as it is position generating

Sorry this is a bit late but writing this for completeness. We updated the paper with details on Alibi Bias. We did find Alibi bias to converge faster than fixed positional embeddings or no pos. It is similar to the symmetric option here: https://github.com/ofirpress/attention_with_linear_biases/issues/5

@apoorv2904 oh i see
how does symmetric alibi makes sense? how would the network learn to differentiate left from right?

@apoorv2904 sounds good, i think i will stick with rotary for this repo


c_windows_dbg.vsprojects/Debug/h2_http_proxy_test.exe connectivity

https://grpc-testing.appspot.com/job/gRPC_master_windows/lastCompletedBuild/testReport/(root)/c_windows_dbg/vsprojects_Debug_h2_http_proxy_test_exe_connectivity/
D1213 15:56:53.261000000 16376 test_config.c:290] test slowdown: machine=1.000000 build=1.000000 poll=1.000000 total=1.000000
I1213 15:56:53.267000000 16376 http_proxy.c:429] Proxy address: localhost:2813
D1213 15:56:53.268000000   416 connectivity.c:55] verifying
D1213 15:56:53.368000000 16376 connectivity.c:97] watching
I1213 15:56:53.370000000 13212 http_connect_handshaker.c:273] Connecting to server localhost:2811 via HTTP proxy localhost:2813
I1213 15:56:54.370000000 16376 subchannel.c:675] Connect failed: {"created":"@1481644614.370000000","description":"End of TCP stream","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects..\src\core\lib\iomgr\tcp_windows.c","file_line":184}
I1213 15:56:54.370000000 16376 http_connect_handshaker.c:273] Connecting to server localhost:2811 via HTTP proxy localhost:2813
I1213 15:56:54.379000000 16376 http_proxy.c:131] HTTP proxy server connect: {"created":"@1481644614.379000000","description":"OS Error","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects..\src\core\lib\iomgr\tcp_client_windows.c","file_line":119,"os_error":"No connection could be made because the target machine actively refused it.\r\n","syscall":"ConnectEx","wsa_error":10061}
I1213 15:56:55.372000000 11424 subchannel.c:675] Connect failed: {"created":"@1481644615.372000000","description":"End of TCP stream","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects..\src\core\lib\iomgr\tcp_windows.c","file_line":184}
I1213 15:56:55.372000000 11424 subchannel.c:478] Retry immediately
I1213 15:56:55.372000000 11424 subchannel.c:430] Failed to connect to channel, retrying
D1213 15:56:55.372000000 16376 connectivity.c:129] *** STARTING SERVER ***
I1213 15:56:55.372000000 11424 http_connect_handshaker.c:273] Connecting to server localhost:2811 via HTTP proxy localhost:2813
I1213 15:56:55.373000000 11424 http_proxy.c:131] HTTP proxy server connect: {"created":"@1481644615.373000000","description":"OS Error","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects..\src\core\lib\iomgr\tcp_client_windows.c","file_line":119,"os_error":"No connection could be made because the target machine actively refused it.\r\n","syscall":"ConnectEx","wsa_error":10061}
D1213 15:56:55.380000000 16376 connectivity.c:134] *** STARTED SERVER ***
D1213 15:56:55.380000000 16376 connectivity.c:151] *** SHUTTING DOWN SERVER ***
E1213 15:56:58.380000000 16376 cq_verifier.c:184] assertion failed: e->success == ev->success
Abort handler called.
*** 0:<PHONE_NUMBER>2E481F  -<PHONE_NUMBER>000000
*** 1:<PHONE_NUMBER>2E4D27  -<PHONE_NUMBER>000000
*** 2:<PHONE_NUMBER>386619  -<PHONE_NUMBER>000000
*** 3:<PHONE_NUMBER>381A14  -<PHONE_NUMBER>000000
*** 4:<PHONE_NUMBER>54CB0D  -<PHONE_NUMBER>000000
*** 5:<PHONE_NUMBER>54C0B1  -<PHONE_NUMBER>000000
*** 6:<PHONE_NUMBER>35D680  -<PHONE_NUMBER>000000
*** 7:<PHONE_NUMBER>35D83F  -<PHONE_NUMBER>000000
*** 8:<PHONE_NUMBER>34FEBB  -<PHONE_NUMBER>000000
*** 9:<PHONE_NUMBER>2E13AA  -<PHONE_NUMBER>000000
*** 10:<PHONE_NUMBER>381D7A  -<PHONE_NUMBER>000000
*** 11:<PHONE_NUMBER>381ECD  -<PHONE_NUMBER>000000
*** 12:<PHONE_NUMBER>34336A BaseThreadInitThunk -<PHONE_NUMBER>343358
*** 13:<PHONE_NUMBER>279902 RtlInitializeExceptionChain -<PHONE_NUMBER>27989F
*** 14:<PHONE_NUMBER>2798D5 RtlInitializeExceptionChain -<PHONE_NUMBER>27989F

Seen in gRPC_master_windows builds:

1117
1124
1129

Seen again:
https://grpc-testing.appspot.com/job/gRPC_pr_win/1974/

Seen again on Master:
https://grpc-testing.appspot.com/job/gRPC_master_windows/1706/testReport/junit/(root)/c_windows_dbg/vsprojects_Debug_h2_http_proxy_test_exe_connectivity/
D0224 15:59:03.008000000 13136 test_config.c:379] test slowdown factor: sanitizer=1, fixture=1, poller=1, total=1
I0224 15:59:03.014000000 13136 http_proxy.c:440] Proxy address: localhost:2914
D0224 15:59:03.015000000 12448 connectivity.c:55] verifying
D0224 15:59:03.115000000 13136 connectivity.c:97] watching
I0224 15:59:03.117000000  8796 http_connect_handshaker.c:319] Connecting to server localhost:2911 via HTTP proxy ipv4:<IP_ADDRESS>:2914
I0224 15:59:04.117000000  8796 subchannel.c:706] Connect failed: {"created":"@1487951944.117000000","description":"TCP stream shutting down","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects\..\src\core\lib\iomgr\tcp_windows.c","file_line":189,"referenced_errors":[{"created":"@1487951944.117000000","description":"Handshake timed out","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects\..\src\core\lib\channel\handshaker.c","file_line":241}]}
I0224 15:59:04.118000000  8796 http_proxy.c:134] HTTP proxy server connect: {"created":"@1487951944.118000000","description":"OS Error","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects\..\src\core\lib\iomgr\tcp_client_windows.c","file_line":120,"os_error":"No connection could be made because the target machine actively refused it.\r\n","syscall":"ConnectEx","wsa_error":10061}
I0224 15:59:04.119000000  8796 http_connect_handshaker.c:319] Connecting to server localhost:2911 via HTTP proxy ipv6:[::1]:2914
I0224 15:59:05.113000000  8796 http_proxy.c:134] HTTP proxy server connect: {"created":"@1487951945.113000000","description":"OS Error","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects\..\src\core\lib\iomgr\tcp_client_windows.c","file_line":120,"os_error":"No connection could be made because the target machine actively refused it.\r\n","syscall":"ConnectEx","wsa_error":10061}
I0224 15:59:05.114000000  8796 subchannel.c:706] Connect failed: {"created":"@1487951945.114000000","description":"End of TCP stream","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_dbg\vsprojects\..\src\core\lib\iomgr\tcp_windows.c","file_line":190}
I0224 15:59:05.114000000  8796 subchannel.c:502] Retry immediately
I0224 15:59:05.114000000  8796 subchannel.c:454] Failed to connect to channel, retrying
D0224 15:59:05.115000000 13136 connectivity.c:129] *** STARTING SERVER ***
I0224 15:59:05.115000000  8796 http_connect_handshaker.c:319] Connecting to server localhost:2911 via HTTP proxy ipv4:<IP_ADDRESS>:2914
D0224 15:59:05.125000000 13136 connectivity.c:134] *** STARTED SERVER ***
D0224 15:59:05.125000000 13136 connectivity.c:151] *** SHUTTING DOWN SERVER ***
E0224 15:59:08.126000000 13136 cq_verifier.c:200] assertion failed: e->success == ev->success
Abort handler called.
*** 0:<PHONE_NUMBER>EF4C5F  -<PHONE_NUMBER>000000
*** 1:<PHONE_NUMBER>EF5167  -<PHONE_NUMBER>000000
*** 2:<PHONE_NUMBER>FA2EE9  -<PHONE_NUMBER>000000
*** 3:<PHONE_NUMBER>F9E074  -<PHONE_NUMBER>000000
*** 4:<PHONE_NUMBER>16AEAD  -<PHONE_NUMBER>000000
*** 5:<PHONE_NUMBER>16A344  -<PHONE_NUMBER>000000
*** 6:<PHONE_NUMBER>F7601E  -<PHONE_NUMBER>000000
*** 7:<PHONE_NUMBER>F761DF  -<PHONE_NUMBER>000000
*** 8:<PHONE_NUMBER>F68DCF  -<PHONE_NUMBER>000000
*** 9:<PHONE_NUMBER>EF13AA  -<PHONE_NUMBER>000000
*** 10:<PHONE_NUMBER>F9E3DA  -<PHONE_NUMBER>000000
*** 11:<PHONE_NUMBER>F9E52D  -<PHONE_NUMBER>000000
*** 12:<PHONE_NUMBER>2D336A BaseThreadInitThunk -<PHONE_NUMBER>2D3358
*** 13:<PHONE_NUMBER>D89902 RtlInitializeExceptionChain -<PHONE_NUMBER>D8989F
*** 14:<PHONE_NUMBER>D898D5 RtlInitializeExceptionChain -<PHONE_NUMBER>D8989F

It does look like a timeout.

the same error seen again on multiple recent master windows runs:
log in https://grpc-testing.appspot.com/job/gRPC_master_windows/2366/#showFailuresLink
D0424 22:13:36.501000000  3196 connectivity.c:129] *** STARTING SERVER ***
I0424 22:13:36.501000000 11644 http_connect_handshaker.c:319] Connecting to server localhost:1710 via HTTP proxy ipv4:<IP_ADDRESS>:1751
D0424 22:13:36.502000000 11644 http_proxy_fixture.c:328] on_read_request_done: 0047AE90 "No Error"
D0424 22:13:36.504000000  3196 connectivity.c:134] *** STARTED SERVER ***
D0424 22:13:36.504000000  3196 connectivity.c:151] *** SHUTTING DOWN SERVER ***
I0424 22:13:36.523000000  3196 http_proxy_fixture.c:145] HTTP proxy server connect: {"created":"@1493072016.523000000","description":"OS Error","file":"C:\jenkins\workspace\gRPC_master_windows\workspace_c_windows_opt_native\vsprojects\..\src\core\lib\iomgr\tcp_client_windows.c","file_line":120,"os_error":"No connection could be made because the target machine actively refused it.\r\n","syscall":"ConnectEx","wsa_error":10061}
D0424 22:13:36.523000000  3196 http_proxy_fixture.c:117] endpoints: 0046A270 00000000
E0424 22:13:39.506000000  3196 cq_verifier.c:200] assertion failed: e->success == ev->success
Abort handler called.

Seen again: https://grpc-testing.appspot.com/job/gRPC_master_windows/2421/

D0509 14:44:06.447000000  2544 test_config.c:403] test slowdown factor: sanitizer=1, fixture=1, poller=1, total=1
D0509 14:44:06.449000000  2544 dns_resolver.c:316] Using native dns resolver
I0509 14:44:06.462000000  2544 http_proxy_fixture.c:459] Proxy address: localhost:1208
D0509 14:44:06.463000000 13708 connectivity.c:55] verifying
D0509 14:44:06.562000000  2544 connectivity.c:97] watching
I0509 14:44:06.590000000 14292 http_connect_handshaker.c:319] Connecting to server localhost:1203 via HTTP proxy ipv4:<IP_ADDRESS>:1208
D0509 14:44:06.590000000 14292 http_proxy_fixture.c:328] on_read_request_done: 00638790 "No Error"
I0509 14:44:07.587000000 14292 subchannel.c:707] Connect failed: {"created":"@1494341047.587000000","description":"TCP stream shutting down","file":"C:\jenkins\workspace\gRPC_pr_win\workspace_c_windows_dbg_native\vsprojects\..\src\core\lib\iomgr\tcp_windows.c","file_line":189,"referenced_errors":[{"created":"@1494341047.587000000","description":"Handshake timed out","file":"C:\jenkins\workspace\gRPC_pr_win\workspace_c_windows_dbg_native\vsprojects\..\src\core\lib\channel\handshaker.c","file_line":241}]}
I0509 14:44:07.587000000 14292 http_connect_handshaker.c:319] Connecting to server localhost:1203 via HTTP proxy ipv6:[::1]:1208
D0509 14:44:07.587000000 14292 http_proxy_fixture.c:328] on_read_request_done: 00637118 "No Error"
I0509 14:44:07.598000000 14292 http_proxy_fixture.c:145] HTTP proxy server connect: {"created":"@1494341047.598000000","description":"OS Error","file":"C:\jenkins\workspace\gRPC_pr_win\workspace_c_windows_dbg_native\vsprojects\..\src\core\lib\iomgr\tcp_client_windows.c","file_line":120,"os_error":"No connection could be made because the target machine actively refused it.\r\n","syscall":"ConnectEx","wsa_error":10061}
D0509 14:44:07.598000000 14292 http_proxy_fixture.c:117] endpoints: 00631518 00000000
I0509 14:44:08.580000000 14292 http_proxy_fixture.c:145] HTTP proxy server connect: {"created":"@1494341048.580000000","description":"OS Error","file":"C:\jenkins\workspace\gRPC_pr_win\workspace_c_windows_dbg_native\vsprojects\..\src\core\lib\iomgr\tcp_client_windows.c","file_line":120,"os_error":"No connection could be made because the target machine actively refused it.\r\n","syscall":"ConnectEx","wsa_error":10061}
D0509 14:44:08.580000000 14292 http_proxy_fixture.c:117] endpoints: 00636F50 00000000
I0509 14:44:08.580000000 14292 subchannel.c:707] Connect failed: {"created":"@1494341048.580000000","description":"End of TCP stream","file":"C:\jenkins\workspace\gRPC_pr_win\workspace_c_windows_dbg_native\vsprojects\..\src\core\lib\iomgr\tcp_windows.c","file_line":190}
I0509 14:44:08.580000000 14292 subchannel.c:500] Retry immediately
I0509 14:44:08.580000000 14292 subchannel.c:452] Failed to connect to channel, retrying
D0509 14:44:08.580000000  2544 connectivity.c:129] *** STARTING SERVER ***
I0509 14:44:08.580000000 14292 http_connect_handshaker.c:319] Connecting to server localhost:1203 via HTTP proxy ipv4:<IP_ADDRESS>:1208
D0509 14:44:08.581000000 14292 http_proxy_fixture.c:328] on_read_request_done: 00638088 "No Error"
D0509 14:44:08.588000000  2544 connectivity.c:134] *** STARTED SERVER ***
D0509 14:44:08.588000000  2544 connectivity.c:151] *** SHUTTING DOWN SERVER ***
E0509 14:44:11.591000000  2544 cq_verifier.c:244] actual success does not match expected: 00000005 GRPC_OP_COMPLETE success=1 C:\jenkins\workspace\gRPC_pr_win\workspace_c_windows_dbg_native\vsprojects\..\test\core\end2end\tests\connectivity.c:159
Abort handler called.
*** 0:<PHONE_NUMBER>194D2F  -<PHONE_NUMBER>000000
*** 1:<PHONE_NUMBER>195237  -<PHONE_NUMBER>000000
*** 2:<PHONE_NUMBER>255F29  -<PHONE_NUMBER>000000
*** 3:<PHONE_NUMBER>251084  -<PHONE_NUMBER>000000
*** 4:<PHONE_NUMBER>41E4DE  -<PHONE_NUMBER>000000
*** 5:<PHONE_NUMBER>41D6D4  -<PHONE_NUMBER>000000
*** 6:<PHONE_NUMBER>223C54  -<PHONE_NUMBER>000000
*** 7:<PHONE_NUMBER>223E1F  -<PHONE_NUMBER>000000
*** 8:<PHONE_NUMBER>215857  -<PHONE_NUMBER>000000
*** 9:<PHONE_NUMBER>1913AA  -<PHONE_NUMBER>000000
*** 10:<PHONE_NUMBER>2513EA  -<PHONE_NUMBER>000000
*** 11:<PHONE_NUMBER>25153D  -<PHONE_NUMBER>000000
*** 12:<PHONE_NUMBER>E1336A BaseThreadInitThunk -<PHONE_NUMBER>E13358
*** 13:<PHONE_NUMBER>389902 RtlInitializeExceptionChain -<PHONE_NUMBER>38989F
*** 14:<PHONE_NUMBER>3898D5 RtlInitializeExceptionChain -<PHONE_NUMBER>38989F

Should be fixed with #11224


Allow metadata in register transaction

The PR updates the /register/transaction endpoint to accept NDJSON. The /register/transaction endpoint can now accept metadata as the first event in NDJSON body and cache it for future calls. A complete list of changes introduced in the PR is as follows:

Change the Content-Type for the /register/transaction endpoint from application/vnd.elastic.apm.transaction+json to application/vnd.elastic.apm.transaction+ndjson.
Add support for deflate and gzip content encoding for the /register/transaction endpoint.
Allow metadata as the first event in the NDJSON body to the /register/transaction endpoint. The metadata is cached and used to send data to APM-Server. The cached metadata is NOT updated by the metadata sent via the intake endpoint.

Related Issue
Closes #352

The cached metadata is NOT updated by the metadata sent via the intake endpoint.

This is slightly concerning to me. We have a mechanism for adding "late-breaking" metadata in the python agent, for metadata that is only available at request time. For now, this should not be a problem -- the only late metadata we add is for lambda, and that metadata will be available when we send the partial transaction.
I just wanted to call it out as something we should explicitly state when we update the spec with partial transaction support.

@trentm @basepi Did you get a chance to test this out? I have done some testing with go-agent and it seems to work as expected but wanted to make sure all requirements are appropriately covered before merging.

@lahsivjar I have not yet, but I think I may start looking at this tomorrow (as part of https://github.com/elastic/apm-agent-nodejs/issues/3136).

I'll test this today.


[Bug] When image url is not passed in both image and default field the rotate icons are still displayed in the widget

Description
Release/Production - It is observed that when the image url is not passed in both the image and default field and enabling rotate toggle - the rotate icons are displayed in the widget
Expected Result:
Rotate icons should not be displayed if no image url is passed in both image and default field
Steps to reproduce the behaviour:
1.Launch Appsmith app in the release environment
2.Drag and drop image widget
3.Do not pass image url in both the image and default field
4.Enable the rotate toggle
5.Mouse hover on the image widget and observe
Important Details

Version: [11.3]
OS: [MacOS. Big]
Browser [chrome, safari]
Environment [production, release]

Can I take this up? Thanks


Collection frequency for Agent Health Linux machines is 5 minutes

Collection frequency for Agent Health Linux machines is 5 minutes

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

ID: f054a0ea-fe3e-2460-e0c8-bf6475040fed
Version Independent ID: ce7a1b1d-9e00-c02d-a394-aaf1293e2e0d
Content: Data collection details for management solutions in Azure
Content Source: articles/monitoring/monitoring-solutions-inventory.md
Service: log-analytics
GitHub Login: @MGoedtel
Microsoft Alias: bwren

@slavizh Thanks for the feedback. We are actively investigating and will get back to you soon.

@slavizh Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#please-close - we are re-writing the content about data collection/data sources and this along with other items are going to be addressed.


gateway controller: run as privileged

The alternative here is to automagically select a >1024 port if they use
one like 80. I think this is a really bad idea, since its complicated
and cannot ever be changed without downtime. In the near future,
Kubernetes will make NET_BIND_SERVICE the default (or runnable without
priv, I forget the details), so we should rely on that plan long term.
This works today because our image implicitly runs as root. However, the
distroless image doesn't, so distroless is broken. This is just
formalizing the fact that we run as root - it is not escalating
privileges beyond what are used today already. Also, this is only for
the alpha gateway implementation, not impacting prod usage.
Tested in https://github.com/istio/istio/pull/35354/files.
Please provide a description of this PR:

Opening a new PR


Get default branch dynamically

Fixes #5

Thank you for the contribution @daniel-ciaglia and @nhll!
Seems more stubbing is not working on our github actions CI

Seems that the integration test is failing because authorization is prefixed with Bearer https://github.com/geritol/write-guard/blob/master/src/load-settings.js#L14 But the rest client only needs the GITHUB_TOKEN` passed as auth.
https://octokit.github.io/rest.js/v18#authentication

It turns out that GHA event json contains the default branch information:
https://stackoverflow.com/a/68414395/2020696
This is pretty good since we can elimintate extra http requests and also easily mock it in integration tests.
@daniel-ciaglia @nhll  please check #8


Release of embedded-layout needs release of embedded-layout-macros

Recently  embedded-layout was reved and released as 0.3.2. In order for #[derive(ViewGroup)] to work with Enums, empty enum variants and unit structs you need to rev and release embedded-layout-macros as well.

Thanks for pointing this out and sorry :) This just shows I probably shouldn't do releases by hand. I've released it as 0.2.1, let me know if you have other issues!


Difficulty on the basic example

Have you had this difficulty using ddeboer/data-import? I try to reproduce only the basic example.. yet ... "Cannot read property "beginDate" from an array. Maybe you intended to write the property path as "[beginDate]" instead."
I use Symfony 2.8 and ddeboer/data-import

Please try using PortPHP instead: it’s the successor to data-import.


Add jest and coverage validation

@coderabbitai please write task body with details which tool can be used to validate coverage every push

https://github.com/coderabbitai please write task body with details which tool can be used to validate coverage every push

@coderabbitai please write task body with details which tool can be used to validate coverage every push


[feature]: Overall form validator

Is your feature request related to a problem? Please describe.
I have a form with two optional fields, but the use should fill at least one field,, for example , Email address or Mobile number..
I have email and mobile regex validators,, but the form wont be valid until one value is filled and valid,,
We need a custom form validator.
Describe the solution you would like
My suggestion is to add a validator field to the form.. like this
@FormView(
  fields: [
    FormTextField(
      name: 'mobile',
      initialValue: null,
      validator: FormValidator.validateMobile,
    ),
    FormTextField(
      name: 'email',
      initialValue: null,
      validator: FormValidator.validateEmail,
    ),
  ],
validator: FormValidator.validateForm /// This should accept a map of the field values..
)

You can get the idea from the Reactive Forms of angular...
Additional Context
No response

@bdairy I will add this as a potencial new feature but in the meantime I think you can do something like below:
CustomFormViewModel
Future<void> saveUser() async {
  if (!hasEmailValidationMessage || !hasMobileValidationMessage) {
    // do your task here...
  }
}

@bdairy I will add this as a potencial new feature but in the meantime I think you can do something like below:
CustomFormViewModel

Future<void> saveUser() async {

  if (hasEmailValidationMessage && hasMobileValidationMessage) return;

  // do your task here...

}

Already created a custom validator function for that form, I appreciate you guys for considering our requests.
Best of luck


How to reproduce "git diff commitA commitB -- file" with VSTS?

I like to use VSTS API for my project, because it provides me with all functions I need. Thank you for the great tool!
Nevertheless I got a new challenge and would like to ask for advice, what would be the best recipe to reproduce 'git diff commitA commitB -- file' results with VSTS? My goal is for each tuple (commit, overlapping_commit, file) find out the number of lines in the file touched by both commits?

I think the best way to do this right now is to create a branch or tag that points to the commits you're interested in, and the use the Compare branches from the Branches page or Compare tags from the Tags page.  That will give you both the list of commits and the changed files.
If you're looking for a way to do this strictly through the API, I think this is the API you want to use: https://docs.microsoft.com/en-us/rest/api/vsts/git/diffs/get?view=vsts-rest-4.1#between_commit_ids

Hi @mmitrik, thank you for the reply. Now I understand the situation.


[do not merge] CI testing for code coverage

This is a sandbox for testing adding Codecov for polars. The goal is to iron out the CI before creating an upstream branch.

This has been merged upstream.


Authentication generator incorrectly modifying project

I am using macOS Sierra and followed the instructions here: https://docs.feathersjs.com/guides/step-by-step/generators/gen-authentication.html
To add authentication to a barebones app. The project structure seems to change correctly, however, the files don't seem to update correctly.
In the CLI, I ran feathers generate authentication, chose "local", "user" and "Mongoose" when prompted.
The result is, for example is user.model.js was generated, but there were 2 blank lines where email and password should have been added. Also, user.hooks.js was missing hashPassword(), so even if I added email and password fields manually to the user model, passwords weren't hashed.
Btw, I also tried to run sudo feathers generate authentication with the same result.

@daffl  ^^^

Alright, I feel a bit silly writing this, but I easily resolved this: It was my bad. I didn't realize I had to select at least one option for authentication providers (with ). Everything's fine. Thanks, nothing to see here.


Error HLS_COULD_NOT_PARSE_SEGMENT_START_TIME

What version of Shaka Player are you using?
latest
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from master?
yes
Are you using the demo app or your own custom app?
demo app
If custom app, can you reproduce the issue using our demo app?
yes
What browser and OS are you using?
windows 10 & chrome
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
mpd send to<EMAIL_ADDRESS>What did you do?
try to play a hls stream
What did you expect to happen?
that the stream works
What actually happened?
I get the error : HLS_COULD_NOT_PARSE_SEGMENT_START_TIME

I was able to play the content in Chrome on MacOS, however I saw the video gets buffering quite often.

Hello, thanks for your reply. I still have the error HLS_COULD_NOT_PARSE_SEGMENT_START_TIME with the demo app 2.5.11 uncompiled on chrome Version 81.0.4044.129 (Build officiel) (64 bits) with windows 10 Pro edition 1909 os build 18363.778

I also have the error HLS_COULD_NOT_PARSE_SEGMENT_START_TIME on chrome with Mac os mojave 10.14.6.
The error seems to be triggered by a packet null at the beggining of the segment.

Hello,
Thanks for your reply.
I still have the error HLS_COULD_NOT_PARSE_SEGMENT_START_TIME with the demo
app 2.5.11 uncompiled on chrome Version 81.0.4044.129 (Build officiel) (64
bits) with windows 10 Pro edition 1909 os build 18363.778.
I also have the error HLS_COULD_NOT_PARSE_SEGMENT_START_TIME on chrome with
Mac os mojave 10.14.6.
The error seems to be triggered by a packet null at the beggining of the
segment.
Do you have some infos about that ?
Regards,
On Tue, May 5, 2020 at 9:24 PM michellezhuogg<EMAIL_ADDRESS>wrote:

I was able to play the content in Chrome on MacOS, however I saw the video
gets buffering quite often.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/shaka-player/issues/2546#issuecomment-624256984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALT7J4QXXMLPICURTGIXKZLRQBRWFANCNFSM4MY2AIJA
.

When I remove the null packet from the stream it's working.
Is there any reason why shaka does not support null packet at the beginning of the ts segment in hls ?

What's a null packet?  A zero-byte segment?  Or a TS packet with no audio or video in it?

A null packet is a TS packet with a PID 8191 and no audio or video in it. On my stream, each ts segment start with a null packet before packets with data.
The error in shaka is triggered inside the file hlsparser.js in getStartTimeFromTsSegment by :
let flagsAndPacketId = reader.readUint16();
let hasPesPacket = flagsAndPacketId & 0x4000;
if (!hasPesPacket) {fail();}

What is the length of the segment with the null packet according to the playlist?  Does it occupy "space" in the timeline?  Is there another packet in the segment with real content?

It's a 6 seconds duration segment with many other packets with real content.

Great, thanks for the details.  I'll label this as an enhancement to skip over these null TS packets when parsing the timestamp, and I'll update the title accordingly.  Thanks!

Thanks you for adding this to the enhancement list.

No problem!  We want to do the best job we can, and we were honestly unaware of this detail of the TS format.


PoS Mempool Simplified AddTransaction Validation

#1090  👈
feature/pos-mempool-updates-and-transaction-exchange

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AeonSw4n and the rest of your teammates on  Graphite


Avoid "LibInstallDependencyError" when more then 1 library is found

Need to ask user via prompt which dependent lib should be installed.

No prompts!
Sent from Outlookhttp://taps.io/outlookmobile
On Sat, Jun 6, 2015 at 5:19 AM -0700, "Ivan Kravets" <notifications<EMAIL_ADDRESS>wrote:
Need to ask user via prompt which dependent lib should be installed.

Reply to this email directly or view it on GitHubhttps://github.com/platformio/platformio/issues/229.

@pelikhan Maybe, this is the most annoying feature in PlatformIO for you :smile: These prompts...
Nevertheless, please look into code:
    result = get_api_result("/lib/search", dict(query=" ".join(query)))
    assert result['total'] > 0

    if result['total'] == 1 or not app.get_setting("enable_prompts"):
        ctx.invoke(lib_install, libid=[result['items'][0]['id']])
    else:
        click.secho(
            "Conflict: More then one dependent libraries have been found "
            "by request %s:" % json.dumps(data), fg="red")

        echo_liblist_header()
        for item in result['items']:
            echo_liblist_item(item)

        deplib_id = click.prompt(
            "Please choose one dependent library ID",
            type=click.Choice([str(i['id']) for i in result['items']]))
        ctx.invoke(lib_install, libid=[int(deplib_id)])

If you can see, the prompts wont be used if 1 dependent library was found. If more then 1(this is conflict), then I have to ask user which dependent library (a list with dependent candidates will be shown) need to install.
Nevertheless, since PlatformIO 2.0 you can use -f/--force option before each command which automatically disable all prompts. For example, to install library with CONFLICTED dependencies and avoid prompts use:
platformio --force lib install %ID%

In this situation, PlatformIO will install the first library from the search result which is matched by dependent request.

In doubt, you should fail if --force is used.

Nevertheless, please look into codehttps://github.com/platformio/platformio/commit/3b7ad2d3338c5a1cb5aa82198829be499ef4c512#diff-86ad8f7e8aafa191f30dab69b84f4736R147:
result = get_api_result("/lib/search", dict(query=" ".join(query)))
assert result['total'] > 0

if result['total'] == 1 or not app.get_setting("enable_prompts"):
    ctx.invoke(lib_install, libid=[result['items'][0]['id']])
else:
    click.secho(
        "Conflict: More then one dependent libraries have been found "
        "by request %s:" % json.dumps(data), fg="red")

    echo_liblist_header()
    for item in result['items']:
        echo_liblist_item(item)

    deplib_id = click.prompt(
        "Please choose one dependent library ID",
        type=click.Choice([str(i['id']) for i in result['items']]))
    ctx.invoke(lib_install, libid=[int(deplib_id)])

If you can see, the prompts wont be used if 1 dependent library was found. If more then 1(this is conflict), then I have to ask user which dependent library (a list with dependent candidates will be shown) need to install.
Nevertheless, since PlatformIO 2.0 you can use -f/--force option before each command which automatically disable all prompts. For example, to install library with CONFLICTED dependencies and avoid prompts use:
platformio --force lib install %ID%
In this situation, PlatformIO will install the first library from the search result which is matched by dependent request.

Reply to this email directly or view it on GitHubhttps://github.com/platformio/platformio/issues/229#issuecomment-109593087.


Parsing from raw functions should check that the buffer is big enough

As an example, MetaFromRaw should check buffer length before trying to parse anything from the buffer:
func MetaFromRaw(b []byte) (*Meta, error) {
        if len(b) < MetaLen {
                return nil, common.NewBasicError("Can't parse SCMP meta subheader, buffer is too short",
                        nil, "expected", MetaLen, "actual", len(b))
        }
        m := &Meta{}
        if err := restruct.Unpack(b, binary.BigEndian, m); err != nil {
                return nil, common.NewBasicError("Failed to unpack SCMP Metadata", err)
        }
        return m, nil
}

I have been going through functiosn that are named *FromRaw or they include a common.RawBytes or a []byte as argument.
ag "^func .*\(.*common.RawBytes.*\)" |grep FromRaw
ag "^func .*\(.*\[\]byte.*\)" |grep FromRaw

A large number of *FromRaw functions are using the  proto.ParseFromRaw(a, b) which is
guarded by a SafeDecode function that transform the panic into an error.
Found some minor issues (pushed the changes)
@sgmonroy do you have more concrete experience where I should look into?


Update unified feedback form copy

Task/Issue URL:
Tech Design URL:
CC:
Description:
Steps to test this PR:
1.

Definition of Done:

[ ] Does this PR satisfy our Definition of Done?

Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

#3371  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @quanganhdo and the rest of your teammates on  Graphite


Replace pySmartDL with requests package

High-level description
pySmartDL uses threads to download a file. We wait for the thread to terminate. So we can just as easily use the requests package.
We see an error using pySmartDL: cannot join thread before it is started so let's just replace it.
Corresponding DC/OS tickets (required)

DCOS_OSS-5813 Windows pySmartDL RuntimeError: cannot join thread before it is started

Related tickets (optional)

D2IQ-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot request-review @DominikDary @janisz

@mesosphere-mergebot changelog-not-required unreleased code


DRILL-7092: Rename map to struct in schema definition

Renamed map to struct in schema parser.
Updated sqlTypeOf function to return STRUCT instead of MAP, drillTypeOf function will return MAP as before until internal renaming is done.
Add is_struct alias to already existing is_map function. Function should be revisited once Drill supports true maps.
Updated unit tests.

Details in Jira DRILL-7092.

@vvysotskyi / @paul-rogers could you please take a look?

Yes, indeed there has long been a misconception around the use of the type "MAP" in Drill. It is, indeed, closer to a Hive and Arrow struct. Since it is unclear how would create a true map using vectors, I suppose that, originally, merging the map and struct concepts was considered a harmless simplification.
While it is easy to rename the items in this new parser code, it will be far harder to rename the many existing vectors, metadata elements and so on. Even harder still to rename to SQL data type itself. Fortunately, it seems that the only place the term "Map" is surfaced to the user in the code is in the "typeof" set of functions. Up until now, Drill did not have many DDL statements.
So, the change here LGTM, but I wonder how we plan to roll out the changes to other parts of the code. Would that be a breaking change for 2.0?
Finally, if this rename is done to prepare for introducing a true map type (collection of key/value pairs where the set of values is uncorrelated across rows), then is there a design for that? Would be good to start thinking how that would fit into the new row-set framework which is heavily based on the current "struct" design.
+1

Hello @paul-rogers , yes both changes (renaming and new MapVector) are in our future plans. Today I've created two related Jira tickets DRILL-7097 and DRILL-7096 . For now it's pretty raw ideas, but it would be very good if you can join discussion in jira and share your thoughts with me and @KazydubB .

Hello @paul-rogers , yes both changes (renaming and new MapVector) are in our future plans. Today I've created two related Jira tickets DRILL-7097 and DRILL-7096 . For now it's pretty raw ideas, but it would be very good if you can join discussion in jira and share your thoughts with me and @KazydubB .

Yes, indeed there has long been a misconception around the use of the type "MAP" in Drill. It is, indeed, closer to a Hive and Arrow struct. Since it is unclear how would create a true map using vectors, I suppose that, originally, merging the map and struct concepts was considered a harmless simplification.
While it is easy to rename the items in this new parser code, it will be far harder to rename the many existing vectors, metadata elements and so on. Even harder still to rename to SQL data type itself. Fortunately, it seems that the only place the term "Map" is surfaced to the user in the code is in the "typeof" set of functions. Up until now, Drill did not have many DDL statements.
So, the change here LGTM, but I wonder how we plan to roll out the changes to other parts of the code. Would that be a breaking change for 2.0?
Finally, if this rename is done to prepare for introducing a true map type (collection of key/value pairs where the set of values is uncorrelated across rows), then is there a design for that? Would be good to start thinking how that would fit into the new row-set framework which is heavily based on the current "struct" design.
+1

Hello @paul-rogers , yes both changes (renaming and new MapVector) are in our future plans. Today I've created two related Jira tickets [DRILL-7097](https://issues.apache.org/jira/browse/DRILL-7097) and [DRILL-7096](https://issues.apache.org/jira/browse/DRILL-7096) . For now it's pretty raw ideas, but it would be very good if you can join discussion in jira and share your thoughts with me and @KazydubB .

Hello @paul-rogers , yes both changes (renaming and new MapVector) are in our future plans. Today I've created two related Jira tickets DRILL-7097 and DRILL-7096 . For now it's pretty raw ideas, but it would be very good if you can join discussion in jira and share your thoughts with me and @KazydubB .


Unable to export automate methods with nil data

Fixes #4619
Automate export fails when it encounters a method with nil data.

@gmcculloug @kbrock @tinaafitz
Please review


Use http keep-alive for OTLP/HTTP

As discussed at the SIG meeting earlier today, we can improve the performance of our collector exporter by reusing http connections with http keep-alive. This strategy would apply to proto over http and json over http export formats.

Hi @mwear, I would like to work on this.

@lonewolf3739 Feel free to ping if you want some help !

@vmarchaud , Thanks! I have a question regarding the value setting for header. What values should be set for timeout and max in the header. Is there any chance of reading them from env and if not available fallback to some default values?

I think everything should be configurable from the exporter config (it should be possible to disable keep alive too). For the defaults, i believe nodejs already defaults no ?

I think everything should be configurable from the exporter config (it should be possible to disable keep alive too)

Yes, makes sense. May we should add some env like CONNECTION_REUSE_ENABLE?

For the defaults, i believe nodejs already defaults no ?

Yes, it does.
Thank you.


Support for coursera.org and edx.org

Duplicate.

I didn't try it, but I saw https://github.com/coursera-dl/coursera-dl that would do it for coursera!

I didn't try it, but I saw https://github.com/coursera-dl/coursera-dl that would do it for coursera!

Yes I tried it. it's awesome


Documentation Finished

The sections added are listed below:

Properties
Class and Style Bindings (inside binding section)
Form Input Bindings (inside binding section)
Conditional Rendering (inside rendering section)
User Interaction

Greetings!

Hi @JesusDBS I saw that you left the env directory included in the repository, do the following, add that directory to the .gitignore file, and delete that directory from the repository, from that point on, you can create again the environment and the env directory won't be included in the repository, will be ignored


How to add ngModel attribute to SpecialInput

Hello!
I'm using Template Driven Forms in Angular2. And every input field in my form has ngModel attribute.
So, how to add ngModel attribute to SpecialInput?
Thank you!

Hi,
I've created a wrapper for popular frameworks like: AngularJS 1.x and React.js.
Unfortunately, I don't know the syntax of Angular2+, but I guess it will be so easy to create a wrapper for this Core library.. Look at AngularJS/React wrapper, and see how they use this library.
If you like to create an Angular2 wrapper I'd be glad to open a repo and assign you as Colleborator ♥

All the wrappers are binding the autocomplete to a DOM node, and then call inifinityAutocomplete.setConfig to update configurations

Thank you! )


IOS: linking issue with use_frameworks!

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
I want to use use_framework! in my iOS podfile. In order to achieve that, I need to apply following change.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-native-log/react-native-native-log.podspec b/node_modules/react-native-native-log/react-native-native-log.podspec
index bdbe080..3d89df5 100644
--- a/node_modules/react-native-native-log/react-native-native-log.podspec
+++ b/node_modules/react-native-native-log/react-native-native-log.podspec
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
   s.source_files = "ios/**/*.{h,m,mm,swift}"

-  s.dependency "React"
+  s.dependency "React-Core"
 end

This issue body was partially generated by patch-package.

Notice that most of react Open-source library has already introduce this change! Thank you

unmaintained package, let's close this issue


Exogenous sequences

Hello,
I'm wondering how to deal with designing probes against exogenous sequences.
I've run into a problem (as was discussed here before in another issue) that the outputClean.py even with --zero mode on does not allow sequences generated with .fasta without chromosome:start-stop range in the header ('IndexError: list index out of range').  I've tried using some dummy ranges in my input fasta, but without much success.
Do you know of a good way around this issue?
Thanks!
Ewa

Hi Ewa,
I am not sure why your attempts to set the header in the .fasta is not working. You can also use the -H flag in blockParse to manually specify a header.
As you note, parsing of the header information has come up a few times. Updating the header parsing logic to be more robust is on our list of changes to work in.


Missing LICENSE

The project is currently under a "All rights reserved" license. Please consider adding an open-source license to the project. Do not use a strong-copyleft license (GPL/AGPL), as it might force you to disclose the EpiModo website depending on how the Discord bot and the website interact with each other.
I would recommend the MIT License or Apache License to keep it simple and permissive.
More licenses: https://choosealicense.com/licenses/

Fixed in 32bb377b431f4816e42845c73c0597c462f15e69 and b45c0d59d3cc478a2e1a9c18d11040bc2836ab05, closing this issue. Also @gastbob40 you can close issues directly in commits by saying something like "fixes #issuenumber". That closes the issue as soon as you push the commit.


Not being able to select the Network Card

I have a wired network for all of my companion stuff, that is not connected to the internet, so i need to connect my computers to the internet with wireless. My satellite keeps changing which network card it is looking at for connecting to my setup. it changes to the other network card even when there is a valid connection on the current one, It changes on about a 2 minute rotation. I would love a way to select the card that is being used for satellite similar to how the main companion app can select one.

This does look like it would be possible for us to support (using the localAddress property when opening the connection).
But I have to question whether we should, as this really just sounds like some conflict in network setup.
For reference, in companion the only thing that setting does is change where the admin interface can be accessed from. It has no impact on how connections are made to devices.
Both companion modules and satellite are following the system routing table of your computer. This routing will be updated as you connect/disconnect to networks, but it shouldnt interrupt any existing connections. And the routing table is a series of priority rules to determine what connections should go over which interface.
So the big question is what is causing you to have connection problems with satellite. Is it some network instability causing the network to disconnect and reconnect? Why is that impacting traffic on the other interface?

I don't think there is anything for us to do here, unless someone can argue why this can't be done with routing by the os


NextJS Support

Hey, Can someone handle this?

got same effect with css-modules@css-loader-minify-class


How unmatched paths are handled

Do you want to request a feature or report a bug?
Bug
What did you do?

I've setup my backend and frontend as so...
  [backends.dr]
    [backends.dr.servers.server1]
    url = "https://server1.test.com:8442"
    [backends.dr.servers.server2]
    url = "https://server2.test.com:8442"
    [backends.dr.servers.server3]
    url = "https://server3.test.com:8442"
    [backends.dr.servers.server4]
    url = "https://server4.test.com:8442"
    [backends.dr.loadbalancer]
      sticky = true
    [backends.dr.healthcheck]
      path = "/gateway/health/api/v1/version"
      interval = "5s"

  [frontends.dev]
  backend = "dr"
  [frontends.dev.routes.test_1]
    rule = "PathPrefixStrip:/hdp/dev/kx;AddPrefix:/gateway/TESTDEV1"

Note: This works in <1.6.5 but does not in 1.6.5+.
Requested URL
https://domain.test.com:443/hdp/dev/kx/webhdfs/v1/user/testuser/table.txt?op=OPEN

What did you expect to see?
https://server[x].test.com:8442/gateway/TESTDEV1/webhdfs/data/v1/webhdfs/v1/user/testuser/table.txt?`

What did you see instead?
https://server[x].test.com/gateway/TESTDEV1/webhdfs/data/v1/webhdfs/v1/user/testuser/table.txt?

Request URL is processed fine, the backend generates a redirect which contains unmatched path. The redirect location wasn't modified in <1.6.5 but in 1.6.5+ the redirect location is changed to the traefik host + path
Work around? (kudos to @quirogadf)
Define a front end to match the expected redirect path, pass to backend without altering the path
rules.toml
  [frontends.dev]
  backend = "dr"
  [frontends.dev.routes.test_1]
    rule = "PathPrefixStrip:/hdp/dev/kx;AddPrefix:/gateway/TESTDEV1"

  [frontends.dev2]
  backend = "dr"
  [frontends.dev2.routes.test_1]
    rule = "PathPrefix:/gateway/TESTDEV1

Feel the bug here is a change in how unmatched paths are handled
Output of traefik version: (What version of Traefik are you using?)

Version:      v1.7.4
Codename:     maroilles
Go version:   go1.11.1
Built:        2018-10-30_10:44:30AM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
rules.toml
[backends]
  [backends.health]
    [backends.health.servers.server1]
    url = "https://server1.test.com:8080"
  [backends.dr]
    [backends.dr.servers.server1]
    url = "https://server1.test.com:8442"
    [backends.dr.servers.server2]
    url = "https://server2.test.com:8442"
    [backends.dr.servers.server3]
    url = "https://server3.test.com:8442"
    [backends.dr.servers.server4]
    url = "https://server4.test.com:8442"
    [backends.dr.loadbalancer]
      sticky = true
    [backends.dr.healthcheck]
      path = "/gateway/health/api/v1/version"
      interval = "5s"
[frontends]
  [frontends.health]
  backend = "health"
  [frontends.health.routes.test_1]
    rule = "Path:/health"
  [frontends.dev]
  backend = "dr"
  [frontends.dev.routes.test_1]
    rule = "PathPrefixStrip:/hdp/dev/kx;AddPrefix:/gateway/TESTDEV1"

checkNewVersion = false

traefikLogsFile = "/data/software/traefik/log/traefik.log"

accessLogsFile = "/var/log/traefik/access.log"

logLevel = "ERROR"

defaultEntryPoints = ["https"]

[entryPoints]
  #[entryPoints.http]
  #address = ":80"
  #  [entryPoints.http.redirect]
  #  entryPoint = "https"
  [entryPoints.https]
  address = ":443"
   [entryPoints.https.tls]
   MinVersion = "VersionTLS12"
  [entryPoints.traefik]
  address = ":8080"
   [entryPoints.traefik.tls]
   MinVersion = "VersionTLS12"

[healthcheck]
interval = "10s"

[api]
  entryPoint = "traefik"
  dashboard = true

[ping]
  entryPoint = "traefik"

[metrics]
  [metrics.prometheus]
    entryPoint = "traefik"
    buckets = [0.1,0.3,1.2,5.0]
  [metrics.statistics]
    recentErrors = 10

[file]
filename = "/data/software/traefik/rules.toml"

watch = true

Hi.
This issue targets Traefik v1 which is not maintained anymore.
I close the issue accordingly.
Please re-open it if needed.


Adds a navigateFallbackWhitelist option

R: @ebidel
This new option allows navigateFallback to only apply to certain whitelisted RegExps, matching on the request URL path.

LGTM

I've made a few small tweaks since the review, but nothing that I see as blocking a merge.


Boot2Docker kernel does not consistently recognize Hyper-V Network Adapter as a device

NOTE: For tracking purposes, be aware that I also copy-pasted this same issue in two other palces because I'm not sure of the appropriate place given the problem:

https://github.com/docker/machine/issues/4432
https://github.com/docker/for-win/issues/1862

Envrionment Info:

Windows 1709
Windows PowerShell 5.1
Docker For Windows 17.12.0-ce-win47
boot2docker.iso that says it's using Docker version 17.12.1-ce, build 7390fc6

From PowerShell:
PS C:\Users\pdadmin> docker-machine create -d hyperv --hyperv-virtual-switch "ToInternal" DockerHostA
Creating CA: C:\Users\pdadmin\.docker\machine\certs\ca.pem
Creating client certificate: C:\Users\pdadmin\.docker\machine\certs\cert.pem
Running pre-create checks...
(DockerHostA) Image cache directory does not exist, creating it at C:\Users\pdadmin\.docker\machine\cache...
(DockerHostA) No default Boot2Docker ISO found locally, downloading the latest release...
(DockerHostA) Latest release for github.com/boot2docker/boot2docker is v17.12.1-ce
(DockerHostA) Downloading C:\Users\pdadmin\.docker\machine\cache\boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v17.12.1-ce/boot2docker.iso...
(DockerHostA) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Creating machine...
(DockerHostA) Copying C:\Users\pdadmin\.docker\machine\cache\boot2docker.iso to C:\Users\pdadmin\.docker\machine\machines\DockerHostA\boot2docker.iso...
(DockerHostA) Creating SSH key...
(DockerHostA) Creating VM...
(DockerHostA) Using switch "ToInternal"
(DockerHostA) Creating VHD
(DockerHostA) Starting VM...
(DockerHostA) Waiting for host to start...

Docker-Machine hangs here. Using Hyper-V VM console (i.e. vmconnect.exe), I can see that during boot, boot2docker mentions that it can't find eth0 or eth1 (not sure why it says anything about eth1...there's only one Adapter attached to the VM, so there shoul only be an eth0 as far as I understand). While docker-machine continues to hang (after 80 seconds), here is the output of Get-VM Hyper-V cmdlet:
PS C:\Users\pdadmin> $testA = Get-VM -Name DockerHostA
PS C:\Users\pdadmin> $testA | fl *

ParentCheckpointId                  : 1a188696-c3ac-4ecf-b140-c08cf78b1db6
ParentCheckpointName                : Automatic Checkpoint - DockerHostA - (3/20/2018 - 12:12:00 PM)
VMName                              : DockerHostA
VMId                                : 6abb8e25-2bb1-4a7e-b19b-8d4dfc68a64b
CheckpointFileLocation              : C:\Users\pdadmin\.docker\machine\machines\DockerHostA\DockerHostA
ConfigurationLocation               : C:\Users\pdadmin\.docker\machine\machines\DockerHostA\DockerHostA
SmartPagingFileInUse                : False
SmartPagingFilePath                 : C:\Users\pdadmin\.docker\machine\machines\DockerHostA\DockerHostA
SnapshotFileLocation                : C:\Users\pdadmin\.docker\machine\machines\DockerHostA\DockerHostA
AutomaticStartAction                : StartIfRunning
AutomaticStartDelay                 : 0
AutomaticStopAction                 : Save
AutomaticCriticalErrorAction        : Pause
AutomaticCriticalErrorActionTimeout : 30
AutomaticCheckpointsEnabled         : True
CPUUsage                            : 0
MemoryAssigned                      : 912261120
MemoryDemand                        : 619708416
MemoryStatus                        : OK
NumaAligned                         : False
NumaNodesCount                      : 1
NumaSocketCount                     : 1
Heartbeat                           : OkApplicationsUnknown
IntegrationServicesState            :
IntegrationServicesVersion          : 0.0
Uptime                              : 00:03:12.6840000
OperationalStatus                   : {Ok}
PrimaryOperationalStatus            : Ok
SecondaryOperationalStatus          :
StatusDescriptions                  : {Operating normally}
PrimaryStatusDescription            : Operating normally
SecondaryStatusDescription          :
Status                              : Operating normally
ReplicationHealth                   : NotApplicable
ReplicationMode                     : None
ReplicationState                    : Disabled
ResourceMeteringEnabled             : False
CheckpointType                      : Standard
EnhancedSessionTransportType        : VMBus
Groups                              : {}
Version                             : 8.3
VirtualMachineType                  : RealizedVirtualMachine
VirtualMachineSubType               : Generation1
Notes                               :
State                               : Running
ComPort1                            : VMComPort (Name = 'COM 1', VMName = 'DockerHostA') [Id =
                                      'Microsoft:6ABB8E25-2BB1-4A7E-B19B-8D4DFC68A64B\8E3A359F-559A-4B6A-98A9-1690A6100ED7\0', VMId =
                                      '6abb8e25-2bb1-4a7e-b19b-8d4dfc68a64b']
ComPort2                            : VMComPort (Name = 'COM 2', VMName = 'DockerHostA') [Id =
                                      'Microsoft:6ABB8E25-2BB1-4A7E-B19B-8D4DFC68A64B\8E3A359F-559A-4B6A-98A9-1690A6100ED7\1', VMId =
                                      '6abb8e25-2bb1-4a7e-b19b-8d4dfc68a64b']
DVDDrives                           : {DVD Drive on IDE controller number 1 at location 0}
FibreChannelHostBusAdapters         : {}
FloppyDrive                         : VMFloppyDiskDrive (Name = 'Diskette Drive', VMName = 'DockerHostA') [Id =
                                      'Microsoft:6ABB8E25-2BB1-4A7E-B19B-8D4DFC68A64B\8F0D2762-0B00-4E04-AF4F-19010527CB93\0\0\D', VMId =
                                      '6abb8e25-2bb1-4a7e-b19b-8d4dfc68a64b']
HardDrives                          : {Hard Drive on IDE controller number 0 at location 0}
RemoteFxAdapter                     :
VMIntegrationService                : {Guest Service Interface, Heartbeat, Key-Value Pair Exchange, Shutdown...}
DynamicMemoryEnabled                : True
MemoryMaximum                       :<PHONE_NUMBER>776
MemoryMinimum                       : 536870912
MemoryStartup                       :<PHONE_NUMBER>
ProcessorCount                      : 1
BatteryPassthroughEnabled           : False
Generation                          : 1
IsClustered                         : False
ParentSnapshotId                    : 1a188696-c3ac-4ecf-b140-c08cf78b1db6
ParentSnapshotName                  : Automatic Checkpoint - DockerHostA - (3/20/2018 - 12:12:00 PM)
Path                                : C:\Users\pdadmin\.docker\machine\machines\DockerHostA\DockerHostA
SizeOfSystemFiles                   : 81920
GuestControlledCacheTypes           : False
LowMemoryMappedIoSpace              : 134217728
HighMemoryMappedIoSpace             : 536870912
LockOnDisconnect                    : Off
CreationTime                        : 3/20/2018 12:11:53 PM
Id                                  : 6abb8e25-2bb1-4a7e-b19b-8d4dfc68a64b
Name                                : DockerHostA
NetworkAdapters                     : {Network Adapter}
CimSession                          : CimSession: .
ComputerName                        : WIN10LATESTA
IsDeleted                           : False

...specifically note $testA.NetworkAdapters.StatusDescription and $testA.NetworkAdapters.Status ...
PS C:\Users\pdadmin> $testA.NetworkAdapters | fl *

VMCheckpointId                          : 00000000-0000-0000-0000-000000000000
VMCheckpointName                        :
VmmqQueuePairs                          : 1
VmmqQueuePairsRequested                 : 16
ClusterMonitored                        : True
MacAddress                              : 00155D020D0A
DynamicMacAddressEnabled                : True
InterruptModeration                     : True
AllowPacketDirect                       : False
IsLegacy                                : False
IsSynthetic                             : True
IPAddresses                             : {}
DeviceNaming                            : Off
IovWeight                               : 0
IovQueuePairsRequested                  : 1
IovInterruptModeration                  : Default
PacketDirectNumProcs                    : 0
PacketDirectModerationCount             : 64
PacketDirectModerationInterval          : 1000000
IovQueuePairsAssigned                   : 0
IovUsage                                : 0
VirtualFunction                         :
MandatoryFeatureId                      : {}
MandatoryFeatureName                    : {}
PoolName                                :
Connected                               : True
SwitchName                              : ToInternal
AdapterId                               : 5B6CF86F-8B51-426F-840F-5F1B9DD5460F
TestReplicaPoolName                     :
TestReplicaSwitchName                   :
StatusDescription                       : {Degraded, The protocol version of the component installed in the virtual machine does not match the version
                                          expected by the hosting system}
Status                                  : {Degraded, ProtocolVersion}
IsManagementOs                          : False
IsExternalAdapter                       : False
Id                                      : Microsoft:6ABB8E25-2BB1-4A7E-B19B-8D4DFC68A64B\5B6CF86F-8B51-426F-840F-5F1B9DD5460F
SwitchId                                : f9884cc2-8d28-4c68-8f3b-202b55d77b90
AclList                                 : {}
ExtendedAclList                         : {}
IsolationSetting                        : VMNetworkAdapterIsolationSetting
RoutingDomainList                       : {}
VlanSetting                             : VMNetworkAdapterVlanSetting
BandwidthSetting                        :
CurrentIsolationMode                    : Vlan
MacAddressSpoofing                      : Off
DhcpGuard                               : Off
RouterGuard                             : Off
PortMirroringMode                       : None
IeeePriorityTag                         : Off
VirtualSubnetId                         : 0
DynamicIPAddressLimit                   : 0
StormLimit                              : 0
AllowTeaming                            : Off
FixSpeed10G                             : Off
VMQWeight                               : 100
IPsecOffloadMaxSA                       : 512
VrssEnabled                             : False
VrssEnabledRequested                    : True
VmmqEnabled                             : False
VmmqEnabledRequested                    : False
VrssMaxQueuePairs                       : 1
VrssMaxQueuePairsRequested              : 16
VrssMinQueuePairs                       : 1
VrssMinQueuePairsRequested              : 1
VrssQueueSchedulingMode                 : Dynamic
VrssQueueSchedulingModeRequested        : Dynamic
VrssExcludePrimaryProcessor             : False
VrssExcludePrimaryProcessorRequested    : False
VrssIndependentHostSpreading            : False
VrssIndependentHostSpreadingRequested   : False
VrssVmbusChannelAffinityPolicy          : Strong
VrssVmbusChannelAffinityPolicyRequested : Strong
VmqUsage                                : 0
IPsecOffloadSAUsage                     : 0
VFDataPathActive                        : False
VMQueue                                 :
BandwidthPercentage                     : 0
IsTemplate                              : False
Name                                    : Network Adapter
VMId                                    : 6abb8e25-2bb1-4a7e-b19b-8d4dfc68a64b
VMName                                  : DockerHostA
VMSnapshotId                            : 00000000-0000-0000-0000-000000000000
VMSnapshotName                          :
CimSession                              : CimSession: .
ComputerName                            : WIN10LATESTA
IsDeleted                               : False

In this situation, I either need to kill the docker-machine process or wait for it to timeout.
Please note that this problem (i.e. boot2docker not recognizing the Network Adapter as a device) happens about 70% of the time. However, about 30% of the time, it actually works as expected.
If I am lucky enough to actually establish a Docker Machine, after a baremetal host reboot (or really, in any situation where the Docker Machine VM is going from a non "Running" state to a "Running" state), there is a similar probability that the same thing will happen (i.e. boot2docker not recognizing the Network Adapter as a device).
After several Docker Machine VM reboots, it eventually works as expected. However, this is very inconsistent - sometimes it takes 1 VM reboot, sometimes it takes 10. Doesn't matter if you use docker-machine restart DockerHostA or Restart-VM -Name DockerHostA.
This was also tested with similar results with the latest v18.03.0-ce-rc4 boot2docker.iso.

Does it work in Debian?  We don't have the necessary setup to reproduce or expertise to debug this, so this is definitely going to have to be a community contribution if we're going to figure out a way to fix it.
Additionally, if you're using Hyper-V, why not use Docker for Windows instead of boot2docker / docker-machine?  The primary reason boot2docker and docker-machine still exist (from my own understanding, which may not even have all the facts) is for users that can't use Hyper-V because they're on an older version of Windows, don't have Pro, or have to use VMware or VirtualBox for other aspects of their job/work (and thus cannot use Hyper-V and Docker for Windows).

I mostly ended up looking at docker-machine with Docker For Windows because I had to factory reset Docker For Windows one too many times during testing, which blew away my containers, so I figured it would be better to have dedicated VMs that survive a Docker For Windows factory reset.
Setting up boot2docker using a Debian/Ubuntu or CentOS/RedHat VM works fine and is really easy when I do the following in a PowerShell Session...
docker-machine create --driver generic --generic-ip-address=$VMIPv4Address --generic-ssh-user docker --generic-ssh-key "$("$HOME\.ssh\private_key.pem" -replace "\\","/")" $VMName

...it's just that these VMs take up a lot more disk space - which is kind of becoming more of an issue with more modern hard drives that perform a lot better but generally don't have a lot of total space.

Is this still an issue on the latest releases?


[suggestion] Directory Expansion for Module imports in Nodejs

TypeScript Version:  2.7.1
Search Terms:
path expansion, module expansion, path alias for  nodejs modules, path module resolution,
Expected behavior:
Typescript should give an option to allow "directory expansion" for path alias defined in "tsconfig.json" and used in module importation.  it would be nice to have something like:
{
    "compilerOptions": {
          "expandImport":true,
	   "paths": {
			"@fooPath/*":["./path/to/manyfoos/*"]
            }
     }
}

TS Code:
import {Foo} from "@fooPath/MyFoo"
Compilation:
const Foo = require("path/to/manyfoos/MyFoo");
Actual behavior:
{
    "compilerOptions": {
	   "paths": {
			"@fooPath/*":["./path/to/manyfoos/*"]
            }
     }
}

TS Code:
import {Foo} from "@fooPath/MyFoo"
Compilation:
const Foo = require("@fooPath/MyFoo");
Nodejs says: Error: Cannot find module '@fooPath/MyFoo'

The design goals don't include adding features that would change the meaning of your code.
I think what you want could be solved by setting "baseUrl": "." and creating an actual module @fooPath/MyFoo with export * from ../../path/to/manyfoos/MyFoo. (Although you have to do so again for each module in manyfoos.) (Or, you could just put the module in @foopath/MyFoo` in the first place.)

Oh! Thanks for the reply.
:)
2018-02-13 10:53 GMT-05:00 Andy<EMAIL_ADDRESS>
The design goals
https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
don't include adding features that would change the meaning of your code.
I think what you want could be solved by setting "baseUrl": "." and
creating an actual module @fooPath/MyFoo with export * from
../../path/to/manyfoos/MyFoo. (Although you have to do so again for each
module inmanyfoos.) (Or, you could just put the module in` in the first
place.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/21918#issuecomment-365309059,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACKT9OOhWtcvCXEeMwVm-q5bUJn_kZcCks5tUa_3gaJpZM4SD788
.

you can try ws-ts


Fixed infinite block on /dev/urandom

cat on /dev/urandom will never finish, as far as I know. This code will use dd to "read" 30 bytes only, which will finish so the temp filename can be generated.
This code is blocking github actions, which is blocking my submission.
I'm running Ubuntu 20.04.5 LTS.

Interesting, thanks for reporting and sorry for the slow response, I didn't have notifications setup correctly for this repo.
Regarding:

cat on /dev/urandom will never finish, as far as I know.

I think that's a correct statement, however the combination of fold -w32 | head -n 1 should mean the command exits after the first 32 characters which were in the set 'a-zA-Z0-9' were generated.  So I suspect some issue with your random number generator which means it isn't returning any characters in this set or isn't returning enough characters in this set for some reason. I can't reproduce and I'm not aware of anyone else reproducing.
I think your proposed change would fail if you got no characters in the set 'a-zA-Z0-9' within the first 30 bytes obtained from urandom, so that is probably not the best approach either.
I think it should be possible to use mktemp here instead and this might be the safest change to make.


Whisper: Support command line

sample:
mlx_whisper audio.mp3 \
        --model mlx-community/whisper-large-v3-mlx-8bit \
        --output_format all \
        --word_timestamps True \
        --verbose True

output files:
audio.json
audio.srt
audio.tsv
audio.txt
audio.vtt

for more details ues mlx_whisper --help
mlx_whisper --help
usage: cli.py [-h] [--model MODEL] [--output_dir OUTPUT_DIR] [--output_format {txt,vtt,srt,tsv,json,all}] [--verbose VERBOSE] [--task {transcribe,translate}]
              [--language {af,am,ar,as,az,ba,be,bg,bn,bo,br,bs,ca,cs,cy,da,de,el,en,es,et,eu,fa,fi,fo,fr,gl,gu,ha,haw,he,hi,hr,ht,hu,hy,id,is,it,ja,jw,ka,kk,km,kn,ko,la,lb,ln,lo,lt,lv,mg,mi,mk,ml,mn,mr,ms,mt,my,ne,nl,nn,no,oc,pa,pl,ps,pt,ro,ru,sa,sd,si,sk,sl,sn,so,sq,sr,su,sv,sw,ta,te,tg,th,tk,tl,tr,tt,uk,ur,uz,vi,yi,yo,yue,zh,Afrikaans,Albanian,Amharic,Arabic,Armenian,Assamese,Azerbaijani,Bashkir,Basque,Belarusian,Bengali,Bosnian,Breton,Bulgarian,Burmese,Cantonese,Castilian,Catalan,Chinese,Croatian,Czech,Danish,Dutch,English,Estonian,Faroese,Finnish,Flemish,French,Galician,Georgian,German,Greek,Gujarati,Haitian,Haitian Creole,Hausa,Hawaiian,Hebrew,Hindi,Hungarian,Icelandic,Indonesian,Italian,Japanese,Javanese,Kannada,Kazakh,Khmer,Korean,Lao,Latin,Latvian,Letzeburgesch,Lingala,Lithuanian,Luxembourgish,Macedonian,Malagasy,Malay,Malayalam,Maltese,Mandarin,Maori,Marathi,Moldavian,Moldovan,Mongolian,Myanmar,Nepali,Norwegian,Nynorsk,Occitan,Panjabi,Pashto,Persian,Polish,Portuguese,Punjabi,Pushto,Romanian,Russian,Sanskrit,Serbian,Shona,Sindhi,Sinhala,Sinhalese,Slovak,Slovenian,Somali,Spanish,Sundanese,Swahili,Swedish,Tagalog,Tajik,Tamil,Tatar,Telugu,Thai,Tibetan,Turkish,Turkmen,Ukrainian,Urdu,Uzbek,Valencian,Vietnamese,Welsh,Yiddish,Yoruba}]
              [--temperature TEMPERATURE] [--best_of BEST_OF] [--patience PATIENCE] [--length_penalty LENGTH_PENALTY] [--suppress_tokens SUPPRESS_TOKENS] [--initial_prompt INITIAL_PROMPT]
              [--condition_on_previous_text CONDITION_ON_PREVIOUS_TEXT] [--fp16 FP16] [--compression_ratio_threshold COMPRESSION_RATIO_THRESHOLD] [--logprob_threshold LOGPROB_THRESHOLD]
              [--no_speech_threshold NO_SPEECH_THRESHOLD] [--word_timestamps WORD_TIMESTAMPS] [--prepend_punctuations PREPEND_PUNCTUATIONS] [--append_punctuations APPEND_PUNCTUATIONS]
              [--highlight_words HIGHLIGHT_WORDS] [--max_line_width MAX_LINE_WIDTH] [--max_line_count MAX_LINE_COUNT] [--max_words_per_line MAX_WORDS_PER_LINE]
              [--clip_timestamps CLIP_TIMESTAMPS] [--hallucination_silence_threshold HALLUCINATION_SILENCE_THRESHOLD]
              audio [audio ...]

positional arguments:
  audio                 audio file(s) to transcribe

options:
  -h, --help            show this help message and exit
  --model MODEL         the path to save model files, or the hugging face repo id to use (default: mlx-community/whisper-tiny)
  --output_dir OUTPUT_DIR, -o OUTPUT_DIR
                        directory to save the outputs (default: .)
  --output_format {txt,vtt,srt,tsv,json,all}, -f {txt,vtt,srt,tsv,json,all}
                        format of the output file; if not specified, all available formats will be produced (default: all)
  --verbose VERBOSE     whether to print out the progress and debug messages (default: True)
  --task {transcribe,translate}
                        whether to perform X->X speech recognition ('transcribe') or X->English translation ('translate') (default: transcribe)
  --language {af,am,ar,as,az,ba,be,bg,bn,bo,br,bs,ca,cs,cy,da,de,el,en,es,et,eu,fa,fi,fo,fr,gl,gu,ha,haw,he,hi,hr,ht,hu,hy,id,is,it,ja,jw,ka,kk,km,kn,ko,la,lb,ln,lo,lt,lv,mg,mi,mk,ml,mn,mr,ms,mt,my,ne,nl,nn,no,oc,pa,pl,ps,pt,ro,ru,sa,sd,si,sk,sl,sn,so,sq,sr,su,sv,sw,ta,te,tg,th,tk,tl,tr,tt,uk,ur,uz,vi,yi,yo,yue,zh,Afrikaans,Albanian,Amharic,Arabic,Armenian,Assamese,Azerbaijani,Bashkir,Basque,Belarusian,Bengali,Bosnian,Breton,Bulgarian,Burmese,Cantonese,Castilian,Catalan,Chinese,Croatian,Czech,Danish,Dutch,English,Estonian,Faroese,Finnish,Flemish,French,Galician,Georgian,German,Greek,Gujarati,Haitian,Haitian Creole,Hausa,Hawaiian,Hebrew,Hindi,Hungarian,Icelandic,Indonesian,Italian,Japanese,Javanese,Kannada,Kazakh,Khmer,Korean,Lao,Latin,Latvian,Letzeburgesch,Lingala,Lithuanian,Luxembourgish,Macedonian,Malagasy,Malay,Malayalam,Maltese,Mandarin,Maori,Marathi,Moldavian,Moldovan,Mongolian,Myanmar,Nepali,Norwegian,Nynorsk,Occitan,Panjabi,Pashto,Persian,Polish,Portuguese,Punjabi,Pushto,Romanian,Russian,Sanskrit,Serbian,Shona,Sindhi,Sinhala,Sinhalese,Slovak,Slovenian,Somali,Spanish,Sundanese,Swahili,Swedish,Tagalog,Tajik,Tamil,Tatar,Telugu,Thai,Tibetan,Turkish,Turkmen,Ukrainian,Urdu,Uzbek,Valencian,Vietnamese,Welsh,Yiddish,Yoruba}
                        language spoken in the audio, specify None to perform language detection (default: None)
  --temperature TEMPERATURE
                        temperature to use for sampling (default: 0)
  --best_of BEST_OF     number of candidates when sampling with non-zero temperature (default: 5)
  --patience PATIENCE   optional patience value to use in beam decoding, as in https://arxiv.org/abs/2204.05424, the default (1.0) is equivalent to conventional beam search (default: None)
  --length_penalty LENGTH_PENALTY
                        optional token length penalty coefficient (alpha) as in https://arxiv.org/abs/1609.08144, uses simple length normalization by default (default: None)
  --suppress_tokens SUPPRESS_TOKENS
                        comma-separated list of token ids to suppress during sampling; '-1' will suppress most special characters except common punctuations (default: -1)
  --initial_prompt INITIAL_PROMPT
                        optional text to provide as a prompt for the first window. (default: None)
  --condition_on_previous_text CONDITION_ON_PREVIOUS_TEXT
                        if True, provide the previous output of the model as a prompt for the next window; disabling may make the text inconsistent across windows, but the model becomes less
                        prone to getting stuck in a failure loop (default: True)
  --fp16 FP16           whether to perform inference in fp16; True by default (default: True)
  --compression_ratio_threshold COMPRESSION_RATIO_THRESHOLD
                        if the gzip compression ratio is higher than this value, treat the decoding as failed (default: 2.4)
  --logprob_threshold LOGPROB_THRESHOLD
                        if the average log probability is lower than this value, treat the decoding as failed (default: -1.0)
  --no_speech_threshold NO_SPEECH_THRESHOLD
                        if the probability of the <|nospeech|> token is higher than this value AND the decoding has failed due to `logprob_threshold`, consider the segment as silence (default:
                        0.6)
  --word_timestamps WORD_TIMESTAMPS
                        (experimental) extract word-level timestamps and refine the results based on them (default: False)
  --prepend_punctuations PREPEND_PUNCTUATIONS
                        if word_timestamps is True, merge these punctuation symbols with the next word (default: "'“¿([{-)
  --append_punctuations APPEND_PUNCTUATIONS
                        if word_timestamps is True, merge these punctuation symbols with the previous word (default: "'.。,，!！?？:：”)]}、)
  --highlight_words HIGHLIGHT_WORDS
                        (requires --word_timestamps True) underline each word as it is spoken in srt and vtt (default: False)
  --max_line_width MAX_LINE_WIDTH
                        (requires --word_timestamps True) the maximum number of characters in a line before breaking the line (default: None)
  --max_line_count MAX_LINE_COUNT
                        (requires --word_timestamps True) the maximum number of lines in a segment (default: None)
  --max_words_per_line MAX_WORDS_PER_LINE
                        (requires --word_timestamps True, no effect with --max_line_width) the maximum number of words in a segment (default: None)
  --clip_timestamps CLIP_TIMESTAMPS
                        comma-separated list start,end,start,end,... timestamps (in seconds) of clips to process, where the last end timestamp defaults to the end of the file (default: 0)
  --hallucination_silence_threshold HALLUCINATION_SILENCE_THRESHOLD
                        (requires --word_timestamps True) skip silent periods longer than this threshold (in seconds) when a possible hallucination is detected (default: None)

I implemented it with reference to the openai whisper project and tested most of the command parameters (such as task、output_format、word_timestamps), but not all of them.
https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab/whisper/transcribe.py#L501

@awni Sorry for the late reply.
The main reason for the issue you raised is that I used **args to pass parameters when calling the transcribe function, which saves some template code for parameter parsing.
However, to maintain consistency in command-line formatting, I can do a unified processing before parsing to ensure style consistency and reduce template code, as follows:
# Convert hyphenated args to underscore
    args = {k.replace('-', '_'): v for k, v in args.items()}

I'm not sure if this processing meets your expectations, please let me know if there's anything inappropriate.


update forum links

As explained in this topic, the previous URL is no longer working. The new URL of the SAFE Network Forum is safenetforum.org.
I also added a link to the new Dev Forum.

updated as part of #807