print

I've created another pr, because I changed the approach entirely, as I discussed with @andreiggr to use CSS as much as possible


texture2D unsupported in core profile

texture2D is no longer supported in OpenGL core profile.  Some drivers will still accept it, some will warn, and some will outright file.  (MacOS and linux tend to be more strict - HoneyShaders currently won't run at all there.)
This can usually be resolved simply by replacing texture2d with texture.

I... was completely unaware of this change. Thank you very much for letting me know about this. it's fixed.


Lots of changes with yodapy

Overview
Lots of changes with yodapy! Now it's instrument centric rather than streams. I've incorporated data team sheets and john kerfoot's uframe client code!
Demo
from yodapy.datasources import OOI

# need to only setup one time!
from yodapy.utils.creds import set_credentials_file
set_credentials_file(data_source='ooi', username='Your OOI username', token='Your OOI token')

# Instantiate OOI Object
ooi = OOI()
# Find the desired instrument
ooi.filter(region='cabled array', site='axial base shallow profiler', instrument='CTD')
# View the desired instruments
ooi.view_instruments()
# Request netcdf data for the desired instruments
urls = ooi.request_data(begin_date='2018-06-01', end_date='2018-06-02', data_type='netcdf').raw()
# Convert the data urls into xarray
ds_list = ooi.to_xarray()

Pull Request Test Coverage Report for Build 115

0 of 0   changed or added relevant lines in 0 files are covered.
231 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-22.8%) to 33.825%

Files with Coverage Reduction
New Missed Lines
%

/home/travis/miniconda/envs/TEST/lib/python3.6/site-packages/yodapy/utils/meta.py
7
59.09%

/home/travis/miniconda/envs/TEST/lib/python3.6/site-packages/yodapy/datasources/ooi/helpers.py
22
0.0%

/home/travis/miniconda/envs/TEST/lib/python3.6/site-packages/yodapy/datasources/ooi/m2m.py
24
0.0%

/home/travis/miniconda/envs/TEST/lib/python3.6/site-packages/yodapy/datasources/ooi/init.py
73
48.95%

/home/travis/miniconda/envs/TEST/lib/python3.6/site-packages/yodapy/datasources/ooi/ooi_m2m.py
105
0.0%

Totals

Change from base Build 113:
-22.8%

Covered Lines:
321

Relevant Lines:
949

💛  - Coveralls

Both Travis and Appveyor is passing. Great!


Change yum to dnf for fedora based distro

Coverage remained the same at 88.284% when pulling b8f96da6296533b6e67ffabf2196dba3b672abab on trishnaguha:change-to-dnf into 2923e0fb8b9069328885cb6cf474443022a90578 on projectatomic:master.

Thanks!
I wonder if we should really use -y though. I'd rather let it prompt so users know what will be installed.

@twaugh Sure.

Coverage remained the same at 88.284% when pulling 0d7dbfae85aae1e63e77219ee21de8e9d19d8505 on trishnaguha:change-to-dnf into 2923e0fb8b9069328885cb6cf474443022a90578 on projectatomic:master.


pinne / replace github.com/ugorji/go/codec

Description of the change:
Solution for github.com/ugorji/go/codec: ambiguous import: found github.com/ugorji/go/codec in multiple modules:
See https://github.com/gin-contrib/cache/issues/53
Motivation for the change:
Closes https://github.com/operator-framework/operator-sdk/issues/2055

c/c @joelanford I believe that it is more one change required for we support go 0.13.

/test e2e-aws-subcommand

/test e2e-aws-ansible

Close this one and adding it as a comment of the open PR's for 1.13.


[e2e]: delegator-generic release main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v42.0.338
Run: https://github.com/slsa-framework/example-package/actions/runs/9638494997
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.release.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.release.main.default.slsa3.yml
Trigger: release
Branch: v42.0.338
Date: Mon Jun 24 02:39:43 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v42.0.339
Run: https://github.com/slsa-framework/example-package/actions/runs/9655359609
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.release.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.release.main.default.slsa3.yml
Trigger: release
Branch: v42.0.339
Date: Tue Jun 25 02:49:55 UTC 2024
Tests are passing now. Closing this issue.


[VS Code]

Error:
[Description of error message]
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.471

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.35.1

platformName
Windows

platformVersion
10.0.17134

Thanks for reaching out. Can you give us more details about your scenario? Did a retry unblock you? Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing issue due to inactivity. Please re-open if you are still experiencing this issue in the latest extension version. Thanks for using Live Share!


Adding wind and paused to stationkeeping demonstrations

This PR makes some small tweaks to the launch and world files for the station-keeping task demo.  These were created as part of the kickoff demonstration to illustrate parameterized wind for testing.  Exposing the paused argument in the launch file is typical and expected.

I was confused by the change to the wind because it sets the velocity to 0, but looking at your slide I think the goal is to provide the user a template where they can change the parameter if they want.

Yes.


Question: is there a way to reduce a load on the network?

So, I run this via Docker on my NAS. Unfortunately, after recent updates it renders my whole DSL network connection unusable. Is there a way to reduce a load this program creates? I looked through documentation but did not find a way for this. A few versions back (from around 2 weeks ago) it worked perfectly.
Be grateful for any responses!
Specifications

Version: 0.8.33
Platform: Synology NAS
Subsystem: Docker

You can utilize --min-interval to have artificial pauses between packets being sent (I think I remember that argument correctly but you can always check it in help message available via -h flag)


Easy copying for lint warnings / errors

I don't see a way to copy this text? If it is there, what is it? Otherwise, this is a feature request for adding perhaps a copy button.

See https://github.com/mdgriffith/atom-inline-messenger/issues/2


Using MikroORM instance in helper function

What is the preferred method of getting the ORM instance/Entity Manager in a helper function that isn't directly connected to the setup or has access to context, ideally without passing it in as a variable?
In GraphQL resolvers/field resolvers I get it through context, but how would I get access to it in an unrelated function?
Do I have to initialize it again?

If you are talking about some standalone script, you would initialize the ORM as usual inside that. Configuration should be shared, no need to duplicate that - you could even let the orm read the CLI config.


Missing device configuration: MCOHome A8-9 (different product ID)

Checklist

[X] It is not in the configuration DB

[X] It was not merged recently or has a pending PR

Which device is missing?
MCOHome A8-9
Manufacturer ID
0x015f
Product Type
0xa803
Product ID
0x1352
Firmware Version
No response
Is the device listed on the Z-Wave Alliance website?
https://products.z-wavealliance.org/products/3995?selectedFrequencyId=-1
Do you have a manual?
Similar product is listed here: https://devices.zwave-js.io/?jumpTo=0x015f:0xa803:0x135a:0.0
But the device ID seemed to have changed from 0x135a to 0x1352
In Zwave JS to MQTT it is now listed as Device ID 351-4946-43011 (0x015f-0xa803-0x1352).
But no config is available.

Let me get this straight: Your device (which is a MCOHome A8-9) has product ID 0x1352, we have a file for 0x135a?

Yes exactly that. Maybe it is a revision of the same product. Manual and product name is the same.

@zwave-js-bot add fingerprint 0xa803:0x1352 to 0x015f:0xa803:0x135a:0.0


Added state index ref to optimizer state dict

While adding the functionality for saving the optimizer state_dict in the pytorch format, I encountered an issue that I couldn't resolve externally.
When looking at an optimizer state_dict in Python, they have an index mapping between the parameter_group and the state group.
E.g., see here a sample state_dict of an Adam optimizer:
{
  "state": {
      0: {
        "step": tensor(1.),
        "exp_avg": tensor(...),
        "exp_avg_seq": tensor(...)
      },
      1: {
        "step": tensor(1.),
        "exp_avg": tensor(...),
        "exp_avg_seq": tensor(...)
      },
   },
  "param_groups": [
    {
      "lr": 0.001,
      "betas": [
        0.8,
        0.9
      ],
      "eps": 1e-08,
      "weight_decay": 0,
      "amsgrad": false,
      "maximize": false,
      "foreach": null,
      "capturable": false,
      "differentiable": false,
      "fused": null,
      "params": [
        0,
        1
      ]
    }
  ]
}

For TorchSharp, there is no need for the params, but PyTorch requires the Params object which maps between the params and the states to be included.
Therefore, I propose this addition which will include the mapping between parameters the state, without inserting any breaking changes.

Since you're digging around (deep) in this -- would you mind attacking #1153 while you're at it?

Sure! I think this relates directly to what I emailed you about on Thursday, figuring out a way to reinitialize a state dynamically.

Yes! Working on that + Release notes.

@NiklasGustafsson done - I added a check in exportsd.py and updated the release notes.


[FLINK-5091] Formalize the Mesos AppMaster environment for docker compatibility

Fixes FLINK-5091.

introduced ContainerSpecification.
reworked how the TM container environment is constructed; eliminated
special-case environment variables, file layout.
added dynamic configuration support to GlobalConfiguration.
integrated the SecurityContext into AM/TM runners.
added config setting for Mesos framework user.
support DCOS side-channel authentication.
set the FS default scheme.
made the artifact server more generic (no assumption about existence
of dispatcher, Path-based).
moved some test code related to overriding the JVM’s env.
moved the Mesos containerizer config code to the MesosTaskManagerParameters.

Looks really good!. Merging with some minor changes.


ScrollView has a width and height that overlaps it's child elements

Description
I have in my render() a ScrollView which contains a TouchableOpacity(or other with onPress) that cannot be pressed because it is overlapped by the ScrollView itself. I only detect how is it not pressed only when showing the Inspector which reveals parent ScrollView has a width and height that overlaps the TouchableOpacity
I have provided a screen shot at the end of this issue
React Native version:
System:
OS: macOS 11.4
CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
Memory: 28.64 MB / 4.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.17.0 - /usr/local/bin/node
Yarn: Not Found
npm: 6.14.13 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.10.1 - /Users/huulinh/.rvm/gems/ruby-2.6.3/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 12.5/12E262 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_144 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.1 => 0.64.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Simulator/Device:
iPhone 6
Steps To Reproduce
this code shoud be enough:

Expected Results
ScrollView should not overlap it's children causing child elements to not able to react touch action.
Snack, code example, screenshot, or link to a repository:

Seems like this is not related to ScrollView but the toggle inspector is not quite accurate


Add finalize button to forking market page

