Accra Polytechnic got renamed, this PR reflect the changes

@Fantasy-programming I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host accrapolytechnic.edu.gh not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Local Weather app Demo not working.

https://codepen.io/freeCodeCamp/full/bELRjV

(https://www.freecodecamp.com/challenges/show-the-local-weather)
The weather is not loaded.

Browser Name, Version: Google Chrome 58
Operating System: Windows 10
Mobile, Desktop, or Tablet: Desktop

Possible Cause
Weather fetched over http instead of https

Duplicate of #3714


chore: prevent error thrown when image URL cannot be composed because empty string

Fixes: https://linear.app/customerio/issue/MBL-308/error-javanetmalformedurlexception-no-protocol-on-receive-rich
Customer shared with us a push that they composed in Fly using the rich push composer, that does not have an image specified in the editor, but a "image" field gets added to the push payload with an empty string. The SDK handled when the "image" property is null, but not empty.
Customer is not experiencing a crash of the app, but they are getting stacktraces reported to them.
Testing:

I added a new automated test. The test passes with the bug fix code, fails without it.

Converting to draft as we may not end up merging this but instead making a change in frontend/backend.

We made a backend change to fix this issue for the customer so this PR is not needed.
There could still be some value in merging this PR, but that would mean we should make the change on iOS, too. The value in merging is little so I'll close this.


fix: reset paging limit to 2048 from 20

这个 PR 实现什么功能/修复什么问题:
修正：把分页limit重置为2048
是否需要 backport 到之前的 release 分支:

release/2.12
release/2.13
release/3.0
release/3.1

/cc @yousong @zexi
/area util

Codecov Report

Merging #5208 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #5208      +/-   ##
=========================================
- Coverage    6.73%   6.73%   -0.01%
=========================================
  Files         548     548
  Lines       95781   95781
=========================================
- Hits         6451    6449       -2
- Misses      88792   88793       +1
- Partials      538     539       +1

Flag
Coverage Δ

#aFlag
6.73% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

Continue to review full report at Codecov.

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

/lgtm

/lgtm

/approve


develop-main

Description

Related Issue(s)

Breaking Change?

Checklist

[ ] I have made corresponding changes to the documentation (if required)
[ ] I have added tests that prove my fix is effective or that my feature works

ok

my mistake, meant to apply to my fork


Cndit 1568 : Updating the Liquibase Build to ECR github actions

Updating the Liquibase Build to ECR github actions

This PR is just to remove the github actions, correct? No additions from here on

@upasanapattnaik-eq Also to make it deployable from the kubernetes EKS pods


[Bug] - JitPack Build is broken

Describe the bug
See https://jitpack.io/#inspectit/inspectit-ocelot/
The build log reports an error

⚠ ERROR: No build artifacts found
Expected artifacts in: $HOME/.m2/repository/rocks/inspectit/ocelot/inspectit-ocelot-
config/SNAPSHOT

This seems to have broken when going from 1.13 to 1.14.
Which was the switch from gradle 6.5 to gradle 7. (so from the maven to maven-publish plugin)

It looks like jitpackcannot find any artifacts/poms.
Executing ./gradlew clean -Pgroup=com.github.inspectit -Pversion=2.5.3 -xtest assemble publishToMavenLocal locally does not install any packages either.
I fixed this by adding
publishing {
    publications {
        _sdk_(MavenPublication) {
            from components.java
        }
    }
}

to the sdk project build.gradle. Since this is the one I want to use.
This might also fix the jitpack-problem.
To Reproduce
Steps to reproduce the behavior:

Create a release. ;)

@EddeCCC ping ;)


Project structute for review.

This main.go file should go to src/cmd/kfulint/main.go.

