Add filtration feature in the bulk API

Description
This PR adds the filtration feature in the bulk API using which user can hit bulk API with filtered resources like namespaces, containers and workloads instead of always fetching everything.
Fixes # (issue)
Type of change

[ ] Bug fix
[x] New feature
[ ] Docs update
[ ] Breaking change (What changes might users need to make in their application due to this PR?)
[ ] Requires DB changes

How has this been tested?
By manually hitting bulk API with multiple combinations of include and exclude filters
Please describe the tests that were run to verify your changes and steps to reproduce. Please specify any test configuration required.

[ ] New Test X
[x] Functional testsuite

Test Configuration

Kubernetes clusters tested on: Openshift

Checklist :dart:

[x] Followed coding guidelines
[x] Comments added
[x] Dependent changes merged
[ ] Documentation updated
[ ] Tests added or updated

Additional information
Include any additional information such as links, test results, screenshots here

@khansaad This needs a Documentation update to mention the new filters being added. Also please add a few example filters in the kruize-demos repo (Eg Include only openshift-* namespaces or exclude them etc) and test them and post the results here, thanks

bulk-filter-demo-results.zip

@khansaad This needs a Documentation update to mention the new filters being added. Also please add a few example filters in the kruize-demos repo (Eg Include only openshift-* namespaces or exclude them etc) and test them and post the results here, thanks

With this bulk_input.json
{
  "filter": {
    "exclude": {
      "namespace": ["openshift-.*"]
    }
  },
  "datasource": "prometheus-1"
}

I see that bulk API thinks there are 0 experiments
$ ./bulk_service_demo.sh -c openshift -i quay.io/dinogun210/autotune_operator:0.2-pr1391

#######################################
# Kruize Demo Setup on openshift
#######################################

🔄 Pulling required repositories... ✅ Done!
🔄 Installing kruize! Please wait..............✅ Installation of kruize complete!
🔄 Installing metric profile...✅ Installation of metric profile complete!
🔄 Invoking bulk service...✅ Invoked job_id 32b02bb5-cbed-447d-a767-704ff073da5a
🔔 Bulk job experiment details are currently being updated in ./kruize-bulk-demo.log.
🔄 Processing 0 experiments. Please wait....✅ Complete!
🔄 Fetching the experiments...✅ Complete!
🔄 List the recommendations for 1 experiments...✅ Complete!
📌 List of all experiments available in experiment_list.txt
📌 Recommendations for a single container in cluster can be found in recommendations_data.json.
📌 Job status is available in job_status.json

With this bulk_input.json
{
  "filter": {
    "exclude": {
      "namespace": ["openshift-.*"]
    }
  },
  "datasource": "prometheus-1"
}

I see that bulk API thinks there are 0 experiments
$ ./bulk_service_demo.sh -c openshift -i quay.io/dinogun210/autotune_operator:0.2-pr1391

#######################################
# Kruize Demo Setup on openshift
#######################################

🔄 Pulling required repositories... ✅ Done!
🔄 Installing kruize! Please wait..............✅ Installation of kruize complete!
🔄 Installing metric profile...✅ Installation of metric profile complete!
🔄 Invoking bulk service...✅ Invoked job_id 32b02bb5-cbed-447d-a767-704ff073da5a
🔔 Bulk job experiment details are currently being updated in ./kruize-bulk-demo.log.
🔄 Processing 0 experiments. Please wait....✅ Complete!
🔄 Fetching the experiments...✅ Complete!
🔄 List the recommendations for 1 experiments...✅ Complete!
📌 List of all experiments available in experiment_list.txt
📌 Recommendations for a single container in cluster can be found in recommendations_data.json.
📌 Job status is available in job_status.json

Fixed the issue with experiments creation now but the demo is failing at listRecommendations step which is expected because of the recent DB changes. As @msvinaykumar mentioned, this should work after #1420 and #1421 merge

`saakhan:bulk_demo$ ./bulk_service_demo.sh -c openshift -i quay.io/khansaad/autotune_operator:bulk-filter
#######################################
Kruize Demo Setup on openshift
#######################################
🔄 Pulling required repositories... ✅ Done!
🔄 Installing kruize! Please wait....................✅ Installation of kruize complete!
Running bulk_demo.py...
bulk_demo.py -c openshift
Error from server (AlreadyExists): routes.route.openshift.io "kruize" already exists
Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+
IP =  kruize-openshift-tuning.apps.kruize2.lab.psi.pnq2.redhat.com
KRUIZE URL =  http://kruize-openshift-tuning.apps.kruize2.lab.psi.pnq2.redhat.com
#######################################
Creating metric profile
#######################################
URL =  http://kruize-openshift-tuning.apps.kruize2.lab.psi.pnq2.redhat.com/createMetricProfile
Response status code =  201
{"message":"Metric Profile : resource-optimization-local-monitoring created successfully. View Metric Profiles at /listMetricProfiles","httpcode":201,"documentationLink":"","status":"SUCCESS"}
#######################################
Invoking bulk service
#######################################
URL =  http://kruize-openshift-tuning.apps.kruize2.lab.psi.pnq2.redhat.com/bulk
Response -  {'job_id': '730e3f0b-2ed6-4dfe-a962-1da96273fc31'}
#######################################
Querying job status in a loop
#######################################
Experiments: processed / Total -  0 / 0
Experiments: processed / Total -  0 / 8
Experiments: processed / Total -  3 / 8
Experiments: processed / Total -  6 / 8
Experiments: processed / Total -  8 / 8
#######################################
Bulk Job Completed! Fetching the processed experiments and listing recommendations
#######################################`

@msvinaykumar - Can you please review this PR

@khansaad - Tested with the below input json with quay.io/khansaad/autotune_operator:bulk-filter-with-cft, but it shows 0 processed experiments.
{
  "filter": {
    "exclude": {
      "namespace": ["openshift-.*"],
      "workload": [],
      "containers": [],
      "labels": {}
    },
    "include": {
      "namespace": ["openshift-tuning"],
      "workload": [],
      "containers": [],
      "labels": {}
    }
  },

  "time_range": {
        "start": null,
        "end": null
  }

Job status
{
    "status": "COMPLETED",
    "total_experiments": 0,
    "processed_experiments": 0,
    "notifications": {
        "200": {
            "type": "INFO",
            "message": "Nothing to do.",
            "code": 400
        }
    },
    "experiments": {},
    "webhook": null,
    "job_id": "599b70bb-a1a6-4814-96a0-7bfd5fb80e81",
    "job_start_time": "2024-12-17T11:48:52.071Z",
    "job_end_time": "2024-12-17T11:48:52.115Z"
}


04 17 remove pda loadout

About the PR

PDA loadouts removed until #27024 is fixed
Why / Balance

because its UNPLAYABLE
Technical details

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

remove: PDA loadouts were removed until fixing.

It's not unplayable - it's just missing names.


Documentation improvements for sftp

I added two notes that document what mode stands for (open mode, mkdir). While using i needed some time to figure that out so I thought that for others, this information could be useful.

Thank you for the documentation improvements.


Support Bevy 0.11

Most changes were quite straightforward.
The most confusion came from the changes in window coordinates in some cases: https://bevyengine.org/learn/migration-guides/0.10-0.11/#consistent-screen-space-coordinates It made some previously required adjustments redundant.
This depends on release of bevy_eventlistener with Bevy 0.11 support. In the meantime, I depend on a specific revision.
I also encountered a problem in gltf example due to https://github.com/aevyrie/bevy_mod_raycast/issues/86
Features "ktx2", "zstd", and "tonemapping_luts" turned out to be required for 3d examples to render properly. I guess it's connected to the new default tone mapper.

After I finished working in this one, I noticed that similar work was already done in https://github.com/aevyrie/bevy_mod_picking/pull/231 However, I failed to compile the branch locally, and by looking at the diff I doubt that all examples work as intended (I expect some of them to display debug data in the wrong vertical position etc.). I think it is worth checking my version of changes for the fixes.

This PR is the first version of the plugin that I've used, so I don't know if this issue is related to 0.11 or not. The other 0.11 PR has the same issue: touch events for web builds behave as if the Y axis is flipped.
Here is a build where this occurs: https://ostwilkens.github.io/230731/

@ostwilkens could you check again? I think it should be fixed now, but don't have a touch device at hand to test.

@bardt That did it, thank you! It can be tested with chrome dev tools, but I tested on iOS Safari as well.

These changes work perfectly fine for my bevy 0.11 project.

Any update? Waiting for it to upgrade my project to bevy 0.11...

Any update? Waiting for it to upgrade my project to bevy 0.11...

No need to wait! :-)
bevy_mod_picking = { version = "0.14.0", git = "https://github.com/bardt/bevy_mod_picking.git", rev = "7ecb60e08735ce82f9ff03ba5adb434c1e336afd" }

I'm looking forward to @aevyrie finding the time soon to review both this pull request and the one in bevy_mod_raycast. However, I haven't heard from them yet, so I'm not sure when this will happen.

This is on my todo list tonight. :)

I'm seeing an issue with split screen. It appears the passed in coordinates are offset. It looks to me as if the viewport to world function is not accounting for the viewport origin, and instead using the window coordinates.
https://github.com/aevyrie/bevy_mod_picking/assets/2632925/4fb3f238-3759-4b53-bf78-2fd5263891a3


Fixed Improper Method Call: Replaced mktemp

Details

In file: init.py, there is a method that creates a temporary file using an unsafe API mktemp. The use of this method is discouraged in the Python documentation. iCR suggested that a temporary file should be created using mkstemp which is a safe API. iCR replaced the usage of mktemp with mkstemp.

In file: openstack.py, there is a method that creates a temporary file using an unsafe API mktemp. The use of this method is discouraged in the Python documentation. iCR suggested that a temporary file should be created using mkstemp which is a safe API. iCR replaced the usage of mktemp with mkstemp.

Resources Related to mktemp

POC - Improper Method Call - python - mktemp.mp4
MISC - Python - Taking a peek under the tempfile library.mp4