There is no way in the UI to finalize the forking market. Need a solution to this. Easiest is add to the market page but can also add to the card
Design isn't a forking market but button uses same placement
https://www.figma.com/file/fLWVwmanAwetVZbujQquEi/Market-Page?node-id=3533%3A0

done. closing


ssl-proxy: init at 0.2.7

Description of changes
Packaged ssl-proxy.
Homepage: https://github.com/suyashkumar/ssl-proxy
Description taken from the repo: [ssl-proxy is a] simple single-command SSL reverse proxy with autogenerated certificates (LetsEncrypt, self-signed).

Things done
Just made a default.nix under pkgs/tools/networking/ssl-proxy that uses buildGo118Module

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

could you resolve the merge conflict? probably something popped up when you were rebasing

oh no


Missing affinity_utils

Hi, I was trying to run the visualize_dataset.ipynb file and the affinity_utils file doesn't exist in data_utils. Could you upload the file by anychance?
Many Thanks

I have fixed this issue.


Algebra and unsafe

If somebody wants to make use of algebraic properties in unsafe code, they cannot trust normal traits.
Should there be some kind of unsafe marker trait that is needed for unsafe to trust algebraic traits?
Something like: unsafe trait CorrectAlgebra {}

Other choice is to have same kind of thing as the Approx* variants, but that creates lots of bloat.
However it has the benefit of being more flexible: If the unsafe just needs the one algebraic property to be safe, it can be encoded.

I really don't know… This does not actually provide any type safety, it's more like waving a red flag: “Hey, you might potentially mess up memory management by using this!”
Rust is missing dependent types for this to be actually useful. And in the current situation I'm not sure whether I would really use this for encoding semantics that are not inherently memory-unsafe. After all, would you really rely on such properties of an abstraction when implementing unsafe code? This isn't going to make it any safer.

Well the whole unsafe keyword is basically just waving red flag too so I don't see big difference with this vs it.
I do agree that dependent types would make it more useful, but still it's better than nothing?
And yeah I don't really have good use case for this yet.

Sure, but you are mostly asserting the memory-safety of whatever you are doing inside. I find it somewhat confusing to use the keyword to convey other semantics, that can't be strictly enforced at compile-time. I guess, it's a trade-off?
But yeah, a use case would certainly be a nice example to drive this discussion. Comparing what it looks like and how the old behaviour might surprise a user, where adding an unsafe trait like that would help.

Hey @WaDelma, would you be interested in taking over this library? I don't currently have a great deal of time to spend on it, and you seem interested in pushing it forwards - which is great!

Well I would be interested if I had stronger knowledge on algebra... I really would like this to be thing that can be used, but I don't know if I can make it work.


Suggestion - Add the new climbing as an option

Something (i think) was introduced in 1.13 was the ability to hold space to climb vines and ladders, since you implemented crawling (i assume that it's required for swimming or something like that), is it possible to implement the new climbing method as an option too?
I use it a lot more than I thought I did.

Implemented in 1.14.0. You can enable it with the New Climbing Behavior option.


blockchain_list_recently_registered_accounts&blockchain_list_recently_updated_accounts  broke

blockchain_list_recently_registered_accounts

10 assert_exception: Assert Exception
_chain_db->get_statistics_enabled():
{}
bitshares  blockchain_api.cpp:404 bts::client::detail::client_impl::blockchain_list_recently_registered_accounts
{}
bitshares  common_api_client.cpp:1587 bts::rpc_stubs::common_api_client::blockchain_list_recently_registered_accounts

{"command":"blockchain_list_recently_registered_accounts"}
bitshares  cli.cpp:626 bts::cli::detail::cli_impl::execute_command

blockchain_list_recently_updated_accounts

10 assert_exception: Assert Exception
_chain_db->get_statistics_enabled():
{}
bitshares  blockchain_api.cpp:387 bts::client::detail::client_impl::blockchain_list_recently_updated_accounts
{}
bitshares  common_api_client.cpp:1559 bts::rpc_stubs::common_api_client::blockchain_list_recently_updated_accounts

{"command":"blockchain_list_recently_updated_accounts"}
bitshares  cli.cpp:626 bts::cli::detail::cli_impl::execute_command

These commands will only work when extra statistics tracking is enabled. You must run with --statistics-enabled and reindex or set statistics_enabled: true in config file and reindex. blockchain_get_info will show whether currently enabled or not.

tks


test(ticdc): add consistent partition table test

What problem does this PR solve?

Issue Number: close #9313
What is changed and how it works?

Add consistent partition table test.
Barrier redo when reorg partition ddl occurs.

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/check-issue-triage-complete

/check-issue-triage-complete

/check-issue-triage-complete

/test all

/test all

/retest


Provide ability to assign vSphere tags when creating machines

vSphere tags allow users to associate metadata with vSphere objects including VMs.  In many environments, the usage of tags is a mandatory requirement when creating VMs.  Additionally, many users require a standard hostname format which precludes the ability to directly determine that a host was created by chef-provisioning-vsphere or kitchen-vsphere.
In the latter case, the ability to tag a VM with something like test-kitchen would provide a very easy method to identify temporary machines.  This could be used to setup jobs that periodically delete these systems to clean up orphans, prevent VM sprawl, etc.

@jrgarcia any thoughts here? Can rbvmomi take tags?

I'm pretty sure that RbVmomi doesn't support tagging yet. Let me check on that. I know that the vSphere Automation SDK handles tagging, but it's not available as a Gem or on GitHub yet (I'm working on that as we speak). I'll look at what it would take to add tagging to RbVmomi.

What about this https://code.vmware.com/apis/70/vsphere-automation-ruby ?

@jcalonsoh That is available (I've just actually started working on that as my daily job), but as I stated above, it isn't available as a Gem or on GitHub. It's still available for use, but it is not as easily consumable as it should be.

true

I am working on it though! :smile: Soon...

Any further movement on this?  This is a feature we'd definitely like to see.
Thanks!

@jrgarcia poke :)


Modified readme to reflect usage

changed example to reflect the actual directive and added some text to point the user to the openweathermap.org info for an api

Actually, I delved into this a bit further, and I corrected the directive name based upon your code, but the usage doesn't take a city as you originally posted, it looks like it takes an account with lat/long.
Looks like the directive might still needs some cleanup..

@bkbonner, thanks for take time and review the directive. Yes, you're write the module need some code, you will see soon.
Could do the change to merge your README comment about the API?

@bkbonner the code is updated. You can download the versión and test it.

Thanks


General bug fixes

Fixing JS not loading.
Also fixing session expiry on Viewer.
Adding page title to session expiry

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

Project coverage is 80.96%. Comparing base (b78596b) to head (681c1f6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #259   +/-   ##
=======================================
  Coverage   80.96%   80.96%
=======================================
  Files          78       78
  Lines        2359     2359
=======================================
  Hits         1910     1910
  Misses        449      449

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


[OpenXR] Adds optional support for the Passthrough extension

PR Details
For OpenXR devices, this PR adds the option to instantiate the XR_FB_passthrough extension when enabling a VRDevice.
Description
OpenXR supports a wide range of optional extensions. Currently the OpenXR implementation in Stride allows to register extensions by adding them to the OpenXRHmd.extensions list before the device is started. Like this any exension that does not require any deeper integration with the engine (e.g. the XR_EXT_hand_tracking) can then be dealt with in custom code.
In order to support the XR_FB_passthrough extension we needed tighter integration with the engine because it requires a composition layer. So this PR "hardcodes" the support for the passthrough extension which still has to be requested for the device in order to be activated.
In OpenXRHmd.Enable(..) we added a new argument "requestPassthrough" which, if true, adds the XR_FB_passthrough to the list of desired extensions and in case the current hardware supports this extension, it will be instantiated in the public PassthroughExt property. This public property is then meant to be controlled from custom code by setting its public Enabled property.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] I have built and run the editor to try this change out.

@joreg how do you want to move forward with this ? @azeno proposed to fix your conflicts in #2121, would you rather take care of that yourself ?

We'll rebase this PR and report back. Thanks for merging so quickly!

To be continued in #2141


json stream parsing

Description
json stream parsing
References

#0000

Codecov Report

Merging #80 (8fc9fce) into main (404432c) will increase coverage by 1.93%.
The diff coverage is 88.61%.

@@            Coverage Diff             @@
##             main      #80      +/-   ##
==========================================
+ Coverage   79.62%   81.55%   +1.93%
==========================================
  Files          46       46
  Lines        1006     1236     +230
  Branches       79       83       +4
==========================================
+ Hits          801     1008     +207
- Misses        170      192      +22
- Partials       35       36       +1

Impacted Files
Coverage Δ

....MessageArchive.Persistence/Services/BlobReader.cs
55.73% <18.18%> (-29.63%)
:arrow_down:

...e.Processing/LogParsers/LogParserBlobProperties.cs
93.10% <66.66%> (-3.06%)
:arrow_down:

...b.MessageArchive.Processing/Models/BlobItemData.cs
96.66% <66.66%> (-3.34%)
:arrow_down:

...sageArchive.Processing/LogParsers/LogParserJson.cs
97.60% <97.50%> (-2.41%)
:arrow_down:

...chive.Processing/Handlers/BlobProcessingHandler.cs
97.61% <100.00%> (+10.95%)
:arrow_up:

...rocessing/LogParsers/LogParserErrorResponseJson.cs
100.00% <100.00%> (ø)

...Processing/LogParsers/LogParserErrorResponseXml.cs
76.92% <100.00%> (+10.25%)
:arrow_up:

...ssageArchive.Processing/LogParsers/LogParserXml.cs
100.00% <100.00%> (ø)

...ssageArchive.Processing/LogParsers/ParserFinder.cs
90.32% <100.00%> (ø)

... and 9 more

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


[BUG] Empty DLQ Objects and DLQ objects with data even though data is loaded correctly

Describe the bug

Pipeline with dyanamodb as the source and OpenSearch Serverless sink is creating empty dlqObjects {"dlqObjects":[]}
non-empty dlqObjects are created even though data is loaded into OpenSearch. Seeing messages like these "status":0,"message":"Number of retries reached the limit of max retries (configured value 10)

To Reproduce
Steps to reproduce the behavior:

Define a pipeline with a dynamodb table as the source (ideally with at least 10M records)
Define an OpenSearch serverless sink
Define S3 bucket and prefix for dlq
Run pipeline
DLQ S3 bucket will have several empty s3 objects that are 17.0 bytes in size ({"dlqObjects":[]}
Some DLQ S3 objects have data, but those items are loaded in OpenSearch

Expected behavior

No DLQ objects are created if the data has been loaded successfully.
If data load is not successful and dlq s3 object is created, then dlqObjects should be populated with relevant data.
If data is ingested in OpenSearch dlq object with the id should not be created

Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Ubuntu 20.04 LTS]
Version [e.g. 22]

Additional context

max_retries is set to 10
Pipeline has has min 1 OCU and max 20 OCU
dynamodb table has ~100M records
OpenSearch Serverless sink

@amitkirdatt , We are releasing Data Prepper 2.8.0 today with a fix that may resolve this. See #4301.


[WIP] azure and amazon changed refresh code for networking

WIP azure and amazon changed refresh code for networking

@selmanj Have you noticed this bug? It affects other cloud providers

@sergio-ocon this is not bug really, just that cloud_network will stay only in OpenStack and Google. Amazon and Azure will have a network group

Thanks @Ladas, I just read the label :wink:  and I wanted to make sure that Google is aware of these changes

@Ladas Is this PR still necessary after the NetworkManager code was added?

@djberg96 nah, lets put this on ice for now. We can revisit if the NetworkGroup would start to have some benefits here.


[spec] fromHexInto/fromBase64Into: fix infinite loop

Fixes #47
I'm not 100% sure this is the right fix, but it seems to be what your polyfill is doing, and the intention.

ah, i assumed it's +2 because of https://github.com/tc39/proposal-arraybuffer-base64/blob/22228812214d5a1c2966cd626f43be3576e79290/playground/polyfill-core.mjs#L280

That line corresponds to the one in FromHex. The behavior in the loop in this PR is handled in the polyfill by using TA.prototype.set instead of copying one byte at a time.

aha, thanks, makes sense.


Refactor matrix views to move common code to meta-class

I've selected for refactoring 29 lines of code which are duplicated in 3 file(s) (1, 2, 3).

See also issues #202, #203, #206.


Fix the default Prober to support UDP probing as well as TCP

I made a suggested change to the DefaultProber to support UDP ports as well as TCP
The current implementation will hang when probing UDP ports.
This implementation mimics the nmap behavior by sending a "PING" message to the port and wait for timeout (OK) or port not reachable (NOT OK)

@pehrs Thanks for the PR. Just curious what's your use case?

I kicked off a rebuild of the CircleCI build as the timeout looks unrelated to this change.

LGTM, but I think it would be nice if a test could be added that verifies that the udp prober works in an actual TemporaryJob

@davidxia I have a service that exposes an UDP port and the default Prober implementation assumes that ports are TCP no UDP

@mattnworb @pehrs I added a test for UDP probing.

Current coverage is 47.54%

Merging #848 into master will decrease coverage by -0.05% as of 60ed1f6

@@            master    #848   diff @@
======================================
  Files          270     270
  Stmts        12696   12730    +34
  Branches      1612    1614     +2
  Methods          0       0
======================================
+ Hit           6043    6052     +9
+ Partial        456     455     -1
- Missed        6197    6223    +26

Review entire Coverage Diff as of 60ed1f6

Powered by Codecov. Updated on successful CI builds.

@mattnworb @pehrs I added a test for this. Let me know if it looks OK.

Thanks for adding the test. I am confused though on how it asserts that the UDP port is "probed"? Simply by asserting that the job is running ok?
Also, why the indirection in the test where the outer @Test calls testResult() in a nested class that looks a lot like a test itself?

Yup. By specifying .port("default", 4711, "udp") here https://github.com/spotify/helios/pull/848/files#diff-6da031aab2d8f23a98de0f1b4163735cR62, the prober will send a UDP packet that will be ignored instead of a port not reachable.
A temp job will block on the deploy() until the probing for all specified ports is successful and will throw an error if any port fails to be probed.
As for the indirection, I wanted to use certain variables defined in TemporaryJobsTestBase here https://github.com/spotify/helios/blob/master/helios-testing/src/test/java/com/spotify/helios/testing/TemporaryJobsTestBase.java#L35, and I think I have to nest the test in order to use them. Let me know if I'm wrong or if there's a better way.

Nah, I don't know a better way
:+1:

@pehrs this should be available in helios-testing:0.8.753 now.


Form recognizer 2.1 service is now GA but documentation lists it as preview

Form recognizer v2.1 is GA but the documentation for the REST API reference lists the same as preview. As per azure documentation of form recognizer v2.1 is GA. Please refer screen shot below:
Rest API Documentation: https://docs.microsoft.com/en-us/rest/api/formrecognizer/

Azure docs: v3.0 is now in preview. v2.1 is now GA

Ref: https://github.com/MicrosoftDocs/azure-docs/issues/85029

I've joined a new team and am not up to date on Form Recognizer, so I've forwarded this issue to the FR team!


MOS value is very low in WebRTC p2p call

I have integrated Lyra into WebRTC and tested it on two Pixel 3 phones(Android 11), the MOS(measured by Malden red box) of p2p call is only about 2.2, it can't reach the VoIP call standard, do we have a plan to optimize its quality?

It is awesome that you integrated Lyra into WebRTC for real-time calls. However, those MOS scores seem very low compared to what we experience in our WebRTC calls. Does the audio on these calls sound reasonable compared to when running a file through it? I just want to rule out some integration issue.
Regardless, in the meantime we are working on improving Lyra's quality and will share it as soon as we have something.

My objective listening is good, the audio is clear and sound good. Is the Lyra algorithm not friendly with the PESQ algorithm or kind of this issue?

That is a great point! Generative models tend to perform poorly with objective metrics like PESQ, POLQA or VISQOL, even if perceptually they sound good, because they aren't optimized to maintain certain alignment or phase. And Lyra is no exception of this rule. Please see section 3.3 and table 1 on our 2017 paper.

Our listening tests show that the Lyra 1.2.0 release improves quality significantly, but I am guessing that the MOS score would still be low, since it is also based on a generative model.

@pyu1538  Hi, Yu, just curious how  the Lyra2 runs on a phone call now,  since it only supports 3 bitrates , 3200, 6000, 9200. Most of the calls have higher bitrates if opus is used.  Thanks.

I do not have the MOS test box now, I will comment here if I figure out a way to measure it.

I am assuming you have seen our blog post, but just to summarize: From our MUSHRA listening tests<EMAIL_ADDRESS>has similar quality than Opus@10k, LyraV2@6k has similar quality than Opus@13k, and<EMAIL_ADDRESS>has similar quality than Opus@14k. But I agree that many calls use Opus at higher bitrates, like 32kbps, and there LyraV2 as it is today won't be able to compete.


Fix insurance display issue

Codecov Report

Merging #116 (31b5af5) into master (8bfebea) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #116   +/-   ##
=========================================
  Coverage     56.70%   56.70%
  Complexity      779      779
=========================================
  Files           167      167
  Lines          3194     3194
  Branches        368      368
=========================================
  Hits           1811     1811
  Misses         1284     1284
  Partials         99       99

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Deprecate building tautulli image

Tautulli uses gosu, I currently have a PR open there to add a bypass for it (needed for rootless deployments). This container can be deprecated if that is merged and a release is cut.
Ref: https://github.com/Tautulli/Tautulli/pull/2301

Done in https://github.com/onedr0p/containers/pull/1006


Add support for Aerotenna OcPoC-Zynq Mini hardware

Adds necessary changes to support Aerotenna OcPoC-Zynq Mini flight controller hardware.

Awesome! Can you contact me at<EMAIL_ADDRESS>to discuss how we can test hardware to cross-validate this? Thanks!

@bkueng I've now moved the battery monitor to a separate driver. I'll get to the documentation as soon as I can.


Previous suggestion list not cleared on space

VSCode Version: Code 1.19.3 (7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba, 2018-01-25T10:32:23.601Z)
OS Version: Linux x64 4.9.0-5-amd64
Extensions:

Extension
Author (truncated)
Version

vscode-docker
Pet
0.0.24

vscode-intelephense-client
bme
0.8.5

ayu
tea
0.12.0

(2 theme extensions excluded)

Steps to Reproduce:

Install intelephense extension
start typing a use declaration - use x

Reproduces without extensions: NA
This is observed with an extension but I dont believe it is caused by the extension. When I type out a use declaration in PHP I will get a lengthy (but isIncomplete:false) completion list from the extension which shows immediately when typing use.
Then pressing space and starting to type the next token does not clear the previous suggestion list or trigger another completion request as expected. The same suggestion list remains with now stale suggestions for the context.
If I press escape to close the popup then type the next token I observe another completion request and appropriate suggestions for the next token. You can see the behaviour in the below gif.

@bmewburn since the server reports the list as isIncomplete:false VS Code expects the list to be complete and filters it on typing. This is why VS Code doesn't send another completion request. Have you reported this issue to the extensions?

Thanks for the fast reply @dbaeumer . It's my extension :) . Maybe I misunderstand how the isIncomplete flag works. In the above case all relevant suggestions for us| are returned and typing more (word) characters would not change the result. I assumed that space, being a word separator, changes the completion context though, and would trigger further completion requests.
So if us| returns 50 matches to complete a single token should I instead set isIncomplete:true for this result because there are potentially hundreds of matches when considering the entire phrase use x| use y| use z|?
Had I selected use from the list then it the popup would have closed and suggested again for the following token.

Thinking about this more I see how having the list remain on space has advantages because a lang server could return full method signature suggestions when in a context where the user may want to override a base method. eg func| => function myFn($p). Though if this is the case I dont understand why, in the gif above, list items like call_user_func are not filtered out. The space in use N seems to be ignored then.

@bmewburn if space is a defined word separator code complete should close correctly. I tested this with TS and it works as expected. If space is a word seperator then can you provide me with a GitHub repository I can clone that demos the behaviour.


HDDS-10556. Checkstyle summary excludes errors with xml

What changes were proposed in this pull request?
summary.txt for checkstyle incorrectly removes failure message that matches the string xml, e.g. unused import from com.fasterxml.jackson.
checkstyle-errors.xml:
<file name="hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/tenant/GetUserInfoHandler.java">
<error line="20" column="8" severity="error" message="Unused import - com.fasterxml.jackson.databind.ObjectMapper." source="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck"/>
</file>