I see where we can move from here.
It could be better to improve from here in a separate commits and merge this one in it's current state.
(Also want to try "optimistic merging", if you don't mind.)


[BANDWIDTH_THROTTLING] Add utilities in InMemoryAccountService to create random account with specified QuotaResourceType.

This utility will be used for upcoming quota enforcer and quota manager tests.

Codecov Report

Merging #2043 (ad6a87c) into master (2f3ca73) will decrease coverage by 58.55%.
The diff coverage is 0.00%.

:exclamation: Current head ad6a87c differs from pull request most recent head 968622e. Consider uploading reports for the commit 968622e to get more accurate results

@@              Coverage Diff              @@
##             master    #2043       +/-   ##
=============================================
- Coverage     73.65%   15.10%   -58.56%
+ Complexity    10069     2292     -7777
=============================================
  Files           723      723
  Lines         54935    54938        +3
  Branches       6797     6797
=============================================
- Hits          40464     8297    -32167
- Misses        12317    46160    +33843
+ Partials       2154      481     -1673

Impacted Files
Coverage Δ

.../com/github/ambry/account/InMemAccountService.java
10.09% <0.00%> (-81.42%)
:arrow_down:

.../src/main/java/com/github/ambry/router/Router.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/com/github/ambry/store/Message.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/named/PutResult.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaName.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/rest/RestMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/KMSConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/SSLConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/router/ByteRange.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 570 more

Continue to review full report at Codecov.

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


fixing the Python 3.8 resource_tracker.py:216: UserWarning: resource_…

fixing the issue #13 , "UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown"

I'll close this PR due to the comments and conclusions of issue #13


Update build-checker-installer.sh for default version qt and others

Current coverage is 26.94% (diff: 100%)

Merging #1757 into master will not change coverage

@@             master      #1757   diff @@
==========================================
  Files          1967       1967
  Lines         81243      81243
  Methods       13762      13762
  Messages          0          0
  Branches       1248       1248
==========================================
  Hits          21891      21891
  Misses        59275      59275
  Partials         77         77

Powered by Codecov. Last update 8bbb032...d91f7eb

Can be rejected/closed, because is superseded by #1759


Typo in README.md

Typo "tracing tracing" -> "tracing"

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


Awesome project

Hi, libui-node author here.
I'm writing just to say hi and compliment for this awesome project.
Feel free to /CC me if you get problem related to the native part of the project, I'll try to help as I can...
👋🏻

Hi Andrea! Thank you 🙂. I was just going to reach out to you and say hi as well.
I will definitely need some help with the native part. I have some basic knowledge about Windows API, but I've never done anything related to GTK+ or OS X. I realize that the future of Vuido depends largely on both libui and libui-node, so I'm open for collaboration.
One little thing that immediately comes to my mind is the lack of an insert method for containers. I had to work around this by removing and re-appending all children following the one I need to insert.
Another much higher level problem is that at the moment there's apparently no easy way to package and distribute an application using libui-node for end users. I have a solution for this in my mind, but I have to experiment a bit to see if this is practical.

Another much higher level problem is that at the moment there's apparently no easy way to package and distribute an application using libui-node for end users. I have a solution for this in my mind, but I have to experiment a bit to see if this is practical.

You may follow these issues about packaging an app: https://github.com/parro-it/libui-node/issues/108 and https://github.com/kusti8/proton-native/issues/43.
Maybe the same tools that are being developed for proton-native could be used by vuido too

One little thing that immediately comes to my mind is the lack of an insert method for containers. I had to work around this by removing and re-appending all children following the one I need to insert.

There is an issue on libui tracking feature requests for containers: https://github.com/andlabs/libui/issues/328. You may try to ask there first.
Which specific container are you concerned about? Or all of them?

Yes, proton-native and vuido can definitely reuse the same packaging tools. I saw the solution based on electron-builder, I have to take a closer look at it, but I will have to wait for Windows support.
So far I only implemented the horizontal/vertical box container, but as far as I looked into the docs, they all have this limitation.

So far I only implemented the horizontal/vertical box container, but as far as I looked into the docs, they all have this limitation.

Yes neither of these have an insertAt method

！！ This project is really surprising to me. That is great!

Congrats for all the stars, you deserves it!

@konstantinsteinmiller If your looking for a web view component, then not in the near future: https://github.com/andlabs/libui/issues/315.

ahh ok, thats sad. But could be a major enabler for Webdevelopers.

Wow!!! if it could integrate something like webview.. we would reuse all javascript chart libraries like d3.js, echarts. that would be awesome.

I think this is not related to this project directly. Though it may be interesting to see how weex / nativescript compile components and check if it can be integrated along with vuido


AsyncWorker, ObjectReference, FunctionReference classes

Add an AsyncWorker class that is an equivalent of the one defined in node_api_helpers.h and nan.h, but done in the style of the other NAPI C++ wrappers.
 - Create new ObjectReference and FunctionReference classes that make it easy to get/set properties and call functions via a reference with automatic handle scoping. These are both used by AsyncWorker, but are also likely to be useful in other scenarios.
Change many method parameters to accept NAPI primitives instead of NAPI classes. Since the classes are implicitly convertible to the primitives it doesn't affect passing class instances, but it makes it easier to interop with the NAPI C APIs that only use the primitives.
Move the index getters and setters from Array to Object, because objects support indexed properties. This more closely matches the V8 object model anyway.

After this, we should be able to delete node_api_helpers.h and update any uses of the helper classes there to use the classes from here instead.

If we don't want to take care of the node-0.10 support in our PR, then the napi_async_XXX api could be reverted back to direct uv calls.

 I tested this version by updating the NAPI leveldown port to use this instead of node_api_helpers.h. @sampsongao you'll probably want to use this (and the buffer update) for updating nanomsg.

@digitalinfinity For some reason I can't add you as a reviewer in this repo. But you might take a look if you have time.

Looks good to me. 👍

OK, I'm not switching from napi to libuv async calls right now. If we decide to remove those APIs from NAPI then I'll update this code accordingly.


Interceptors stopped working

After upgrading to version 18.1.3, the interceptors stopped working, version 17.2.7 it works normally.
devexteme version: 18.1.3
devextreme-angular version: 18.1.3
[x] bug Report
[ ] feature request
[ ] support inquiry

Same issue.
I have this code below in the interceptor:
      request = request.clone({ headers: request.headers.set('Authorization', authToken) });
This code below works fine in 17.2.7
      let me = this;
      this.dataSource.store = new CustomStore({
        load: function (loadOptions) {
          return me.service.getAll(loadOptions, me.myTasksOnly, me.showCompletedTasks, me.fromDate, me.toDate).toPromise().then(json => {
            return json;
          })
        },
        key: "idTask"
      });

Check the image attached, no Authorization included in the request header.

online sample code https://angular-xcuxyl.stackblitz.io - v17.2.8
but stackblitz don't allow update to new version.

@granella I checked it with version 18.1.2-beta.1, but the result is the same
https://stackblitz.com/edit/angular-gwxetn

@granella,
If you don't use our CustomStore, does your code to request your server work?

it is very weird to me.
with out devextreme custom store, some of the API's are sent with JWT tokens and some are not.
Also, I have one of the pages with Devextreme custom store and was calling the API with token.
Most of my API calls are are not injecting the JWT.
I reverted back the devextreme to 17.2.x and everything went back fine.

The issue was:
All service files that are add to app.module--> providers were working fine.
All service files that are added to lazy loaded modules -->providers had this issue.
I moved all service files into 1 folder (_services) and I added them to the app.module-->providers.
I don't know if this is the best practice.

I have the exact same problem.
The probable reason is that Devextreme feature modules imports HttpClientModule which should be imported only once in the root application module. It resets internal state of interceptors for lazy loaded routes.
More info: https://github.com/angular/angular/issues/20575

@MateuszBogdan is correct, having the HttpClientModule imported again is overriding the interceptors, which shouldn't be done.  Likewise his solution won't work in most cases, devextreme likely needs to find a way around that.  We will be reverting to 17 and not updating until this is fixed.

Is this issue resolved, i'm having the same problem on devextreme 18.1.5


Allow selection of galaxies in WWT viewer on a touchscreen

Need to figure out if the issue is with pywwt or with cosmicds/hubbleds. (Touchscreen point selection works in the WWT research app)

duplicate of #294


Cleanup apiOverrides when a GlanceAPI is removed from ctlplane

Currently, if a GlanceAPI is added to the ctlplane and then removed, the human operator needs to manually clean up the Glance section in the ctlplane CR and remove the generated APIOverrides.
In addition to that, overrides are generated regardless of the nature of the glanceAPI (e.g. Edge, that is not supposed to have any Route as only an internal Svc is provided).
This patch solves this problem by removing the (leftover) overrides for the APIs that are no longer present in the ctlplane CR.
Jira: OSPRH-8072

/test openstack-operator-build-deploy-kuttl

looks good to me, thanks


Beven Nyamande

Due we close new issues on PR merge and voting is still possible on closed issues I will close this one. Nice Profile btw 🚀


Improve Contributing section in README

Specify how to:

Create an Issue.
Create a PR.
Run tests.
Run lint.
Commit changes.

@perdy I think this is already solved? If so, we could simple close the issue :)

