Shuffle all songs

Switched from Plex about a week ago, and my only disappointment thus far is how complicated it is to shuffle through my entire Music Library. I could always make a playlist from the Web UI running on my Emby Server which encompasses every song, but that isn't a practical solution.  Am I overlooking something? Suggestions appreciated.
I also might open an issue with Emby Server requesting support for importing .m3u files as playlists -- I have a bash script that runs whenever my ~/Music folder changes and it creates a .m3u playlist 'all', that's how I get around this problem with mpd/ncmcpp.

Hi, thanks for the feedback. We are actively working on adding this to all of our apps, so you'll begin to see it in the next set of releases. Every list screen will have play all & shuffle buttons.


Problem with users paying via combini (Japan)

Steps to reproduce
I have a problem with users paying via combini (Japan).
Those who pay via combini will then be automatically refunded by Google Play.
It seems that after changing the payment status to PurchaseStatus.purchased, it does not run to the logic of unlock feature.
I tested with the case slow test card according to the link below.
https://developer.android.com/google/play/billing/test#pending-purchases
And see the processing working normally.
I think the behavior of paying via combini is similar to slow test card.
Expected results
After changing the payment status to PurchaseStatus.purchased, it should run to the logic of unlock feature.
Actual results
It seems that after changing the payment status to PurchaseStatus.purchased, it does not run to the logic of unlock feature.
Code sample
final Stream purchaseUpdated = InAppPurchase.instance.purchaseStream;
_subscription = purchaseUpdated.listen((purchaseDetailsList) {
    purchaseDetailsList.forEach((PurchaseDetails purchaseDetails) async {
      if (purchaseDetails.status == PurchaseStatus.pending) {
        // Update UI and return
        return;
      }

      if (purchaseDetails.status == PurchaseStatus.purchased || purchaseDetails.status == PurchaseStatus.restored) {
        // Handle receipt and unlock feature

        if (purchaseDetails.pendingCompletePurchase) {
          await InAppPurchase.instance.completePurchase(purchaseDetails);
        }
        return;
      }

        // Handle for others PurchaseStatus
  }, onDone: () {
    _subscription.cancel();
  }, onError: (error) {
      // Handle error
    }
  });

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hi @ZeroToNine09
As my understanding, combini is a convenience store and assume that they support Google Play purchase on POS machine that runs Android OS, correct?
Could you check this on Android mobile device to see any different results?
For us to further investigate this issue, please provide a completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code. Also, please provide the version of package you are using. Thanks!


HADOOP-13386. Upgrade Avro to 1.9.2 (#3990)

#3990 on branch-3.3

Can you please clarify: the PR description says branch-3 (indicating this would be targeted for the next 3.X minor release) but the PR seems to be filed against branch-3.3 (indicating this would be targeted for the next 3.3.X maintenance release).
I assume you were intending the latter (3.3.X maintenance release). If so, I'm -1 on this for the reasons outlined in this comment on #4580.

i want to see how well this goes into 3.3; if it can't, it can't. but we do need a story here.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 34s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
14m 20s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 44s

branch-3.3 passed

+1 :green_heart:
compile
18m  1s

branch-3.3 passed

+1 :green_heart:
checkstyle
3m 18s

branch-3.3 passed

+1 :green_heart:
mvnsite
20m 25s

branch-3.3 passed

+1 :green_heart:
javadoc
7m 13s

branch-3.3 passed

+0 :ok:
spotbugs
0m 35s

branch/hadoop-project no spotbugs output file (spotbugsXml.xml)

+1 :green_heart:
shadedclient
55m 46s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 37s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
27m  5s

the patch passed

+1 :green_heart:
compile
17m 35s

the patch passed

-1 :x:
javac
17m 35s
/results-compile-javac-root.txt
root generated 3 new + 1864 unchanged - 4 fixed = 1867 total (was 1868)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
3m 11s

the patch passed

+1 :green_heart:
mvnsite
20m  1s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
javadoc
7m 10s

the patch passed

+0 :ok:
spotbugs
0m 34s

hadoop-project has no data from spotbugs

+1 :green_heart:
shadedclient
58m 50s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
684m 58s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
2m 47s

The patch does not generate ASF License warnings.

994m  0s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks

hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination

hadoop.hdfs.server.federation.router.TestRouterRpc

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4579/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4579

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint shellcheck shelldocs

uname
Linux 82581586ec18 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 074b83748641b424fbff1953d9c105f3c0c5666b

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4579/1/testReport/

Max. process+thread count
3447 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-common-project/hadoop-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-mapreduce-project . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4579/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Mercy GA causes beam breakage

Created by: iceveee
Pretty much just the title: using slingshot disconnects the staff

Created by: iceveee
i think i was supposed to add labels to this but idek how plsss 😭😭

moved from ow1_emulator_backup#532

mentioned in merge request ow1_emulator_backup!424

Created by: MaxwellJung
I’m the only one who can add labels as the repository owner.

i think i was supposed to add labels to this but idek how plsss 😭😭


It is time to run psf/black

https://pypi.org/project/black/

Thanks for the help. I added that in the github actions. it should be tested.

Try editing autoblack.yml and change 3.8 to 3.9 on both lines 16 and 19.

this error has been occured:
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

    git push origin HEAD:<name-of-remote-branch>

Error: Process completed with exit code 128.

I guess even if this problem is solved, the exit code 1 in black --check . will affect at final result to be failure !

Let’s just remove autoblack.  It is broken.


updating some of the cloudfront setup instructions

Description of the change:

Added a note that S3's new UI changes the verbiage for permissions from "Open/Download" to "Read" for steps 3, 7, and 9 in the CloudFront walkthrough
Updated image for step 17 - the "Forward Query Strings" option is now named "Query String Forwarding and Caching" in the CloudFront UI and is no longer a binary option. The screenshot I provided is using the "Forward all, cache based on all" option which works for the setup I tested, but might not be the most efficient option (there's also "Forward all, cache based on whitelist", since the instructions didn't otherwise specify a whitelist I didn't select that). Also updated the text for this setting.
Step 27 formatted as a list in line with step 23, 25.
Updated image for step 29 - the Viewer Protocol Policy in the existing screenshot has "HTTP and HTTPS" set for all of the relevant files, but the previous instructions (steps 23, 25, 27) tell the user to set the Viewer Protocol Policy to "HTTPS Only". The new screenshot reflects this.

Images were run through imageoptim before committing.
Reason for the change: Mostly explained above, there were a couple of updates to S3/CloudFront since these docs were initially published.
Link to original source: https://github.com/sendgrid/docs/blob/develop/source/Classroom/Build/Add_Content/universal_links.md
@ksigler7

@hseitz thanks so much for making all of these updates this week! They have been awesome.  We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX

@ksigler7 no problem, happy to help!


Does this work in Gatsby?

Is this meant to work in Gatsby or only client side React?
I'm asking because I'm setting up my first Stripe integration and I'm trying to use this.
But I'm getting into some "fun" errors with Gatsby because of Async functions, TypeScript and the global, window, Stripe.
So I'm not sure if this is a battle I can win or I should give up 😊

@mellson this definitely will work with Gatsby, in fact, 90% of the code written for this library was started on a Gatsby project.
I have a bunch of Stripe based Gatsby themes that I plan on upgrading with this library soon:
https://github.com/dayhaysoos/gatsby-theme-stripe
This library does account for window not being available. If you give me a week I think I could get a solid example running, if you can't wait that long feel free to DM me on Twitter, I'd be happy to give you direction

Thank you very much! I'll try to work through it then. Currently I have it working when running dev, but it fails at build time with: TypeError: Invalid attempt to destructure non-iterable instance.
It happens as soon as I add this const { addItem } = useStripeCart()


Add Facebook messenger chat link

Similar to what is on http://nebra.com
Image:

Links to https://m.me/1469008860077745?ref=messenger_commerce_1163199097047119_https://www.nebra.com/collections/helium-hotspot-miners-hnt

Also possibly add contact form etc

Also possibly add contact form etc

Hmm, the only thing with this could be rather than people reading the guides I can see them being lazy and messaging asking questions which would be in the docs?
We did talk about the support link being https://nebra.io/helium-support , could be better to put it on that maybe?
Not sure if I'm thinking wrong though so ignore me if I am.

Hmm, the only thing with this could be rather than people reading the guides I can see them being lazy and messaging asking questions which would be in the docs?
We did talk about the support link being https://nebra.io/helium-support , could be better to put it on that maybe?
Not sure if I'm thinking wrong though so ignore me if I am.

@ryanteck yeah good point actually, I hadn't thought of that. I think you are right. Lets have a support page that pushes people to read the docs etc first and use the search functionality.
@JohnWhiting I have added a short URL https://nebra.io/helium-support that points to https://helium.nebra.com/support - the page doesn't link to anything just yet as we haven't populated the page but will do

@ryanteck yeah good point actually, I hadn't thought of that. I think you are right. Lets have a support page that pushes people to read the docs etc first and use the search functionality.
@JohnWhiting I have added a short URL https://nebra.io/helium-support that points to https://helium.nebra.com/support - the page doesn't link to anything just yet as we haven't populated the page but will do


slider toggle switch results between grid / json

closed with https://github.com/stackql/stackql-playground/pull/8


Add auto-upvote setting to settings page

This is a follow up to https://github.com/busyorg/busy/pull/1482
I've added the upvote setting to the settings page.
It looks like these new fields will need translations. I tested locally and this change seems to work.
I had some problem with the test during commit so I had to use -n:

Test Suites: 14 failed, 6 passed, 20 total
Tests:       10 passed, 10 total
Snapshots:   3 passed, 3 total
Time:        22.483s
Ran all test suites.

I'm not sure if the problem is with my setup of the commit. What is a test suite as opposed to a test?

 btw this is what it looks like @bonustrack

looks and works fine for me @bonustrack
thanks @kirkins  👍

defaultMessages's and text in default.json now differ, but other than that it looks good to me. Thanks.
Can you update them, so they are the same in both files?


Tasks for Monday

[x] Spack on Baskerville [@chrisrichardson]
[x] Prepare presentation [@adeebkor , @IgorBaratta ]
[x] Add cpu mini-app to repository [@adeebkor]
[x] Add gpu operators [@IgorBaratta ]

fenics-dolfinx is now installed on baskerville.
Files are in our shared project folder /bask/projects/m/mhdz1996-wavefenics.
You need to have a compute node to compile anything. You should first do something like:
salloc --qos=epsrc --time=4:0:0 to get a login to a compute node.
To use:
module load OpenMPI
source /bask/projects/m/mhdz1996-wavefenics/spack/share/spack/setup-env.sh
spack load fenics-dolfinx
spack load cmake

I have compiled and run the 'performance-test'.

I will open some more issues with updated tasks.


Printing on other languages

Hi. Great job.
When we try to print Serbian (Eastern Europe languages CP1251, CP852, CP855.  ), we got exception. We check 2 printers (with other programs it works great), and both support those CP.
Code:
bytes += generator.text('Test Print', styles: const PosStyles(align: PosAlign.center));
    bytes += generator.text('Product 1');
    bytes += generator.text('Product 2');
    bytes += generator.text('šđžčć ŠĐŽČĆ', styles: const PosStyles(codeTable: 'CP1251'));  // Latin2, Eastern Europe
    bytes += generator.text('шђжчћљњ ШЂЖЧЋЉЊ ', styles: const PosStyles(codeTable: 'CP855')); // Cyrilic, Eastern Europe

Error:
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Invalid argument (string): Contains invalid characters.: "šđžčć ŠĐŽČĆ"
#0      _UnicodeSubsetEncoder.convert (dart:convert/ascii.dart:85:9)
#1      Latin1Codec.encode (dart:convert/latin1.dart:40:46)
#2      Generator._encode (package:esc_pos_utils/src/generator.dart:77:21)
#3      Generator.text (package:esc_pos_utils/src/generator.dart:354:9)
#4      _MyAppState._printReceiveTest (package:f_flutter_pos_printer_platform_3/main.dart:162:24)
<asynchronous suspension>

Our printer capabilities where you can se supported CPs:

hey @nikolajocic did you find a solution?

did you find a solution?

Use Plugin https://pub.dev/packages/flutter_esc_pos_utils
with codec utf8

Use Plugin https://pub.dev/packages/flutter_esc_pos_utils
with codec utf8

@vipros123 how to use it with utf8?

Hi, it's very easy to support utf8 encoding. You just have to add an entry in the default section of capabilities.json and if you don't want to bother with that, you can use my fork:
https://github.com/waqadArshad/esc_pos_utils
as:
  esc_pos_utils:
    git:
      url: https://github.com/waqadArshad/esc_pos_utils.git


Clarify when Error::InvalidColumnType is returned

It is due to mismatch in the SQLite value in the row, not the column type.
Fixes #950.

See https://github.com/rusqlite/rusqlite/issues/950#issuecomment-832824604


yt-dlp: 2023.10.13 -> 2023.11.14

This fixes #267565
Originally:
Bot-based backport to release-23.05, triggered by a label in https://github.com/NixOS/nixpkgs/pull/267554.

[x] Before merging, ensure that this backport is acceptable for the release.

I've manually checked that it builds on MacOS now.


docs: move deploying to advanced usage

/kind documentation
What does this PR do / why we need it:

Move "Deploying application" to "Advanced usage" as mentioned in https://github.com/redhat-developer/odo/issues/6051
rename "Deploying to Production" to "Deploying application". It is not the best practice to use  odo deploy to deploy directly to the production. Ideally, the production deployment should be handled by GitOps and pipelines. This will be a separate topic that we will address later.

Which issue(s) this PR fixes:

Fixes #
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

Have to fix the broken link:
6:48:31 AM: [ERROR] Unable to build website for locale en.
6:48:31 AM: [ERROR] Error: Docusaurus found broken links!
6:48:31 AM:
6:48:31 AM: Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.
6:48:31 AM: Exhaustive list of all broken links found:
6:48:31 AM:
6:48:31 AM: - On source page path = /docs/user-guides/advanced/deploy/:
6:48:31 AM:    -> linking to ../quickstart (resolved as: /docs/user-guides/advanced/quickstart)

/approve

This is scoped to docs. Overriding Openshift CI..
For reference, the error reported is below. Let's keep an eye out to see if this happens again in other PRs.
• [FAILED] [262.732 seconds]
odo dev command tests
/go/odo_1/tests/integration/cmd_dev_test.go:31
  port-forwarding for the component
  /go/odo_1/tests/integration/cmd_dev_test.go:471
    when devfile has single endpoint
    /go/odo_1/tests/integration/cmd_dev_test.go:472
      when running odo dev
      /go/odo_1/tests/integration/cmd_dev_test.go:479
        when modifying memoryLimit for container in Devfile [BeforeEach]
        /go/odo_1/tests/integration/cmd_dev_test.go:509
          should expose the endpoint on localhost
          /go/odo_1/tests/integration/cmd_dev_test.go:525

...
    [odo] read: read /dev/stdin: input/output error
    [odo] Cleaning resources, please wait
    [odo]  ✗  Dev mode interrupted by user

/override OpenShift-Integration-tests/OpenShift-Integration-tests


some refactor

Idk why I'm doing this I have a million better things to do. Is this OCD?

Thanks for your time and PR.

Few minor issues which I resolved afterwards.
I had to:
-move the ver function before your show_version function
-remove the quotes you added on your line #466
-uncomment 1 exp feature which was actually there (ENABLE_SIMILAR_PLAYLIST) + rename 1 variable which was incorrect
(ENABLE_PODCAST_TRANSCRIPTSCRIPTIONS -> ENABLE_PODCAST_TRANSCRIPTS)
-removed a redundant interactive mode option (block updates for macos was listed twice)
I've been away for over a month and need to add updates for 5 new Spotify versions and wanted to merge that PR first.


five.promise

I'm a major consumer of APIs that are asynchronous (like discord.js) and wanted to make a Five discord bot. You should implement five.promise like so:
five.promise = () = new Promise(resolve => {
  setTimeout(() => resolve(5), 0);
});

Yeah! We need to follow modern trends. Btw here even more modern realization.
five.promise = () = new Promise(resolve => {
  requestAnimationFrame(() => resolve(5));
});


Squid Webproxy no longer binding on interface IPv6 IPs

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
The squid webproxy does not bind to any interface IPv6. The only IPv6 it is listening on is ::1 regardless of the configured interfaces in the web interface. And if no IPv4 is configured on the selected interface, it fails to start.
To Reproduce
Steps to reproduce the behavior:

Set LAN IPv6-only and Interface dependent on WAN
WAN is dual-stack with DHCPv6
Within the Web Proxy configuration, select "Proxy interfaces: LAN"
run sockstat | grep squid | grep tcp to view the listeners (or try to use the proxy via, e.g., Firefox from any host on LAN.
Now assign e.g. <IP_ADDRESS>/32 to the LAN interface.
Try to start the web proxy again and repeat step 4 => It works using the IPv4 but not the IPv6 of the interface.

Expected behavior
Broxy is available and serving requests.
Describe alternatives you considered
NAT66 from the firewall's LAN IP to the squid port on localhost and having it listen on the loopback interface.
Relevant log files
2023-04-27T05:13:39	 	squid	kid1| storeLateRelease: released 0 objects
2023-04-27T05:13:38	 	squid	| pinger: ICMPv6 socket opened
2023-04-27T05:13:38	 	squid	| pinger: ICMP socket opened.
2023-04-27T05:13:38	 	squid	| pinger: Initialising ICMP pinger ...
2023-04-27T05:13:38	 	squid	kid1| store_swap_size = 0.00 KB
2023-04-27T05:13:38	 	squid	kid1| Validated 0 Entries
2023-04-27T05:13:38	 	squid	kid1| Completed Validation Procedure
2023-04-27T05:13:38	 	squid	kid1| Beginning Validation Procedure
2023-04-27T05:13:38	 	squid	kid1| Took 0.16 seconds ( 0.00 objects/sec).
2023-04-27T05:13:38	 	squid	kid1| 0 Swapfile clashes avoided.
2023-04-27T05:13:38	 	squid	kid1| 0 Duplicate URLs purged.
2023-04-27T05:13:38	 	squid	kid1| 0 Objects cancelled.
2023-04-27T05:13:38	 	squid	kid1| 0 Objects expired.
2023-04-27T05:13:38	 	squid	kid1| 0 Objects loaded.
2023-04-27T05:13:38	 	squid	kid1| 0 With invalid flags.
2023-04-27T05:13:38	 	squid	kid1| 0 Invalid entries.
2023-04-27T05:13:38	 	squid	kid1| 0 Entries scanned
2023-04-27T05:13:38	 	squid	kid1| Finished rebuilding storage from disk.
2023-04-27T05:13:38	 	squid	kid1| Store rebuilding is 0.00% complete
2023-04-27T05:13:38	 	squid	kid1| Done reading /var/squid/cache swaplog (0 entries)
2023-04-27T05:13:38	 	squid	kid1| Accepting reverse-proxy FTP Socket connections at conn5 local=<IP_ADDRESS>:2121 remote=[::] FD 18 flags=9
2023-04-27T05:13:38	 	squid	kid1| Accepting HTTP Socket connections at conn3 local=<IP_ADDRESS>:3128 remote=[::] FD 17 flags=9
2023-04-27T05:13:38	 	squid	kid1| Adaptation support is off.
2023-04-27T05:13:38	 	squid	kid1| Squid plugin modules loaded: 0
2023-04-27T05:13:38	 	squid	kid1| Pinger socket opened on FD 20
2023-04-27T05:13:38	 	squid	kid1| HTCP Disabled.
2023-04-27T05:13:38	 	squid	kid1| Finished loading MIME types and icons.
2023-04-27T05:13:38	 	squid	kid1| Set Current Directory to /var/squid/cache
2023-04-27T05:13:38	 	squid	kid1| Using Least Load store dir selection
2023-04-27T05:13:38	 	squid	kid1| Rebuilding storage in /var/squid/cache (clean log)
2023-04-27T05:13:38	 	squid	kid1| Max Swap size: 10485760 KB
2023-04-27T05:13:38	 	squid	kid1| Max Mem size: 1048576 KB
2023-04-27T05:13:38	 	squid	kid1| Using 65536 Store buckets
2023-04-27T05:13:38	 	squid	kid1| Target number of buckets: 44362
2023-04-27T05:13:38	 	squid	kid1| Swap maxSize 10485760 + 1048576 KB, estimated 887256 objects
2023-04-27T05:13:38	 	squid	kid1| Logfile: opening log stdio:/var/log/squid/store.log
2023-04-27T05:13:38	 	squid	kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2023-04-27T05:13:38	 	squid	kid1| Unlinkd pipe opened on FD 13
2023-04-27T05:13:38	 	squid	kid1| Logfile: opening log stdio:/var/log/squid/access.log
2023-04-27T05:13:38	 	squid	kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/error-details.txt': (2) No such file or directory
2023-04-27T05:13:38	 	squid	kid1| Adding nameserver <IP_ADDRESS> from squid.conf
2023-04-27T05:13:38	 	squid	kid1| Adding nameserver <IP_ADDRESS> from squid.conf
2023-04-27T05:13:38	 	squid	kid1| Adding nameserver 2606:4700:4700::1001 from squid.conf
2023-04-27T05:13:38	 	squid	kid1| Adding nameserver 2606:4700:4700::1111 from squid.conf
2023-04-27T05:13:38	 	squid	kid1| DNS Socket created at <IP_ADDRESS>, FD 8
2023-04-27T05:13:38	 	squid	kid1| DNS Socket created at [::], FD 7
2023-04-27T05:13:38	 	squid	kid1| Initializing IP Cache...
2023-04-27T05:13:38	 	squid	kid1| With 234657 file descriptors available
2023-04-27T05:13:38	 	squid	kid1| Process Roles: worker
2023-04-27T05:13:38	 	squid	kid1| Process ID 11880
2023-04-27T05:13:38	 	squid	kid1| Service Name: squid
2023-04-27T05:13:38	 	squid	kid1| Starting Squid Cache version 5.8 for amd64-portbld-freebsd13.1...
2023-04-27T05:13:38	 	squid	kid1| Set Current Directory to /var/squid/cache
2023-04-27T05:13:37	 	squid	| Removing PID file (/var/run/squid/squid.pid)
2023-04-27T05:13:37	 	squid	| Making directories in /var/squid/cache/3F
2023-04-27T05:13:37	 	squid	| /var/squid/cache/3F exists
2023-04-27T05:13:37	 	squid	| /var/squid/cache exists
...
2023-04-27T05:13:37	 	squid	| Creating missing swap directories
2023-04-27T05:13:37	 	squid	| Set Current Directory to /var/squid/cache

Additional context
Add any other context about the problem here.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 23.1.6-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
AMD Ryzen 7 3800X 8-Core Processor (4 cores, 8 threads)

Squid requirement is a static address. That's true for IPv4 and IPv6.

It also doesn't bind to the link lokal. And why exactly is a static IP required? Does it lack a runtime reconfiguration?
Is there a work around (using NAT66 didn't work that well).

It's tailored around the behaviour of DHCP which has the same restrictions. However, it will add your interface's virtual IPs to the listening addresses.
As far as I know the (transparent) redirect for IPv6 also works suboptimal or is still broken.
Cheers,
Franco

adding a virtual IP partially works.

squid binds it's http/https proxy correctly
if the virtual IP is an ULA it fails to start when the FTP proxy is also enabled
if the virtual IP is a GUA it appears to work, but crashes without a clear error message. Disabling the FTP proxy fixes this.

ULA error message:

# cat /usr/local/etc/squid/squid.conf
#
# Automatic generated configuration for Squid.
# Do not edit this file manually.
#

# Setup regular listeners configuration
http_port [fd23:c1bf:a73d::1]:3128

acl ftp proto FTP
http_access allow ftp

# Setup ftp proxy
ftp_port fd23:c1bf:a73d::1:2121 accel ftp-track-dirs protocol=HTTP

# Rules allowing access from your local networks.
# Generated list of (internal) IP networks from where browsing
# should be allowed. (Allow interface subnets).
acl localnet src fd23:c1bf:a73d::1/128 # Possible internal network (aliases)
# Default allow for local-link and private networks
acl localnet src fc00::/7       # RFC 4193 local private network range
acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines

# ACL - Allow localhost for PURGE cache if enabled
acl PURGE method PURGE
http_access allow localhost PURGE
http_access deny PURGE

# ACL lists

# ACL - Remote fetched Blacklist (remoteblacklist)

# ACL - Block browser/user-agent - User defined (browser)

# ACL - SSL ports, default are configured in config.xml
# Configured SSL ports (if defaults are not listed, then they have been removed from the configuration!):
acl SSL_ports port 443 # https
acl SSL_ports port 22 # ssh

# Default Safe ports are now defined in config.xml
# Configured Safe ports (if defaults are not listed, then they have been removed from the configuration!):
# ACL - Safe_ports
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 22 # ssh
acl CONNECT method CONNECT

# ICAP SETTINGS
# enable icap
icap_enable on
icap_default_options_ttl 60

# send user information to the icap server
adaptation_send_client_ip off
adaptation_send_username off
icap_client_username_encode off
icap_client_username_header X-Username

# preview
icap_preview_enable on
icap_preview_size 1024

# add the servers
icap_service response_mod respmod_precache icap://[::1]:1344/avscan
icap_service request_mod reqmod_precache icap://[::1]:1344/avscan

# Pre-auth plugins
include /usr/local/etc/squid/pre-auth/*.conf

# Authentication Settings

# Google Suite Filter

# YouTube Filter

# Deny requests to certain unsafe ports
adaptation_access response_mod deny !Safe_ports
adaptation_access request_mod deny !Safe_ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
adaptation_access response_mod deny CONNECT !SSL_ports
adaptation_access request_mod deny CONNECT !SSL_ports
http_access deny CONNECT !SSL_ports

# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager

# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
adaptation_access response_mod deny to_localhost
adaptation_access request_mod deny to_localhost
http_access deny to_localhost

# Auth plugins
include /usr/local/etc/squid/auth/*.conf

#
# Access Permission configuration:
#
# Deny request from unauthorized clients

#
# ACL - localnet - default these include ranges from selected interfaces (Allow local subnets)
adaptation_access response_mod allow localnet
adaptation_access request_mod allow localnet
http_access allow localnet

# ACL - localhost
adaptation_access response_mod allow localhost
adaptation_access request_mod allow localhost
http_access allow localhost

# Deny all other access to this proxy
adaptation_access response_mod deny all
adaptation_access request_mod deny all
http_access deny all
# Post-auth plugins
include /usr/local/etc/squid/post-auth/*.conf

# Caching settings
cache_mem 1024 MB
maximum_object_size 128 MB
cache_replacement_policy heap LFUDA
maximum_object_size_in_memory 65536 KB
cache_dir ufs /var/squid/cache 10240 64 1024

# Leave coredumps in the first cache dir
coredump_dir /var/squid/cache

#
# Add any of your own refresh_pattern entries above these.
#

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320

# Squid Options
access_log stdio:/var/log/squid/access.log squid
cache_store_log stdio:/var/log/squid/store.log
dns_nameservers 2606:4700:4700::1111
dns_nameservers 2606:4700:4700::1001
dns_nameservers <IP_ADDRESS>
dns_nameservers <IP_ADDRESS>
# Disable via Header
via off
# Suppress http version string (default=off)
httpd_suppress_version_string on
# URI handling with Whitespaces (default=strip)
uri_whitespace encode
# X-Forwarded header handling (default=on)
forwarded_for delete
# Disable squid logfile rotate to use system defaults
logfile_rotate 0
# Define visible email
cache_mgr<EMAIL_ADDRESS># Set connection timeout
connect_timeout 2 seconds
error_directory /usr/local/etc/squid/errors/local

Sure, link-local binding was never supported, but again this works via link-local VIP (make sure to use /64 for proper access.
I don't have much hope for FTP proxy integration in the long run. Happy to look at PRs but web proxy facility is not something we want to invest time in much these days as it becomes more and more niche use case.

I'm fine with dropping the FTP proxy part. That one was just for testing (for now at least) anyway.
My use case for the web proxy facility are:

To get IPv4-only applications working on IPv6-only networks
It is quite helpful to reduce bandwidth ustilization for system updates (I'm still considering if lancache is worth the time-investment for developing an extension).
Use the web proxy to get application-specific VPNs and DNS configurations (basically split tunnel, but also working around split-horizon DNS and whitelisting issues).
And in another case it is in front of (very) legacy server that need special protection where everything passes though it is heavily filtering and anti-virus scanned via ICAP (opnsense is basically the only security there). (And no, the legacy servers don't access the internet, but are reachable via stunnel/IPSec/VPN/... from specific endpoints.


disableDaysBeforeToday allows selection of day before current day

Indeed, just tested it.

Resolved at the new version


Reassign articles to wpickett

Fixes #32831
Fixes #32830
Per management request, reassigning topics for ms.author that we to watch over, keep up the health on so they are more distributed between writers.
This brings the topic total for me to watch over to 148 total in aspnetcore.docs as asked.
The original or current author is maintained in the author:  meta field so it remains clear who the author is and credited to.
Added topics recommended by Tom to take, the areas generally cover:

OpenAPI
SignalR
Docker
Minimal API
gRPC
cient-side libman and SPA
Any topic that was still listed as scaddie for ms.author
7 diagnostic/ error topics since everyone seem to have some of those but me, and I was at a loss for the last 7 to take. (Tom didn't originally suggest these 7).

This pr is related to #32852
Feel free to suggest different topics.

Internal previews
Toggle expand/collapse

📄 File
🔗 Preview link

aspnetcore/client-side/bundling-and-minification.md
Bundle and minify static assets in ASP.NET Core

aspnetcore/client-side/libman/index.md
Client-side library acquisition in ASP.NET Core with LibMan

aspnetcore/client-side/libman/libman-cli.md
Use the LibMan CLI with ASP.NET Core

aspnetcore/client-side/libman/libman-vs.md
aspnetcore/client-side/libman/libman-vs

aspnetcore/client-side/spa-services.md
Use JavaScript Services to Create Single Page Applications in ASP.NET Core

aspnetcore/client-side/spa/intro.md
Overview of Single Page Apps (SPAs) in ASP.NET Core

aspnetcore/client-side/spa/react.md
Use React with ASP.NET Core

aspnetcore/diagnostics/asp0000.md
aspnetcore/diagnostics/asp0000

aspnetcore/diagnostics/asp0001.md
ASP0001: Authorization middleware is incorrectly configured

aspnetcore/diagnostics/asp0010.md
"ASP0010: Do not use UseStartup with WebApplicationBuilder.WebHost"

aspnetcore/diagnostics/mvc1001.md
MVC1001: Filters cannot be applied to page handler methods

aspnetcore/diagnostics/mvc1002.md
aspnetcore/diagnostics/mvc1002

aspnetcore/diagnostics/mvc1003.md
MVC1003: Route attributes cannot be applied to page models

aspnetcore/diagnostics/mvc1006.md
"MVC1006: Methods containing TagHelpers must be async and return Task"

aspnetcore/fundamentals/metapackage-app.md
Microsoft.AspNetCore.App for ASP.NET Core

aspnetcore/fundamentals/minimal-apis.md
Minimal APIs quick reference

aspnetcore/fundamentals/minimal-apis/handle-errors.md
aspnetcore/fundamentals/minimal-apis/handle-errors

aspnetcore/fundamentals/minimal-apis/middleware.md
Middleware in Minimal API apps

aspnetcore/fundamentals/minimal-apis/min-api-filters.md
Filters in Minimal API apps

aspnetcore/fundamentals/minimal-apis/openapi.md
OpenAPI support in minimal API apps

aspnetcore/fundamentals/minimal-apis/parameter-binding.md
aspnetcore/fundamentals/minimal-apis/parameter-binding

aspnetcore/fundamentals/minimal-apis/route-handlers.md
Route Handlers in Minimal API apps

aspnetcore/fundamentals/minimal-apis/test-min-api.md
Test Minimal API apps

aspnetcore/fundamentals/minimal-apis/webapplication.md
WebApplication and WebApplicationBuilder in Minimal API apps

aspnetcore/fundamentals/portable-object-localization.md
aspnetcore/fundamentals/portable-object-localization

aspnetcore/fundamentals/startup.md
App startup in ASP.NET Core

aspnetcore/fundamentals/target-aspnetcore.md
[Visual Studio](https://review.learn.microsoft.com/en-us/aspnet/core/fundamentals/target-aspnetcore?branch=pr-en-us-32870)

aspnetcore/fundamentals/use-http-context.md
Use HttpContext in ASP.NET Core

aspnetcore/grpc/aspnetcore.md
gRPC services with ASP.NET Core

aspnetcore/grpc/authn-and-authz.md
Authentication and authorization in gRPC for ASP.NET Core

[!NOTE]
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

@tdykstra and @Rick-Anderson, need your feedback on the draft.  Feel free to suggest different articles to switch.

@JamesNK, I have been asked to identify an equal number of topics between the writers that I will be assigned to monitor the health for and actively maintain (as much as we can fit and prioritize into every sprint).
Part of this involves keeping the author metadata set to the author (for example keep it set to you for gRPC topics) while setting ms.author to the topic areas the doc team writer is dedicating time to.
I'm giving you a heads up since you are one of the development team's most active in creating new docs and maintaining them (at superhero levels).  I didn't want you to be surprised, and to make sure you understood you still attributed to and maintained as author and why we are changing ms.author.


Update to ungoogled-chromium 105.0.5195.54-1

Some minor updates for the patches were required and I had to add a new patch to fix an import error in tools/polymer/html_minifier.js
Builds and runs fine:

Instead of patching html_minifier.js, maybe it's better to update node? Node 12 seems way too outdated.

It compiles and runs with node 16.

I updated nodejs to the latests LTS release. @Nifury csn you please check if the changes are correct? I did not recompile.

I updated nodejs to the latests LTS release. @Nifury csn you please check if the changes are correct? I did not recompile.

16.7.0?  I may not be a regular contributor but isn't latest LTS 16.17.0?

Yes, good catch. I fixed that.

Looks good to me, but we can wait for @R-T-B to confirm.

Compiled fine with suggested changes.


Fix hang-up when MC server discard packet after connect

Problem
Some servers (eg https://ddps.jp/) do not return a response after the socket connection is established (after Minecraft-Ping sends a packet).
Minecraft-Ping freezes without timing out.
Fix
I used socket.setTimeout(timeout[, callback]) and fixed it to time out.

Awesome, thank you for your contribution!


Two-way data binding

This allows to do the following:
// You can use `RwSignal`s
let is_awesome = RwSignal::new(true);
let sth = RwSignal::new("one".to_string());

// And you can use split signals
let (text, set_text) = signal("Hello world".to_string());

view! {
    // Use `bind:checked` and a `bool` signal for a checkbox
    <input type="checkbox" bind:checked=is_awesome />

    // Use `bind:group` and `String` for radio inputs
    <input type="radio" value="one" bind:group=sth />
    <input type="radio" value="two" bind:group=sth />
    <input type="radio" value="trhee" bind:group=sth />

    // Use `bind:value` and `String` for everything else
    <input type="text" bind:value=(text, set_text) />
    <textarea bind:value=(text, set_text) />
}

Without template:
checkbox.bind(Checked, is_awesome);

radio_element.bind(Group, sth);

...

textarea.bind(Value, (text, set_text))

Inspiration
This is closely modelled after Svelte's binding (Qwik seems to use a similar scheme). It is the same as how Vue does it but it's syntax doesn't fit Leptos' idiom. Angular's even less so. React and SolidJS don't have two-way data binding. Finally, Sycamore takes the same approach as this but the docs don't mention radio inputs.
Limitations
Right now this only works for HTML Elements. Components are not supported. I suspect it won't be that useful for components, because you can design them to take a RwSignal as prop which kind of serves the same purpose.
Also, right now, only bools are supported for checkboxes and Strings for everything else. A neat future addition could be to use codee codecs to allow numbers in number inputs, enums in radio groups and so on.

@maccesch This is fascinating, ergonomically I think it's a step forward for sure. If you'd like to fix the conflicts I'll get it merged in

@benwis Great, thanks! Done ✅

Thanks! Give me a couple days to look through it and make sure I understand whats going on, and to test out how we handle some of the more dangerous edge cases of two-way binding.

@gbj Sounds good. Excited to see what you find!

Didn't we already have support for this via specifying the event that would trigger the two-way data binding? Like input for value, and the user could specify a custom event for other attributes?

Thanks so much! My changes to remove generic rendering for compile-time/linking reasons (#3015) broke this pretty much entirely, so I went in and cleaned that up, and added it to the todomvc example for testing purposes.
I think my concerns about two-way binding are probably just overly cautious. This is just a much nicer way of doing something we already support (and encourage!) doing. I do think the separated reader-writer pattern is just for encoding unidirectional data flow in the type system as much as possible, so supporting the separated signal pairs here is (IMO) really useful and not just a workaround for our default pattern.
(For the curious: The concern with two-way binding is always that if you are passing a bunch of what we would call RwSignal all over the place, and then binding them to inputs, input in one part of the app can cause mutations and reruns in a totally different part of the app, in a way that's quite hard to trace. I'd still recommend passing component props with the least mutation necessary, i.e., defaulting to ReadSignal or Signal or impl Fn() -> T or whatever for props. But for a controlled input you need both the read and the write anyway, so this is just a much nicer syntax sugar.)
A note for anyone doing SSR: This has no effect on the server. (That's a prop, in a sense). It is the equivalent of prop:value=foo on:____=move |ev| foo.set(/* ... */). If you need a value rendered in the HTML, use value= along with this as previously.

(PS I'll go ahead and merge this assuming the CI passes, or I'll fix the CI if not. Or, if I fall asleep, Ben should feel free to merge :-) )

Thanks @maccesch !


Fixes README.md link to Plug Router

Small fix to Readme link to the Plug Router
It's currently not jumping to the right place as expected as there is a slightly outdated link url. This PR fixes it.

💜


chore: add the initial perf test setup codes

Description

This is the initial perf test setup codes for W&B's SDK.  You can read the README.md for instruction of setting it up.
This PR enable users to
-- build the performance test container
-- run performance tests against the log() function with scalers. There are 3 perf tests created so far.
-- capture metrics during load tests
-- push test results to W&B

[X] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?
This performance setup is tested locally and on a cloud host on GCP.

what do you think about using logger = logging.getLogger(...) python logger and just add handler that prints to the screen and to a file, instead of using the print function?


Jeremiah-Parrack | [Chore] Fix lint

'FlatButton' is deprecated and shouldn't be used. Use TextButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.25.0-8.1.pre. •

Thanks so much for providing this change 👍
If you could remove the change in ios files if not needed that would be great (or add the questionmark behind #include if that is new now)


WPA crashing-to-desktop as soon as it loads my plugin [SOLVED]

So, I got my first plugin authored, based off the msquic one (which was a great reference; you should have a wiki page linking open source examples like that).
WPA recognized the plugin when I did wpa.exe -addsearchdir c:\foo -listplugins, however, every time I tried to load my trace file via wpa.exe -addsearchdir c:\foo -i c:\foo\trace.xyz, it would just crash to the desktop with no error message or any form of feedback.
After a bit of trial and error, I ended up creating a junction in the WPA\CustomDataSource to my bin\Release directory, then loaded WPA via wpa.exe.  That at least didn't crash, at let me look at the Diagnostic Console, which indicated my plugin was definitely being loaded.
I then opened the c:\foo\trace.xyz file, and saw this:
Unable to process 'file:///C:/foo/trace.xyz': System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Diagnostics.Tracing.TraceEvent, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'Microsoft.Diagnostics.Tracing.TraceEvent, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at WpaSensorPlugin.SensorEventParser.ProcessEtwSource(ISourceDataProcessor`3 dataProcessor, IProgress`1 progress, CancellationToken cancellationToken)
   at WpaSensorPlugin.SensorEventParser.ProcessSource(ISourceDataProcessor`3 dataProcessor, ILogger logger, IProgress`1 progress, CancellationToken cancellationToken)
   at Microsoft.Performance.SDK.Runtime.Extensibility.SourceProcessingSession`3.ProcessSource(ILogger logger, IProgress`1 progress, CancellationToken cancellationToken)
   at Microsoft.Performance.SDK.Processing.CustomDataProcessorBaseWithSourceParser`3.ProcessAsyncCore(IProgress`1 progress, CancellationToken cancellationToken)
   at Microsoft.Performance.SDK.Processing.CustomDataProcessorBase.ProcessAsync(IProgress`1 progress, CancellationToken cancellationToken)
   at Microsoft.Performance.SDK.Runtime.CustomDataSourceExecutor.ExecuteAsync(CancellationToken cancellationToken)

Unable to process any data sources.

Ah!  After some more trial and error, I noticed that the commandline helper project I wrote (i.e. basically the same thing as the QuicEtw tool which just drives the pipeline outside of WPA) had the Microsoft.Diagnostic.Tracing.TraceEvent.dll file and a few others, so, I copied them manually into the plugin's bin\Release directory, and that worked, WPA successfully loaded my plugin and depicted my tables.
I'm not familiar enough with C#/NuGet to know if this is expected behavior or not, but I figured I'd capture it here anyway in case someone else runs into this.
Also, it'd be nice not to crash to desktop with no feedback in the first case :-)

Hi @tpn,
I'm glad you were able to get to the root of your issue. WPA is not actually crashing in this scenario - it survives failing to process a file 😄
What's happening is that WPA will close if it's been opened with a file passed in and fails to process anything. From WPA's perspective, it's been asked to open a file. If it cannot open the file, it has nothing to do, so it closes. Perhaps we can offer a way to redirect diagnostic console to assist in debugging.
With regards to a wiki page linking to msquic: we encourage any PRs that aid in documentation 😃. If you've come across resources that you find particularly useful, it would be great to compile them and submit a PR to augment the ./documentation folder.

Ah, ok, that explains the WPA behavior I'm seeing, thanks.  Re: Feedback Hub... I'd forgotten I could raise WPA-related things there, thanks for the reminder!

Ah, ok, that explains the WPA behavior I'm seeing, thanks. Re: Feedback Hub... I'd forgotten I could raise WPA-related things there, thanks for the reminder!

After some discussion we decided to take WPA questions here (as long as they involve interaction with the SDK in some way). I edited out the Feedback Hub part of my earlier response 😄


Update references to old repository

Updates build files to point to the new repository location under the envoyproxy org instead of lyft.

Looks like this is redundant with #161


Parameter validation for GCM

Based on #1643, this PR adds parameter validation for the GCM module.

@hanno-arm I have rebased the PR. Could you please re-reveiw it?

CI only failed in known-flaky timing test, so as good as a pass.

@hanno-arm @mpg The PR has been rebased against development.

PR #1643 has been merged, so removing the 'needs:preceding PR' label.
Reviewed, approved and passes CI, so marking as 'ready for merge'.


fix cors issue

With crossOrigin = 'Anonymous' it is working again for me. Also added a note to readme.
Maybe SoundCloud has fixed all their CORS headers? Or maybe only some of them?

Apparently crossOrigin = 'Anonymous' turns of TLS (https). The soundcloud play examples uses http, not https, could that be the reason it works?
Patch lgtm (':

:sparkles: wonderful, thanks! :sparkles:


Remove unsupported Python versions

In the 2.0.0 release of dot-js, the support for < Python3.8 was removed. Before this release, it was > Python 2.7 . This is the changed line.
As this service is built using a Python3.9 Docker image, removing < Python3.8 versions in the build action doesn't matter.

/lgtm


Add labels for host slave and option to run guest exclusively

@romankulikov up

Add labels to cloud host configuration

And how this is expected to work?

Add an option to run VMs exclusively

What if I want to run exactly two VMs on the node?

And how this is expected to work?
A label is configured for the host slave. A job can access that slave by the label.
What if I want to run exactly two VMs on the node?
Add a textbox for maximum VM count in config.jelly and a validator. Then check canProvisionAny() before provisioning.

    int vmCount = 0;
    for (final ParallelsDesktopVM vm : vms) {
        if (vm.isProvisioned()) {
            vmCount++;
        }
    }
    return vmCount < maxVMCount;
}```
Personally I see little practical sense in it. Probably, `provision()` should check that the total resources required by the multiple VMs to be provisioned are not greater that what the host has.

A label is configured for the host slave. A job can access that slave by the label.

So this is needed to use host slave as build on node (appropriate checkbox should be enabled)?

Personally I see little practical sense in it. Probably, provision() should check that the total resources required by the multiple VMs to be provisioned are not greater that what the host has.

Yes, this is want I want to implement.

So this is needed to use host slave as build on node (appropriate checkbox should be enabled)?

Exactly. However, this is not a full feature set required for using it as a regular node. Need to implement at least # of executers (it's hard-coded to "1" in the latest plugin). If you look at any node configuration in Jenkins, you'll see it's a bit different. UseAsBuilder is a partially implemented Availability feature. Therefore, useAsBuilder set to false doesn't restrict running jobs on the node. I still can just start the Jenkins client manually and build there (manual launch is controlled by the retention strategy). Also, node properties such as environment variables and tool locations might be useful.

Yes, this is want I want to implement.

Wow cool, thanks! I've removed my 'runExclusively' patch. The pull request is only labels implementation now.


temp folder required by SwagMigrationAssistant

SwagMigrationAssistant requires a _temp folder.
This is currently not configurable. An issue has been opened: https://issues.shopware.com/issues/MIG-1038.
In the meantime, we added this _temp folder as a shared mount.

should not be needed, as we are working on a fix for SwagMigrationAssistant


main.scss only includes base.scss, not the others

There are fonts, helpers and typography in basefolder and those three are not included in mainor anywhere in boilerplate.
If it is intentional then it should be noted in README.md.
Or is it just an oversight?

It is an error. Do you feel like providing a PR? :)

In a minute.

Merged, could be closed.


Unable to reference a property of a definition

What version of Ajv are you using? Does the issue happen if you use the latest version?
6.5.3
Ajv options object
const ajv = new Ajv({ allErrors: true, extendRefs: true, verbose: true });

JSON Schema to be Referenced
{
    "$id": "http://example.com/schemas/view.schema.json",
    "$ref": "#/definitions/view",
    "definitions": {
        "view": {
            "type": "object",
            "required": ["name", "label", "component"],
            "additionalProperties": false,
            "properties": {
                "name": {
                    "type": "string",
                    "description": "The name of this page",
                    "pattern": "^[a-zA-Z0-9]+$"
                }
            }
        }
    }
}

Referencing JSON Schema
{
    "$id": "http://example.com/schemas/theme.schema.json",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$ref": "#/definitions/theme",
    "definitions": {
        "theme": {
            "properties": {
                "layouts": {
                    "$ref": "#/definitions/themeLayout",
                    "minProperties": 1
                }
            },
            "additionalProperties": false
        },
        "themeLayout": {
            "type": "object",
            "propertyNames": {
                "pattern": "^[A-Za-z]+$"
            },
            "additionalProperties": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "view.schema.json#/definitions/view/name"
                    }
                },
                "additionalProperties": false
            }
        }
    }
}