summary.txt:
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/tenant/GetUserInfoHandler.java

The problem is that <\?xml matches <xml or xml instead of <?xml as intended.
https://issues.apache.org/jira/browse/HDDS-10556
How was this patch tested?
Checked out https://github.com/ArafatKhan2198/ozone/commit/9d4b3e58077a1f6c8c5c4ecc67716e8c670098c6, ran checkstyle:
$ ./hadoop-ozone/dev-support/checks/checkstyle.sh
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/tenant/GetUserInfoHandler.java
 20: Unused import - com.fasterxml.jackson.databind.ObjectMapper.

Thank you @adoroszlai for the patch LGTM+1

Thanks @myskov for reviewing and merging this.


Add support for ruby 3.0

rexml gem is a bundled gem since Ruby 3.0.0.
So it must be added to Gemfile.

@francoiscampbell I have included @mlarraz commit in this PR


Warn Log 'server networking not settup yet'

when a player joins a world (in single player or on a dedicated server), a rather concerning error message pops up in the log. Though this doesnt seem to have any impact to anything in game or cause any problems. This warn log is always just before x player joined the game
Dev Environment (intellij);
[10:07:27] [Server thread/WARN] (FallFlyingAbilityTracker)
Player ServerPlayerEntity['Player342'/381, l='ServerLevel[New World]', x=135.50, y=67.00, z=-47.50] could not be synced because server networking isn't set up yet.

Client/Singleplayer;
 '10:14:10.071
net.adriantodt.fallflyinglib.impl.FallFlyingAbilityTracker
Server thread
Player class_3222['milkev'/228, l='ServerLevel[New World]', x=58.50, y=68.00, z=-153.50] could not be synced because server networking isn't set up yet.'

Dedicated Server;
[08:54:15] [Server thread/WARN]:
Player class_3222['milkev'/220, l='ServerLevel[world]', x=-129.50, y=67.00, z=70.50] could not be synced because server networking isn't set up yet.

Seems to be caused by player.networkHandler returning null. Perhaps because PAL is calling sync to early?
the player has no uuid at the point at which the warn is called. using player.getServerWorld().getPlayerByUuid(player.getUuid()) in place of player.networkHandler seems to result in the same thing.
if you feel full logs would help diagnose this issue, i can send them, however i do not believe they will help with this.
Unless this is found to actually cause any issues, i believe its best to just remove the warn log entirely, if only to ease the mind of any player or server owner finding this in their logs.

FallFlyingLib will (hopefully) be superseded by an official Fabric API: https://github.com/FabricMC/fabric/pull/1815

FallFlyingLib was superseded by the official Elytra events available at Fabric Entity API.


ERR_CERT_COMMON_NAME_INVALID

Hello,
since today i get this error and not a single Icon is loaded:

If i click "Continue to cdn.jsdelivr.net (unsafe) i get on a Cloudflare Error Page:

403 Forbidden
cloudflare

Greetings from Germany

Same here for me - Germany.

Hi, this is most likely an error with jsdelivr. Please reach out to them directly.


Announcements don’t work on the Alexa Windows Store app.

Describe the bug
Announcements don’t work on the Windows Alexa PC App
To Reproduce
Steps to reproduce the behavior:
Create an automation to send an announcement to alexa_media.alexapc (or whatever the entity is called).
Announcements on “real” echo devices work fine.

Can you do the announcement to those apps using the official Alexa app?

Same problem here, on my smart fridge i can't use the announce but tts works


Bumping go version to 1.20.7

Bumping go version to 1.20.7

/cherry-pick v0.13.x

/cherry-pick v0.11.x


"Creatity page not found" when retrieving page for "Creativity"

python 3.7.9
>>> import wikipedia
>>> wikipedia.__version__
1.4.0