Indeed, it is already documented.


Chore/daef 365 remove duplication in scenario backgrounds

This PR simplifies the setup steps for all scenarios where we had duplication going on.

@DominikGuzei we can merge this as soon as CI passes...

ah no, good catch @nikolaglumac - don't know why i forgot these 😉


Code Deletion & Incomplete File Generation Causing Excessive Credit Usage

Describe the bug
While creating an application and adding features, Bolt is repeatedly deleting sections of code and failing to complete files correctly. This issue has caused significant disruption, leading to wasted credits and effort due to needing to redo code generation multiple times.
Key problems observed:
1.	Code Deletion: Bolt deletes previously generated code. Even if I manually add corrections or my own code to fix issues, Bolt deletes those additions during the next code generation cycle.
2.	Incomplete Files: Bolt often rewrites an entire file, but large portions (including several functions) disappear unexpectedly. At times, Bolt saves only half the file or stops generating code altogether, even when prompted to continue.
3.	Repeated Iterations: Due to the deletion and incomplete files, I must iterate over the same task multiple times just to restore deleted functions and complete the code. This causes excessive credit consumption with no progress made.

This issue makes it nearly impossible to complete tasks effectively, significantly impacting the workflow and resource consumption on the platform.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-belyyy
Steps to reproduce

Correct a bug or create a new feature using AI coding assistant.
2.	Observe as Bolt rewrites and deletes sections of the generated file.
3. Doesn't run get error
4. Request to fix the error
5. Bolt says completed but only half the file is written.
3.	If you Attempt to manually add missing functions or correct code.
4.	Bolt will often delete or revert those additions, or fail to complete the file correctly without even running the assistant. If you add code, save, refresh the browser prview. Bolt will delete the additions.