Changes

Replaced mktemp() method with mkstemp()

Previously Found & Fixed

https://www.github.com/invesalius/invesalius3/pull/679
https://www.github.com/Azure/azure-linux-extensions/pull/1816
https://www.github.com/celery/billiard/pull/394

CLA Requirements
This section is only relevant if your project requires contributors to sign a Contributor License Agreement (CLA) for external contributions.
All contributed commits are already automatically signed off.

The meaning of a signoff depends on the project, but it typically certifies that committer has the rights to submit this work under the same license and agrees to a Developer Certificate of Origin (see https://developercertificate.org/ for more information).
- Git Commit SignOff documentation

Sponsorship and Support
This work is done by the security researchers from OpenRefactory and is supported by the Open Source Security Foundation (OpenSSF): Project Alpha-Omega. Alpha-Omega is a project partnering with open source software project maintainers to systematically find new, as-yet-undiscovered vulnerabilities in open source code - and get them fixed – to improve global software supply chain security.
The bug is found by running the Intelligent Code Repair (iCR) tool by OpenRefactory and then manually triaging the results.

Can one of the admins verify this patch?

looks interesting

We don't want to use unsafe tempfile.mktemp indeed

ok to test

@fazledyn-or maybe you could rebase it?

@fazledyn-or thank you for the contribution


Top bar button on Android TV

Hello, regarding your boilerplate for tv - is it possible to make left/right buttons in top bar focusable? I mean select and click them using remote keys or keyboard arrow buttons?

Hey @hotrush. This starter has not been tested on TV devices. However, there is some work done in that direction -- https://github.com/react-native-tvos/rnn-starter-tv. Also, you can check more examples in react-native-tvos.

I was talking about https://github.com/react-native-tvos/rnn-starter-tv actually, issues are disabled there. Missed that owners are different for these repos, sorry.


Clarification over block expression and anonymous function spaces

If you have this code:
var x = (function(){
  // do stuff
})();

The rule "requireSpaceBeforeBlockStatements": true kicks in which conflicts with
"disallowSpacesInAnonymousFunctionExpression": {
    "beforeOpeningRoundBrace": true,
    "beforeOpeningCurlyBrace": true
}

Is this expected behaviour? It would be useful to get feedback on usage of rules that are conflicting.
I found the spacing rules around function declaration/expressions named/anonymous a bit confusing.
Thanks

I agree, that's strange and may be a bug, but you should report this to JSCS core instead.
@markelog, @mikesherov and the other guys will make the best to help you.


Seeded date generator shifts one year at new year's

Hello!
I have a test suite that depends on an exact sequence of dates being generated. I was surprised to see that it failed when I ran it today. Turns out that Chance#date will use Chance#year when no min/max bounds are specified: https://github.com/chancejs/chancejs/blob/d16e93c8be17a7da5a8226acd561c78121e3960a/chance.js#L1857
... and Chance#year will (when not bounded) generate a year between the current year and 100 years in the future: https://github.com/chancejs/chancejs/blob/d16e93c8be17a7da5a8226acd561c78121e3960a/chance.js#L1951
It can be boiled down to:
const Chance = require('chance');
const chance = new Chance(42);
console.log(chance.date());

In 2019 this script outputs 2099-05-30T02:43:46.598Z every time it's run, but if I dial back my computer's clock to December 31st, 2018, it will output a date exactly one year earlier: 2098-05-30T02:43:46.598Z. And so forth with earlier years.
When I read the source code I get the feeling that this is sort of by design, or at least that it's a feature that date and year can be smart and pick a "realistic" value range determined by the current year. But it strikes me as a bad/surprising default. There are many use cases for chance.js where it's important to get a reproducible value sequence.
I'd like to help out with a fix, but I'd like to check if there's consensus that it's a bug first ;)

It's 2023 now (happy new year everyone!), I just encountered this issue and agree: this is a surprising behaviour. I assumed it operates on a fixed base.


ci: eval for pkgsStatic

Now that eval is running nicely in Github Actions, I wonder whether it would be possible to add more systems - just to make sure eval is not easily broken?
Since RFC46 is not really much help to figure out which platforms to do this on, I went grepping:
grep -ohrIE '(Platform|cc|stdenv|bintools)\.(is|use)[^ .]+\b' . | sed -e 's/^.*\.//g' | sort | uniq | xargs -I {} sh -c 'echo -n "{} "; grep -Ir "\b{}\b" . | wc -l'

The idea is: The more conditionals a platform uses in nixpkgs, the more useful an eval CI check is. I ran the numbers and cut off everything below 50 hits.

conditional
n
eval

isDarwin
6366
:heavy_check_mark: :heavy_check_mark:

isLinux
2420
:heavy_check_mark: :heavy_check_mark:

isAarch64
689
:heavy_check_mark: :heavy_check_mark:

isClang
458
:heavy_check_mark: :heavy_check_mark:

isStatic
436

isx86_64
364
:heavy_check_mark: :heavy_check_mark:

isMusl
252

isGNU
186
:heavy_check_mark: :heavy_check_mark:

isWindows
176

isx86
134
:heavy_check_mark: :heavy_check_mark:

isFreeBSD
128

useLLVM
118

is64bit
103
:heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

isAarch32
93

isi686
92

isMinGW
86

isCygwin
71

is32bit
64

isAarch
55
:heavy_check_mark: :heavy_check_mark:

isGhcjs
50

My conclusion: pkgsStatic on x86_64-linux, which covers both isStatic and isMusl is the next logical target. Especially, because eval currently succeeds as well.
I also tried x86_64-freebsd, which would give us isFreeBSD and useLLVM and x86_64-cygwin, which would give us isWindows and isCygwin. Both failed eval right now.

Add a :+1: reaction to pull requests you find important.

I think your change to supportedSystems broke ofborg's eval.

What do we need to do to make this reality (and useful)?

It seems useful in its current form. I don't think we will need to count rebuilds for pkgsStatic, since we usually try to avoid conditional patches.

The supportedSystems.nix is also tied to what Hydra evals, so I believe this would increase Hydra eval time and job count by 25%. We could decouple GHA from Hydra platforms though, but I think for now we should focus on ensuring a smooth transition to GHA for the existing platform evals and relieving ofborg, before moving on to increase the scope


Object doesn't support property or method 'getContext'

Script works beautfully in Chrome, Safari, Firefox, and IE9. However, IE8 and IE7 have issues:
In IE7 and IE8 Document Model Modes:
SCRIPT438: Object doesn't support property or method 'getContext'
jquery.qrcode.min.js, line 27 character 356
Is there a quick fix for this?

this is because they dont have canvas element and jquery qrcode tries to draw in a canvas.
so either you add iecanvas or you use the render: table option to render in a table
https://github.com/jeromeetienne/jquery-qrcode/blob/master/src/jquery.qrcode.js#L46


Advisory Voters Visibility - Report

Request from Nicholas: the voters in the approval vote to be visible, or at least reported, to the administrators for the advisory vote section.

Identity (name and ticket number), vote cast, email  send to Rosemary and Nicholas (no set email for this)


Integrate with api for MWA sub array functionality

[x] Andrew to email dummy API specifications for MWA sub array.
[ ] Get positions for sub arrays
[ ] Use the dummy API in tests

The preferred sub array pointings for the triggered GW observations with MWA are below.
They are in Alt/Az coordinates with respect to the MWA’s position and the units are in degrees.
Pointing 1, Pointing 2, Pointing 3, Pointing 4
(90, 0), (66.85, 270), (43.97, 270), (59.35, 219.88)


Allow multiple AsyncServers to be running

Previously an instance of IOLoop been retrieved with the IOLoop.instance() singleton, which would return a global IOLoop instance. This meant that every instance of AsyncServer was interacting with the same IOLoop instance, which caused everything to crash and burn once you started using more than one AsyncServer. The code has now been updated to use IOLoop.current(), which returns the current thread's IOLoop, rather than the global IOLoop.

LGTM :+1:


Swap nav columns

Rendered article for review:
https://review.docs.microsoft.com/en-us/microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension?branch=pr-en-us-2050

Docs Build status updates of commit b13398a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

keep nav table as-is for now


breaking changes introduced in c1296469db43a2153e2a074a6733c8adc03e9480

changes introduced in "MappedByteBufferLineReader add support for inputstream"
caused less lines to be displayed or processed in predict-prob and test:

for predict-prob: using head -3 data/ag_news.test : 1 line is printed instead of 3
for test: 150 lines instead of 7600 processed

before:
using predict-prob , fed with   head -3 data/ag_news.test
__label__2 0.998047__label__4 0.000000__label__1 0.000000__label__3 0.000000
__label__1 1.000000__label__2 0.000000__label__4 0.000000__label__3 0.000000
__label__1 0.998047__label__2 0.000000__label__4 0.000000__label__3 0.000000
using test on full file: data/ag_news.test
P@1: 0.926
R@1: 0.926
Number of examples: **7600
after:
using predict-prob , fed with   head -3 data/ag_news.test (only shows 1 line)
__label__2 0.998047__label__4 0.000000__label__1 0.000000__label__3 0.000000
using test on full file: data/ag_news.test (only processes 150 lines)
P@1: 0.920
R@1: 0.920
Number of examples: 150

Thanks,
changed to use BufferedLineReader as default, although MappedByteBufferLineReader is 40%-50% faster than BufferedLineReader in read text file. But MappedByteBufferLineReader can't open huge dataset.
I will fix the MappedByteBufferLineReader InputStream bug later on.

Thanks,
the code is now working again.


Accessbility error of Link

Description
I got an error when checking accessbility of Link.
CodeSandbox/Snack link
https://codesandbox.io/s/reverent-glade-9k8bnk
Steps to reproduce
No response
NativeBase Version
3.4.11
Platform

[ ] Android
[ ] CRA
[ ] Expo
[ ] iOS
[ ] Next