Sample data
{
    "layouts": {
        "hero": {
            "view": "heroLayout"
        },
        "default": {
            "view": "headerAndFooter"
        },
    }
}

Validation result, data AFTER validation, error messages
/Users/tconn/dev/ui-metadata-schema/node_modules/ajv/lib/ajv.js:356
    throw e;
    ^
Error: can't resolve reference view.schema.json#/definitions/view/name from id http://example.com/schemas/theme.schema.json#

What results did you expect?
I should be able to reference the name property of the view, I can reference the view, just not view/name
Are you going to resolve the issue?
Happy to help

The reference should be view/properties/name.

hi @epoberezkin ,
var schema_3 = {
"$id": "http://aaaa.com/ssss/schema.json",
"type": "object",
"description": "An event generated by the participant interacting with an Activity.",
"properties": {
"time": {
"$ref": "#/components/schemas/Time",
"description": "The time when this event was created."
},
"datavalue": {
"description": "The duration before recording ended.",
"type": "integer",
"format": "int64"
},
"activity": {
"$ref": "#/components/schemas/Identification",
"description": "The activity that produced this activity event."
}
}
};
var defsSchema_3 = {
"$id": "http://aaaa.com/ssss/defs.json",
"definitions": {
"Time": { "type": "number"},
"Identification": { "type": "string"}
}
};
var validate_3 = ajv.addSchema(defsSchema_3)
.compile(schema_3);
i'm getting an error as below:
{
"error": "can't resolve reference #/components/schemas/Timefrom id http://aaaa.com/ssss/schema.json#"
}
Can anyone please check this and give me a solution?