Some pages can't be found, even if you use the exact title currently on Wikipedia for a popular page or use the .suggested article title:
>>> wikipedia.summary('Creativity')
PageError: Page id "creatity" does not match any pages. Try another id!
>>> wikipedia.page('Creativity')
PageError: Page id "creatity" does not match any pages. Try another id!
>>> wikipedia.suggest('Creativity')
'creatity'
>>> wikipedia.search('Creativity')
['Creativity',
 'Creativity (religion)',
 'Creativity and mental health',
...
PageError: Page id "creatity" does not match any pages. Try another id!
>>> wikipedia.page('creativity')
PageError: Page id "creatity" does not match any pages. Try another id!

Lowercasing, etc. doesn't help, but adding the "(religion)" qualifier does, unless you're not looking for the religion page.
Installing with conda or pip gives the same behavior.

For "Creativity" the suggestion is "creatity" (but not sure why)
The error seems to stem from here.
Someone should just make a PR that changes that priority.
Its right here: https://github.com/goldsmith/Wikipedia/blob/1554943e8ab463cef5e93081def48fafbdef324e/wikipedia/wikipedia.py#L272
    if auto_suggest:
      results, suggestion = search(title, results=1, suggestion=True)
      try:
        title = suggestion or results[0]
      except IndexError:
        # if there is no suggestion or search results, the page doesn't exist
        raise PageError(title)


WIP: add codspeed benchmarks [skip cirrus]

cross-ref https://github.com/ev-br/openblas-bench/issues/6

Phew. Finally managed to make it run on codspeed. Will cleanup.
However, https://github.com/OpenMathLib/OpenBLAS/actions/runs/9138697348/job/25130179181?pr=4678 reports that
Upload the results
  CodSpeed Run Hash: "47ae471c56db8c1163d892307489c4ea202671cd8d4197ca08586f9ab23bddfd"
  Preparing upload...
  Error: Error Failed to retrieve upload data: 401 Unauthorized {"error":"The repository is not enabled"}
  Error: Process completed with exit code 1.

WDYT @martin-frbg ?

Idk, this repository has never worn a codpiece before. Their site has now asked me to enable the repo and add a codspeed_token (which I don`t think it did before) so maybe it will work now

Yup, it did work this time: https://codspeed.io/OpenMathLib/OpenBLAS/branches/ev-br:codspeed !
The PR is ready from my side.


Ti logo

First draft of a logo for Ti. Uses Roboto Mono as font

I must admit I'm not 100% happy 😅

Could you create a version without the Ti and use the font for the 30?

Ti and 30 is both Roboto Mono

This one could be quite confusing 😛
I'm already thinking about something else 🤔  💭

I like it. I like booth (maybe because the first one was my idea? 😉)
On May 3, 2017 6:01 PM, "Pascal Welsch"<EMAIL_ADDRESS>wrote:

https://cloud.githubusercontent.com/assets/1096485/25669494/fcc98436-3029-11e7-9ed5-7f4c70d0c480.png
This one could be quite confusing 😛
I'm already thinking about something else 🤔 💭
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/grandcentrix/ThirtyInch/pull/93#issuecomment-298956225,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwYe0A9KBacgW8xOKktH_PmVN4Cj1JTks5r2KTagaJpZM4NPXrL
.


Errno::EACCES: Permission denied

Hi,
Just installed premailer (windows 7, ruby 1.9.3p484, rails 4.1.3) and trying to send a css email  from the console. I get following error:
irb(main):009:0> BottlyMailer.invitation_email(e<EMAIL_ADDRESS>"Name").deliver
Errno::EACCES: Permission denied - C:/Users/mike/Dropbox/kalenderfee/webapp/public
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionmailer_inline_css-1.5.3/lib/overrides/premailer/premailer.rb:13:in `read'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionmailer_inline_css-1.5.3/lib/overrides/premailer/premailer.rb:13:in `load_css_from_local_file_with_rails_path!'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/premailer-1.8.3/lib/premailer/premailer.rb:306:in `block in load_css_from_html!'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/nokogiri-<IP_ADDRESS>-x86-mingw32/lib/nokogiri/xml/node_set.rb:187:in `block in each'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/nokogiri-<IP_ADDRESS>-x86-mingw32/lib/nokogiri/xml/node_set.rb:186:in `upto'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/nokogiri-<IP_ADDRESS>-x86-mingw32/lib/nokogiri/xml/node_set.rb:186:in `each'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/premailer-1.8.3/lib/premailer/premailer.rb:285:in `load_css_from_html!'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/premailer-1.8.3/lib/premailer/premailer.rb:234:in `initialize'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionmailer_inline_css-1.5.3/lib/action_mailer/inline_css_hook.rb:12:in `new'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionmailer_inline_css-1.5.3/lib/action_mailer/inline_css_hook.rb:12:in `delivering_email'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mail-2.5.4/lib/mail/mail.rb:230:in `block in inform_interceptors'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mail-2.5.4/lib/mail/mail.rb:229:in `each'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mail-2.5.4/lib/mail/mail.rb:229:in `inform_interceptors'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mail-2.5.4/lib/mail/message.rb:220:in `inform_interceptors'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mail-2.5.4/lib/mail/message.rb:230:in `deliver'
        from (irb):9
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.1.3/lib/rails/commands/console.rb:90:in `start'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.1.3/lib/rails/commands/console.rb:9:in `start'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.1.3/lib/rails/commands/commands_tasks.rb:69:in `console'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.1.3/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
        from C:/Rails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.1.3/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'irb(main):010:0>

Here's the template for the mail (haml)
!!!
%html
  %head
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
    %title= content_for?(:title) ? yield(:title) : "Kalenderfee"
    %meta{:content => content_for?(:description) ? yield(:description) : "Kalenderfee", :name => "description"}/
    = stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true
    = javascript_include_tag "application", "data-turbolinks-track" => true
  %body
    .application
      .row
        .container
          %p
            Hallo #{@name},
          %p
            = @event.owner.full_name
            möchte dich gerne zu<EMAIL_ADDRESS>am<EMAIL_ADDRESS>format: :local_date_short)} einladen. Kannst du dich bitte hierfür unter diesem Link an- oder abmelden<EMAIL_ADDRESS>wird dir sicherlich sehr verbunden sein.
          %p
            %li
              %a{:href => event_url(@event)}= event_url(@event)
          %p
            Danke und lieben Gruss
          %p
            \- Deine Kalenderfee        %footer

Appreciate your help

Mike

I found that I had to back down the version of dependency gem premailer to 1.7.9

I was seeing
from /opt/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/actionmailer_inline_css-1.5.3/lib/overrides/premailer/premailer.rb:13:in `read'

Which backing down premailer to 1.7.9 also solved.

@bstrech @kevinmarx @fastsyrup I had the same problem, solved after downgrade from 1.8.6. to 1.79

Should be fixed by 6879d32a3139365643796345a231a671beebd484


Fix issue of buildInputs paths mismatching with outputPath and add propagatedBuildInputs

Problem
As mentioned in #20, there are a large number of packages whose buildInputs has a suffix -dev, but the outputPath we get for this package doesn't have any suffix, which causes the mismatching issue.
For example, the buildInputs of firefox is ['/nix/store/7h5psr5dn8lmypz2n5r3y1sq0pj2n3bh-gtk+3-3.24.34-dev'], but the outputPath of gtk+3-3.24.34 is '/nix/store/2j2znigd8ak37rlwh9khz0ry3clqlw1l-gtk+3-3.24.34'. When we have our node firefox, we cannot find the corresponding outputPath of gtk+3, therefore the edge between firefox and gtk+3 will not be added, which as a result leads to a relatively small graph.
Solution
When extracting data from nix, apart from the outputPath, for each package we also extract paths with all suffixes and store them as a list called outputPathAll, and their names as a list called outputNameAll.
When adding an edge to the graph in the ETL process, instead of searching the path of buildInputs in outputPath, we first get the name of the buildInputs and look into outputPathAll with the same name  to find if there's a match in between.
Here, we get the name of the buildInputs first and use df.query("name == @package.name") to narrow the size of dataframe so that we don't need to traverse all dataframe to find the matching path.
We also added propagatedBuildInputs as another property in the database and apply the same trick when adding the edges labeled propagatedBuildInputs. (See #19 )
This is a screenshot of the Gremlin query to see the dependency graph of firefox
g.V()
.filter{it.get().value('pname').matches('firefox')}
.repeat(outE().otherV().simplePath())
.times(2)
.path()
.by('pname')
.by('label')
.limit(10)

Thanks for preparing this! Will need to defer to @GuillaumeDesforges  and/or @jeicher for the review until I'm back from leave.

We need to define which formatter to use. I would prefer black.
All Python symbols should use snake_case convention. Ref: https://peps.python.org/pep-0008/#descriptive-naming-styles
I think this code base can use some comments and docstirngs now that it's getting bigger.
Let's use type hinting as much as possible. Tools like pyright are then very helpful.
The Python alternative to Haskell Maybe (Scala's Option, Rust's Option) is a type union T | None which has been historically written Optional[T]. Ref: https://docs.python.org/3/library/typing.html#typing.Optional

Nice catch!! I'll apply a formatter then. Thanks for the tips!


cbs classic shows not working (cbs.com)

Thanks for a great tool. I've found that some videos from CBS.com don't load correctly. Namely ones that are in under the "TV Classics" category. (The other CBS videos seem to work just fine.)
Two examples:
$ youtube-dl http://www.cbs.com/shows/star_trek_voyager/video/PEhB9J7sh6uFMv28GYSRTUNNZ8Gv6LYH/star-trek-voyager-flesh-blood-part-2/
[CBS] PEhB9J7sh6uFMv28GYSRTUNNZ8Gv6LYH: Downloading webpage
[ThePlatform] uX0RIVmJWcNu: Downloading XML
[ThePlatform] uX0RIVmJWcNu: Downloading webpage
[download] Destination: Star Trek - Voyager - Flesh & Blood, Part 2-uX0RIVmJWcNu.flv
[rtmpdump] 0 bytes

ERROR: rtmpdump exited with code 1

$ youtube-dl http://www.cbs.com/shows/i_love_lucy/video/1811409729/i-love-lucy-the-quiz-show/
[CBS]<PHONE_NUMBER>: Downloading webpage
[ThePlatform] _c0yOsbN3_Rh: Downloading XML
[ThePlatform] _c0yOsbN3_Rh: Downloading webpage
[download] Destination: I Love Lucy - The Quiz Show-_c0yOsbN3_Rh.flv
[rtmpdump] 0 bytes

ERROR: rtmpdump exited with code 1

Any thoughts? Thanks!

Please post the full verbose log (with --verbose option)

I've made no changes to my set up (haven't updated youtube-dl even) but they are working now where they haven't been working for a couple weeks. No idea. Maybe CBS watches this page.
Thanks


Incoming messages doesn't appear on tdlib unless I click to it on real Telegram client

Hi
I have a very strange problem on past few days.
The messages that incoming to channels/groups which has more then 60k followers is not coming to tdlib client unless if I click on that channel.group name on real telegram client (mobile/desktop)
It looks very strange because I didn't have any problem like this in since 3 years.
Is there any new limitation on Telegram side that anyone knows?

Messages in big chats aren't expected to be received in real time, but if the user has the chat opened, then they are expected to be received faster. In TDLib you can open a chat using openChat, but don't forget to call closeChat when the chat is closed. Usually, users have at most one chat opened.

Have the same issue on much smaller channels

How can i use openChat event with node.js tdl package ?


Date filter (still) shows incorrect month names for Slavic languages

As a follow up of this issue:
https://github.com/angular/angular.js/issues/10247
Languages like Polish and Croatian have different versions of months names depending on the context.
The Angular's localization files now have both versions present ("MONTH" and "STANDALONEMONTH"). But the date filter doesn't seems to be always using the right ones, actually it still only seems to use the "MONTH" version at all times
For example if you use "MMMM" to just get the month's name it should show the version from "STANDALONEMONTH".
Would it be possible to at least make the plain "MMMM" one behave correctly? Because if it does then AngularUI's datepicker will work correctly too. Thanks.
Or introduce a new code, like five M's ('MMMMM') or something for the standalone version so people can choose themselves what version should be used.
I'm on 1.4.9 by the way.

I couldn't find it properly documented anywhere, but the Closure Library (which we get our locale data from), seem to be using LLLL for STANDALONEMONTH (e.g. see here and in other places in the source code).
I think it's reasonable to use LLLL as well. There seems also to be the LLL pattern for STANDALONESHORTMONTH, but we are not extracting that information (so I don't think we need LLL until someone asks for it - then we can consider it :smiley:).

Using 'LLLL' sounds good, I'm looking forward for a PR or update.
'LLL' for short standalone month doesn't seem really necessary because it's the last part of the month's names that is different so the short versions are the same anyway. Maybe there is an exception somewhere, but at least not in Polish or Croatian.

I'm looking forward for a PR or update.

@Janneman84, LLLL has been already implemented in #14013 has been merged into master and v1.5.x :smiley:
It will be available since 1.5.1. You can try the latest code from master using https://code.angularjs.org/snapshot/angular.js.


Add struct passing functionality for connector config when calling NewConnectorWithLoggers

Is your feature request related to a problem? Please describe.
Right now if we want to initialize a new connector with loggers by passing a configPath we can but we can not pass a connector config struct.
Describe the solution you'd like
configPath param in NewConnectorWithLoggers can be changed from string to any.

Thank you for mention  it but we have added builder support with this(https://github.com/Trendyol/go-dcp-kafka/pull/61) pull request so that we won't have any NewConnectorWithLoggers  anymore

Ah okey then thanks for the info and hard work🙏🏻 Closing this issue.


[BUG] RKE2 provisioned registry secret not being backed up by Backup/Restore operator

Rancher Server Setup

Rancher version: v2.9-head (but reproducible on older versions
Installation option (Docker install/Helm Chart): Docker/Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.27
Cluster Type (Local/Downstream): Local

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:
Admin

Describe the bug

The registry secret for RKE2 clusters is not backed up by the backup/restore operator. In case of a disaster recovery or local cluster migration, secret would need to be manually created.
To Reproduce

On the UI, cluster management, create cluster, select RKE2, custom
On Cluster Configuration, Registries, select Pull images for Rancher from a private registry, set the credentials
click create
Install Backup/Restore App if necessary
Create a backup and look for the registry secrets on the folder: secrets.#v1/fleet-default
it is not backed up

Result
The secret does not exist in the backup and wouldn't exist if restored from that backup.
Expected Result

The secret should be backed up since it is needed for the cluster object to function.
Screenshots

Additional context

It looks like this should be as easy as adding the resources.cattle.io/backup label with the value true to the secrets we want backed up since it's already in the default resourceset for the operator. This would probably just need to be done from a controller on cluster create. That way even if the customer creates the secret via terraform or other means it would still get included in the backup.
SURE-5896

When these are created via the UI though they are generated with a consistent name under the fleet-default namespace. So we can actually address this in two parts - one by adjusting BRO to backup ^registryconfig-auth- secrets under fleet-default and two can be the controller based fix mentioned to catch anything else created outside of Rancher UI.

This is fixed in both 2.9 and 2.8

Since O&B team is taking care of it, removing it Hostbusters team from it.

@snasovich - just to clarify since I caused some confusion on this one.
We have pending PRs that will capture any secrets named matching the convention used when working via the Rancher UI. However I believe there's still potential that users might create these via Terraform which may not enforce the same name convention.
In that scenario the end-user would still experience a bug around this issue, which I believe could be addressed in a controller or webhook. Since in that case the secret would need to have an annotation applied to it to match a rule to be backed up instead of relying on a name match.
Today I will work to reproduce this issue with terraform to see if I can verify this and report back here. I'm hoping we can make sure that we address both use-cases since I know the additional control users have via terraform has caused some other issues in the past too.

@MbolotSuse - I just realized since my other proposed (above) actually sounds like a webhook thing I think? So that might still be our team but frameworks squad? Being really oblivious to proper webhook concepts I took a shot and a very rough proof of concept: https://github.com/rancher/webhook/compare/release/v0.5...mallardduck:cluster-registry-secret-hook?expand=0

This change can be found in:

v4.0.3-alpha.1
v3.1.5-beta.2

And it will be in:

v5.0.1-alpha.2

And any pre-releases higher than these.

Validated on v2.9-head Commit ID: 4912395  ✅
Fresh Install:

The registryconfig-auth secret is saved in the fleet-default namespace ✅
Backup successfully taken ✅
Backup contains the generated secret under secrets.#v1/fleet-default/registryconfig-auth-<generated_name>.json ✅
Restore successfully completed ✅
Secret is successfully restored ✅

Upgrade (2.9.0 -> 2.9-head):

The registryconfig-auth secret is saved in the fleet-default namespace ✅
Backup successfully taken ✅
Backup does NOT contain the generated secret under secrets.#v1/fleet-default/registryconfig-auth-<generated_name>.json ✅
Upgrade successful ✅
New backup is successful ✅
New backup DOES have the generated secret under secrets.#v1/fleet-default/registryconfig-auth-<generated_name>.json ✅
Restore successfully completed ✅
Secret is successfully restored ✅

Upgrade (2.8.6 -> 2.9-head):

The registryconfig-auth secret is saved in the fleet-default namespace ✅
Backup successfully taken ✅
Backup does NOT contain the generated secret under secrets.#v1/fleet-default/registryconfig-auth-<generated_name>.json ✅
Upgrade successful ✅
New backup is successful ✅
New backup DOES have the generated secret under secrets.#v1/fleet-default/registryconfig-auth-<generated_name>.json ✅
Restore successfully completed ✅
Secret is successfully restored ✅


Upsampling.getMemoryReport ArrayIndexOutOfBoundsException

Issue Description
Calling Upsampling.getMemoryReport leads to an ArrayIndexOutOfBoundsException:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
	at org.deeplearning4j.nn.conf.layers.Upsampling2D.getMemoryReport(Upsampling2D.java:119)
	at org.deeplearning4j.nn.conf.graph.LayerVertex.getMemoryReport(LayerVertex.java:147)
	at org.deeplearning4j.nn.conf.ComputationGraphConfiguration.getMemoryReport(ComputationGraphConfiguration.java:635)

Looking at the source code, it currently reads:
val im2colSizePerEx = c.getChannels() * outputType.getHeight() * outputType.getWidth()
    * size[0] * size[1] * size[2];

Presumably it should be:
val im2colSizePerEx = c.getChannels() * outputType.getHeight() * outputType.getWidth()
    * size[0] * size[1];

(i.e. drop * size[2]) since the layer only has 2 dimensions.

Thanks for the issue/fix: https://github.com/eclipse/deeplearning4j/pull/8015


GV images MUST upload in folder by hour

Sync can't just dump all GV images into one folder. All images for each panorama must be inside a parent named down to the hour and preserving (semi) standard timestream naming and folder formatting.
Example for hilltop camera:
_NationalArboretum\shared\phenocams\gigavision\ARB-GV-HILL-1\2015\2015_12\2015_12_07\2015_12_07_10\ all images go in here

this is fixed in latest version.
also is duplicate.,


One SKU has a SkuPartNumber with an issue

Hi, not sure where else to post this.
In our tenancy, we are using a particular SKU:
SkuPartNumber: "CPC_E_2C_8GB_128GB"
SkuId: e2aebe6c-897d-480f-9d62-fff1381581f7
Which is the "Windows 365 Enterprise 2 vCPU 8 GB 128 GB" product.
When processing this SKU in PowerShell, The SkuPartNumber has a character at the end, which causes its default Format-Table output on screen to move the PrepaidUnits value one character to the left.
It also means I cannot hard match it to a predefined string in my code.
I hope you can lookup this SKU and find and correct the SkuPartNumber value.
There may be more SKUs with the same issue, might pay to look at all CPC SKUs.
Feel free to reply here if you require more information from me.

I tracked down the character.
It's a Unicode character 8203, which is ZERO WIDTH SPACE, or also referenced as U+200B.

@ivassallo19  We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if you see an improvement is required in the specific area of this documentation. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

"but we haven't had any response from you" ... when did you ask for a response? and to what?
If this should be raised somewhere else, kindly inform me of the correct team to raise this with.

@ivassallo19 Apologies. Please indicate the which document you are referring to for this feedback. Thanks

The command being used is Get-AzureADSubscribedSku.
The article is:
https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureadsubscribedsku?view=azureadps-2.0
However the problem isn't with the article or the command, but the SKU data being returned from Microsoft's side.

@ivassallo19 Thank you very much for the reply. Here, we are limited to documentation fixes and improvements only. Considering the nature of the issue please open a service ticket in your tenant and follow with them for the resolution. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Update version: Henry++.freeshooter version 2.0.7

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114961&drop=dogfoodAlpha

@wingetbot run


Simplify and fix array shape

len(range(dif)) == dif
ana_sig[i_begin:i_end] has shape (X, 1), whereas np.ones() has (X)
resulting in: ValueError: could not broadcast input array from shape.

Coverage remained the same at 52.082% when pulling 7d5ecfa5c890d8c2adff55af03e8f2b95dc4ebfc on jspricke:array_shape into 6a5fc42d16de658fbba69d0e079c8ddf3e9a7a9d on NeuralEnsemble:master.


TTV token

Project team background
Prior to launching TV-TWO (https://tv-two.com/), the founders held leading positions at a Berlin-based mobile advertising start-up - which was sold in May 2017 for 10M+ EUR.
Project basic information
TV-TWO is a cross-device streaming application that utilizes blockchain technology to make user engagement on its platform transparent. Users are rewarded with the TTV token for watching content on TV-TWO. Advertisers purchase TTV tokens to place ads on TV-TWO. TV-TWO is available on Samsung and LG televisions as well as iOS and Android phones.
Media publications

Cointelegraph: https://cointelegraph.com/news/blockchain-in-media-how-blockchain-can-help-advertising/
Entrepreneur: https://www.entrepreneur.com/article/315433/

Supported Exchanges

IDEX
trade.io

Suggested Gas limit setting
150000

the logo is not qualified, refer to this:

Thank you, @tstt. I have adjusted the logo.

Welcome to recommend imToken 2.0 to your token holders to manage their token.
imToken Brand Board: https://projects.invisionapp.com/boards/GE3L46DWK2C


feat(client): add typed document node support

Codecov Report

Merging #791 (4611ca5) into main (821912e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #791   +/-   ##
=======================================
  Coverage   93.47%   93.47%
=======================================
  Files          42       42
  Lines        6434     6434
  Branches      377      377
=======================================
  Hits         6014     6014
  Misses        420      420

Continue to review full report at Codecov.

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

I'm closing this because we plan to use https://github.com/prisma-labs/graphql-request as our graphql client, which will support TypedDocumentNode out of the box.


Avoid raising RuntimeError when Notifications API isn't configured

Encountered in the Objects API, Open Inwoner and in Open Klant, with notifications-api-common we currently raise a RuntimeError if the Notifications API client is unconfigured, causing a 500 when creating an instance. This causes irritation as users explicitly have to know about and disable notifications with the NOTIFICATIONS_DISABLED envvar (which is properly documented but isn't mentioned in the exception).
Now I get why the Notifications API could be seen as mandatory for Open Zaak to adhere to the VNG ZGW API and that the notifications-api-common library was based on vng-api-common which was primarily developed for the reference implementations for the ZGW APIs. However as we're using notifications-api-common more broader for the Objects API, Open Inwoner and Open Klant, applications where notifications are optional.
As such I propose simply logging the fact that the notifications aren't configured and proceeding instead of raising a RuntimeError.

Quickly discussed with Joeri last week but I'm unsure what both your stances are in this, if there is disagreement on if this is a useful change lets discuss this at the office

Thinking about this more we could also have a setting NOTIFICATIONS_OPTIONAL to allow each application to choose between mandatory or optional notifications. If this is preferable I'll update my PR accordingly.

I don't really understand why you would use this package if notifications are not relevant? Unless you want to lose the guarantee that CRUD actions in the API produce notifications that other services can tap into, which I'm afraid creates a whole different class of problems due to inconsistent behavior depending on whether the notifs API is configured or not

We have multiple installs for the mentioned components, but only in certain cases are generating notifications necessary. Open Klant for instance is used with notifications within Den Haag (and for that it's important) but for Open Klant within KISS notifications aren't necessary.
But that notifications are necessary for syncing does make this risky. I'll think about this some more.

I'm not opposed to the idea of a setting (not configurable via envvars) like NOTIFICATIONS_BREAK_HARD_DEPENDENCY so that each component can specify whether it's a soft or hard dependency. I do think the name of the setting should reflect the possible impact and scare people when disabling it. Then the RuntimeError could become a logger.warning call instead + bail out of that code path.

Discussed:

NOTIFICATIONS_GUARANTEE_DELIVERY, default=True. If False don't raise
logger.warning instead of logger.info
"Not notifying, Notifications API configuration is broken or absent."

Issue has been discussed and resolved via #11 , closing the issue.


FIXED: Errors were thrown for functions with default'ed params and a type checked return value.

Also removed unnecessary package dependencies.

Solves #19


Profile page should not display email address, and should have unique url

When I login with auth0 using gmail, my email address shows up where my name should be on my profile page. For example - the user<EMAIL_ADDRESS>should display "Participedia Support" which is the name I entered on my gmail settings for this email address.
Due to privacy issues, we don't want people's emails showing up on their profile page - this needs to be dealt with before launch. It should show whatever name they entered in their email settings.
I also just realized that when I go to my profile page, there isn't a unique url for my ppedia user profile page, it's just https://participedia.xyz/profile. I would like to be able to link people to my profile page on my website (for example), and we need to be able to create hyperlinks to staff profiles on the about page, so profiles will need a unique url.

ref: https://github.com/participedia/usersnaps/issues/108

Decision to remove social login from auth0 for now because:

users have to remember which account they used
sometimes new accounts are accidentally created and we have no way to merge them
most of the ppedia team already have username/password accounts and we'll migrate those from .net anyway
some issues with social login on auth0 such as twitter profile pics not importing, emojis in twitter causing problems, people's emails showing up as username, etc.

We'll still use auth0 to login with existing username and password. When new accounts are created we have to look into adding a name (see #694) and if an email is used, we can strip the @gmail.com part and use the first part as the username.


Diffie-Hellman Key Exchange

A key exchange algorithm that allows two parties to securely share a secret key over a public communication channel.
Add input and output field so that people can experiment

Can you please assign this issue to me? I would like to work over it.

Contribute inside Ciphers folder
Add how to use, how it works detailed explaination, Reference, Use case, Also add space and time complexity

any updates?

Yup, i am nearly done with the work, will be creating the merge request by today.


Can we get notification support?

Title. I think it would be great, and having Todoist start on boot would make this feature even more useful too.

I like the idea. I don't know what kind of method they use to get those notification (websockets probably). I don't think we can directly subscribe to those notifications but we might listen for changes in their notification bar... what do you think?

That sounds like the right approach. I assume electron has some way to catch notifications, so we can relay them to the OS. I'm just unsure if we'd have to implement the relay or if electron would handle it for us.
I'll look into this further in the coming weeks.

Good news! This is already supported in this project. I had notifications disabled on my system for it before (I don't know why).


Add stats to PointsWriter

@jwilder

Looks good, should still have @jwilder take a look to confirm the stats line up with what we think they do.

One question but :+1: otherwise.


Aborted tests availability

What is the ETA for the aborted tests availability? I am currently evaluating if I should use an external test manager such as Allure (which provides an easier way to differentiate a failed test from an error) and this is the one feature that I need for it.

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

ID: 94cca257-5f81-190e-b50c-7b7f69217234
Version Independent ID: 1d84dc61-a8bb-b45a-6c93-5bec211c19a5
Content: Review test results - Azure Pipelines
Content Source: docs/pipelines/test/review-continuous-test-results-after-build.md
Product: devops
Technology: devops-cicd
GitHub Login: @vinojos
Microsoft Alias: vinojos

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@WilliamAntonRohm My question was basically if it was possible for you to provide the ETA of the feature in the documentation instead of "this feature is not yet supported". I will ask my question on Stack Overfow, but I'm just saying this for people to avoid asking each time they come up with this issue.


Console output wrong encoding

What happened?
Image is built from Spring's bootBuildImage gradle task. When logging non-English letters to console and check logs with docker logs, all those letters become '?'. All settings of locale remain default.

These logs are correctly output to external log service. Also, non-English letters are correctly shown in console when fat-jar is run natively.
【响应数据】：<xml><return_code><![CDATA[SUCCESS]]></return_code>
<return_msg><![CDATA[OK]]></return_msg>
...
<trade_state><![CDATA[NOTPAY]]></trade_state>
<trade_state_desc><![CDATA[订单未支付]]></trade_state_desc>
</xml>

What did you expect to happen?

Show correct letters.
Build Configuration

What buildpacks are you using? Please include versions.

 > Pulling builder image 'docker.io/paketobuildpacks/builder:base' ..................................................
 > Pulled builder image 'paketobuildpacks/builder@sha256:f28591ff741a5cc4c7a257ca74a4eb43887be256596d89feb625a5e74124fdef'
 > Pulling run image 'docker.io/paketobuildpacks/run:base-cnb' ..................................................
 > Pulled run image 'paketobuildpacks/run@sha256:9067d823022ac6eeeada3d91d42cad45496fa440aef02096a4c332429e8b48dc'
 > Executing lifecycle version v0.11.1
 > Using build cache volume 'pack-cache-83bbb12828d3.build'
 > Running creator
    [creator]     ===> DETECTING
    [creator]     7 of 18 buildpacks participating
    [creator]     paketo-buildpacks/ca-certificates   2.2.0
    [creator]     paketo-buildpacks/bellsoft-liberica 8.0.0
    [creator]     paketo-buildpacks/executable-jar    5.0.0
    [creator]     paketo-buildpacks/dist-zip          4.0.0
    [creator]     paketo-buildpacks/spring-boot       4.2.0
    [creator]     paketo-buildpacks/debug             3.0.0
    [creator]     paketo-buildpacks/jmx               3.0.0

What builder are you using? If custom, can you provide the output from pack inspect-builder <builder>?

Spring Boot 2.4.4 Gradle plugin
Checklist

[x] I have included log output.
[ ] The log output includes an error message.
[ ] I have included steps for reproduction.

Thanks for the report. I don't think that this is an issue with the buildpacks. You need to set the LANG env variable when you run the image.
For example:
> docker run -it -e LANG=en_US.utf8 demo:0.0.1-SNAPSHOT
Setting Active Processor Count to 6
Calculating JVM memory based on 9102144K available memory
Calculated JVM Memory Configuration: -XX:MaxDirectMemorySize=10M -Xmx8707248K -XX:MaxMetaspaceSize=87695K -XX:ReservedCodeCacheSize=240M -Xss1M (Total Memory: 9102144K, Thread Count: 50, Loaded Class Count: 13069, Headroom: 0%)
Adding 129 container CA certificates to JVM truststore
Spring Cloud Bindings Enabled
Picked up JAVA_TOOL_OPTIONS: -Djava.security.properties=/layers/paketo-buildpacks_bellsoft-liberica/java-security-properties/java-security.properties -agentpath:/layers/paketo-buildpacks_bellsoft-liberica/jvmkill/jvmkill-1.16.0-RELEASE.so=printHeapHistogram=1 -XX:ActiveProcessorCount=6 -XX:MaxDirectMemorySize=10M -Xmx8707248K -XX:MaxMetaspaceSize=87695K -XX:ReservedCodeCacheSize=240M -Xss1M -Dorg.springframework.cloud.bindings.boot.enable=true
Written to STDOUT: 【响应数据】
Written to STDERR: 【响应数据】
12:46:26.572 [main] INFO io.paketo.demo.DemoApplication - Written through SLF4J logger: 【响应数据】

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.4.4)

...

Thanks for your kind reply though it's totally not an issue of buildpacks . Problem is perfectly solved after setting the LANG var. It would be more better if such setting is mentioned in document because it can be ignored easily. Or, just set the default value of LANG to en_US.utf8 when building image with buildpacks.
Before:
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

After:
LANG=en_US.utf8
LANGUAGE=
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

Thanks & no problem. I will make a note to document this. That's a good idea.


Any possible way to remove/delete admin login page? or somehow protected page?

Laravel: v7
Voyager: latest
PHP: 7.3
Database: MySQL 8.0

I would delete the login page under the admin route! is there any possible way? Then only admin will be available for users have access and not by trying from admin/login

From issue template:

QUESTIONS ABOUT HOW TO USE VOYAGER SHOULD BE ASKED IN SLACK FIRST


This is a serious bug

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.7.4
What operating system and processor architecture are you using (go env)?
centos7
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
i find problem about chan ，
When I send the article 6 of the same type of data at the same time and a different type of data, but their 4 bytes are the same, like this ：
[2016/12/30 10:16:13] [DEBG] (services.(*Client).routePlayer:263) all msg = &{0xc420557cc8 [67 65 85 81 65 66 103 71 73 65 81 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Client).routePlayer:263) all msg = &{0xc420557d18 [67 65 85 81 65 82 103 71 73 65 81 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Client).routePlayer:263) all msg = &{0xc420557d68 [67 65 85 81 65 104 103 71 73 65 81 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Client).routePlayer:263) all msg = &{0xc420557db8 [67 65 85 81 66 66 103 72 73 65 119 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Client).routePlayer:263) all msg = &{0xc420557e08 [67 65 85 81 65 120 103 72 73 65 119 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Client).routePlayer:263) all msg = &{0xc420557e58 [67 65 85 81 66 82 103 72 73 65 119 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Client).routePlayer:263) all msg = &{0xc420557ec8 [67 65 85 81 75 120 106 68 51 104 56 61]}
and when I write this channel ， Had a serious bug ， A data error is in front of the data has changed
like this ：
[2016/12/30 10:16:13] [DEBG] (services.(*Player).run:253) all msg = &{0xc420557cc8 [67 65 85 81 75 120 106 68 51 104 56 61 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Player).run:253) all msg = &{0xc420557d18 [67 65 85 81 65 82 103 71 73 65 81 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Player).run:253) all msg = &{0xc420557d68 [67 65 85 81 65 104 103 71 73 65 81 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Player).run:253) all msg = &{0xc420557db8 [67 65 85 81 66 66 103 72 73 65 119 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Player).run:253) all msg = &{0xc420557e08 [67 65 85 81 65 120 103 72 73 65 119 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Player).run:253) all msg = &{0xc420557e58 [67 65 85 81 66 82 103 72 73 65 119 111 65 103 61 61]}
[2016/12/30 10:16:13] [DEBG] (services.(*Player).run:253) all msg = &{0xc420557ec8 [67 65 85 81 75 120 106 68 51 104 56 61]}
This is a serious bug, leading to collapse of my game
my email ：<EMAIL_ADDRESS>What did you see instead?

Please show a small standalone reproduction program to show the problem.

For questions about Go, see https://golang.org/wiki/Questions.
This is not a complete bug report. This is better suited to the mailing list.


New feature : Jupyter to python

Few questions :
Is it way to reuse your codebase for reverse operation ?
Jupyter to structured python files, using #Tag
#! preprocess.py:start:#details
.... jupyter cells
#! preprocess.py:end
#! train.py:start:#run the training
.... jupyter cells
#! train.py:end
So, we can have directly structured code using simple tags in the jupyter ?

Hi @arita37, I don’t have plans for that currently as the jupyter library can already do that:
jupyter nbconvert --to script mynotebook.ipynb

any plan to treat the comments generated by nbconvert as explicit cell dividers?
e.g.
# In[24]:


FTP library list_files

How about permitting the developer to get a more detailed list of files with the ftp_rawlist function?

You'll have to add documentation as well.
Also, it's a tiny patch, but can still be improved for better readability.

@bQt31 Documentation for Ftp.php is located at /user_guide_src/source/libraries/ftp.rst.

How about shorter way?
return $detailed ? ftp_rawlist($this->conn_id, $path) : ftp_nlist($this->conn_id, $path);

+1

@Calico90 GitHub has reacting built-in, so you can give a thumbs-up on the OP's post. Comments saying "+1" are just noise.
@bQt31 You still haven't added a docs patch, and not following our styleguide.


Error running ipdk demo on Fedora 33

The following error is observed while running ipdk demo on Fedora 33:
Creating vhost-user ports
Return grpc errno (14), Reason: failed to connect to all addresses
Return grpc errno (14), Reason: failed to connect to all addresses
Generating simple_l3 pipeline package with P4C and OVS pipeline builder
I20220207 23:07:56.364490 567 bf_pipeline_builder.cc:113] Found P4 program: simple_l3
I20220207 23:07:56.364598 567 bf_pipeline_builder.cc:120] Found pipeline: pipe
Programming P4-OVS pipeline
CRITICAL:root:StreamChannel error, closing stream
CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed to connect to all addresses
CRITICAL:root:Failed to establish session with server
Add table rules to the pipeline
CRITICAL:root:StreamChannel error, closing stream
CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed to connect to all addresses
CRITICAL:root:Failed to establish session with server
CRITICAL:root:StreamChannel error, closing stream
CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed to connect to all addresses
CRITICAL:root:Failed to establish session with server

Do you have some more ststem information? Running in Fedora Docker container, within a Vagrant VM or on a bare metal Fedora system?
From the error it looks like the p4runtime GRPC port (9559) is already in use by another application. Isn't p4ovs already started?

A server running Fedora 33 and tried to follow https://github.com/ipdk-io/ipdk/blob/main/build/README_DOCKER.md.  Section 1 completed and tried the command "ipdk demo" in Section 2. It worked on Ubuntu.

Can you do ipdk status long and then ipdk connect and then ps -ef | grep ovs  and then exit + copy all the output of the previous commands here?

Thanks for opening this issue @stadju, I'll try to replicate this today.

@stadju I don't see this exact error. From your earlier point, it seems that both programming the ports using OpenConfig and building the P4 pipeline are failing. This all works just fine for me both running ipdk demo and by hand:
[root@fe6875653295 scripts]# gnmi-cli set "device:virtual-device,name:net_vhost0,host:host1,\
>     device-type:VIRTIO_NET,queues:1,socket-path:/tmp/vhost-user-0,\
>     port-type:LINK"
Set request, successful...!!!
[root@fe6875653295 scripts]# gnmi-cli set "device:virtual-device,name:net_vhost1,host:host2,\
>     device-type:VIRTIO_NET,queues:1,socket-path:/tmp/vhost-user-1,\
>     port-type:LINK"
Set request, successful...!!!
[root@fe6875653295 scripts]#
[root@fe6875653295 simple_l3]# ovs_pipeline_builder --p4c_conf_file=simple_l3.conf \
>     --bf_pipeline_config_binary_file=simple_l3.pb.bin
I20220208 21:22:46.396765   101 bf_pipeline_builder.cc:113] Found P4 program: simple_l3
I20220208 21:22:46.396925   101 bf_pipeline_builder.cc:120] 	Found pipeline: pipe
[root@fe6875653295 simple_l3]#

I'm running the fedora:33 container inside of a Virtualbox VM. Are you running this natively on a host?
I am seeing some other errors where qemu-kvm crashes on fedora, but that is different than the error you are seeing.

@mestery I ran natively on a host.  Tried 2 different servers.  Same error.  I could run the commands inside the container successfully but not from host.

Hi @stadju, I had the same gRPC problem failed to connect to all addresses when running ipdk demo. And all errors are gone after I add <IP_ADDRESS> to the env variable no_proxy:
[root@833c02b6a347 scripts]# echo $no_proxy
no_proxy=noproxy.com,.<IP_ADDRESS>/8,<IP_ADDRESS>/16,localhost,.local,<IP_ADDRESS>/8,<IP_ADDRESS>

Before that, ipdk container's no_proxy is the value defined in Vagrantfile:
[root@833c02b6a347 scripts]# echo $no_proxy
no_proxy=noproxy.com,.<IP_ADDRESS>/8,<IP_ADDRESS>/16,localhost,.local,<IP_ADDRESS>/8

I didn't use vagrant.  Closing this issue.


Add (Doc) Comments Maybe

Adding Comments or Doc comments can help make your code clearer to someone who is reading it for the first time and trying to figure out what stuff does, so consider that

Added a bunch of comments across all files.


Move some global resources to library with more extensive tests

This PR started from encountering a code-branch that was handling nontrivial integer retrieval and realizing there was a piece of logic worth encapsulating.  The end result is a library module is now added with more stringent testing in place, with the benefits of doctests, further type review, and a bugfix in the global property retrieval function.
Disclaimer
Participation by NIST in the creation of the documentation of mentioned software is not intended to imply a recommendation or endorsement by the National Institute of Standards and Technology, nor is it intended to imply that any specific software is necessarily the best available for the purpose.
Encapsulated logic

Retrieval of integer values is now handled with get_optional_integer_attribute, which should be used for integer-valued properties of [0..1] cardinality.

get_optional_integer_attribute handles retrieving integers stored either as primitive JSON integers or the JSON-LD typed-literal dictionary form ({"@type": ..., "@value": ...}).

Further infrastructure added

case_viewer/lib.py, which now house get_attribute and its wrappers, and the JSONLD type.  This file is reviewed with mypy --strict in CI and local make check.
pytest for running documentation tests.  This is now run in CI and local make check.

Bug fixed

Trying to use get_attribute to retrieve a data value that turned out to be "False-y", like 0, was causing the default string value to be returned instead.  A doctest now demonstrates the desired behavior is met.

Clarification: A None in the data will cause default_value to be returned.

Behavior changes

get_optional_string_attribute now raises a TypeError rather than an AssertionError on encountering a non-string return value.

Also, the local make check call now deletes the untracked file poetry.lock whenever the virtual environment needs to be re-initialized.

Now caught up with main.

This PR is ready for review and merge.


Security Feature Request: virtual root

If sharing access to a system via a tunnel, a remote user can currently browse images anywhere on the system, discover the names of directories, and view and delete image content. This poses a substantial security and privacy risk.
It would be beneficial to have a setting outside of the UI that configures how far up the directory structure a user can go. If it's not possible to tell whether a client is local or remote then a single setting would suffice, but otherwise a setting for both local and remote users would be nice.  My suggestion would then be to default local users to unrestricted, and remote users to the root being the A1111 install itself. Include the feature also via the web UI settings so that a user can discover its existence, and then show text that instructs them how to edit a relevant json file on their system with the settings.

Currently, you can protect your computer with a password.

As for the concept of virtual root mentioned in #116, it's similar, and I've been wanting to implement it. However, it would require significant changes to the current architecture and would take a long time to develop and test.

Currently, you can protect your computer with a password.

The concept of "virtual root" that you mentioned is similar to the "Lock access" concept mentioned in #116. I have been wanting to implement it, but it would require significant changes to the current architecture and an extensive development and testing period.

#116 does seem similar although perhaps the other way around, and while password access is something, it cannot guarantee protection against unauthorised access. Even if intended users with access to the UI are trusted, someone unknown might obtain access to a logged in session on a remote machine, and users with access might not be sufficiently trusted.
I've not looked in depth at the plugin architecture, but if tackling this myself (and I wish I had time to), I would first look at the directory scanning code, and aim simply to patch that to return contents of an empty directory for an unauthorised path. This should at least prevent discovery. After that, if the code that reads an image could be patched to validate a path as within the trusted path(s) and return an empty image if not, then that should complete the process. Essentially it would just be a patch to validate that the leading part of the realpath() to a file or directory open matches a trusted path, and if not, empty contents are returned instead.  I'd implement a function such as isPathTrusted(), and then given that, the rest of the patch I'd imagine to be trivial, but maybe there is a reason I'm not aware of for why it wouldn't be.

Yes, it seems like using isPathTrusted() to filter access to the files is a better choice.
I have been struggling with the idea of having the extension directly access the file list in txt2img/20xx-xx-xx, skipping its parent folder, which has been delaying this idea.

This feature has already been implemented.
see https://github.com/zanllp/sd-webui-infinite-image-browsing/issues/131


[rtl/rstmgr] Fix reset consistency checks

The rstmgr_sw_rst test is occasionally causing cnsty_chk_errs[17] to trip. I have attached some waves if that helps. I can reproduce this in HEAD with "rstmgr_sw_rst -s<PHONE_NUMBER>", but if you are not at HEAD you could find seeds that trigger it: I am getting failures in 8 out of 50 reseeds.

ah thank you! i will look at this more closely.

Tim, we are planning to have more focused tests for the consistency checkers. It would help if these were not parameterized. It seems the MaxSyncDelay parameter is never overriden. Could it become a localparam instead? This makes it easy to turn it back into a parameter if you find a use for changing its value.

yeah i don't see why that couldn't be made a local parameter. Let me have a closer look to try and remember what I had in mind.
Let me first try to recreate this failure and see what is broken with the logic.

so this failure seems to be a direct result of fixing #8808. Now the software reset request is held too long.
I need to think a bit about what's the right fix.


set layout  attribute for FusedRNNCell output states

https://github.com/dmlc/mxnet/issues/6736
In FusedRNNCell, default layout N... is not possible for its output states which should be 'LNC'.
@piiswrong

Thanks

This should be done in _normalize_sequence

Actually, I think this commit's approach is better: https://github.com/dmlc/mxnet/pull/6747/commits/c1fd7889a6700b005989e8d5bef45c626a45ca64
swapping contradicts state_info

Yes. So I have reverted it.


docs: fix typo in cacheh2.md

Fixes Issue
Description of Change
Fix typo in cacheh2.md
Have test cases been added to cover the new functionality?
no

Thanks!


How to add multiple IP addresses under the "notify:" in configuration.yaml?

I was able to add one of my windows desktop running HASS Agent & use its notification feature. But I want to added another one of my windows desktop. Can someone please tell me how I can add mutltiple desktops/IPs under the "notify:" in configuration.yaml?

You can make multiple notify entities, one per device. If you want to send a notification to all of them at once, use notify groups:
https://www.home-assistant.io/integrations/group/#notify-groups

I tried to make mutiple notify entities, but it didn't work. Below is the code that I tried;
notify:
name: "Device One"
platform: hass_agent_notifier
resource: http://<IP_ADDRESS>:5115/notify
name: "Device Two"
platform: hass_agent_notifier
resource: http://<IP_ADDRESS>:5115/notify
Can you please tell me how I can create mutiple notify entities so that I can use them separetely?

Try this:
notify:
  name: device_one
  platform: hass_agent_notifier
  resource: http://<IP_ADDRESS>:5115/notify

notify:
  name: device_two
  platform: hass_agent_notifier
  resource: http://<IP_ADDRESS>:5115/notify

And then as the group:
notify:
  name: hassagent_group
  platform: group
  services:
    - service: device_one
    - service: device_two

The above given example didn't work for me (Home Assistant 2022.9.4) but this does:
`notify:

name: device_one
platform: hass_agent_notifier
resource: http://{device_ip}:5115/notify
name: device_two
platform: hass_agent_notifier
resource: http://{device_ip}:5115/notify`