Other Platform
window
Additional Information
<Link accessibilityLabel='test-accessibility' >Test Link</Link>
Error
An element of the given ControlType must support the Invoke pattern.
1. Make sure the element has the appropriate ControlType property for its function.
2. If the current ControlType is correct, modify the element to support the Invoke pattern.

Hey @bahri-dev Thanks for reporting. We will look into this


Revert changes made in PR 1054

This PR is a 100% revert of PR#1054. In PR1054 we intended to send traffic for 90 sec instead  we were sending it for 90 msecs which was incorrectly passing one of the subtest which was failing earlier.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 57.219%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1181

Relevant Lines:
2064

💛  - Coveralls

Reverting changes made in PR 1054  as trafficDuration   = 90 will send less < 1 traffic and reverting  gr timer back to 60


Avanzu 1.3.8 : crash with update of font awesome to version 5.x

Hello,
In the bower file there is an * for the font awesome version, it crashes assets building because files have changed their path, changing to :
"fontawesome"               : "4.*",

Correct the issue. I haven't submitted a pull request as I haven't found from which branch i should start, here is the file and line to correct :
https://github.com/avanzu/AdminThemeBundle/blob/ed9a11f4c002bbc542adb680bddc5222e11e85a6/Resources/bower/bower.json#L31
Thank you for your work

#224

Duplicated. Thanks for your report. Closing this.

Hi first thank you for your time, I really need to have this patch on your 1.3.x versions as I rely on this for multiple projects, can you please make it happen or give me instructions to be able to send a pull request and having a proper <IP_ADDRESS> or 1.3.9 version of your bundle ?

@sylvaincombes just run:

composer update

It should pick you the new 1.3.9 just released unless that you have cached something

Great ! 👍 Thank you very much !


Verbose option

I notice that Nextflow is run in quiet mode, is there any way to disable that?

I'm sure it could be useful when debugging

I think the--debug flag starts nextflow without the silent mode.

+1 I would find this very helpful

The --verbose option was added in https://github.com/askimed/nf-test/commit/9b569017b9af83892e361ec3b9936207eb56df5d and produces the following output:


deprecated API 0.4

When I use this buildpack with the latest buildpacks.io environment I get the following message:
Warning: Buildpack<EMAIL_ADDRESS>requests deprecated API '0.4'

This is address in https://github.com/fagiani/apt-buildpack/pull/26.

Hi @javierav ,
Please use the 0.2.6 or the latest version. It has upgraded.


examples/common_components/protocol_examples_common/connect.c - add WIFI_ALL_CHANNEL_SCAN into WiFi config (IDFGH-4793)

Im playing with ESP32-C3 eng sample, everything is going well so far, but I found one thing about WiFi which I think is not probably repated to -C3 only.
I have multiple APs in my house with the same SSID / PW, when playing with examples using "protocol_examples_common.h" I found that ESP sometimes stuck to AP which is very far from it (accross whole house, RSSI like -80 or less) and the connections is dropping / not wotking well (because of low signal) even there is one of these APs in the same room Im playing the ESP with. I think this is caused by the fact that default scan method is WIFI_FAST_SCAN which simply connects the first AP matching SSID/PW even there are other APs with better RSSI and the same SSID/PW.
Therefore I added the "scan_method" into "wifi_config" under line https://github.com/espressif/esp-idf/blob/73db142403c6e5b763a0e1c07312200e9b622673/examples/common_components/protocol_examples_common/connect.c#L267
So the whole config looks like:
    wifi_config_t wifi_config = {
        .sta = {
            .ssid = CONFIG_EXAMPLE_WIFI_SSID,
            .password = CONFIG_EXAMPLE_WIFI_PASSWORD,
            .scan_method = WIFI_ALL_CHANNEL_SCAN,
        },
    };

Now the connection takes little bit longer but ESP surely connects to the nearest / strongest AP as expected, no connection problems since that.
Hope it helps others to avoid connection issues when playing with examples.

this also apply to ESP32 (non -C3)

We already have an internal program that can be fixed, and it will be synced to Github soon. Thank you for your contribution.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #182 (caf8d19) into main (2974dfe) will increase coverage by 9.55%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #182      +/-   ##
==========================================
+ Coverage   83.33%   92.88%   +9.55%
==========================================
  Files           2        2
  Lines         126      478     +352
  Branches       31       49      +18
==========================================
+ Hits          105      444     +339
- Misses         21       33      +12
- Partials        0        1       +1

Impacted Files
Coverage Δ

example/src/main.ts
95.65% <100.00%> (+7.19%)
:arrow_up:

src/index.ts
91.76% <100.00%> (+9.76%)
:arrow_up:

Continue to review full report at Codecov.

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


Azure SQL: Configure public_network_access_enabled

public_network_access_enabled setting is currently hard coded to false.  Please can this be made configurable for deployments that require it to facilitate database upgrades from GitHub/Azure DevOps pipelines.

thank you for implementing this so the default behaviour can be overridden


build_filename: Find last '.' instead of first.

Not a perfect splitext implementation, but this fixes issues when output_image starts with ./ or contains a .

I forgot that I had that ugly hack in there :)
Instead of finding the last ., I think a better solution would be to use the torch.paths package.

Right, torch.paths looks like a better solution.


PDF documentation format

The PDF documentation presents some format issues, such as:
Overflowing column text

Overflowing tables

Shouldn't be there a list of chapters?

Useless section??

Quite short section? And shouldn't it be at the very beginning??

Same, shouldn't it be at the very beginning??

The deprecation warning is still not fixed.

Overflow text.
We better use print

Too many nodes printing?
We have like 4-5 pages of node printing

Sphinx tag is visible

The equal??

Unneeded output:

Hi German(@germa89)
About Unneeded output:
After your advice at VM7 I have suppresed all non-necessary outputs with
 _ = mapdl.finish _ = mapdl.eplot etc.
If you want, I can add it with new PRs to the previous VMs.
About Too many nodes printing?
I remember, that was at VM6
there were two types of elements
and the printing a list of nodes, maybe it is not critical necessity,
But t I supposed that would be a good idea to demonstrate the difference between models with different elements.
Thank you.

If you want, I can add it with new PRs to the previous VMs.

Up to you ;)

About Too many nodes printing?

I feel we should not fill the guide with too much printing. If someone wants to see the full output, they can download the example and run it.


Update API Reference

Automated changes by create-pull-request GitHub action

No Client changes required for this


placeholder missing when expanded is true

A minor issue: when geocoder starts with expanded=true, the placeholder is not shown. After clicking on it, the placeholder is set

good catch.  this has been resolved in a08107c28a0250c4225cf09ba54deffd10aa13f8


image/bmp or BMP file format should be included under Input Requirements

This has been supported since API version 2.1-preview.3

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

ID: 400d903c-36d4-e20b-d2fc-b80b53b00ceb
Version Independent ID: 210dbaf5-eda5-f50e-8d8e-18b86daff035
Content: What is Azure Form Recognizer? - Azure Applied AI Services
Content Source: articles/applied-ai-services/form-recognizer/overview.md
Service: applied-ai-services
Sub-service: forms-recognizer
GitHub Login: @laujan
Microsoft Alias: lajanuar

Hello @kristapratico
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

#please-close


http-proxy-middleware does not forward any of the path

Describe the bug
I am trying to configure a proxy for my API requests using http-proxy-middleware, which the create react app docs suggest. I set up my proxy like this, in the setupProxy.js file:
const { createProxyMiddleware } = require('http-proxy-middleware');

module.exports = function (app) {
    app.use(
        createProxyMiddleware("/post", {
            target: 'https://postman-echo.com',
            changeOrigin: true,
            logLevel: 'debug'
        })
    );
};

After registering a proxy, I do a simple POST to an endpoint:
const response = await fetch("api/post", {
  method: 'POST',
  headers: {
    'content-type': 'application/json;charset=UTF-8'
  },
  body: JSON.stringify({ foo1: "bar1", foo2: "bar2" })
});

The debugger shows this proxy when I run a fetch:
[HPM] POST /post -> https://postman-echo.com

My client gets a 404 error because https://postman-echo.com on its own does not match anything on the backend. The path /post is being left out.
This looks similar to this issue but they are not the same (I am using the same syntax as the answer suggests).
Did you try recovering your dependencies?

Yes.
<EMAIL_ADDRESS>/Users/jack/Documents/middleware-proxy-bug
├──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>npm version: 7.19.1
Which terms did you search for in User Guide?

Implemented proxying based on the create react app docs.
Environment

Environment Info:
current version of create-react-app: 4.0.3
running from /Users/jack/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
Binaries:
Node: 16.5.0 - /usr/local/bin/node
Yarn: Not Found
npm: 7.19.1 - /usr/local/bin/npm
Browsers:
Chrome: 92.0.4515.159
Edge: Not Found
Firefox: 91.0.1
Safari: 14.1.2
npmPackages:
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
react-scripts: 4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce

Clone my repo
Run npm install then npm start
Click the "Send Request" button and view the logs

Expected behavior
According to the http-proxy-middleware docs, I should expect a proxy that does something like this:
[HPM] POST /post -> https://postman-echo.com/post

And that should not 404, because that endpoint works with a curl request:
curl -X POST -F 'foo1=bar1' -F 'foo2=bar2' https://postman-echo.com/post

{"args":{},"data":{},"files":{},"form":{"foo1":"bar1","foo2":"bar2"},"headers":{"x-forwarded-proto":"https","x-forwarded-port":"443","host":"postman-echo.com","x-amzn-trace-id":"Root=1-61200bc6-1ada21835b562050130b822b","content-length":"240","user-agent":"curl/7.64.1","accept":"*/*","content-type":"multipart/form-data; boundary=------------------------95637afe71c60a09"},"json":null,"url":"https://postman-echo.com/post"}%

Actual behavior

The path, /post, does not get appended to the proxy request. The target should actually be https://postman-echo.com/post.

Reproducible demo

Clone my repo
Run npm install then npm start
Click the "Send Request" button and view the logs