Expected behavior
Not deleting the code or completing the requested file.
Screen Recording / Screenshot
No response
Platform

Mac OS: [e.g. macOS, Windows, Linux]
Browser: Arc
Version: [e.g. 91.1]

Additional context
No response

+1

@gmb9000 + @dineshchandakshubhchintak appreciate your patience and feedback during this beta launch!
We are aware of the limitations described above and are working on some backend improvements to make Bolt even more effective. We are sharing progress on that front as well as some great tips on how to best utilize Bolt efficiently today in issue #678!


[SE-0143] [IRGen] Bind conditional requirements for witness table accessors.

When emitting a witness table accessor (e.g., an associated type metadata
or associated type conformance accessor) or instantiation function for a conditional conformance,
bind the conditional requirements so we can refer to them within that
function. Witness methods get this behavior already through the SelfWitnessTable parameter, but everything that works with witness tables involving conditional requirements needs it.

Resolves SR-6478.

@swift-ci please smoke test

Reviewing just the last two commits, as requested: seems good.

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@rjmccall I'm going to merge this to make progress, but we need to talk about that first awful commit of mine :)


⚠ Bofrost.at has degraded performance

In 7d82a1a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1878 ms

Resolved: Bofrost.at performance has improved in 83421f3 after 10 minutes.


Websocket inconsistencies

Hello again! I'm trying to make sense of ICON 2.0 websockets' notifications and I'm having a hard time figuring them out. So far I have a working prototype where I can connect to the websocket and start receiving the notifications:

I'm testing with wss://ctz.solidwallet.io/api/v3/icon_dex/event (Mainnet).
I followed the documentation found here
I'm trying to subscribe to the Swap event from Balanced DEx:

Address: cxa0af3165c08318e988cb30993b3048335b94af6c
Signature: Swap(int,Address,Address,Address,Address,Address,int,int,int,int,int,int,int,int,int)
Match any indexed fields: [null, null]
Match any data fields:  [null, null, null, null, null, null, null, null, null, null, null, null, null]

Note: I usually request the latest block height and use that height as starting height in the payload.