sorry for slow response. If this is still a problem, please post a working code sample that shows the issue to runkit - I will have a look.


Is there an equivalent to the rclpy get_node_names() method in rclrs

in rclpy land you can get all the active nodes by running get_node_names(). Does rclrs have that utility implemented?
https://docs.ros2.org/foxy/api/rclpy/api/node.html

I actually just opened a PR, #234, that provides this functionality

@nnmm  I think we can close this and #123 now that #234 has closed, right?

@christopherjreid Definitely, thanks for reminding me.


Allow library users to supply their own word lists

Have a feature like standalone, which would ship the word lists even in the library, or use a user-provided one if that's desired. The binary crate would always be standalone.

Instead of some list, probably rather use a callback that takes a &str and returns a bool.

With the introduction of fst in f3434d6bcac9c44763d27929d6dde2f58a3f68d3 , word lists in the literal sense (&[&str]]) are an impossibility. The FSTs need to be built at compile time. However, a callback is still possible indeed.

No longer relevant or important, now that the crate went a different direction.


Suggestion

It would be cool to add a feature that allows you to type in a username and once you reach a certain mass that you decide it feeds the selected user. It will then repeat.

This would be considered cheating, and that's not what this bot is about.

Indeed, I'm not planning on added that in. It would be rather easy for you to just go in manual mode and feed yourself though.