Nevermind, the problem was that my endpoint was wrong originally. With the correct endpoint, it does not 404.

@jacknugent , can you elaborate? Was was the correct endpoint? I am havIng the exact same issue.


[FEATURE] Add Session Component

Because view component has been released, then the session component maybe be useful, so it's time to add a session component for Hyperf.
If anyone willing to finish this issue, please let me know.

good good good


Use RAII for nested autodiff

Description
Use the RAII idiom to make sure that nested autodiff is always properly deinitialized. More thorough discussion at
https://discourse.mc-stan.org/t/proposal-raii-for-nested-autodiff/12861
Example
A code using autodiff would then look like:
{
    local_nested_autodiff nested();
    //Do stuff
    nested.set_zero_all_adjoints();
    //Do more stuff
}

With the destructor of local_nested_autodiff stopping the nested autodiff.
Current Version:
v3.1.0

Do we really want to make set_zero_all_adjoints a member of this local nested thing?
I am not opposed to it... this is just a radical change.
Or asked differently: Are u also suggesting to remove the global recover_memory_nested() and all the other global nested functions?
Going in the direction of representing the entire AD tape as an instance is a good thing from my perspective. It's just that we need to be careful with this given that right now things are thread local. So passing any instance around between threads is a bad idea right now...

Are u also suggesting to remove the global recover_memory_nested() and all the other global nested functions?

No, that would probably constitute a breaking API change. I would however suggest the RAII as "recommended". Also right now my implementation of local_nested_autodiff just calls the underlying functions.

Do we really want to make set_zero_all_adjoints a member of this local nested thing?

Not 100% sure about this, it just felt natural to allow this use so that calling global functions and using the RAII class does not mix. To me this is a minor aesthetic choice on which I do not insist in any way.


After parents are exhausted, serve stale content from child

After parents are exhausted, child server calls handle_parent_died to build the error response message. Changes made will first check if the stale cache response is returnable. If not, the server will handle the dead server/parent appropriately and build the error response message as previously explained.
Note: this only applies to parent/hierarchical caching. The changes do not affect servers who route directly to origin server

[approve ci]

[approve ci]

Please write an autest for this.

+1 on the PR, and also +1 on a test. This is definitely a good change, to serve stale when we can.
We should also verify this behavior is in strategies and the parent_select plugin. Those of us talking about unifying the parent and non-parent paths in HttpTransact may also need to be aware of this.

[approve ci]

[add whitelist serrislew]
[approve ci]

[approve ci]

[approve ci]

[approve ci autest]

[approve ci autest]

[approve ci]

[approve ci]

[approve ci autest]

Duplicate of #8473


Initializing hidden state of recurrent nets

For problems such as Machine - Translation and Visual Question Answering , It is necessary to initialize the hidden state of an RNN using the final state of another RNN. Is there a solution to this using keras?
Currently i can only see features to initialize the weights of the RNN but not the hidden state.

Yes, I think this is possible. If you use a stateful LSTM by including stateful=True when creating recurrent layer, you should be able to set model.states to [hidden_state_you_wish_to_use].

Could you expand on how to set the initial state of a LSTM to a vector. LSTM being stateful means a different thing, right? For a sample, can I set the initial state of a second LSTM to the final state of a first LSTM which has processed part of the sample?

Im facing the same Problem:
My setup is for classification of time series. Its a multiclass classification where based on measurements and other features (num_features=26) only one of 7 num_classes should be predicted as a label at a time. I'm also using one hot encoding for pre-processing these labels for training.
I'm using a LSTM of input-shape (num_samples, backprop_length, num_features) and afterwards TimeDistributed(Dense (7,activation = 'softmax')).
My poblem is the following:
When I'm testing my LSTM by model.predict() I see, that there is a characteristic 'vibration in the output labels. After digging a little bit, i'm aware that this is the result of the backprop_length. For each new batch during prediction, the internal state is reset. Is there a simple way to deliver the last state of a previous batch as initial state to the next batch?
From my POV it does'n make sense to use the stateful=True option of keras, since it will always copy the states if index i of the previous batch to the state of index i of the next batch. In my case of classification of sequential timeseries data this doesn't make sense at all. (Considering a low sampling rate, there is no meaning why i should iitialize a state with the state that occured backprop_length states before).
Is the solution to activate return_state=True and load this as initial state to the LSTM for each batch? I'm not aware how this should work with model.predict().
I'm hoping someone can help me out with this little issue. Any and hint help is appreciated!


Rename "identity" to "identity_name" in CreateSecureChannelListenerRequest

Related Issues

Closes #6251 (In CreateSecureChannelListenerRequest, the identity parameter should be renamed to identity_name)

Current behavior
This pull request addresses issue #[issue_number], where the "identity" field in the CreateSecureChannelListenerRequest struct is renamed to "identity_name" for clarity and consistency.
Proposed changes

Renamed the "identity" field to "identity_name" in the CreateSecureChannelListenerRequest struct definition.
Updated the CreateSecureChannelListenerRequest::new method to use the new field name "identity_name" when constructing the struct.
Updated all usages of the CreateSecureChannelListenerRequest struct throughout the codebase to use the "identity_name" field.

Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] There are no Merge commits in this Pull Request. Ockam repo maintains a linear commit history. We merge Pull Requests by rebasing them onto the develop branch. Rebasing to the latest develop branch and force pushing to your Pull Request branch is okay.
[x] I have read and accept the Ockam Community Code of Conduct.
[x] I have read and accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a separate Pull Request, this will mark the commit as verified.

Hey @AdityaRanjanJha, thanks for spending your time on this 🙏
Looks like the issue https://github.com/build-trust/ockam/issues/6251 was already assigned to @FreemRL and a PR is already in place solving it at https://github.com/build-trust/ockam/pull/6260.
I'm closing the PR in favor of that one, but I'll leave yours as HACKTOBERFEST-ACCEPTED!
There are lots of open issues that you can choose from. My advice would be:

Ask us to assign you to one of the unassigned open issues
In your fork, create a new branch to include your changes there and push that branch to create the PR
Don't worry about merge/rebase the develop branch. You only need that if you have a merge conflict.
If hit any issue along the way, reach out on our discord server and we'll gladly help you!


Feature Request: Allow custom base data dir for SQLite and NATS Server, via CLI or ENV

Hey @panthyy
Really cool project .. Everything works for me.
$(MAKE) clean install build

Would you mind enabling the default base data dir to be changed via the CLI or Env ?
At the moment the binary creates and uses the  "flat_data" directory and stores the Sqlite DB and NATS Server there in a sub directory of where the binary is started from.
My use cases is to manage data volumes with a bit more control.
Also a dev may already have a NATS Server somewhere, and so they might want to use that ? Or maybe you're thinking that each foot instance is a Leaf Node ?
Anyway, for now, could we get some control of the placement of the DB and NATS Server data
Looks like the activation is here, https://github.com/FlotHQ/flot/blob/main/flot.go#L49, but does not seem to be exposed to the CLI or ENV ?

flot serve [domain(s)] [flags]

Flags:
  -h, --help              help for serve
      --http string       TCP address to listen for the HTTP server
                          (if domain args are specified - default to <IP_ADDRESS>:80, otherwise - default to <IP_ADDRESS>:8090)
      --https string      TCP address to listen for the HTTPS server
                          (if domain args are specified - default to <IP_ADDRESS>:443, otherwise - default to empty string, aka. no TLS)
                          The incoming HTTP traffic also will be auto redirected to the HTTPS version
      --origins strings   CORS allowed domain origins list (default [*])

Hello @gedw99
Those are very good points, we definitively want to expose some way of deciding which directory the data is stored in.
we could take two approaches to implement this.
either expose all the following flags:
flot serve --dir /var/lib/flot-data
flot serve --db-dir /var/lib/flot-db
flot serve --nats-dir /var/lib/flot-nats
flot serve --nats-dir /var/lib/flot-nats --db-dir /var/lib/flot-db

or expose one flag:
flot serve --dir "/var/lib/flot-data"
flot serve --dir "nats:/var/lib/flot-nats"
flot serve --dir "db:/var/lib/flot-db"
flot serve --dir "nats:/var/lib/flot-nats, db:/var/lib/flot-db",

the default location, if something is omitted, would be $CWD/flot-data/x
I prefer the second option.
I also want to keep it flexible and allow an external NATS server to be provided and used. As you also mentioned we could also treat every instance as a leaf node with the embedded NATS server. the only issue I see with this option is, that we also have an SQLite driver running, to solve this we could make sqlite distributed but I would rather design the queries and schema to not use db-specific features giving us the ability to just switch the connection and use something like PostgreSQL.
the whole philosophy I want to adopt for this project is to keep everything within one executable with escape hatches.
what do you think?


Decompression is interrupted while reading invalid satellite name

CRINEX decompression is interrupted while reading invalid satellite name on line 1653 of alic2520.98d.Z:
                3              2 &4 9&  & &&  & &&  &  &

-8766 -58988 -45968 -8766
3&24871620136 3&-1790192722 3&-1394955368 3&24871620136     64 4
              1 &              8    &9 26 27  2 13  5  7

1255 10240 7980 1255
3&24855141211 3&-1876790913 3&-1462434478 3&24855141211     64 4

Satellite name "9 " was correctly " 9", but in the next epoch the satellite name was changed and all signals were initialized, so the data format itself was correct. But the crinex decompression was interrupted while reading the data for satellite "9 ".

There is a similar one in madr1710.95d.
In this file, there is also a wrong epoch record at line 24130:
line: 24130
                 2              1 208&& && && && && &&

The epoch record shows one satellite data exists, but two satellites are listed: " 20" and "8  ". This case "8  " satellite does not have data. This case is handled by 745627ae66fe2373cf01f1697f0faa40cbf9db76.
The modification to handle the case of alic2520.98d should not break this previous fix.

added a workaround to handle these cases by 3d4d64be28749539bb64ac0e91752c113f71a048.