So, after establishing a connection with the websocket, I send the following text frame to the websocket (formatted for readability):
{
  "height": "0x2cb7f81",
  "event": "Swap(int,Address,Address,Address,Address,Address,int,int,int,int,int,int,int,int,int)",
  "addr": "cxa0af3165c08318e988cb30993b3048335b94af6c",
  "indexed": [null, null],
  "data": [null, null, null, null, null, null, null, null, null, null, null, null, null]
}

So, the first notification I got was this one:
{
  "events": ["0x4"],
  "hash": "0xa82d7793a972bd46550503ff23039f05e04da8df90d69735dfd2f96ab982b84b",
  "height": "0x2cb7f88",
  "index": "0x1"
}

So, what I understand about the notification:

height is the height of the block: 46890888
hash is the hash of the block: It matches the one shown in the previous link.
index is the index of the transaction in confirmed_transaction_list which triggered the event. If we start counting from 0, then it would be the second transaction in the block, which is 0xdd22de95b534b0be5b174aada9bb103d0fbc2bb5e0f02b85381b681c6f53ff28
events is a list of logs indexes where we can find the event that matched our initial query. So, the event I'm interested in would be the 5th log entry, but the event does not match the one I'm expecting:{
  "scoreAddress":"cxb0b6f777fba13d62961ad8ce11be7ef6c4b2bcc6",
  "indexed": [
    "BetPlaced(int,int,int)",
    "0x4563918244f40000",
    "0x58",
    "0x0"
  ],
  "data":[]
}

So, the result doesn't seem consistent with my first request. Is the payload incorrect? Or did I stumble upon a bug?
This is the PR I'm working on at the moment in my Elixir ICON 2.0 SDK if you're curious of what I'm trying to accomplish.

The swap event you are looking for is in height-1 block i.e. 46890887.
The transaction is in index 1 and the event log is in index 4 or 5th item.
Note: The event logs should be counted from downwards in tracker.

@ajaya-man Thank you very much! This answer has been very helpful! I'll recheck my code and I'll start pulling data again :) I'll close the issue once I'm certain I understood your answer. Again, thanks for the fast response! :rocket:

Also, @alexdesousa indexed and data are optional parameters, so you can skip them.

@ajaya-man One follow up question: how should I interpret the payload for /api/v3/icon_dex/block? e.g. if I use the following to subscribe to the notifications:
{
  "height": "0x2cb7f81",
  "eventFilters": [
    "event": "Swap(int,Address,Address,Address,Address,Address,int,int,int,int,int,int,int,int,int)",
    "addr": "cxa0af3165c08318e988cb30993b3048335b94af6c",
    "indexed": [null, null],
    "data": [null, null, null, null, null, null, null, null, null, null, null, null, null]
  ]
}

yet, the notifications seem to be incomplete:
{
  "hash": "0xa82d7793a972bd46550503ff23039f05e04da8df90d69735dfd2f96ab982b84b",
  "height": "0x2cb7f88"
}

This is the same notification I get when I subscribe with this message:
{
  "height": "0x2cb7f81"
}

I'm not sure what I'm doing wrong though :grimacing: Any help you can provide will be greatly appreciated :pray:

On /api/v3/icon_dex/block you should be sending in the following way:
{
  "height": "46806104",
  "eventFilters": [
    {
      "event": "Transfer(Address,Address,int,bytes)"
    }
  ]
}

The response would come for every new block as well in case the event is present there will be additional logs.
Sample:
{
  "hash": "0x834aaede99d90be33223328b36c51e22feab7db54cd153f35ed1b1392e938bc3",
  "height": "0x2ca3605"
}

{
  "hash": "0x6aa2ef0c459b4db894444bbbede0c818ebcf3c73ba5d0c872ac7d7bcfa54453f",
  "height": "0x2ca3604",
  "indexes": [
    [
      "0x1"
    ]
  ],
  "events": [
    [
      [
        "0x0",
        "0x1",
        "0x2",
        "0x3",
        "0x5",
        "0x6",
        "0x7",
        "0x9"
      ]
    ]
  ]
}

{
  "hash": "0x10f2aec7bd7fb0431216a69671d2fdd73ef04b254031fc7d293782426599117b",
  "height": "0x2ca3603"
}