OSX - gigantic mouse cursor.

Describe the issue
Unfortunately I don't have any logs to provide, but I'll try to explain the problem.
When I start a virtualized OSX guest (Sonoma or Sequoia), after logging in, the mouse cursor on the guest screen is giant.
When I move the mouse cursor out of the guest screen area, it's back to normal.
It seems to be related to the screen resolution (I'm using 2560 x 1440), because when I change the resolution or resize the guest window by dragging from the bottom right corner (first smaller and then back to larger), the mouse cursor returns to normal for a while, but when I move the mouse out of the guest screen and back to the guest screen, the mouse is giant again.
However, when I record a video of this phenomenon, the mouse cursor is normal while watching the video. So I had to take photos to show it.
Configuration

UTM Version: 4.5.4
macOS Version: Sonoma 14.7.1
Mac Chip: M2

Looks like impossible


Support autocomplete on host.fact.X

Figured this out & fixed in https://github.com/Fizzadar/pyinfra/commit/7fff439e4d7b2a7f34b7eba9357eb3b446a3641e!


"All versions" link impossible to select when latest version has long name

What are you trying to do?

I was attempting to find out what versions of com.google.guava:listenablefuture were available.  This is a new artifact and includes a special version 9999.0-empty-to-avoid-conflict-with-guava, plus a version 1.0.  No matter how far I stretch my window, I can't get the "(NN)" link to show.

Workaround: append &core=gav.

How could we solve this issue? (Not knowing is okay!)

Have the all-versions link separate?

@briandealwis thank you for logging this and my apologies for the delayed reply. We have corrected and are pushing this to production in the next little bit.
It will now look like :


Occasional random message that smoke sensor isn't supported

Describe The Bug:
Occasional random message that smoke sensor isn't supported
To Reproduce:
Restart plug-in and wait.  This seems to have started since the latest updates made by Synology to their nodejs packages.  I don't recall seeing it before.
Expected behavior:

Logs:

[1/3/2024, 11:32:48 AM] [HB Supervisor] OS: Linux 4.4.302+ x64
[1/3/2024, 11:32:48 AM] [HB Supervisor] Node.js v20.9.0<EMAIL_ADDRESS>[1/3/2024, 11:32:48 AM] [HB Supervisor] Homebridge Path: /volume1/homebridge/node_modules/homebridge/bin/homebridge
[1/3/2024, 11:32:48 AM] [HB Supervisor] UI Path: /var/packages/homebridge/target/app/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[1/3/2024, 11:32:50 AM] [Homebridge UI] Homebridge UI v4.54.2 is listening on :: port 8581
[1/3/2024, 11:32:50 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /volume1/homebridge/node_modules --strict-plugin-resolution
[1/3/2024, 11:32:50 AM] [HB Supervisor] Started Homebridge v1.7.0 with PID: 7147
[1/3/2024, 11:32:51 AM] Loaded config.json with 0 accessories and 5 platforms.
[1/3/2024, 11:32:51 AM] Loaded 0 cached accessories from cachedAccessories.
[1/3/2024, 11:32:51 AM] ---
[1/3/2024, 11:32:52 AM] Loaded plugin<EMAIL_ADDRESS>[1/3/2024, 11:32:52 AM] Registering platform 'homebridge-yolink.YoLink'
[1/3/2024, 11:32:52 AM] ---
[1/3/2024, 11:32:52 AM] Loading x platforms...
[1/3/2024, 11:32:52 AM] [YoLink] Initializing YoLink platform...
[1/3/2024, 11:32:52 AM] [YoLink] Initializing child bridge 0E:22:68:53:7B:5C
[1/3/2024, 11:32:52 AM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge E3E1) is running on port 51529.
[1/3/2024, 11:32:54 AM] [YoLink] Launched child bridge with PID 7166
[1/3/2024, 11:32:54 AM] [YoLink] Loaded homebridge-yolink v1.5.2 child bridge successfully
[1/3/2024, 11:32:54 AM] [YoLink] YoLink plugin for HomeBridge version 1.5.2 (c) 2022-2023 David A. Kerr
Please report all bugs at https://github.com/dkerr64/homebridge-yolink/issues
[1/3/2024, 11:32:54 AM] [YoLink] Login to YoLink API with credentials from config
[1/3/2024, 11:32:54 AM] Homebridge v1.7.0 (HAP v0.11.1) (YoLink) is running on port 30870.
[1/3/2024, 11:32:55 AM] [YoLink] Starting interval timer to refresh accessToken every 6480 seconds
[1/3/2024, 11:32:55 AM] [YoLink] [YS7A02-UC (d88b4c0100061adc) Downstairs Smoke Alarm] Hide Carbon Monoxide service because config.[d88b4c0100061adc].hide is set to "co"
[1/3/2024, 11:32:55 AM] [YoLink] [YS8004-UC (d88b4c0100079e9c) Pool Temperature] Hide Hydrometer service because config.[d88b4c0100079e9c].hide is set to "hydro"
[1/3/2024, 11:32:55 AM] [YoLink] [YS7A02-UC (d88b4c0100061a08) Upstairs Smoke Alarm] Hide Carbon Monoxide service because config.[d88b4c0100061a08].hide is set to "co"
[1/3/2024, 11:32:55 AM] [YoLink] [YS1603-UC (d88b4c160303664a) YoLink Hub] Not registering device as config 'hide=true'
[1/3/2024, 11:32:55 AM] [YoLink] Create MQTT client to connect to YoLink message service
[1/3/2024, 11:32:55 AM] [YoLink] Device initialized: YS7A02-UC (d88b4c0100061adc) Downstairs Smoke Alarm
[1/3/2024, 11:32:55 AM] [YoLink] Device initialized: YS7906-UC (d88b4c0100084e49) Hall Bath
[1/3/2024, 11:32:55 AM] [YoLink] MQTT subscribed: yl-home/b34dd4fd014b47879fa4b1051fca6440/+/report
[1/3/2024, 11:32:56 AM] [YoLink] Device initialized: YS7906-UC (d88b4c0100084d5d) Heat Pump
[1/3/2024, 11:32:56 AM] [YoLink] Device initialized: YS7906-UC (d88b4c0100084ceb) Main Shutoff
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS5003-UC (d88b4c0100081e51) Main Water Valve
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS7906-UC (d88b4c0100084ce8) Master Bath
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS8004-UC (d88b4c0100079e9c) Pool Temperature
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS7906-UC (d88b4c010008519d) Refrigerator
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS7906-UC (d88b4c0100084d17) Sink
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS7A02-UC (d88b4c0100061a08) Upstairs Smoke Alarm
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS7906-UC (d88b4c0100085195) Washer
[1/3/2024, 11:32:58 AM] [YoLink] Device initialized: YS3604-UC (d88b4c01000687cb) YoLink Fob
[1/3/2024, 11:32:58 AM] [YoLink] All YoLink devices initialized
[1/3/2024, 9:47:44 PM] [YoLink] MQTT: SmartRemoter.StatusChange for device YS3604-UC (d88b4c01000687cb) YoLink Fob button 1 double press event (time between presses = 687ms, threshold = 800ms)
[1/4/2024, 4:17:38 AM] [YoLink] MQTT: COSmokeSensor.StatusChange for device YS7A02-UC (d88b4c0100061adc) Downstairs Smoke Alarm not supported.
Please report all bugs at https://github.com/dkerr64/homebridge-yolink/issues
{
  "event": "COSmokeSensor.StatusChange",
  "time":<PHONE_NUMBER>247,
  "msgid": "1704359858246",
  "data": {
    "state": {
      "unexpected": false,
      "sLowBattery": false,
      "smokeAlarm": false,
      "gasAlarm": false,
      "highTempAlarm": false,
      "silence": false
    },
    "metadata": {
      "inspect": false
    },
    "battery": 4,
    "interval": 120,
    "version": "0202",
    "devTemperature": 19,
    "tz": 0,
    "sche": {
      "type": "disable",
      "day": 0,
      "time": "0:0"
    },
    "loraInfo": {
      "netId": "010205",
      "signal": -41,
      "gatewayId": "d88b4c160303664a",
      "gateways": 1
    },
    "stateChangedAt": {
      "gasAlarm":<PHONE_NUMBER>245,
      "smokeAlarm":<PHONE_NUMBER>245,
      "unexpected":<PHONE_NUMBER>245
    }
  },
  "deviceId": "d88b4c0100061adc"
}
[1/4/2024, 4:33:47 AM] [YoLink] MQTT: COSmokeSensor.StatusChange for device YS7A02-UC (d88b4c0100061a08) Upstairs Smoke Alarm not supported.
Please report all bugs at https://github.com/dkerr64/homebridge-yolink/issues
{
  "event": "COSmokeSensor.StatusChange",
  "time":<PHONE_NUMBER>159,
  "msgid": "1704360827158",
  "data": {
    "state": {
      "unexpected": false,
      "sLowBattery": false,
      "smokeAlarm": false,
      "gasAlarm": false,
      "highTempAlarm": false,
      "silence": false
    },
    "metadata": {
      "inspect": false
    },
    "battery": 4,
    "interval": 120,
    "version": "0202",
    "devTemperature": 19,
    "tz": 0,
    "sche": {
      "type": "disable",
      "day": 0,
      "time": "0:0"
    },
    "loraInfo": {
      "netId": "010205",
      "signal": -33,
      "gatewayId": "d88b4c160303664a",
      "gateways": 1
    },
    "stateChangedAt": {
      "gasAlarm":<PHONE_NUMBER>158,
      "smokeAlarm":<PHONE_NUMBER>158,
      "unexpected":<PHONE_NUMBER>158
    }
  },
  "deviceId": "d88b4c0100061a08"
}

Plugin Config:
{
    "name": "YoLink",
    "platform": "YoLink",
    "tokenURL": "https://api.yosmart.com/open/yolink/token",
    "apiURL": "https://api.yosmart.com/open/yolink/v2/api",
    "mqttPort": 8003,
    "userAccessId": "xxxxxxxxx",
    "secretKey": "xxxxxxxxx",
    "refreshAfter": 14500,
    "verboseLog": false,
    "liteLog": true,
    "allDevices": true,
    "excludeTypes": [
        "Hub",
        "SpeakerHub"
    ],
    "deviceTemperatures": false,
    "enableExperimental": false,
    "devices": [
        {
            "deviceId": "d88b4c0100061a08",
            "config": {
                "hide": "co"
            }
        },
        {
            "deviceId": "d88b4c0100061adc",
            "config": {
                "hide": "co"
            }
        },
        {
            "deviceId": "d88b4c0100079e9c",
            "config": {
                "hide": "hydro"
            }
        }
    ],
    "_bridge": {
        "username": "0E:22:68:53:7B:5C",
        "port": 30870
    }
}

Screenshots:

Environment:

Plugin Version: 1.5.2
Homebridge Version: 1.7.0
Node.js Version: 20.9.0
NPM Version: 10.2.3
Operating System: Synology DSM 7.2.1 Update 3 Docker

Thank you for reporting this.  Looks like I was not expecting a COSmokeSensor.StatusChange event and I need to handle it.
It is an easy fix and it will be in next release.  Give me a couple of days please.
David.

This should be fixed now.


syncing stopped working

@wei pointed out that this repo is no longer automatically syncing docs changes from the probot repo.
Looking at the commit activity, it appears there was a daily sync that stopped working 18 days ago:

Here's the output from the failing build:
===> Committing and pushing changes
[detached HEAD 397bf0f] Sync data
 Author: Brandon Keepers<EMAIL_ADDRESS> 52 files changed, 126 insertions(+), 125 deletions(-)
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access<EMAIL_ADDRESS>The requested URL returned error: 403

https://travis-ci.org/probot/probot.github.io/builds/546994859
Anybody know how this is set up?

Looks like it's done by this script: https://github.com/probot/probot.github.io/blob/master/script/remote-sync

There's a cron job on Travis that runs daily:

In .travis.yml
script: "./script/cibuild"

In ./script/cibuild:
#!/bin/sh

case "$TRAVIS_EVENT_TYPE" in
  cron ) script/remote-sync;;
  *    ) script/test;;