Requirements.txt being ignored.

I'm building a python lambda and have a structure like this:
ls
--project:
settings.yml
--app:
code.py
requirements.txt
settings.yml
running gordon build;gordon apply successfully uploads the lambda function, but it seems to have totally ignored requirements.txt, causing the lambda function to not run.
Is there a way to force it to use requirements or otherwise troubleshoot why it's skipping it?

I figured out the issue.  In settings, if you point code: at a file instead of at a directory, it doesn't look for requirements.txt

That's it. if you point code to a filename instead of a directory gordon will not look for requirements.
Using a filename as code is suppose to cover super-simple lambdas which don't have any requirement, modules etc...


Fix broken links

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


No Such file or directory

Hey I want to export my program, but I am getting the No such file or directory error for browsers.json.
I ran this command: pyinstaller main.py --onefile --add-data "C:\Users\vdx\AppData\Local\Programs\Python\Python36\Lib\site-packages\cloudscraper\user_agent\browsers.json;cloudscraper" --icon=favicon.ico

Do the whole directory, not just the browser.json because you'll also miss the dynamic loading interpreters
Look at https://github.com/VeNoMouS/cloudscraper/issues/72#issuecomment-524593291 for reference

 --onefile --add-data "C:\Users\vdx\AppData\Local\Programs\Python\Python36\Lib\site-packages\cloudscraper\:cloudscraper"

also fwiw, its : not ; , and in windows you might need to double escape \ ie C:\\Users\\vdx\\...


make AINewChat behave like AIChat

make AINewChat accept roles, selections and instructions
document it
leave previous open preset options for backwards compatibility
do not wipe out a buffer whose window is closed

@madox2 Is there still interest? The idea is to be able to open more than one AIChat window in the same Vim instance. It would have to be (rather quickly) adapted to the latest commits

Hi, sure, it will be a nice feature. I need to find some time to review and test


[PR1] DEV-56 Added TabLayout

This PR adds the TabLayout, which allows you to switch between different tabs as demonstrated in the video. The title, icon and component of each tab are passed as parameters. Right now, the tab itself shows a weird disconnect with the div underneath: this must be related to the techcnique I'm using to display the custom curved edge. This will be fixed in future PRs.
screen-capture (3).webm

Make the active tab stand out more


build: bump Python core to 3.20.3

PR summary

PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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

:tada: This PR is included in version 0.55.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Configuring the Zowe App Server as Mediation Layer client

(MVD-2892).
Signed-off-by: jasonenglish2039<EMAIL_ADDRESS>

Hey @jasonenglish2039 , good content and writing. I tried to add a couple of commas, but had some weird issues with DCO signoff (what else is new). While I was trying to figure out the commands to sign off, someone manually approved the DCO somehow, so at this point I guess we'll just merge this lol.
Click "merge" when you are ready to include it in docs-staging. Disregard that it's failing the broken link test - that's only because you created this branch from docs-staging where a broken link already existed.

Thanks Brandon, you're right the commas were the better choice. Who knows what mysterious person manually passed the DCO...probably someone irritated by the many confusing impediments to just doing the work who has a vested interest in getting this particular PR merged this week. Could be anyone really. :)


Response has unsupport header throw exception: Failed to parse header value.message

Package
dio
Version
5.5.0+1
Operating-System
Web, Windows
Adapter
Default Dio
Output of flutter doctor -v
[√] Flutter (Channel beta, 3.24.0-0.1.pre, on Microsoft Windows [版本 10.0.22631.3880], locale zh-CN)
    • Flutter version 3.24.0-0.1.pre on channel beta at C:\work_space\flutter_sdk\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b864805a68 (7 days ago), 2024-07-23 16:06:18 -0700
    • Engine revision d89dd85f25
    • Dart version 3.5.0 (build 3.5.0-323.1.beta)
    • DevTools version 2.37.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\work_space\android_sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.10.35027.167
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)

[√] IntelliJ IDEA Ultimate Edition (version 2024.1)
    • IntelliJ at C:\Users\xxx\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin version 80.0.2
    • Dart plugin version 241.18808

[√] VS Code (version 1.91.1)
    • VS Code at C:\Users\xxx\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.92.0

[√] Connected device (4 available)
    • M2102K1C (mobile) • <IP_ADDRESS>:39257 • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows             • windows-x64    • Microsoft Windows [版本 10.0.22631.3880]
    • Chrome (web)      • chrome              • web-javascript • Google Chrome 126.0.6478.185
    • Edge (web)        • edge                • web-javascript • Microsoft Edge 127.0.2651.74

Dart Version
3.5.0
Steps to Reproduce
Request(respose body&request body is empty):

Request method:
just await dio_instance.post(url)
Expected Result
normal response, i can get header from response body.
Actual Result
throw a exception, and response body is empty.

No idea what you are asking

No idea what you are asking

For this request, I can get the response header and status code information when using JavaScript.
However, when using dio to send the request and parse the response, an exception is thrown, and I cannot get any information including the status code and response header except an error message in the OnError method.

The error is thrown when dio parses the response body. I want to know why the response cannot be parsed normally in dio/dart

Please provide a runnable minimal reproducible example.

Please provide a runnable minimal reproducible example.

sorry my bad.

Please provide a runnable minimal reproducible example.

sorry,my bad.
that is example:
      Dio dio = Dio(BaseOptions(
        baseUrl: "http://memos.w-wbr.space",
        connectTimeout: const Duration(seconds: 5),
        receiveTimeout: const Duration(seconds: 5),
      ));
      dio.interceptors.add(InterceptorsWrapper(onError: (error,handler) {
        print(error.message);
        print(error.stackTrace);
        print(error.response);
      }));
      Response? response = await dio.post("/api/v1/auth/status");
      print(response.data);

I realized that it might be a problem with the native http library. When I use the Dev tools running on a Windwos/Android device to view the request, I cannot see the response header.

The exception is thrown from the underlying HTTP foundation, rather than the dio itself.
void main() async {
  final client = HttpClient();
  final request = await client.postUrl(
    Uri.parse('http://memos.w-wbr.space/api/v1/auth/status'),
  );
  final response = await request.close();
  print(response);
}

Consider submitting the issue to the Dart SDK.


Feat/jest report files and position

@nicojs Could you explain why you want this change?

Sure.
Each test runner can now optionally also report the file names and test locations. If they are provided, then Stryker will also report them to the mutation testing report JSON. We're adding support to display that information with https://github.com/stryker-mutator/mutation-testing-elements/issues/865


ARROW-9756: [Rust] [DataFusion] Added support for scalar UDFs of arbitrary return types

This PR is done on top of #7971 ,
Its current runtime consequence is that all our math functions now return float32 or float64 depending on their incoming column (and use float32 for other numeric types). Its API consequences is that it allows to register UDFs of variable return types.
This PR hits both physical plans and logical plans, and abstracts a bit the typing of some of our structs. In particular, it introduces a new trait that only cares about the return datatype of an object (PhysicalExpr and LogicalExpr).

FYI @andygrove @alamb @houqp : this is a draft because it depends on other PRs being reviewed and accepted.


Can't get server to show up

First of all thank you for this amazingly comprehensive docker implementation. However, using the basic docker compose example:
version: '3'
services:
  ark-sa:
    container_name: ark
    image: johnnyknighten/ark-sa-server:latest
    restart: unless-stopped
    environment:
      - SERVER_NAME="SLG Park"
      - ADMIN_PASSWORD=
    volumes:
      - './server:/ark-server/server'
      - './backups:/ark-server/backups'
      - './logs:/ark-server/logs'
    ports:
      - 7777:7777/udp
      - 7778:7778/udp
      - 27015:27015/udp
      - 27020:27020/tcp

Running on an external AlmaLinux 9.3 server. Have the ports opened in firewalld with a service definition:
/etc/firewalld/services/ark-server.xml
?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ark-server</short>
  <description>Ark Survival Ascended Game Server Ports</description>
  <port protocol="udp" port="7777"/>
  <port protocol="udp" port="7778"/>
  <port protocol="udp" port="27015"/>
  <port protocol="tcp" port="27020"/>
</service>

And it added to my network zone:
internal (active)
  target: default
  icmp-block-inversion: no
  interfaces: wg0
  sources:
  services: ark-server
  ports:
  protocols:
  forward: yes
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

And server seems to startup fine:

But can't find the server trying to connect on https://ark-servers.net:

But connecting with a sibling server it seems to make a connection on the ports:

And Checking externally it shows open:

But nothing in ark either, after having the server running for 20 minutes:

So I'm not sure what I've done wrong or need to do.

Figured out the issue, the server is using the incorrect network interface to broadcast itself than the one I'm actually listening from.
This is the IP Address of my public facing interface:

and this is the IP address reported by battlemetrics.com:

So this is a networking issue on my end.

Hey just saw your Issue.
Looks like you got everything resolved.
Sounds like it was an OS specific networking config issue, but If you think I should document how to resolve the issue, just let me know and I'll add it to the Wiki.

It probably could benefit from a brief mention as to potential reasons why an Ark server isn't showing up in game or on the ark-servers.net website.
In my case it was:

I have a main server with a public IP address that acts as a router and forwards requests on specific ports to specific servers in the cluster.
The server that is housing the Ark server has it's own internet connection, separate from the connection used to handle and respond to requests.
Because of that whenever the server goes to autoregister/ list itself it uses the server's internet to do so, and so it gets the IP address of the internet connection, and when the listing service tries to check the server on that IP:port it gets no response because that port isn't being forwarded nor is it open on the firewall.

Currently I'm learning how to setup a docker network, and the routing rules to make sure all connections from the container go through the main request router server's connection. I'll post the solution once I have it figured out.
I'm able to successfully play on my server though by opening the console in Ark and typing open ip:port example open <IP_ADDRESS>:7777. Would be worth mentioning trying that if you don't see your server show up.

I got the whole networking bit sorted, and the docker image is being routed through my main server's network, but it still doesn't show up on the unofficial list in game.
https://www.battlemetrics.com/servers/arksa/25005065
Not sure what I'm doing wrong?