With /api/v3/icon_dex/block, it always sends block update notifications even if there are no events. It's for tracking the last block height for further request after disconnection.

@ajaya-man Thank you very much for your answers! They have been very helpful for me to finish my websocket code! I consider this issue is solved :slightly_smiling_face: :rocket:


Testing Resolve-DnsName with DoH on Windows 10 20H2

Steps to reproduce
#Requires -RunAsAdministrator
if([Environment]::OSVersion.Version.Build -lt 19628){
    'This script depends on Windows OS features that are not available in this build.'
    Exit
}
$AutoDohPath = 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters'
$AutoDohKey  = 'EnableAutoDoh'
New-ItemProperty -Path $AutoDohPath -Name $AutoDohKey -Value 2 -PropertyType DWord -Force
# Reboot computer now if this setting is new; dnscache service cannot be normally restarted

# Test with Quad9 DoH resolvers
$PhysicalAdapter = Get-NetAdapter -Physical
$PhysicalAdapter | Get-DnsClientServerAddress -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses '<IP_ADDRESS>', '<IP_ADDRESS>'
$PhysicalAdapter | Get-DnsClientServerAddress -AddressFamily IPv6 | Set-DnsClientServerAddress -ServerAddresses '2620:fe::fe', '2620:fe::fe:9'

Resolve-DnsName yahoo.com -DnsOnly -Verbose -DnssecOk
Resolve-DnsName yahoo.com -Server <IP_ADDRESS> -DnsOnly -Verbose -DnssecOk

Expected behavior
No port 53 traffic in either Resolve-DnsName call.
Actual behavior
Console output is identical, but network traffic is not.

No port 53 traffic found in first Resolve-DnsName call.
Unexpected port 53 traffic found in second Resolve-DnsName call that specifies Server IP address.

Environment data
PSVersion                      7.0.1
PSEdition                      Core
GitCommitId                    7.0.1
OS                             Microsoft Windows 10.0.19640
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PowerShell Core does not have its own Resolve-DnsName cmdlet yet. It gets this cmdlet from the DnsClient module of Windows PowerShell. AFAIK, the module is not open source. In Windows, DnsQueryEx lets the caller specify the DNS servers, but I suspect that doing so may disable DNS over HTTP for that query.
In https://github.com/PowerShell/PowerShell/issues/6076#issuecomment-465324287, it was suggested that a cross-platform Resolve-DnsName cmdlet could be implemented for PowerShell Core by using DnsClient.NET. The current version of DnsClient.NET sends its DNS queries using UdpClient or TcpClient instead of using the Windows DNS functions, so it would not be affected by the EnableAutoDoh setting of Windows.

@KalleOlaviNiemitalo, Thank you for the explanation of the underlying issues. If course, it is early days for DoH support in Windows so it will be interesting to see if the issues you mentioned get resolved so that Resolve-DNSName can reliably implement DOH as well
I think that a client platform-level implementation of DoH should be as secure as the HTTPS in its name implies by preventing unintentional or inconsistent unencrypted DNS traffic. Until that happens, I'll keep using a third-party tool like DNSCrypt-proxy or YogaDNS.


Make the "load more" mechanism more user friendly in product search

What

In search page the load more button should not create a dialog, blocking the user from doing anything.

Steps to reproduce the behavior

Search something
Scroll to bottom
Tap on "load more" btn
Enjoy waiting

Expected behavior
The loading should happen while the user is free to move the list or even open a product.
Why

If the connection isn't good, the user will spend a considerable time waiting.

Screenshot/Mockup/Before-After
(optional, delete if empty)
Related to
https://github.com/openfoodfacts/smooth-app/issues/1900#issuecomment-1131938794
https://github.com/openfoodfacts/smooth-app/issues/1333

Hi @VaiTon!
I understand your use-case, and that opens many potential UX issues or improvements:

let's say that the download is in the background - that's basically what you suggest, right?
then we have to run the download as a service (or something like that), we haven't done that so far in the project (interesting topic)
when we go back to the same result page, we should see if there's a download already running and make it possible to stop or restart it
we should send a notification like "btw what you wanted was just downloaded", with a direct access to the result page
beyond that, some users would probably say "As it's in the background, I may as well download the whole thing instead of chunks of 25"