esac

I'm going to try replacing the GH_TOKEN env var in Travis.

Ok I create a new PAT with Repo scope and added it. The next cron job is schedule to run in about 5 hours. 🤞

So... it worked, but the build is failing:
https://github.com/probot/probot.github.io/commit/73ed8c048007ff2078ccacb504a08a97fa97fef6
https://travis-ci.org/probot/probot.github.io/builds/547469899
It's curious to see that the commit is still attributed to @bkeepers, even though the cron job is now using a token from my account. 🤔

If it makes you feel any better, it's been failing for a while https://travis-ci.org/probot/probot.github.io/builds  : D
Also,
https://github.com/probot/probot.github.io/blob/f2034e1e6884157a372aa1e4cbf98e9c91f315d3/.travis.yml#L14-L15

It just means some of the apps are no longer functional and needs to be removed maybe?


the options said FHIR 4.0.1, but as noted above, it seems it is using FHIR 4.6.0 (or some other R5)

Carl Anderson: Can I get some help interpreting this validation error?
Here's what I'm validating:
{
"resourceType": "Bundle",
"id": "scratchpad-read-all-example",
"type": "collection",
"entry": [
{
"fullUrl": "http://example.com/ServiceRequest/1",
"resource": {
"resourceType": "ServiceRequest",
"id": "1",
"status": "draft",
"intent": "proposal",
"subject": {
"reference": "http://example.com/Patient/123"
}
}
},
{
"fullUrl": "http://example.com/MedicationRequest/1",
"resource": {
"resourceType": "MedicationRequest",
"id": "1",
"status": "draft",
"intent": "proposal",
"medication": {
"reference": "http://example.com/Medication/123"
},
"subject": {
"reference": "http://example.com/Patient/123"
}
}
}
]
}
The validation error is in regard to the medication reference. The full error is:
Error Line: 27
The property reference must be an Object, not a primitive property (at Bundle.entry[1].resource.medication.reference)
I assume this is a straightforward problem, but I'm not super familiar with using the validator yet.
Thanks!
Carl Anderson: So, I was able to silence the validator by changing my medication reference to look like this:
        "medication": {
          "reference": {
            "reference": "http://example.com/Medication/123"
          }
        },