I did a quick couple of tests to see if I could recreate your issues.
For reference the tests below where done with Windows 11 using Docker via WSL2 (quickest setup I could use to test with). I have port forwarding setup to match the config for each respective docker compose file.
Test 1
I started the advanced-docker-compose.yml example without any modifications. Before hand I made sure my port forwarding matched the non-default ones in this compose file (8888,  8889, 27016, 27021). I let Docker create fresh Docker Volumes for storage.
I can see the server in the in-game server browser under Unofficial if I enable Show Player Servers:

I also was able to find it on Battle Metrics, only thing special I had to do was search for the IP, for some reason it did not appear when searching for the server name itself.
https://www.battlemetrics.com/servers/arksa/25018486

Test 2
I started the basic-docker-compose.yml example without any modifications. Before hand I made sure my port forwarding matched the default ones in this compose file (7777,  7778, 27015, 27020). I let Docker create fresh Docker Volumes for storage.
I can see the server in the in-game server browser under Unofficial if I enable Show Player Servers:

I also was able to find it on Battle Metrics, only thing special I had to do was search for the IP, for some reason it did not appear when searching for the server name itself.

Next Steps
So Test 2 is the most similar setup to the Docker Compose you posted in your first comment. I know you kept ADMIN_PASSWORD blank in the compose file you posted most likely to prevent posting secrets; however, for the sake of just validating what happens if it really is empty I did a quick test with basic-docker-compose.yml with ADMIN_PASSWORD blank. It made no difference and I still saw the server in the in-game server browser and Battle Metrics.
I'm a little conflicted on the next steps. It's hard for me to say that I believe its an issue with the container image itself. For one, it sounds like you were able to use open ip:port via the in-game console and connect to the server locally.  It's my gut feeling that it is still something on your network side and not specifically a container issue.
Here are a few things to try:

Verify your Port Forwarding and Firewall rules again.

I know this may be beating a dead horse, but I can't count the number of times I screwed myself up missing a Forwarding/FW rule.

I'm not sure if your server and game client are on the same host, but try connecting from another local host that isn't running the server itself.
Your setup sounds relatively complex. From what I gather your using some type of reverse proxy/load balancer to route traffic to different servers. I have used NGINX to load balance TCP/UDP connections in the past and it sounds like that's what you're are doing.
For starters, verify your proxy/lb config and make sure its using the correct port and connection types (TCP/UDP).
If possible, try to simply your setup and remove the proxy/lb from in front of your game server to see if that is the source of the issue

I'm not sure if its worth perusing, but if you believe it could be an issue with AlmaLinux itself; I could spin up a AlmaLinux VM and poke around to see if the OS itself is somehow causing an issue with the container.
Just let me know if anything above helps, or if there is more details I could use to test on my side.

AlmaLinux 9.3 Test
I haven't used AlmaLinux before, but it was fairly straight forward to setup.
I created an AlmaLinux 9.3 VM on one of my ProxMox hosts.
ProxMox Host (Version 7.14-17)

ISO - AlmaLinux OS 9.3 Boot ISO
CPU - 2x Intel Xeon Gold 6146

VM Assigned 4 Host Cores

RAM - 768GB DDR4 @ 3200Mhz

VM assigned 16GB

Storage - 8 x 512GB SATA SSDs in 4 Mirrored VDEVs That Are Then Striped (2TB Usable)

VM Assigned 100GB

Network - Connected to my default Linux Bridge that is attached To a Linux Bond with two ports in active-backup mode

VM connected to the default Linux Bridge via a VirtIO NIC
Tagged to my external service VLAN
Port Forwarding and Firewall rules allow all game port traffic directly to the VM
I did not touch any of the network or firewall configs inside the VM, so running with defaults across the board

Once the VM was created I installed Docker and Git, then cloned the repo. I started the advanced-docker-compose.yml without any modifications to the compose file. The image was pulled and created without issue.
I found the gamer server in the in-game server browser and in Battle Metrics.
If there are some specific AlmaLinux network config settings you want me to try let me know; however, I still believe it has something to do with your networking config/infastructure.

You really went above and beyond with testing for me, thank you so much.
But alas as you said another issue with my networking setup: https://serverfault.com/questions/1151016/docker-container-loses-connection-after-short-time-routed-through-host-vpn-inter
My docker connections work fine for a short period, probably for the validity of the ARP table, then no connection out. Explains how it shows up in the battlemetrics but not in game.

All Good Now! Thank you so much for the help, and sorry about the trouble.


TextField multiline resize icon doesn't update

To reproduce:

Go to TextField demo page and scroll to multiple multiline TextFields.
Resize the top one.
While the current resize icon will move with the mouse, the next TextField's multiline icon will not reposition itself with the new TextField position.

Before:

After:

I tryed on Server / Client-Side but I cannot reproduce that
Maybe some more information?

Ah, I only tested in Edge Canary.  It seems to work fine in Edge Beta and Chrome.  It must be an Edge Canary bug...


[2.9] Bump RKE to v1.6.0-rc6

Issue:

https://github.com/rancher/rancher/issues/45645
Problem