Thank you for your response @monsieurtanuki!
I was thinking something more simple, like what the YouTube app does.
If I scroll down, after a checkpoint the app starts to load more product (I would also be ok with the button) and if i leave the page the process is just cancelled. So if I go to that page again and scroll to the bottom the app should re-make the query.

@VaiTon Oh then it was not exactly what you implied in the OP:

Expected behavior: The loading should happen while the user is free to move the list or even open a product.
Why: If the connection isn't good, the user will spend a considerable time waiting.

Whatever you do, the user still spends a considerable time waiting, with just the possibility to stop whenever wanted. There's currently a button to stop the download, right? Therefore the user can already cancel at any moment.
That said, it's not a smooth experience, I give you that.
Maybe you should rephrase your OP with something like that: "Implement an infinite scroll effect (like youtube comments) for product list pages"


Asking about SUN dataset

Hi, I went through the sun.py, I see it only process the SUN-Negative dataset. I wonder if you also train the SUN-Positive for the Endo-FM foundation model, or only the Negative cases?

Hi, thanks for your interest!
We also use positive samples, as you can see in sun_seg.py.


Add function for mouseover lines

Hello,
With the current code we can use the mouseover function on the circleMarkers, origin and destination points but it's impossible to have this feature for the lines.
Could you add this feature, please ?
Thank you for your support.

I don't know yet if that will be possible without substantial additional work.  But, I welcome pull requests with code enhancements to support this!
The lines are drawn in a pure <canvas> that is handled outside of LeafletJS.  Any user interaction events for the bezier lines would require some research and likely writing a bit of new code.

There's been some more interest shown in supporting this enhancement.  Here are some more notes in case I or anyone else ends up researching this some more.
Might want to look into: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#Hit_regions (but they're experimental)
Also might be useful to find out how LeafletJS source code to see how they wired up mouse interactions, popups, tooltips, etc. when they render features on the canvas.


AWS envprovider changes

I hope this is a good cleanup of this file. In this way, it is easier in terms of maintainability and extendability of the env vars.

looks like parallel tests are not possible to set env variables @HamzaMasood1, we need to fix those tests:
panic: testing: t.Setenv called after t.Parallel; cannot set environment variables in parallel tests [recovered]
	panic: testing: t.Setenv called after t.Parallel; cannot set environment variables in parallel tests

looks like tests are failing because of this:
2023-07-17T13:10:34.2180999Z panic: testing: t.Setenv called after t.Parallel; cannot set environment variables in parallel tests [recovered]


Incorrect gene symbol suggestion for MLL

Both the platform search and the batch search suggest that MLL is SEPTIN9 when based on the synonyms and HGNC it seems it should be KMT2A. According to @mkarmona, "it seems search is not working properly. it should weight more synonyms as MLL is one of those. the moment search match MLL it should return the canonical id and therefore the target object for that id"

It's important to get it right in the new search API. This is the current result.

Thanks to @mirandaio for the screenshot


SwitchCondition with number throws an exception when compared against a string

Fixes #2467
Description

SwitchCondition treated errors as exceptions when all that was happening was an comparison which was false. In addition, it was always assuming that a quoted number should be compared as a number.
Specific Changes

Fix switch to not treat expression errors as exceptions but instead as false condition
Fix switch to treat ambiguity in string case definition more robustly by comparing for both value type and string of value type. (23 OR "23")

Testing

updated unit test cases to cover this.

Pull Request Test Coverage Report for Build 163304

15 of 17 (88.24%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.06%) to 82.854%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-dialogs-adaptive/src/actions/switchCondition.ts
15
17
88.24%

Files with Coverage Reduction
New Missed Lines
%

libraries/botframework-streaming/src/webSocket/webSocketTransport.ts
2
81.55%

libraries/botframework-streaming/src/webSocket/webSocketServer.ts
7
66.67%

Totals

Change from base Build 163175:
-0.06%

Covered Lines:
15286

Relevant Lines:
17533

💛  - Coveralls

I'm confused.  The description only talks about switchCondition and there are a ton of other changes.  Either you should add them to the description or do a different PR.

Even worse--the issue being fixed should not be.  We do not let you add "21" and 2 why would we fold those together for cases?

In reply to: 697008094 [](ancestors = 697008094)