But... is this really correct?

Chris Moesel: @Mark Iantorno -- when I tried it, the options said FHIR 4.0.1, but as noted above, it seems it is using FHIR 4.6.0 (or some other R5).
Chris Moesel: @Carl Anderson -- if you try the Inferno FHIR Validator it gives the results you would expect for validating against FHIR 4.0.1 (i.e., it allows medicationReference).

Resolved as part of https://github.com/hapifhir/org.hl7.fhir.validator-wrapper/commit/12704169c2407541325344da5d75de6da7525ec3


docs: ensure notFoundEnhancer docs are up to date with API

ensures notFoundEnhancer docs are up to date with API as the example used outdated values
list docs pages in the side nav in the same order as the index cards
use same page names/titles as index cards

:tada: This PR is included in version 1.9.5 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Does not support sharedElementTransition

I am using a shared element transition to slide a picture from one fragment to another. In the first fragment it is in the top left corner of the screen, and the second it is full screen. When I do, the image just shrinks into the top left corner and disappears. Then, when I touch the screen, it suddenly appears full screen.
This works just fine when both images are normal ImageViews, but it fails if either or both are TouchImageView.

@TrevinAvery If you're hoping to debug it yourself, you could take a look at the zoom level after you drag it. Perhaps that's somehow being set to 0, and that's why the image is shrinking and disappearing.


how can i Iterate over realm List

I am getting a server response which i am converting into List , it is basically array of users data.
Now I have another array of tuples which are having name and age, Now I need to filter the server response based on this array of tuples.
Can any body help me how can I iterate or use filter method on List so that I will get filtered List and finally I can save it in realm.

Hi @santhoshs5. Can you please share a code snippet that demonstrates what approach you’ve tried, and how the result you get differs from what you expect? Without that information the best I can do is to refer you to the filter method on Swift’s Collection protocol (which Realm’s collections conform to).