The bug was reported in the standalone RKE cluster (https://github.com/rancher/rke/issues/3587),  but it is possible to be triggered in Rancher as well.
If we provision or edit an RKE1 node-driver cluster and set the extra_env for the kube-api server, Rancher will fail to create or update the cluster with an error message like below
cluster health check failed: Failed to communicate with AP| server during namespace check: Get "https://xxx.xxx.xxx.xxx:6443/api/v1/namespaces/kube-system?timeout=45s": dial tcp xxx.xxx.xxx.xxx:6443: connect: connection refused:[controlPlanel Failed to upgrade Control Plane: [[Failed to create [kube-apiserver] container on host [xxx.xxx.xxx.xxx]: Failed to create Docker container [kube-apiserver] on host [xxx.xxx.xxx.xxx]: Error response from daemon: invalid environment
As a result, it is impossible to set the extra_env for the kube-api server.
It happens because we declared the Env slice with the size of the c.Services.KubeAPI.ExtraEnv field, which leads to empty strings at the beginning of the Env slice because we use Golang's append function to add new elements, and Docker is not happy with that.
Solution

The fix is implemented in RKE, please check this PR for details.
Testing

Engineering Testing
Manual Testing

The test was done on the RKE side, please check the mentioned PR in RKE.
Automated Testing

Test types added/modified:

Unit
Integration (Go Framework)
Integration (v2prov Framework)
Validation (Go Framework)
Other - Explain: EXPLAIN
None
REMOVE NOT APPLICABLE BULLET POINTS ABOVE

If "None" - Reason: EXPLAIN THE REASON

If "None" - GH Issue/PR: LINK TO GH ISSUE/PR TO ADD TESTS

Summary: TODO
QA Testing Considerations

Regressions Considerations

cluster provisioning and upgrading when we set the extra_env for the kube-api server.
Existing / newly added automated tests that provide evidence there are no regressions:

HI @jakefhyde , this PR also unblocks https://github.com/rancher/rancher/issues/45309

We need only one approval for this kind of PR


Code | Symbol Pattern 65

I would like to work on this as part of SWOC.
Could you please assign it to me?


feat(daffio): only render root api nav items

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: #3346
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@xelaint do we need selected list item styles?

@xelaint do we need selected list item styles?

added. https://github.com/graycoreio/daffodil/pull/3356


Things such as placing wall signs and the server.executeVanillaCommand don't work anymore.

Are there any ways around these?

I use the magikcraft/scriptcraft docker image and the @magikcraft/core npm package.
With that you can do:
import {server} from '@magikcraft/core'

server.executeCommand('someCommand goes here')

See: https://github.com/Magikcraft/magikcraft-core/blob/master/server/index.ts#L25

Thanks.

Can I ask you more questions on what Magikcraft is on Discord if I have any @jwulf?

Sure. Also, you can try a hosted version at https://play.magikcraft.io

Thanks. :)


CANNOT LINK EXECUTABLE ffmpeg: has text relocations

I still get CANNOT LINK EXECUTABLE ffmpeg: has text relocations running Nexus 5X (Android 8.1.0, API 27, x86).
Could this be because I'm testing on a emulator?

This issue was related to the emulator I was using.

@HBiSoft did you resolve this problem ?
I have the same error , any solution please !!
Regards

I posted above what my issue was...

@MustaphaGhlissi Can you tell me, why exactly, you downvoted my comment? You asked me what my issue was and I told you. You could have asked me another question instead of down voting a comment.

I am getting same issue


[doc] Add trino time travel doc

Purpose
Add trino time travel doc
Tests
NO.
API and Format
NO.
Documentation
how-to#querying-tables.md

Hi @s7monk , can you just create one PR for these all documentation updates?

Hi @s7monk , can you just create one PR for these all documentation updates?

ok,thanks for your advice.

Hi @s7monk , can you just create one PR for these all documentation updates?

ok,thanks for your advice.

We can merge some small commits.


Window dimenions are misread when using Reaper

When using Reaper  (www.reaper.fm/) it seems to add padding to the top of the window equal to the title bar, almost as if the title bar is considered part of the window.  This creates too much padding above, and cropping below:

I can confirm this issue, e.g. the same happens to FileZilla.
I will have a look into this.

Fixed with v2.5.1,


Issue # 1007 - Add regression tests for MATCH clause

Add regression tests for cypher queries  that enter either or both last IF conditionals in make_directed_edge_join_conditions function in cypher_clause.c in reference to issue #1007

@rafsun42 Could you please review this PR?
Thanks

@Zainab-Saad Once this is approved and merged, could you also create a PR applying this to the PG11 branch?

@jrgemignani Yes, will do that.


⚠ Samsung has degraded performance

In 4926af4, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2906 ms

Resolved: Samsung performance has improved in 45fbf8a.


[niconico] watch history, series and rewrite

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
This adds support for watch history and series, as well as reducing duplicated code.

1 minor nitpick, prefer to use fstrings.


Build for windows

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #6.
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin please rerender

https://github.com/conan-io/conan-center-index/issues/8936

Seems like I am hitting the same bug as https://github.com/conda-forge/cmake-feedstock/pull/155#issuecomment-1037479664

:wave: I'm working on fixing up the libsndfile package, and was wondering what the status of this PR is.  I tried to view the failing build log, but it appears to have been purged already.

Fork and start?

Thanks!  Looks like the build is working (binary, dynamic and static libs generated), but the test fails because it's not copying lame.exe to the install path.

There are a few reasons for you to take it over the finish line if you can:

it seems like you know what you are doing.
it would make you maintainer for a package you care about
My time is quite limited :/ and sporadic.

@conda-forge-admin please rerender

I'm going to merge this, but I don't have any plans to test how this integrates into other software at conda forge. Please let me know if iyou have any issues with this and we can work together to resolve this.

I'm going to merge this, but I don't have any plans to test how this integrates into other software at conda forge. Please let me know if iyou have any issues with this and we can work together to resolve this.

Thanks!  Once the mpg123 update gets merged, I'll resume the libsndfile update and report back if there are any issues.

2. it would make you maintainer for a package you care about

3. My time is quite limited :/ and sporadic.

(1) might be a bit of an over-statement :grin: but I do have some motivation to get this working.  Re (2), my dependency chain looks like lame→libsndfile→pysoundfile→librosa (only the last of which I develop/maintain).  But keeping this distribution up to date and cross-platform will make my life easier with an upcoming deprecation cycle that I'm planning, so sure - happy to be looped in.  Re: (3) that's all of us I suppose!  I've been meaning to ping on this since about april, and only this weekend had time to dig into it.
Anyway, thanks for finishing this one off!


ReferenceError: Viewer is not defined

Bug reports:

I am using this module with nextjs in functional components. Please suggest me how to resolve this.

Please consider also to support this project https://beerpay.io/chrvadala/react-svg-pan-zoom

I solved it. Use 'let, and put this line inside of useEffect in case of functional components.


use tabs instead of spaces for html scope example

I would even say that we should get rid of them entirely as this complicates the example unnecessarily.

I would still let them in the example because the final output looks much nicer that way.


RetryWithContext should use the new NextBackOff()

Please provide a description of this PR:
With https://github.com/istio/istio/pull/44993/ the NextBackOff() wrapper was modified to handle certain negative scenarios where the NextBackOff() provided by cenkalti/backoff/v4 was returning -1. RetryWithContext() should also use the wrapped NextBackoff in order to prevent issue when -1 is raised.
Before this PR: RetryWithContext uses proper backoff until MaxElapsedTime is reached (15 min). After MaxElapsedTime has passed, RetryWithContext retries with a -1 backoff duration (no waiting time) negatively impacting performance.
After this PR: if MaxElapsedTime has been reached in RetryWithContext, it will continue retrying with MaxInterval duration as waiting time.

@kfaseela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
03a1114056ebaac0e1f27c9e24b1d6fb36994fc1
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes

/cherry-pick release-1.16
/cherry-pick release-1.17
/cherry-pick release-1.18

@hzxuzhonghu: once the present PR merges, I will cherry-pick it on top of release-1.16 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.16
/cherry-pick release-1.17
/cherry-pick release-1.18

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hzxuzhonghu: new pull request created: #45120

In response to this:

/cherry-pick release-1.16
/cherry-pick release-1.17
/cherry-pick release-1.18

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hzxuzhonghu: new pull request created: #45122

In response to this:

/cherry-pick release-1.16
/cherry-pick release-1.17
/cherry-pick release-1.18

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hzxuzhonghu: new pull request created: #45123

In response to this:

/cherry-pick release-1.16
/cherry-pick release-1.17
/cherry-pick release-1.18

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


support eslint-config-standard v3

Thanks for this project. It's been very useful for me. :)
I just noticed that the peerDependency upon https://github.com/feross/eslint-config-standard is locked to "^2.0.0", which is preventing me from using this with the latest upstream version of that shared config.
Would you like a PR that allows both v2 and v3 of https://github.com/feross/eslint-config-standard ?

Ah looks like he bumped to 3.0.0 a few hours ago. I'll bump this tomorrow morning!

Cheers! <3

@jokeyrhyme thanks for being patient! I've updated everything. Can you give it another try?

Works great! Cheers! <3


set default sorting order

Describe the feature you'd like
Please add a option to define a default sort order per book.
Describe the benefits this feature would bring to BookStack users
At the moment every new page is at the bottom. Some users from us want that the book is automatically sorted by "Sort by Name" or "Sort by Updated Date"
Additional context
Thank you for this great tool 👍

Hi @JtheBAB,
Thanks for the request and for the feedback.
Since a very similar request is already open on issue #180 I'm going to close this one. Please give a "👍" to the original post of that issue to show support.


Revert "Switch ACR Helm chart to GHCR for rad init (#6510)"

This reverts commit 9830c13db5cebc2c644b4e4a8ae60ae5979426f7.
Description
@kachawla  and I found that Radius installs on amd64 are broken with this change. reverting.
Type of change

This pull request fixes a bug in Radius and has an approved issue (issue link required).
This pull request adds or changes features of Radius and has an approved issue (issue link required).
This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: #issue_number
Auto-generated summary

🤖 Generated by Copilot at f75f123
Summary
🚀🐛♻

This pull request fixes a helm chart bug, refactors a helm function, and updates the helm configuration for the radius project. It changes the files pkg/cli/helm/helm.go and pkg/cli/helm/radiusclient.go to use the new helm repository at radius.azurecr.io.

Sing, O Muse, of the valiant radius project
That changed its helm repository with skill and intellect
From ghcr.io, the swift and vast, to radius.azurecr.io, the new and fast
And fixed a bug that plagued the charts, refactoring code with clever arts

Walkthrough

Fix bug in pulling helm chart from container registry by setting RepoURL field of pull struct (link)
Refactor helmChartFromContainerRegistry function to simplify logic and assume valid chart format (link)
Remove unused import of registry package from helm package (link)
Update release name, helm repository, and system namespace constants for radius project in radiusclient.go (link)

Merging without Functional Test run per discussion with @kachawla .


Crash in hci_driver.c when create_connection_cancel is issued after create connection

PLATFORM: NRF52832, sample project hci_uart
Commit: 566d07e00cce33f70ddc759d383950b9600c217b
HCI_LE_Create_Connection_Cancel command crashes pointing to hci_driver.c if sent after HCI_LE_Create_Connection command.
If HCI_LE_Create_Connection_Cancel is sent without sending HCI_LE_Create_Connection command, it executes as expected.
Execute the following commands to reproduce the behavior:

Send_HCI_Reset
Send_HCI_EXT_SetBDADDRCmd
Send_HCI_Set_Event_Mask
Send_HCI_LE_Set_Event_Mask
Send_HCI_LE_Create_Connection
Send_HCI_LE_Create_Connection_Cancel

Expected behavior
Send_HCI_LE_Create_Connection_Cancel should be executed correctly after executing Send_HCI_LE_Create_Connection.
Impact
Showstopper
Log:
Log.txt

CC @cvinayak @carlescufi

We are hitting this assert: https://github.com/zephyrproject-rtos/zephyr/blob/6c34983ed22fefcb3dea4c8c7b24ba9e50fc6d68/subsys/bluetooth/controller/hci/hci_driver.c#L209

After applying this patch, I could see a LE_Connection_Complete_Event after issuing HCI_LE_Create_Connection_Cancel.
Is this an expected behavior?
Packet "HCI_LE_Generic_Report_Event", Opcode 0x003e
Parameters:
Event Opcode : 0x01 (LE Connection Complete Event)
Status : 0x02 (Unknown Connection Identifier)
Connection Id : 0x0000
Role : 0x00 (Link Role Master)
Peer Address Type : 0x00 (Public)
Peer Address : "00:00:00:00:00:00"
Connection Interval : 0x0000
Connection Latency : 0x0000
Supervision Timeout : 0x0000
Clock Accuracy : 0x00

After applying this patch, I could see a LE_Connection_Complete_Event after issuing HCI_LE_Create_Connection_Cancel.
Is this an expected behavior?
Packet "HCI_LE_Generic_Report_Event", Opcode 0x003e
Parameters:
Event Opcode : 0x01 (LE Connection Complete Event)
Status : 0x02 (Unknown Connection Identifier)
Connection Id : 0x0000
Role : 0x00 (Link Role Master)
Peer Address Type : 0x00 (Public)
Peer Address : "00:00:00:00:00:00"
Connection Interval : 0x0000
Connection Latency : 0x0000
Supervision Timeout : 0x0000
Clock Accuracy : 0x00

Just checked, this seems correct.
From the BT specification:
If the cancellation was successful then, after the HCI_Command_Complete
event for the HCI_LE_Create_Connection_Cancel command, either an LE
Connection Complete or an HCI_LE_Enhanced_Connection_Complete event
shall be generated. In either case, the event shall be sent with the error code
Unknown Connection Identifier (0x02)


Permanent Skipping of Batches with accelerator.skip_first_batches

System Info
- `Accelerate` version: 0.18.0
- Platform: Linux-5.4.0-144-generic-x86_64-with-glibc2.27
- Python version: 3.9.16
- Numpy version: 1.23.5
- PyTorch version (GPU?): 1.12.1 (True)
- `Accelerate` default config:
        - compute_environment: LOCAL_MACHINE
        - distributed_type: MULTI_GPU
        - mixed_precision: fp16
        - use_cpu: False
        - num_processes: 5
        - machine_rank: 0
        - num_machines: 1
        - gpu_ids: 0,1,2,3,4
        - rdzv_backend: static
        - same_network: True
        - main_training_function: main
        - downcast_bf16: no
        - tpu_use_cluster: False
        - tpu_use_sudo: False

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[ ] My own task or dataset (give details below)

Reproduction
https://github.com/huggingface/accelerate/blob/main/examples/complete_cv_example.py
Expected behavior
When using the skip_first_batches function, I discovered that it does not behave as expected. The function is intended to skip a specified number of batches only in the first resumed epoch, but it permanently skips a specified number of batches from the dataloader. The problem arises when the dataloader is not reinitialized, resulting in a permanently shorter data loader for subsequent epochs.
The official script provided in the repository (https://github.com/huggingface/accelerate/blob/main/examples/complete_cv_example.py#L208) does not include any steps to renew the data loader after the first epoch, which is misleading.

Indeed, the dataloader needs to be changed only at the first epoch. Would you like to suggest a PR with a fix?

Thank you for your response. Since I am not familiar with the accelerate data loading logic, the only solution I can suggest at the moment is for users to retain the original data loader and use it for later epochs. These might require some changes to the function documentation and example scripts.
Given your expertise, I would like to ask if you think there might be a better solution available to address this issue.

No, the dataloader should be changed for the the first epoch and then go back to the initial dataloader for all subsequent epochs, that is the correct fix and how we use this internally in the Trainer.

If so, please forgive me for not knowing how to implement this.

Hi @Teoge, no worries! I did it in #1466 :)


Equality of NULL in a list.

Hello everyone. I have a small query regarding equality of null data type in a list.

In the documentation, it is written that SELECT * FROM cypher('graph',$$RETURN null = null$$) AS (p agtype); produces null and the concept behind that is explained in documentation.

So , according to this concept, I thought SELECT * FROM cypher('graph',$$RETURN [null] = [null]$$) AS (p agtype); will also generate null as output, but it generated true.

Is there any specific reason for that ?

This is due to a design decision in the very beginning of AGE -
There is comparability, which is how something compares, equates, to something else. Then there is orderability, which is how something is ordered, or sorted, relative to something else. They are very similar, but not the same. Unfortunately, you can only have one of these used for operations in AGE.
Sort of,...
It was decided that in order to allow NULLs to group together in sorted output we would allow NULL = NULL. This is why NULLs group together in ordered outputs and why that second command returned true.
Now for the sort of part,...
Depending on whether the NULL is by itself, or in some container, it will follow different rules. This is because the function that does the actual comparison, is set to 'RETURNS NULL ON NULL INPUT'. If it is a simple NULL, then the function never gets called and a NULL is returned. Otherwise, it will call the function and apply the orderability rule instead.
In your first query, it used 'RETURNS NULL ON NULL INPUT'. In your second query, the NULL is in a container, so it called the function because neither inputs were NULL and applied the orderability rule.
Hopefully, this explains it a bit.

Ok, now I understand. Thanks for the detailed answer.


Accessibility: More consistent footer and side navigation

The footer and the side nav have information organized differently. This can lead to confusion about how to find the information they are looking for if they are using a mobile browser, or using a screen reader.

cc @joecritch


Question: Is it possible to read/write Beacon data? (Major/Minor)

Hi, I am new to Xamarin and BLE development and first wanted to say this plugin is great! Thank you for making it.
I'm wondering if it is possible to retrieve/write iBeacon data from devices, specifically the Major and Minor values.
I've been able to successfully get the UUID, RSSI, ID, Name and AdvertisementRecords from my connected test device (iPhone X, with Samsung Galaxy S9 as the control). Services/Characteristic data is a little confusing to me, but from what I can tell it doesn't contain the values I need.
Looking at #101 , there's something similar but it wasn't implemented at the time.
Thank you.

Hi @maysonfleury,
I'm the friendly issue checker.
It seems like (100.00 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!


git-elegant:159-159: Describe usage of git elegant

The puzzle 6-8bd69a57 (from #6) in src/main/git-elegant (lines 159-159) has to be resolved: "Describe usage of git elegant"
The puzzle was created by Dmytro Serdiuk on 22-Aug-17.
Estimate: 0 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Duplicates #118


added frontend github workflow

Added github workflow scripts for the frontend tests and frontend coverage.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@acd8cb1). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master      #500   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         2
  Lines             ?        65
  Branches          ?         4
==========================================
  Hits              ?        65
  Misses            ?         0
  Partials          ?         0

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 acd8cb1...6a87b42. Read the comment docs.


fix: account for memory in RepartitionExec

Which issue does this PR close?
Closes #4816.
Rationale for this change
Unbounded channels in RepartitionExec may easily lead to OOMs, even when the user has a memory manager limit configured.
What changes are included in this PR?
Memory accounting. Some drive-by clean-ups.
Are these changes tested?
New test called oom.
Are there any user-facing changes?
Better memory accounting.

There is a test bug, I'm working on that (happens when tests use 1000 things at once).

Maybe it is worth reviewing this code and ensuring it only buffers inputs when one of the outputs is empty and was polled. 🤔

I can try that in a follow up. In general unbounded buffering cannot be avoided though since the output may poll partition 1 while the input only produced data for partition 2 til the very end. We can make buffering less likely though (hence let's try this in a follow up).

I plan to merge this later today unless there are any additional comments


kp import should exit with an error if the resulting builders are not ready

Currently, running kp import will exit successfully even if the resulting resources do not reconcile successfully. This prevents kp import from failing a import pipeline job.

Closing and moving to kpack-cli repo


Question: Possible to execute on ereader device

Hi,
It seems that there are many devices which are wifi enabled. Would it be possible to sync notes directly to Readwise from the device rather than having to use a USB to extract the highlights and database files?
I currently use a tool called kobli which accomplishes a very similar feat, but instead of syncing to Readwise it syncs to it's own cloud area.
I would hope that it might be possible to draw upon that technology and adapt October to be used on device to improve the workflow and "liveness" of the information rather than requiring a manual step.

Hey there,
Thanks for mentioning Koblime. I hadn't heard of it before so it seems neat although a bit unfortunately that it's closed source.
While I have considered it before, I don't think I would necessarily expand into trying to do anything wireless just because of the complexity involved in modifying the official firmware and all that.
You'd probably still want something to do all of the logic of bundling highlights which would probably be well out of my skill set to hack into the Kobo's firmware itself so then you'd probably end up having October receive data wireless at which point you might as well just plug in via USB since it's much faster.
I'm also looking at treating the Kobo as a USB by storing sync state on the device which would probably be a pain to deal with wireless since you have to handle all the probable error cases that are less likely with a cable connection.
Lastly, I personally only export my highlights like once every one or two weeks so I can't say I'd get any benefit out of it myself.
As an alternative, and probably a better place to look for higher levels of modification, KOReader is an alternative Kobo firmware that has Readwise support so you should be able to wirelessly sync using it: https://github.com/koreader/koreader/wiki/Highlight-export
I haven't tried it personally though so I'm not sure how it's implemented or how well it works


Store fingerprint

This issue involves:

[ ] Create data structure for storing info
[ ] Redesign or merge current table
[ ] Revise logic of store limits

@devformatters  Could you give more context here?


How to make multiple Layouts?

Hello,
i have used Default layout that points to index.html now i have created login.html that page has different layout i even created "login_layout.jade" in Layouts folder and login.jade with index.jade dir
Here is my directory structure...
http://prntscr.com/c418cn
So my question is how can i point my Angular View (Login Page)  to that Login layout..
please help me
Thank you..

You should make your new login view on angular side.and redirect it from angular side.


[Fix]: uppercase input is not found by Word Frequency Finder

Describe the bug
If you want to find Hello you have to type it hello, because otherwise the word will not be count.
To Reproduce
Having this sample text:

The Word Frequency Finder Tool helps users analyze their text by calculating the frequency of specific words. You can input any text and specify the words to check their occurrences. It is an essential tool for content analysis, helping to ensure the right emphasis is placed on important words.

Input: "Frequency" | Result: 0
Input: "frequency" | Result: 2
Expected behavior
Both cases should output the same result: 2
Screenshots
N/A
Desktop (please complete the following information):

OS [Windows]
Browser [Arc]
Version [1.29.0]

Additional context
N/A

Hi @rahul-vashishtha  I created a PR for this #2


Don't copy .rubocop.yml file to updater's home folder

This fixes an issue where if you introduce a RuboCop offense at bin/dry-run.rb and run RuboCop inside a development shell, no offenses will be detected.
The explanation of why this happens is a bit complicated.
This is how a dev shell looks like
$ bin/docker-dev-shell bundler
[dependabot-core-dev] ~/dependabot-core $ cat .rubocop.yml
---
inherit_from: omnibus/.rubocop.yml
[dependabot-core-dev] ~/dependabot-core $ cat ../.rubocop.yml
---
inherit_from: omnibus/.rubocop.yml
[dependabot-core-dev] ~/dependabot-core $

There's a duplicated RuboCop configuration.
This duplication may seem harmless, but results in weird behavior of RuboCop.
In particular, exclusions are not correctly interpreted, because they are resolved using the current directory as a base, not the directory of the configuration file itself.
So the following exclusion in omnibus/.rubocop.yml, which was originally meant for ignoring bin directory of ecosystem folders:
---
AllCops:
  DisplayCopNames: true
  Exclude:
    - "../*/bin/**/*"

is interpreted as an exclusion for ~/dependabot-core/bin/**/*, which is incorrect, since for example bin/dry-run.rb should be inspected.
The reason for this is that a ~/.rubocop.yml configuration (located at the HOME folder) has special behavior with respect to exclusions. Normally, this file is shared as a base configuration for all your applications, so the special behavior of making exclude patterns be based on the PWD instead of on the path to the configuration itself makes sense to me. BUT, it breaks our particular case.
For the curious, this is where RuboCop special cases this:
https://github.com/rubocop/rubocop/blob/a643eaaa00dd65ba5aacff98b027e5b5a40c1561/lib/rubocop/config.rb#L219
Anyways, RuboCop is just a development tool, so this file does not need to be permanently copied to the image and can just be mounted for development.

Whoa, thanks for the helpful explanation/background... that's some serious inside-baseball.