I would close this one and send out another.


Feature: Content Sync

Purpose
Incrementally synchronize content between AEM Author instances.
ACS Content Sync is yet another solution aiming to overcome the shortcomings of using CRX Package Manager / VLT RCP to copy content between AEM environments.
How does Content Sync Work?
Content Sync uses JSON Export/Import between Sling GET/POST servlets. The tool fetches a catalog of resources from the source instance, e.g.
/content/path1  lastModified1
/content/path2  lastModified2
/content/path3  lastModified3

then it compares it with the local state, computes the delta and synchronizes it via JSON Export/Import.
How many HTTP calls does Content Sync make?
The ballpark estimation is O(N) where N is the number of content resources (cq:Page, dam:Asset, etc.) being sync-ed.
For example, it takes an HTTP call to sync a cq:Page resource, so to sync a tree of N cq:Page nodes the tool will make minimum N HTTP calls. To sync a dam:Asset node the tool will make an HTTP call to grab the jcr:content and sub-nodes, and an HTTP call to grab binary data for each rendition.
What can I sync?
In general - any content resources, like

Pages
Assets
Experience Fragments
Content Fragments
Tags

How to Use
In order to use the Content Sync tool, you need the latest version of ACS Commons installed on the source and target AEM instances.
Configure Sling Get Servlet
Create an OSGi configuration for PID org.apache.sling.servlets.get.DefaultGetServlet and make sure that:

JSON Renderer is enabled
JSON Max Results parameter is set to at least 1000
Legacy ECMA date format is unchecked

Configure the host(s) to synchronize from
Navigate to the Content Sync tool (http://localhost:4502/apps/acs-commons/content/contentsync.html) and click the Configure button in top right corner. Then click Add Host

The contentsync-user user needs read permissions on the content you are going to sync.
Run the Content Sync tool
Navigate to the Content Sync tool http://localhost:4502/apps/acs-commons/content/contentsync.html and select a path to synchronize.
The default mode is Incremental, which means only new or modified resources will be downloaded. If the Incremental option is unchecked then the tool will do full sync and download the entire content tree.
The 'On-complete' workflow option allows you to define a custom post-update action. For example, you can define a workflow to clear properties like cq:replicationStatus, or automatically publish a resource if it is published in the source environment.

Pluggable Update Strategy
The strategy to select incremental delta is pluggable.
The default algorithm is based on the cq:lastModified/jcr:lastModified timestamp.
As an example, Content Sync ships with another strategy which synchronizes dam:Asset nodes based on the dam:sha1 checksum in the asset metadata. Users can plug-in their custom strategies by implementing com.adobe.acs.commons.contentsync.UpdateStrategy interface;

@YegorKozlov is this read for review?

@YegorKozlov is this read for review?

yes @davidjgonzalez . it's ready for review

Hi @YegorKozlov, Is it possible to sync only root page without child pages below it? Like only this path /content/site/en/home/jcr:content

Hi @YegorKozlov, Is it possible to sync only root page without child pages below it? Like only this path /content/site/en/home/jcr:content

In the current implementation it's not possible. I'm thinking of adding a new Query strategy, so that instead of a path user would pass a jcr query. This way you will have a finer control what to sync.


when db connection close, gorm not reconnect to mysql

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
1.12
Which database and its version are you using?
mysql
Please provide a complete runnable program to reproduce your issue. IMPORTANT
Need to runnable with GORM's docker compose config or please provides your config.
DefaultDB, err = gorm.Open("mysql", util.AppConfig.DBConf["flx-config"])
	if err != nil {
		util.BhAlarm(util.BH_LOG_DB, err, "op db conn err.")
	}
	DefaultDB = DefaultDB.Debug()
	DefaultDB.DB().SetMaxIdleConns(10)
	DefaultDB.DB().SetMaxOpenConns(100)
	DefaultDB.DB().SetConnMaxLifetime(time.Hour)

After the program runs for a period of time, the gorm reports an error, the database is closed, and then no data can be read from the database. use netstat finds that there is no connection to the database, but use mysql-client in command line can  successfully connected to mysql and query data , why the gorm is not reconnected to mysql  ?

I meet this question again

meet this question again

Mee too..

Mee too..

try to update github.com/go-sql-driver/mysql package.