@santhoshs5 do you still need help or can we close this issue?

Its fixed.Thanks.


Remove package.json script dependencies from workflow files

Depending on the npm script within the release builds limited our ability to configure the production ("prod.yaml" ) and konductor pre-edge ("pre-edge-deploy.yaml" ) functional test configurations.

Removed "test:functional:ci:prod" from package.json.
Pass saucelabs configuration env "SAUCE_CAPABILITIES_OVERRIDES_PATH" and "ALLOY_PROD_VERSION" from the workflow.
Removed "getVersion.js" script decency to retrieve version (already committed).  Replaced it with "martinbeentjes/npm-get-version-action@master" to retrieve running version from the package.json.
Formatted tabs space from workflow files.
Disabled "C205529" in v2.4.0, breaking test runs, fixed in v2.5.0.

Description

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (non-breaking change which does not add functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA or I'm an Adobe employee.
[ ] I have made any necessary test changes and all tests pass.
[ ] I have run the Sandbox successfully.

@Aaronius re-enabled C205529 on 2.4.0 and ran the workflows again, they're passing. Going to merge the PR


HAWQ-153. Remove expired code using sigar library in resource manager

The fix looks good me. +1

+1


Env variables endpoints

Currently, the endpoints for cokapi are burned into the code, this changes allow the containerized application to have an option of configuration to specify where is the cokapi endpoint.

Tested on gcloud machine


Current nuget package is older than the previous version

According to nuget.org, this package is at version 1.0.2, however version 1.0.1 was published later, and is more reflective of the current master branch, in particular Profile7 support.
Could a new package version be released to prevent future confusion.

a new package version was released


When the Chinese input box shift

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T17:15:57.756Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

react-native-react-redux
EQu
1.1.0

tslint
eg2
0.17.0

auto-close-tag
for
0.4.3

auto-rename-tag
for
0.0.14

path-autocomplete
ion
1.6.1

debugger-for-chrome
msj
3.1.8

ayu
tea
0.6.0

(4 theme extensions excluded)

Steps to Reproduce:

Reproduces without extensions: Yes/No

Duplicate of #356.
This should be fixed in the next release. Or you can try out the Insiders version.

Close as fixed.


Simplification of fit configuration module.

This PR replaces QScriptOption with a new simpler widget.

Looks good. Some minor things:
[] - Initialize "internal background" to 2 and 5000 instead of 1 and 10000.
[] - When the user has configured the "internal background" via the interface, the estimation should reflect the user parameters and not the default.
[] - Somehow there is a CIRITICAL error calculating the covariance matrix when using the internal background as background.

Where the interface says curvature it should say width.
The curvature factor should always be one.
An additional parameter for a smoothing width is needed for a complete characterization

Unit test needs to be updated (testFitConfig.py line 77). The assert is now to be made with a value of 2 and not 1.

This PR closes #249

The estimation of the step is wrong. You should not remove the background. Just calculate the derivative and pass that to the estimate function for the Gaussian functions.


PSA Version 1.0

This PR sets the version for the PSA to v1.0.

pushed and published: https://p4.org/specs/

Huzzah @jafinger and @cc10512!
On Thu, Mar 1, 2018 at 7:44 PM, Calin Cascaval<EMAIL_ADDRESS>wrote:

pushed and published: https://p4.org/specs/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/p4lang/p4-spec/pull/591#issuecomment-369781846, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABwi0rxrWZqqpuutUS1bbpniHDx-m_1mks5taJXzgaJpZM4SZB9p
.

@cc10512 Thank you, and congrats.  The HTML and PDF links for PSA version 1.0 are giving me 'file not found' errors right now.  Not sure if that is a problem on my end or on the server.

Can you please check again?

Works for me now.  Thanks.


Create plan for translation flow

We need a plan how/when messages are translated and how translations are stored.

https://nextcloud.tuerantuer.org/index.php/f/6509896


installation problem

I installed latest version tinycolor and imported(included) this in my app. All worked fine.
then I was installing md-color-picker and tried include md-color-picker, but got the error. 'tinycolor is not defined'. I am tried download tinycolor with bower and npm. nothing changed...

I am using Webpack to bundle them together and a bundle.
require("expose?tinycolor!tinycolor2");
require('md-color-picker');

You will notice that I am using the expose loader to expose tinycolor to the global scope. If you don't expose it you get that issue. Also if you are loading tinycolor as a separate file you get the same issue. You have to import tinycolor first. I figured that tiny color is a dependency so I bundled it together in one file.
my bundle in webpack looks something like.
entry: {
        'mconsent.app': [path.join(APP, 'app.module.js')],
        //"app.min": path.join(APP, 'app.module.js'),
        'lodash.vendor': [path.resolve(node_modules_dir, 'lodash', 'lodash.js')],
        'md-color-picker': [ path.join(APP, 'color-picker.js') ]
    },

window.tinycolor = require('tinycolor'); worked just fine for me

I have the same problem, none of the solutions above worked :(

have the same problem, any solution?

Try using webpack.ProvidePlugin({tinycolor: "tinycolor"})


Support for Java 17?

SpringBoot 3.0 was released these days making the switch from Java 11 to Java 17. Biggest impact might be all the javax-libraries which are now moved to jakarta.
Any plans when this project will start to support Java 17?

Our current plan is to address Java 17 in a 6.x release, once 6.0.0 is released along with MarkLogic 11. Depending on the issues / incompatibilities we run into, that 6.x release may happen fairly soon after 6.0.0 is released. We are also hoping that it's possible to continue supporting Java 8 and Java 11 at the same time, but we haven't done enough analysis and testing yet to know if that's feasible - we're presuming it will be heavily influenced by any issues with Java Client dependencies.

Also @ralfhergert - if this is in support of a particular customer (or customers), can you file a support ticket that identifies those customers? We have such a ticket open already, this would just be a private way to communicate who those customers are so that we know who's most interested in this.

@rjrudin Sure, I'll create a support ticket.

@ralfhergert  You can find the instructions now in the README on our develop branch - https://github.com/marklogic/java-client-api/blob/develop/README.md#including-jaxb-support . If you're able to try this out, please let me know. The only reason I can't see this working is if a javax.xml.bind implementation of JAXB does not work on Java 17, but at least the glassfish implementation seems to perform just fine (all of the Java Client tests, which includes dozens of tests using JAXB, pass on Java 17 with the glassfish implementation).

@rjrudin In #1471 you may want to use jakarta.xml.bind:jakarta.xml.bind-api:2.3.3 instead of javax.xml.bind:jaxb-api:2.3.1 to be more future proof, since javax.xml.bind:jaxb-api is deprecated and no longer maintained (since 2018).
In fact JAXB has been moved into the Eclipse Jakarta project. Thus classes in the package javax.xml.bind (like javax.xml.bind.JAXBContext) have been moved into the package jakarta.xml.bind in 2020 (with release of JakartaEE9).
See: https://github.com/eclipse-ee4j/jakartaee-platform/issues/133

Thanks @ralfhergert - yes, our plan is to upgrade the Java Client soon to depend on the jakarta library instead of the deprecated javax library (we've done a prototype of that and it appears to be a straightforward upgrade). Until then, our testing has shown that the javax library functions correctly on Java 17 and thus JAXB support within the Java Client functions correctly as well on Java 8, 11, and 17. FWIW, we tested it as well on an implementation of Java 19 and all tests passed there too. So that's good news in the short term, but yes - we'll be upgrading to jakarta soon, most likely in the early 6.x timeframe.

Going to close this ticket as the README now describes how to use the Java Client with JAXB on Java 17. Switching to JAXB 3 or 4 makes sense at some point in the future, but we'll track that separately.


CPU high occupancy

When I updated IntelliSense.
CPU: i5-5300U
Hard Disk: Samsung SSD

This is by design - analysing Python code is a difficult task that runs for a while but saves the result. Once it has completed CPU will return to normal.
You also appear to have a system scan running, which is the first two items. They are unrelated to Visual Studio.


require('safe-buffer').Buffer is undefined

Hi, iam trying to use iconv-lite library in my ionic5 app, but when i tried to encode some string i get this error:
core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'isEncoding' of undefined TypeError: Cannot read property 'isEncoding' of undefined at Object../node_modules/string_decoder/lib/string_decoder.js (string_decoder.js:29) at __webpack_require__ (bootstrap:84) at Object../node_modules/iconv-lite/encodings/internal.js (internal.js:49) at __webpack_require__ (bootstrap:84) at Object../node_modules/iconv-lite/encodings/index.js (index.js:6) at __webpack_require__ (bootstrap:84) at Object.getCodec (index.js:65) at Object.getEncoder (index.js:117) at Object.encode (index.js:22) at PrintService.testEncode (print.service.ts:26) at resolvePromise (zone-evergreen.js:797) at zone-evergreen.js:862 at ZoneDelegate.invokeTask (zone-evergreen.js:391) at Object.onInvokeTask (core.js:39680) at ZoneDelegate.invokeTask (zone-evergreen.js:390) at Zone.runTask (zone-evergreen.js:168) at drainMicroTaskQueue (zone-evergreen.js:559) at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:469) at invokeTask (zone-evergreen.js:1603) at HTMLElement.globalZoneAwareCallback (zone-evergreen.js:1629)
This looks like a problem with unknown encoding, but i call it correctly:
iconv.encode('test','cp852')
It seems that require('safe-buffer').Buffer is undefined
Any ideas why this happens? Iam using ionic 5 with angular 8.

Perhaps your environment is not making Buffer available?
I'm closing this issue since there's no bug to fix here, but feel free to continue discussion! ✨


Extending functionality

Geya, so been recently digging through the code, as you could realise with the PR, and been trying to extend the functionality of this package a bit. Right now what I'm trying to do is to get users MediaListCollection with
query {
  MediaListCollection(userId: 165049, type: ANIME) {
    lists {
      name
      isCustomList
      status
    }
  }
}

So i tried doing (based on #GetUserEntryCollectionAsync) this
//AniClient.User.cs
public async Task<MediaListCollection[]> GetUserMediaListCollection(int userId, MediaType type)
    {
        var selections = new GqlSelection("MediaListCollection", typeof(MediaListCollection).ToSelections(), new GqlParameter[]
        {
            new("userId", userId),
            new("type", type),
        });

        var response = await PostRequestAsync(selections);
        return response["MediaListCollection"].ToObject<MediaListCollection[]>();
    }
    //MediaListCollection
public class MediaListCollection
{
    [JsonProperty("lists")] public MediaList[] Lists;
}

//MediaList
public class MediaList
{
    [JsonProperty("name")] public string Name { get; private set; }
    [JsonProperty("isCustomList")] public string IsCustom{ get; private set; }
    [JsonProperty("status")] public MediaEntryStatus? Status{ get; private set; }
}

Error that I'm getting right now: `Field "MediaListCollection" of type "MediaListCollection" must have a sub selection.`
Thanks in advance

The issue should be fixed by making your Lists field into a property.
public class MediaListCollection
{
    [JsonProperty("lists")] public MediaList[] Lists { get; private set; }
}

This is regarding to how sub selections inside a class are parsed. From this code, you can see sub selections are selected by only two types, fields and properties. In your case, Lists was already a field, however in this code, there is a rule where only non-public (private) fields are identified whereas public fields are ignored.
Hope this solves your issue.

Thanks for help and sorry for late response.
I'm closing this issue as I've done what i needed to do thanks to your help!


Hi, How to do the search selection (eg Search department)

Can you show the microflow for this ? Thanks a lot if you can help

Hi,
Please see this section of the read-me: https://github.com/bsgriggs/mendix-advanced-pagination?tab=readme-ov-file#create-the-pagination-module
You need the ACT_Pagination_Search microflow to set the page back to page 1 and trigger a refresh


Unable to use 'dartdocgen --serve .' because of IPv6 on Windows

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Generate docs on windows for a project using:
C:[...]\dart\dart-sdk\bin\dartdocgen.bat --no-include-sdk --include-private --introduction=README.md --serve .
Process errors out at the end.

What is the expected output? What do you see instead?
I expect the documentation to be available at localhost:8080
What version of the product are you using?
Latest dev version
On what operating system?
Windows 7
Please provide any additional information below.
When compiling I get the following warnings:
warning line 9, column 3 of web\index.html: "platform.js" has been renamed to "webcomponents.js". See http://goo.gl/5HPeuP#polymer_46 for details.
  <script src="packages/web_components/platform.js"></script>
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning line 10, column 3 of web\index.html: No need to include "dart_support.js" by hand anymore. See http://goo.gl/5HPeuP#polymer_43 for details.
  <script src="packages/web_components/dart_support.js"></script>
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Docs are available at W:\git\webrtc_utils\dartdoc-viewer\client\out\web
Unhandled exception:
Uncaught Error: SocketException: Failed to create server socket (OS Error: Failed to start accept), address = ::, port = 8080
Stack Trace:
#0      _NativeSocket.bind.<anonymous closure> (dart:io-patch/socket_patch.dart:500)
#1      _RootZone.runUnary (dart:async/zone.dart:1155)
#2      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:484)
#3      _Future._propagateToListeners (dart:async/future_impl.dart:567)
#4      _Future._completeWithValue (dart:async/future_impl.dart:358)
#5      _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:412)
#6      _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
#7      _asyncRunCallback (dart:async/schedule_microtask.dart:48)
#8      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:143)
#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:886)
#1      _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
#2      _asyncRunCallback (dart:async/schedule_microtask.dart:48)
#3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:143)

Thanks for the report. However, we don't plan to address this issue with dartdocgen. New dartdoc tool coming online: https://github.com/dart-lang/dartdoc


Container Fails to Serialize and Rehydrate Multiple Times

Work Item
Repro test add in #7361 . This scenario should be fully supported.

@wes-carlson do you see this in your blob tests? we should be validating the same scenario with blobs as well.


add axon-server-plugin-api

Feature Description
I would like to have the latest version of the server plugin api in this BOM as well
<!-- https://mvnrepository.com/artifact/io.axoniq/axonserver-plugin-api -->
<dependency>
    <groupId>io.axoniq</groupId>
    <artifactId>axonserver-plugin-api</artifactId>
    <version>4.5</version>
</dependency>

Great suggestions @jangalinski! Just resolved this issue, which will make it a part of axon-bom 4.5.3


BANG operator? $fn mashups?

Could we support something like this?
{ fruit: { '!$in': ['lemon'] } }

The current equivalent would be:
{ fruit: { '$nin': ['lemon'] } }

The maybe "advantage" of a separate bang operator is that it could be used at will without the requirement of n* function variants. How useful is this? Seems dubious. Plus we actually introduce syntax that now requires keys to be wrapped in quotes. This introduces inconsistency, reduces readability, harder to type; big losses!
Another thought is instead of ! allowing combinations of $fn like so:
{ fruit: { $not$in: ['lemon'] } }

This avoids the quotes problem but how scalable is such a system? Beyond this use-case what would composite $ mean? This seems better than the above idea, but still dubious.

Oh, regarding the current equivalent of the latter idea (and for that matter the former too):
{ fruit: { $not { $in: ['lemon'] } } }

So remember, actually, that, there is a $not function that negates whatever it wraps. So this issue about a way to combine it without the burden of wrapping whilst not being adhoc (e.g. the idea of combining would need to be generic enough for other kinds of mashups)

First thing that pops into my head is that if we support !, why not all other relational operators <, >, == as well? Kind of seems like a slippery slope. As a user i'd assume that if ! is available then I would want to use "like" relational operators. Just a thought.
At the moment I do like the current proposed implementation the best out all the ones you've mentioned
 { cat: { $nin : ['box'] } } }
Also my very first feeling on combining functions is that we'd be getting into lexical analysis/compiler design to make that direction really robust. Seems really fun to explore :sunglasses:, though it could be a longer term vision / project for this lib.

First thing that pops into my head is that if we support !, why not all other relational operators <, >, == as well? Kind of seems like a slippery slope. As a user i'd assume that if ! is available then I would want to use "like" relational operators. Just a thought.

Good, totally agree! Lets consider that direction closed...

At the moment I do like the current proposed implementation the best out all the ones you've mentioned
{ cat: { $nin : ['box'] } } }

Yeah its not too bad but there are few maybe "issues":

Requires the lib authors to know this n* prefix convention and provide one for each $fn
While n* is quite handy once its understood and seen to be consistent for different $fns, its actually obscure for the new user, not unlike gte, lt, etc is fine once memorized but a bit annoying at first.

Of course that's why we have this:
{ fruit: { $not { $in: ['lemon'] } } }

Which users can choose, and then opt for n* over time as they feel comfortable.
Which, new-feature-wise, leaves only this:
{ fruit: { $not$in: ['lemon'] } }

Which apparently is literally just the ability to omit { and }. Value-wise this feature is looking pretty feeble.

Also my very first feeling on combining functions is that we'd be getting into lexical analysis/compiler design to make that direction really robust

Yeah more or less! Mashups could just desugar into the left-most $fn wrapping each successive $fn in the $fn key... But outside of $not I haven't thought about the use-cases even.

`$cgte$mod
$xor$in
??? haha

Also to be fair its not practical to provide n* prefix versions of each $fn just because it gets silly for already-abbreviated things:
$ncgte

So the idea of being able to do either:
$not: { $cgte: ... }

# or
$not$cgte

Closing for now.


Added feature count determination

Current coverage is 73.46% (diff: 0.00%)

Merging #249 into develop will decrease coverage by 0.02%

@@            develop       #249   diff @@
==========================================
  Files            22         22
  Lines          3334       3335     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2450       2450
- Misses          884        885     +1
  Partials          0          0

Powered by Codecov. Last update ebff00e...a62f9e5


Fix 1e7 in random.randint

This PR fixed issue in Python 3.12, which randrange will throw an exception if the input is not an int.
The bug was originally reported in downstream repo fish-speech:
https://github.com/fishaudio/fish-speech/issues/215#issuecomment-2115614074

oh nice! residual FSQ is being used 💯


fetcher: resume where stopped

The fetching task always starts with the first repository in the database. It needs to be able to resume from the last processed repository.
I see 2 ways of doing that, a "manual" and an "automatic":

provide an option in the configuration file to set a 'since_repository_id' parameter
automatically write to a file the id of the last processed repository

I vote for the "automatic" one. IMHO it's more convenient than setting manually the last ID every time we need to restart the fetcher.

Yes, it is more convenient. The only use-case I see where that would be a problem for the user is if he actually wants to start from the start over again. I guess that in this unusual case, he could just remove the file then.

For that specific use case, we can add an option to crawld. Something like "-r" for resume.


Added event subscription approach to get block commit status instead …

Added event subscription approach to get block commit status instead of rest get batch status query.
Signed-off-by: Ramakrishna Srinivasamurthy<EMAIL_ADDRESS>

@haojun @feihujiang - Please review changes for event subscription approach to get the block commit status instead of commit status query using rest-api.

@jiangyaoguo @panyu4

@jiangyaoguo  @panyu4 @haojun  I have some improvements to event subscription code changes. I am doing one time event subscription in init() method and handling event every time it got the event. Please review changes.

@feihujiang  @haojun   - Please review this PR


Inconsistent behaviour in recent library upgrade.

We recently upgraded our dependencies like follows:
    "@nomiclabs/hardhat-ethers": "^2.2.1",
    "@nomiclabs/hardhat-waffle": "^2.0.0",
    "@typechain/hardhat": "^6.1.4",

to
    "@nomiclabs/hardhat-ethers": "^2.2.2",
    "@nomiclabs/hardhat-waffle": "^2.0.5",
    "@typechain/hardhat": "^6.1.5",

We use custom errors extensively in our Solidity code. For example:
...
revert ICustomErrors.RequiresMarketplaceActiveMembership(params.governor);
...

Before, we were able to match this nicely in our tests, such as:
await expect(subject).to.be
  .revertedWith(`RequiresMarketplaceActiveMembership("${governor.address}")`);

This was particularly useful as some methods might revert with the same custom error (in this example RequiresMarketplaceActiveMembership but with different parameters, based on what went wrong), and we were able to be very thorough in our tests, making them very resilient and not just "coverage for the sake of it".
It seems that someone thought it could be a good idea to strip anything in parentheses of revert messages, so now we can only match such as:
await expect(subject).to.be
  .revertedWith('RequiresMarketplaceActiveMembership');

If you're using hardhat you can check parameters using withArgs matcher.
https://github.com/TrueFiEng/Waffle/blob/0915e7274093f2a1fb1b2a8be0521470a9f8c2f4/waffle-hardhat/test/reverted.test.ts#L62-L69


Show Slidr on larger screens and make it a slider on mobile?

Hey.
I actually like side-panel menus and would like to have one that would stay permanently visible on a desktop, but would gladly fold away on a mobile device / smaller viewport. Is this possible with slidr?
Kind regards Ingwie.

Hi Ingwie,
I was having the same issue, and solved by using media queries to control the display of Sidr.
Please adapt for your use.
/* for mobile */
@media screen and (max-width: 48.24em) {
	/*sidr menu*/
	.sidr {
		display: none;
		position: absolute;
		position: fixed;
		top: 0px;
		height: 100%;
		z-index: 99999;
		width: 260px;
		overflow-x: none;
		overflow-y: auto;
	}
	.sidr.right {
		left: auto;
		right: -260px
	}
	.sidr.left {
		left: -260px;
		right: auto
	}
}

/* from tablets up, reset sidr */

@media screen and (min-width: 48.25em) {
	.sidr {
		display: block;
		position: inherit;
		top: inherit;
		height: inherit;
		width: inherit; }
	.sidr.right {
		left: inherit;
		right: inherit; }
	.sidr.left {
		left: inherit;
		right: inherit; }
	body {
		width: 100% !important;
		left: inherit !important;
		right: inherit !important;
		position: inherit !important; }
}

Hope it helps.

Thanks @peucaio


Move volume ref counting store to a package.

Add unit tests to make sure the functionality is correct.
Add FilterByDriver to allow filtering volumes by driver, for future
volume ls filtering and whatnot.

Signed-off-by: David Calavera<EMAIL_ADDRESS>

LGTM

LGTM