[OpenAI] Add a sample for getEmbeddings method

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
Add a sample for getEmbeddings method
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


GEODE-8863: test HSETNX concurrency

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

if desired to clearly see the diff before merging this, you could squash then rebase to latest develop

if desired to clearly see the diff before merging this, you could squash then rebase to latest develop


Proximity thresholds - too sensitive.

Hi.
Great engine. Correctly engineered. Just one thing: Can you please make the thresholds of the proximity to dots more conservative?
It is a bit frustrating to draw a diagonal around a point.
Thanks.

I'm not sure I understand your requirement. In the current release you cant really skip a position. If you want to draw a line from 0 - 2, the dot at position 1 will also be included in this line. This is unfortunately by design and I realise this is not the same behaviour as the one observed in the lock pattern.

Hi. Thanks for the reply.
I meant...
Say you number them like in a phone pad
1 2 3
4 5 6
7 8 9
Now, try to draw a line from 4 to 2
It seems very hard to do. It has to be very accurate.
Point 1 and 5 always "hijack" it on the way.
Thanks
On 13 Feb 2017 07:33, "Ali Muzaffar"<EMAIL_ADDRESS>wrote:
I'm not sure I understand your requirement. In the current release you cant
really skip a position. If you want to draw a line from 0 - 2, the dot at
position 1 will also be included in this line. This is unfortunately by
design and I realise this is not the same behaviour as the one observed in
the lock pattern.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BCGDV-ASIA/android-widget-connectpattern/issues/3#issuecomment-279298129,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANXtdqzaajF2tN9KHR7XffvK2TQQNkD8ks5rb-spgaJpZM4L4CxK
.

How big is the widget in this scenario? I'll investigate.
On 13 Feb. 2017 4:47 pm, "RunYouCleverBoy"<EMAIL_ADDRESS>wrote:

Hi. Thanks for the reply.
I meant...
Say you number them like in a phone pad
1 2 3
4 5 6
7 8 9
Now, try to draw a line from 4 to 2
It seems very hard to do. It has to be very accurate.
Point 1 and 5 always "hijack" it on the way.
Thanks
On 13 Feb 2017 07:33, "Ali Muzaffar"<EMAIL_ADDRESS>wrote:
I'm not sure I understand your requirement. In the current release you cant
really skip a position. If you want to draw a line from 0 - 2, the dot at
position 1 will also be included in this line. This is unfortunately by
design and I realise this is not the same behaviour as the one observed in
the lock pattern.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/BCGDV-ASIA/android-widget-connectpattern/issues/3#
issuecomment-279298129>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ANXtdqzaajF2tN9KHR7XffvK2TQQNkD8ks5rb-spgaJpZM4L4CxK>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BCGDV-ASIA/android-widget-connectpattern/issues/3#issuecomment-279299545,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzkjN0MBaTU2q_Qe8PlTuGY7GPEp_gcks5rb-5RgaJpZM4L4CxK
.

Almost full screen. Full with ~1cm padding.
I use Nexus 5. Full screen gives same results.
Simplest example is the code 7, 4, 2, 3 (easiest to draw with the right thumb).
Sometimes it takes a while before I hit the first point, then, most of the times it goes
7, 4, 5, 2, 3 ("stairway" pattern).

I'll investigate, thanks for reporting.
On 13 Feb. 2017 7:12 pm, "RunYouCleverBoy"<EMAIL_ADDRESS>wrote:

Almost full screen. Full with ~1cm padding.
I use Nexus 5. Full screen gives same results.
Simplest example is the code 7, 4, 2, 3 (easiest to draw with the right
thumb).
Sometimes it takes a while before I hit the first point, then, most of the
times it goes
7, 4, 5, 2, 3 ("stairway" pattern).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BCGDV-ASIA/android-widget-connectpattern/issues/3#issuecomment-279319583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzkjBGcTPmig4OS8_o9dL1Mloj_cr9wks5rcBCAgaJpZM4L4CxK
.

Can you check version 0.2.1? I've changed the code to not snap unless the line is more or less touching the marker. This should hopefully fix your issue.

Vive la différence! Much better! Practically, the issue is closed, I think. I'd say it's good enough for every practical purpose.
Thanks.

Thanks @RunYouCleverBoy.
If you can, do let us know which app you used our widget in. We'd love to see the results.

Hi. Well, first, I tested it on a playground app. I can send you the sources but it's just a fragment with the lock view.
It simulates the real thing (the greater app), which, I am afraid, needs some authentication further than the pattern. The pattern lock is just for some screen within the protected app.


Accelerate GLRM

We introduced caching in GLRM to accelerate computations by storing calculated likelihood values, reducing duplicate calculations.
Note: This feature is disabled by default due to potential optimization failures caused by unknown reasons!


Add Upgrade Playbook

Changes

Adds upgrade playbook that will upgrade agents and servers to k3s_version set in inventory
More info in README about node requirements

Related Issues
https://github.com/k3s-io/k3s-ansible/issues/229
https://github.com/k3s-io/k3s-ansible/issues/186
https://github.com/k3s-io/k3s-ansible/issues/147

@dereknola - Thank you very much :rocket:


Demo example with upperStr inferenced as Promise<_b> instead of Promise

In the example
// Hegel will infer "promisify" as "<_q, _c>((_c) => _q) => (_c) => Promise<_q>"
const  promisify  =  fn  =>  arg  =>  Promise.resolve(fn(arg));

// There, Hegel will infer "<_c>(_c) => Promise<_c>"
const id =  promisify(x  => x);

// And "upperStr" will be inferred as "Promise<string>"
const upperStr =  id("It will be inferred").then(str  => str.toUpperCase());

// Finally, "twiceNum" will be inferred as "Promise<number>"
const twicedNum =  id(42).then(num  => num **  2);

upprStr is Promise<_b> instead of Promise<string> in the playground.
If I add the code
async function main() {
  const s: string = await upperStr
}

I get a type error Type "_b" is incompatible with type "string".

Oh, thank you a lot. We will fix it soon.
Thank you for the issue ^_^.

No prob! :blush:

Fixed in 0.0.44


Use the AlwaysFreePages flag when opening an index

We introduced a new flag in our fork of LMDB, this AlwaysFreePages flag forces LMDB to always free the single pages it uses before writing to the disk instead of keeping them in a linked list.
Declaring this flag reduces the memory print (leak) we have on memory after indexing a lot of documents.
Fixes #279.

I think it works; I tried to execute a large indexation on my computer and looked at the memory usage of http-ui in htop. It was reporting a large memory usage but I suspect it's only cached memory that was freed but not reclaimed by the OS? :thinking:
Whatever, I ran a second smaller indexation under massif and to me, the issue is fixed:

As you can see all the allocations related to mdb_page_alloc are well freed at the end of the indexation :tada:

@irevoire can you please do the same indexation but without this patch, please?


Clean cache?

I wondered if it could be possible to do the same with cache files? so if the website haven't had a visit for more than specificied duration it will clean up all cache files related to it?

Duplicate of #13
The WebExtension API to clear the cache is browsingData. With the browsingData APIs, you can only clear recent cache, cookies, history, etc.. There is no API to clear old cache like there is for history.
If you want to clear recent browsing data, there is a menu for this built into the browser. See Delete browsing, search and download history on Mozilla Support
Cookie AutoDelete might accomplish something similar to what you want. Along with cookies, you can configure CAD to clear other browsing data automatically. CAD uses a whitelist instead of expiration, so all cookies and other browsing data will be deleted for non-whitelisted sites.
I know you didn't mention cookies specifically, but for completeness, there is also an extension called Fresh Cookies which clears old cookies after an expiration.
Hope this helps!


Standalone: Doesn't include the Qt platform plugin "xcb"

I'm building a "hello world" with PyQt5 with options:
nuitka3 test.py --show-progress --recurse-stdlib --standalone

The resulting binary does not work:
This application failed to start because it could not find or load the Qt
platform plugin "xcb".
Reinstalling the application may fix this problem.
Aborted (core dumped)

This happens even on the system where I built it.
Adding --plugin-enable=qt-plugins does not help.
Also, my application includes a "test mode": if I run it with "--test", it
prints a line "Test passed" and exits before importing anything PyQt-related.
And launching it this way works!
Actually, I just had the same issue with PyInstaller, but then I updated it to
the latest version, and now it's fixed. (I thought this information may be valuable.)
I tried this on Debian Jessie, Debian Stretch and Ubuntu Cosmic, with stable
Nuitka (from pip) and with development Nuitka (from sources), with whatever Python versions they have in the repos (IIRC that's 3.4, 3.5 and 3.6). So basically, it happens "always".
Here is my test.py :
import sys
if '--test' in sys.argv:
    print("Test passed")
    sys.exit(0)

from PyQt5.QtWidgets import QApplication, QMainWindow, QTextEdit
app = QApplication(sys.argv)
mw = QMainWindow()
textedit = QTextEdit(mw)
textedit.show()
mw.setCentralWidget(textedit)
mw.show()
sys.exit(app.exec_())

Hello,
it works for me though. I am definitely positive, that PyQt works on Stretch and current Buster both.
It seems "xcb" platform plugin might be needed on Linux under some circumstances.
                # Seems platforms is required on Windows.
                if os.name == "nt":
                    plugin_options.add("platforms")

I think we also have --enable-plugin-qt-plugins=all as a solution for now.
Make that or True for the if statement, and report if it's working there. I think, what we ought to do is have a set of minimal chroots (debootstrap) in the standalone tests and run the resulting binary there as well. It seems that if python-qt5 is installed on the target machine, it works. But that is besides the point of standalone distribution.
On Windows, it always failed due to not having PyQt installed system wide and my Linuxes all have PyQt installed I guess, and probably most systems do. It may also be the case that the platform plugins actually are supposed to come from system installation, but I am not sure of that at all, I doubt it, but it could be.
Assuming this is your issue, I would look into improving the testing, so we can find these dirt effects.
Yours,
Kay

I think we also have --enable-plugin-qt-plugins=all as a solution for now.

I guess you mean --enable-plugin=qt-plugins=all . :)
Both solutions helped! I guess it's better to include "platforms" by default, until you figure out in which cases is it not needed?
By the way, is there a way to see all available qt-plugins and enable them selectively? I never even knew there was this additional option, otherwise I would have probably figured it out from the error message.

You are correct about platforms, should be part of "sensible" for all platforms. Your chance of making a PR.

OK, it's a good opportunity to figure out how to do that. :)

I confirmed that having python3-pyqt5 installed does not help this at all. The problem lies elsewhere.

I will try with chroot, @dark-penguin in the testing first, and see if it reproduces the issue. Maybe also you can strace it, and it does read some system wide Qt configuration files, that it probably should not, otherwise it's very strange what makes it work for me and probably many others. My strace based testing ought to reveal it it:
        # PyQt5 seems to do this, but won't use contents then.
        if loaded_filename in (
            "/usr/lib/x86_64-linux-gnu/qt5/plugins",
            "/usr/lib/x86_64-linux-gnu/qt5",
            "/usr/lib/x86_64-linux-gnu",
            "/usr/lib",
        ):
            continue

So it accesses directories for me. Can you run tests/standalone/run_all.py search PyQt5Plugins and see if it catches it for you? But then again, on your system it fails to load, and I believe in mine it does not attempt to do it.
Maybe if you remove all white listing like this one:
        if loaded_filename.startswith("/etc/"):
            continue

Then it ought to report us the accessed files. Could be that we need to set some environment variables on the fly that make it e.g. not use config files or not find them, or find them inside the distribution.

I'm doing all that in Docker containers instead of chroots. That's why I always post after having tried on at least two or three different systems.
I have Debian Jessie on my system (no time to upgrade...), and two containers with Debian Stretch and Ubuntu Cosmic. This way, I'm testing for both extremities - the oldest one worth supporting, and the newest and most popular one.
I guess if you try this with chroots, you must get this issue.

I wrote that this was recently fixed in PyInstaller.
https://github.com/pyinstaller/pyinstaller/issues/1906
This is probably about this issue.

I've ran the tests you suggested. Attached the output files.
On Ubuntu Cosmic, I have PyQt5 v5.12 from pip, and... I don't seem to have either python3-pyqt5 or qt5-default, but the version of qt5-default in the repos is 5.11.1, so apparently I have some parts of Qt5 installed... which is why the test complains about it, to the best of my understanding.
On Debian Stretch, the situation seems to be the same, except the Qt version in the repos is 5.7.1 . I have no idea why is the test output different. I'm not exactly a guru of Python or Qt, so my understanding of what's going on is pretty limited at this point..
cosmic.txt
stretch.txt
.

I've removed all the if loaded_filename.startswith... lines, and here are the new output files.
cosmic.txt
stretch.txt

Merged the PR to develop, will be in a release soon.

Released as 0.6.3

I had the 'This application failed to start because it could not find or load the Qt
platform plugin "xcb" '  problem. In my case installing the package libxkbcommon solved things.

Please raise a new issue @MurdochRav


Unwanted scroll when clicking to choose a date on the date picker

Bug Report
Problematic behavior/code
Clicking to choose a date on the date picker triggers an unwanted scroll
https://user-images.githubusercontent.com/1427165/203582377-db91e9b5-4e2c-48f0-a158-1e8771474e47.mp4
Expected Behavior
We should stay focused on the modal that has opened.
Steps to Reproduce
See above screen cast.
Environment

Marsha version: 4.0.0-beta.11
Platform: Docker

This is not the case anymore since we switch to cunningham datepicker


Approve api AadHttpClient

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
I create a new webpart SPFx 1.4.1, I added the rights on package package-solution.json and package the solution.

I deploy my application in the catalog app.
When approving the rights in api management, I have this error.

Do you have any solutions ?

@kezack Do you currently have any Approved permissions? (They would show up in the second part of the list in your screenshot)

@dgaeta yes, i am SharePoint Admin

Are any of the currently approved permissions a different "Microsoft Graph" permission? (i.e. the Name of the API is "Microsoft Graph" and the Permission says something else other than "Files.Read")

@dgaeta no, there is only one permissions "Microsoft Graph => Files.Read".

@kezack just to eliminate that's it not an issue with your tenant: could you try approve the permission request either using the SPO PowerShell or the Office 365 CLI?

@waldekmastykarz i use Approve-SPOTenantServicePrincipalPermissionRequest and the ressource "Microsoft Graph" is not reconized.

Could you check in your Azure AD > Enterprise applications if you have an app named GraphAggregatorService in there? (be sure to set the filter to include all apps)

yes, this app are here

@kezack do you mind screen shotting your entire list from the Web UI page? (that includes the pending requests and the approved requests?) I am working in parallel to repro the bug but to avoid confusion it would be helpful to see your entire list.

@kezack Does your tenant have a service principal for Microsoft Graph ?

@dgaeta How do I know when a service Microsoft Graph in the tenant ?

@kezack are you the tenant admin?

@dgaeta yes

@kezack Thanks. So there are powershell commands we can use to manage service principals in the tenant.

Set up MSOnline V1 PowerShell module for Azure AD

Install the Azure active Directory Connection library from

http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185
Select the AdministrationConfig-V1.166.0-GA.msi (be sure to select the last GA version)

Open PowerShell

Check if your tenant has a Microsoft Graph service principal

Powershell command: Get-MsolServicePrincipal -AppPrincipalId <Guid>
<Guid> is the guid for Microsoft Graph in this case 00000003-0000-0000-c000-000000000000

yes.

@kezack Do you mind running the following command in powershell and letting me know the result?
Get-MsolServicePrincipal -ServicePrincipalName "Microsoft Graph"

@dgaeta no problem, the result in screen

Thanks @kezack we are looking into the issue.

@dgaeta did you find a solution ?

Try the following in your package-solution.json
"webApiPermissionRequests": [
      {
        "resource": "Microsoft.Azure.AgregatorService",
        "scope": "User.ReadBasic.All"
      }
    ]

Duplicate of https://github.com/SharePoint/sp-dev-docs/issues/1401

have you solved this ? i've the same problem when i call an Azure function from SPFX


Add endpoint for deploying contracts

Signed-off-by: Nicko Guyer<EMAIL_ADDRESS>

Codecov Report

Merging #1095 (d2efbf1) into main (9bbec3b) will increase coverage by 0.00%.
The diff coverage is 98.58%.

@@           Coverage Diff            @@
##             main    #1095    +/-   ##
========================================
  Coverage   99.98%   99.98%
========================================
  Files         307      308     +1
  Lines       20331    20467   +136
========================================
+ Hits        20327    20463   +136
- Misses          3        4     +1
+ Partials        1        0     -1

Impacted Files
Coverage Δ

internal/apiserver/routes.go
100.00% <ø> (ø)

internal/metrics/metrics.go
97.43% <0.00%> (-2.57%)
:arrow_down:

pkg/core/contracts.go
100.00% <ø> (ø)

pkg/core/event.go
100.00% <ø> (ø)

pkg/core/operation.go
100.00% <ø> (ø)

pkg/core/transaction.go
100.00% <ø> (ø)

internal/apiserver/route_post_contract_deploy.go
100.00% <100.00%> (ø)

internal/blockchain/ethereum/ethereum.go
100.00% <100.00%> (ø)

internal/blockchain/fabric/fabric.go
100.00% <100.00%> (ø)

internal/contracts/manager.go
100.00% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


changed the contact us page visual

fixes: #87
The contact us page looked very dull and plain, I have changed and made changes to it with reference to the website.
The website is responsive just like before no further changes have been made.

Hello, @agamjotsingh18 It would be very helpful if you could tell me any other changes you would like.

can you change background image if possible as it doesn't match with our theme, rest looks good

@agamjotsingh18 Yeah Sure :)


getUnreadMessagesCount commented out

Hi,
Why is the following piece of code commented out? I'm having issues using getUnreadMessagesCount() in my own project and I'm wondering if this function is simply broken?
/*
  channel.getUnreadMessagesCount().then(count => {
    if (count > 0) {
      $el.addClass('new-messages');
      $count.text(count);
    }
  });
  */

I have found temp solution for this issue replace getUnreadMessagesCount by getUnconsumedMessagesCount method and it's work

I've tried this function and it also returns 0...


Add access policy during Key Vault creation

Is it possible to add an access policy to a Key vault during its initial create request? We would like to create the key vault and add a system-assigned identity with specific permissions in one step.

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

ID: 44a20a94-cfda-1b7f-572a-36103fd91b01
Version Independent ID: ff21c49b-9b3e-c309-1842-02a2d05afe71
Content: Grant permission to many applications to access an Azure key vault
Content Source: articles/key-vault/key-vault-group-permissions-for-apps.md
Service: key-vault
GitHub Login: @amitbapat
Microsoft Alias: ambapat

@asasine
Thanks for your feedback! We will investigate and update as appropriate.

@asasine I do not think you can achieve the same using PowerShell, however, you can use an ARM template to create the key-vault and assign various access policies at the same time.  Please refer to the available ARM template

@asasine We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


📖  3.3.1 Changelog

Work in progress for the next changelog

For the record, breaking changes:
 public final class com/apollographql/apollo3/cache/http/CachingHttpInterceptor : com/apollographql/apollo3/network/http/HttpInterceptor {
@@ -39,7 +39,7 @@ public final class com/apollographql/apollo3/cache/http/DiskLruHttpCache : com/a
-	public fun write (Lcom/apollographql/apollo3/api/http/HttpResponse;Ljava/lang/String;)V
+	public fun write (Lcom/apollographql/apollo3/api/http/HttpResponse;Ljava/lang/String;)Lcom/apollographql/apollo3/api/http/HttpResponse;
 }

public final class com/apollographql/apollo3/cache/normalized/sql/SqlNormalizedCacheFactory : com/apollographql/apollo3/cache/normalized/api/NormalizedCacheFactory {
-	public static final field Companion Lcom/apollographql/apollo3/cache/normalized/sql/SqlNormalizedCacheFactory$Companion;

A lot of mockserver changes because we didn't track API changes in there before.


Noticeable lag when uploading 705 images

Hey,
I have notice that my machine starts to lag when uploading 705 images and eat's up my CPU. I have i3 processor with 8GB memory. Also, I notice that the browser tab is consuming about 1GB of memory. I'd like to mention that I'm showing thumbnail images while the upload is in progress. Could this be the cause of lag? I'll have to try this next though.
Also I'm setting simultaneous upload to 1 instead of 3 since my upload backend running on nginx is also eating up 99% of CPU usage when simultaneous upload is 3.

even if uploading 705 at once should be considered criminal i confirm that this inefficiency exists and could be managed in order to reduce memory requirements.
@AidasK: as i told you before, the issue here is due to the kind of allocation we are doing right now;
When files are added by the user, we are currently allocating immediately all the data structures for each file and not only for dealing with metadata but for the effective chunks. Is it really needed and for what reasons?


If the state case has multiple state names, then right click->Find callers shows no results.

As shown below, this is default JKI state machine which has multiple state names (Event Structure, Idle) for the same state.  On right clicking on the case head and finding callers give no result.
I think it should give the combined result of all state names used for this single case.

Good catch!


fix dfdaemon workhome

Signed-off-by: yxxhero<EMAIL_ADDRESS>
Description
fix dfdaemon workhome

Related Issue
https://github.com/dragonflyoss/Dragonfly2/issues/1197

Motivation and Context

Screenshots (if appropriate)
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #1200 (13444f7) into main (fa3c2c7) will decrease coverage by 0.95%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #1200      +/-   ##
==========================================
- Coverage   46.59%   45.64%   -0.96%
==========================================
  Files         133      135       +2
  Lines       10528    10723     +195
==========================================
- Hits         4906     4894      -12
- Misses       5068     5281     +213
+ Partials      554      548       -6

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
45.64% <75.00%> (-0.96%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cmd/dfget/cmd/root.go
34.35% <75.00%> (ø)

client/daemon/peer/peertask_piecetask_poller.go
30.37% <0.00%> (-22.97%)
:arrow_down:

...ent/daemon/peer/peertask_piecetask_synchronizer.go
46.95% <0.00%> (-9.76%)
:arrow_down:

client/daemon/peer/peertask_conductor.go
56.47% <0.00%> (-1.22%)
:arrow_down:

cmd/dfget/cmd/daemon.go
1.56% <0.00%> (ø)

@jim3ma 我先关闭这个pr


_7kaa: 2.15.4p1 -> 2.15.5

Description of changes
https://github.com/the3dfxdude/7kaa/releases/tag/v2.15.5
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 236544 run on x86_64-linux 1

1 package built:

_7kaa

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/983


SPIRV-Cross dont work

Hello guys,
i am really sorry that i have to create a issue here, but i tryed almost everything and i have always the same problem and i dont know if its a bug or a mistake of my part.
So i want to use SPIRV-Cross do build automatically an appropriate Pipeline-Layout, but the library stops always at this part in spirv_cross.cpp in the parse() function:
	uint32_t offset = 5; 	while (offset < len) 		inst.emplace_back(spirv, offset);
There is always an endless loop here, with every shader i tryed to load. Shaders working fine. I tryied using a static lib (building with VS 15) and adding the files to my own codebase. With both approaches the same result.
Hope you can help me :(

This looks non-sensical to me. Instruction constructor modifies offset there. Can you try logging what happens to offset in Instruction::Instruction? It sounds like a compiler bug to me, really. It works fine on all compilers I've tested (GCC, Clang, MSVC 2013).

Offset stops at around ~300. Shader-Code has a size of 1.388. Here is one:
#version 450
out gl_PerVertex {
vec4 gl_Position;
};
// Uniforms
layout (set = 0, binding = 0) uniform UBO
{
mat4 world;
};
layout (set = 1, binding = 0) uniform UBO2
{
mat4 viewProjection;
};
// In Data
layout (location = 0) in vec3 inPos;
layout (location = 1) in vec2 inUV;
layout (location = 2) in vec3 inNormal;
// Out Data
layout (location = 0) out vec2 outUV;
void main()
{
outUV 		= inUV;
gl_Position = viewProjection * world * vec4(inPos.xyz, 1.0);
}

Yes here it is:
vert.zip

Oddly enough, I'm getting the same output for that .spv file.
Are you or anyone else able to test it on MSVC 2013 to narrow it down?
Only explanation I have so far is a compiler issue.

Mhh with VC13 i am getting always an exception: spirv_cross:CompilerError at location..
I pretty new to c++ and visual studio, so i might be doing some things horrible wrong. I will remove spirv-cross from my project for now. :/ sad

Happens to me too with VS 2015, endless loop

I'll try to repro on a VS 2015 install.

Alright, I tried on:
Visual Studio Community 2015
Version 14.0.25421.03 Update 3, which should be the latest (downloaded today).
Tried all variants:
Debug|Relase and x86|x64.
Ran on command line:
SPIRV-Cross.exe vert.spv
vert.spv works fine on all build variants for me. Does it happen from command line as well? If it only happens by using API, I would like a reproducing sample.

Maybe our "load_spirv_file();" function is completely different and causes somehow this error.
//Read a binary file into a buffer (e.g. a SPIRV file)
std::vector<uint32_t> readBinaryFile(const char* filename)
{
    std::ifstream file(filename, std::ios::binary);

    if (!file.is_open())
        vkTools::exitFatal("ERROR in vkTools::readBinaryFile(): Could not load '" + std::string(filename) + "' file.");

    std::vector<char> spirv((std::istreambuf_iterator<char>(file)), (std::istreambuf_iterator<char>()));

    file.close();

    // Copy data from the char-vector to a new uint32_t-vector
    std::vector<uint32_t> spv(spirv.size());
    memcpy(spv.data(), spirv.data(), spirv.size());

    return spv;
}

This is how i loading the spirv-file and then calling this:
spirv_cross::CompilerGLSL glsl(std::move(spirv_binary));
Could you show me your way of loading the binary spirv-file?
Btw: i couldnt figured out how to pass it directly into a std::vector<uint32_t>, so i am doing this completely unneccessary copy :O do you know how i can load it directly?

Oh. This looks wrong. You're using the size of a char buffer. If you create a uint32_t buffer you get a 4 times larger buffer which has lots of zeroes in it, which is not valid SPIR-V code.
std::vector<uint32_t> spv(spirv.size() / sizeof(uint32_t));
memcpy(spv.data(), spirv.data(), spirv.size());

seems more correct.

That was it ._. Now it works. But do you know how to read the binary data directly into a vector of uint32_t? Thanks :dancer:

I prefer C stdio for dealing with binary data like this.
This is how SPIRV-Cross does it at least:
https://github.com/KhronosGroup/SPIRV-Cross/blob/master/main.cpp#L149.
Looking at it again, it's not super strict about error handling, but oh well.
Closing this since it wasn't a SPIRV-Cross bug.


CNV-46447: We don't want to upload the disk to registry anymore

📝 Description
We decided not to allow the user to upload a disk to the registry. We'll wait to see if people need that.

/lgtm


CMD-Shift-T on lib Java file causes Uncaught Type Error

I need to stress that this is not a problem for me, just a situation I spotted and I'm logging.
The steps to reproduce are involved. That's because it's an odd situation (for me), where I have a JAR file inside lib folder for an sbt project.  That seems to be part of the problem here. Maybe.
Also: The error message detail is odd ("ensime is out of date: undefined installed")
Steps...

Clone: https://github.com/d6y/scala-robot-dev
sbt gen-ensime in that project
atom . in the folder
Run: Ensime Start and wait for Full typecheck finished! message
Open MyFirstRobot.scala
Activate CMD-Shift-T
Type Robot, which should highlight roboode.Robot
Press Enter
Observe the error.

Note: if you search for other Java classes, such as Color (for awt.colour), there's no problem.
Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: ensime package, vundefined
Stack Trace
Uncaught TypeError: Cannot read property 'typehint' of undefined
At /Users/richard/.atom/packages/ensime/lib/client.coffee:95

TypeError: Cannot read property 'typehint' of undefined
    at Client.module.exports.Client.goToPosition (/Users/richard/.atom/packages/ensime/lib/client.coffee:95:11)
    at HTMLDivElement.SymbolSearchView.atom.commands.add.core:confirm (/Users/richard/.atom/packages/ensime/lib/views/public-symbol-search-vue.coffee:86:17)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:243:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:528:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:351:22)
    at HTMLDocument.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:20)

Commands
     -1:45.4.0 ensime:start (atom-text-editor.editor.hyperclick)
     -1:28.5.0 ensime:search-public-symbol (atom-text-editor.editor.is-focused.hyperclick)
     -1:20.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:44.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:44.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:29.7.0 command-palette:toggle (atom-text-editor.editor.is-focused.hyperclick)
     -0:28.8.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:28.8.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:25.7.0 ensime:search-public-symbol (atom-text-editor.editor.is-focused.hyperclick)
  6x -0:24.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:17.9.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:17.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:09.2.0 ensime:search-public-symbol (atom-text-editor.editor.is-focused.hyperclick)
  7x -0:07.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  3x -0:05.5.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:01.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store",
      "target",
      ".settings",
      ".ensime"
    ],
    "themes": [
      "atom-light-ui",
      "d6y-syntax"
    ],
    "disabledPackages": [
      "linter-scalac",
      "archive-view",
      "language-c",
      "language-clojure",
      "language-csharp",
      "language-go",
      "language-make",
      "language-objective-c",
      "language-perl",
      "language-php",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-toml",
      "metrics",
      "atom-ctags",
      "autocomplete-haskell",
      "haskell-ghc-mod",
      "ide-haskell",
      "language-haskell",
      "language-purescript"
    ],
    "audioBeep": false,
    "followSymlinks": false
  }
}

Installed Packages
# User
.bin, vundefined
Ensime, v0.28.1
atom-typescript, v7.7.0
autocomplete-ctags, v0.3.2
autocomplete-paths, v1.0.2
d6y-syntax, v1.1.0
editorconfig, v1.2.1
hex, v0.6.2
hyperclick, v0.0.32
language-scala, v1.1.4
latex, v0.28.0
linter, v1.10.0
pretty-json, v0.4.1
project-manager, v2.6.5
raml, v0.2.0
symbol-gen, v1.0.0
tabs-to-spaces, v0.11.1

# Dev
No dev packages

We get no position from server:
{
  "callId": 5,
  "payload": {
    "typehint": "SymbolSearchResults",
    "syms": [
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.exception.RobotException",
        "localName": "RobotException",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.RobocodeFileOutputStream",
        "localName": "RobocodeFileOutputStream",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.Robocode",
        "localName": "Robocode",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.RobotDeathEvent",
        "localName": "RobotDeathEvent",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.RobotStatus",
        "localName": "RobotStatus",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.RoundEndedEvent",
        "localName": "RoundEndedEvent",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.RobocodeFileWriter",
        "localName": "RobocodeFileWriter",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.Robot",
        "localName": "Robot",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.control.RobotSetup",
        "localName": "RobotSetup",
        "declAs": {
          "typehint": "Class"
        }
      },
      {
        "typehint": "TypeSearchResult",
        "name": "robocode.control.RobocodeEngine",
        "localName": "RobocodeEngine",
        "declAs": {
          "typehint": "Class"
        }
      }
    ]
  }
}

Should add a check on that.

I just popped a error msg instead of throwing exception, but better would probably be to already in the panel show the symbol as "unreachable". But I'll close this one.


chore(main): release 0.2.3

:robot: I have created a release beep boop
0.2.3 (2024-07-01)
Documentation

fixed annotations, added citation file (baa3628)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.3
:sunflower:


fix: Remove DEFAULT_YAML_RULES from config

This variable is never used, as it gets shadowed by the utils.py:
DEFAULT_YAML_RULES = """\
extends: relaxed

rules:
  line-length:
    max: 120
"""

@leseb done ;)


print out a summary after gofabric8 deploy has finished fixes fabric8…

…io/fabirc8#6303

[merge]


Gravity Switch Game is added

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #5161

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in GameZone's README.md
[x] I have added README.md in my Game folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.
[x] I have added my Game to gamesData.json file and it is loading properly on main website as intended.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Ishitamukherjee2004 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Resolve merge conflicts

Thank you  @Ishitamukherjee2004 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Thank you  @Ishitamukherjee2004 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Fix 2 bugs

Fix a bug which ignores X-Forwarded_Proto Header
Config entry error, rename upload.uploadDir to uploader.upload

made a mistake. sorry


Fixing panic for pull secret implementation

We need to call newPodManager function in roder to correctly initialize pullSecrets implementator, instead fo initializing workerHelperImpl explicitly

/lgtm


Merge master into smallbank, with merge conflict fixes

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: peterschwarz:white_check_mark: jsmitchell:x: vaporosYou have signed the CLA already but the status is still pending? Let us recheck it.


Depth image

Hi,
I would ask about depth image, why I am getting an image with four channels first three are the same, and the last one is a white image?

Hi @zaher88abd ,
You are probably retrieving the depth image using retireveImage and not using retrieveMeasure. You should retrieve the depth like this, and it will give you a 32FC1 matrix.
zed.retrieve_measure(depth, sl.MEASURE.MEASURE_DEPTH)

You can check the depth sensing tutorial here : tutorials/depth_sensing.py

Thanks, @Poutsh. I got the data but when I tried to show it by opencv I got some issues. Firstly, the coding of the image is float32. SO, what is the best way to show it to uint8? Or there is a diffrenet way without casting.

Thanks, @Poutsh.


Version bump in package.json to remove conflicting license reference

This version bump should enable NPMJS.com to see the update in this package resulting in the Alloy package to be able to use it. Then, consumers of the Web SDK should be able to install and consume the Alloy NPM package and this AEP Rules Engine dependency without the conflicting license file.
Related commit: https://github.com/adobe/aepsdk-rulesengine-typescript/commit/a028e51d69b99eb680f6f73e84e090e2c9bcb25b

Description
This version bump should enable NPMJS.com to see the update in this package resulting in the Alloy package to be able to use it. Then, consumers of the Web SDK should be able to install and consume the Alloy NPM package and this AEP Rules Engine dependency without the conflicting license file.
Related Issue
Related commit: https://github.com/adobe/aepsdk-rulesengine-typescript/commit/a028e51d69b99eb680f6f73e84e090e2c9bcb25b
Motivation and Context
Ensures the last commit by Adobe team that removed a conflicting license file is reflected in NPMJS.com which currently shows the last update is one year ago, ref. https://www.npmjs.com/package/@adobe/aep-rules-engine.
How Has This Been Tested?
This is a version bump change, need more specific details from Adobe team if specific testing is required.
Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Hello @alex-arriaga, @AlexSerrano22, and @dharmasagar. I am going to close this PR in favor of #26 since you have not signed the Adobe Open Source CLA.


Color Picker doesn't work

Microsoft PowerToys version
0.59.1
Running as admin

[ ] Yes

Area(s) with issue?
ColorPicker
Steps to reproduce
Boot up your PC
Run PowerToys
Close the PowerToys Window
Press Win+Shift+C or Custom command
✔ Expected Behavior
If I press Win+Shift+C the colour/color picker should appear.
❌ Actual Behavior
On pressing Win+Shift+C nothing happens, in spite of PowerToys running in the background and appearing in the system tray.
Other Software
No response

Unfortunately there is nothing useful in the bug report.
May be a duplicate of #18363
Can you check if ColorPicker process is running in the task manager after you press the shortcut?

Still unable to open ColorPicker even after restarting PowerToys or a system reboot?


[Sage 882] Drawer - Component

Description

Screenshots

Before
After

Testing in sage-lib

Testing in kajabi-products

(LOW/MEDIUM/HIGH/BREAKING) Description of the change and its impact with QA as the audience.

[ ] One more examples of the component in use to either test the change or verify the change has not had adverse effects.

Related

Closing in favor of #933


request help: trigger a the postFitler method

Issue description
Hello,
I wrote my first external plugin with this code:
public class ExamplePostFilter implements PluginFilter {

    @Override
    public String name() {
        return "ExamplePostFilter";
    }

    @Override
    public void postFilter(PostRequest request, PostResponse response, PluginFilterChain chain) {
        ... some logic ...
        chain.postFilter(request, response);
    }

}

Then I configured my route in this way:
  ...
  "ext-plugin-post-req": {
      "conf": [
        {
          "name": "ExamplePostFilter",
          "value": "{\n\"variable1\": \"testme\"\n}"
        }
      ]
    }

When I query the route, the postMethod(...) is never triggered (my breakpoints are ignored and no log is written). If I add in my plugin class some overrided methods like requiredRespBody(), I correctly see that they are triggered. I think that for some reasons (or some bad configuration), the doPostFilter(...) in the RpcCallHandles class is never reached.
What am I doing wrong with my plugin configuration?
Thanks a lot.
Paolo
Environment
Apisix 3.9.x
apisix-java-plugin-runner 0.5.0

My fault, i have to use ext-plugin-post-resp instead of ext-plugin-post-req.


consider XCPD variations

Should XCPD variations be discussed? record location, cross-reference, demographics, etc.
Ask of @jlamy to review and offer insights on XCPD variations that should be highlighted. This is not a technical text, recommended text should be appropriate and lead the reader to the Profile for further detail and technical specifications

@jlamy any progress on XCPD variations in HIE whitepaper speak?

might this be handled in the new table that charles added around patient identity management? I don't know, because I don't understand the modes...

I propose that the existing text covers this well enough @jlamy do you agree?

I think it's almost there. What's missing is a bit more focus on record location, which is what differentiates XCPD from PDQ and PIX. PDQ and PIX deal with logical patient identifiers - even if a patient has multiple ids from different logical domains, in a single community they represent one location. In a federated community environment, each community is a distinct potential location for patient info, even if two communities happen to use the same patient id from a shared patient domain. I'll see where the text can be tweaked.

Let's modify the second paragraph as follows:
XCPD is similar in function to PDQ but is used with the Federated Discovery and Retrieve model of Document Sharing. XCPD enables discovery that a patient is known and potentially has information at a given community. Once this is known, the Initiating Gateway can use XCA to obtain documents for that patient from that community. XCPD also enables centralized "Record Locator Services" that allow Initiating Gateways to discover a patient is known in multiple communities without having to ask each one. XCPD supports a hierarchical approach which bridges communities that might use PIX or PDQ internally.

Ok, edits ready to go with a pull request. But I have a question:
On the call we decided to strike the part that said PDQm could be used similarly to XCPD, because PDQm doesn't have the concept of community. I still think we should strike it, but my reasoning is more nuanced:

PDQm could be used by a community to confirm whether that community alone knows the patient, so it would cover the basic XCPD flow, just not the RLS/PLQ/HDL flow.
However, I would think that a real FHIR replacement for XCPD wouldn't use the simple HTTP search function, but rather the Patient-match operation, which reflects probabilistic matching.


tonic-build - don't replace extern_path'd paths

tonic-build will replace all paths except for google well known types
with one rooted at the super module. For paths that have already been
replaced with a fully qualified path via the extern_path config option,
(e.g. "::uuid::Uuid"), this results in an invalid path
(e.g. "super::::uuid::Uuid"), and a build failure. These paths should
also be excluded when prefixing relative modules with super.
Motivation
See commit message, and #260
When extern_path'd are used in service method definitions, prost-build panics.
See https://github.com/cthulhua/tonic_extern_path/tree/master for a repro of the issue (it works when build against this branch).
Solution
Similar to how google well known types are handled, in the event an absolute path would be made relative, leave it absolute.

Sorry for the delay in review! I think this makes sense, though we should add this somewhere to the docs. I think under extern_path state that you need to prefix them with ::. Otherwise LGTM

Thanks, I've added to the docstring for extern_path clarifying the need for fully qualified paths

Sorry about the delay; been caught up in quite a bit recently. I adapted my repro crates into tests; i just assert that a type generated from a service uses an external crate.


R extension warnings: system cannot find the path specified and Failed to get list of R functions

Describe the bug
R extension  of vs code reports two warning notifications every time that my cursor moves over a R code ,that say:

The system cannot find the path specified.
2.Failed to get list of R functions. Make sure that jsonlite is installed and r.rpath.windows points to a valid R executable.

I can still run R code, but those warnings are annoying and I don't know if something is wrong that I'm not noticing. I already have the jsonlite package installed in R and R path  set on the vs code settings.
To Reproduce
Steps to reproduce the behavior:

Open or write any R script
Move the cursor over any function of the code.
See error

Can you fix this issue by yourself? (We appreciate the help)
No
(If applicable) Please attach setting.json
{
    "workbench.colorTheme": "Visual Studio Dark",
    "[python]": {
        "editor.formatOnType": true
    },
    "files.associations": {
        "*.rmd": "markdown"
    },
    "r.bracketedPaste": true,
    "r.rterm.windows": "C:\\Users\\Dell\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\radian.exe",
    "r.rpath.windows": "C:\\R\\R-4.2.2\\bin\\x64\\R.exe"
}

Expected behavior
I excpected to be able to work with R in vs code
Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

OS:  Windows (64 bits)
VSCode Version: 1.75.1
R Version: 4.2.2
vscode-R version: 2.7.1

Additional context
Please, help. I will aprecciate it

try to set r.rpath.windows in the extensions in vscode, make sure it point to the R execute

Indeed it is pointed to the right path:
r.rpath.windows": "C:\R\R-4.2.2\bin\x64\R.exe


Consider re-activating Windows

Test files are not found currently on Windows:
FAILED tests/test_resave.py::test_remote_simple_with_download - ValueError: store mode does not support writing

see: https://github.com/ome/ome2024-ngff-challenge/pull/13/commits/f0610c3b408163645f0de770f2f054b4a1c82acc

Haven't had any requests to date. Please let us know if there's need.


issue about XLA compile MirroredStrategy

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): I have tested on Ubuntu 18.04.
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.7.0
Python version: 3.7
CUDA/cuDNN version: 11.0
GPU model and memory: Tesla P100

Describe the current behavior
When I train my model on multi-gpu with XLA compiling below error is occurred.
021-11-20 12:57:08.333476: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-11-20 12:57:09.302772: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1525] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 15397 MB memory:  -> device: 0, name: Tesla P100-PCIE-16GB, pci bus id: 0000:3b:00.0, compute capability: 6.0
2021-11-20 12:57:09.303502: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1525] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 15397 MB memory:  -> device: 1, name: Tesla P100-PCIE-16GB, pci bus id: 0000:b1:00.0, compute capability: 6.0
2021-11-20 12:57:10.556310: W tensorflow/core/framework/op_kernel.cc:1745] OP_REQUIRES failed at xla_ops.cc:241 : INVALID_ARGUMENT: Trying to access resource _AnonymousVar3 (defined @ /home/sdb/wda/tf_xla/lib/python3.7/site-packages/keras/engine/base_layer_utils.py:129) located in device /job:localhost/replica:0/task:0/device:GPU:1 from device /job:localhost/replica:0/task:0/device:GPU:0
Traceback (most recent call last):
  File "/home/sdb/wda/TF2-jit-compile-on-multi-gpu/xla_tf_function_distributed.py", line 59, in <module>
    train_step_dist(images, labels)
  File "/home/sdb/wda/tf_xla/lib/python3.7/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/home/sdb/wda/tf_xla/lib/python3.7/site-packages/tensorflow/python/eager/execute.py", line 59, in quick_execute
    inputs, attrs, num_outputs)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Trying to access resource _AnonymousVar3 (defined @ /home/sdb/wda/tf_xla/lib/python3.7/site-packages/keras/engine/base_layer_utils.py:129) located in device /job:localhost/replica:0/task:0/device:GPU:1 from device /job:localhost/replica:0/task:0/device:GPU:0 [Op:__inference_train_step_dist_650]

Describe the expected behavior
I want to use XLA  compile MirroredStrategy， because I found that XLA can now compile MirroredStrategy: the step function passed tostrategy.run can now be annoted with jit_compile=True. from RELEASE.md from  2.5.0
Standalone code to reproduce the issue:
import tensorflow as tf
tf.compat.v1.enable_eager_execution()

# Size of each input image, 28 x 28 pixels
IMAGE_SIZE = 28 * 28
# Number of distinct number labels, [0..9]
NUM_CLASSES = 10
# Number of examples in each training batch (step)
TRAIN_BATCH_SIZE = 100
# Number of training steps to run
TRAIN_STEPS = 1000

# Loads MNIST dataset.
train, test = tf.keras.datasets.mnist.load_data()
train_ds = tf.data.Dataset.from_tensor_slices(train).batch(TRAIN_BATCH_SIZE).repeat()

# Casting from raw data to the required datatypes.
def cast(images, labels):
    images = tf.cast(
        tf.reshape(images, [-1, IMAGE_SIZE]), tf.float32)
    labels = tf.cast(labels, tf.int64)
    return (images, labels)

layer = tf.keras.layers.Dense(NUM_CLASSES)
optimizer = tf.keras.optimizers.Adam()

@tf.function(jit_compile=True)
def compiled_step(images, labels):
    images, labels = cast(images, labels)

    with tf.GradientTape() as tape:
        predicted_labels = layer(images)
        loss = tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(
            logits=predicted_labels, labels=labels
        ))
    gradients = tape.gradient(loss, layer.trainable_variables)
    return loss, predicted_labels, gradients

@tf.function()
def train_step(images, labels):
    loss, pred, gradients = compiled_step(images, labels)
    optimizer.apply_gradients(zip(gradients, layer.trainable_variables))

strategy = tf.distribute.MirroredStrategy()

@tf.function(jit_compile=True)
def train_step_dist(image, labels):
    strategy.run(train_step, args=(image, labels))

for images, labels in train_ds:
    if optimizer.iterations > TRAIN_STEPS:
        break
    train_step_dist(images, labels)

Hi @xuanhuo! I could not find any problem in Colab though . Could you try again with CUDA 11.2 and  CuDNN 8.1  as this thread suggests?

@mohantym Thank you very much，Now，If I use one GPU， It is correct， but If I use two GPU, It's wrong. so how many gpus did you use?

@xuanhuo  ! I used Single GPU in Colab.  @sanatmpa1! Could you please look at this issue ? The issue is not replicating in Colab though .Attaching Gist for reference.

Hi, does the issue appear with jit_compile=True only or without as well?

Hi, does the issue appear with jit_compile=True only or without as well?

also @smit-hinsu

I have the same issue when running on two GPUs with MirroredStrategy:
2023-06-30 09:27:16.791900: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at xla_ops.cc:566 : INVALID_ARGUMENT: Trying to access resource Resource-690-at-0x53c71be0 (defined @ /home/nicolas/.local/lib/python3.9/site-packages/keras/src/optimizers/optimizer.py:113) located in device /job:localhost/replica:0/task:0/device:GPU:0 from device /job:localhost/replica:0/task:0/device:GPU:1
 Cf. https://www.tensorflow.org/xla/known_issues#tfvariable_on_a_different_device

Bumped into this exact same issue in TF 2.14!  Is anyone using multi GPU at all?!  I can't validate TF 2.15, as the official docker image has broken GPU support entirely (different ticket already open about that)

Hello, are there some plans to fix this issue? This is very useful to train models much faster.


recommended reading materials

Thank you for this great contribution!
Yet, I am wondering where we could find are some reading materials that might help us understand the theory foundation behind the implementations.
Any recommendation would be appreciated!

Hi!
I just wrote a Medium article about the theory behind these conversions. Hope it helps :)
https://medium.com/check-visit-computer-vision/understanding-360-images-8e0fcf0ee861


Scheme mode indent issue

Here is the code that show wrong indent after class definition (define-class is macro that have proper S-Expression)
(define-class Button (. preact 'Component)
              (constructor (lambda (self x)
                             (print x)))
              (render (lambda (self props state)
                        (with-tags (:button (:onclick (lambda (e)
                                                        (alert "foo"))))))))
;; wrong indent should indent to begning of the line
        (define h (. preact 'h))

        (define foo (new Button "hello"))

If I go to https://codemirror.net/mode/scheme/, paste that code, and reindent it (ctrl-a shift-tab), I get the correct indentation.

Sorry, I don't understand why I've got this wrong indent in first place. It seems to work fine. I was getting this indent when I've pressed enter after first S-Expression.


Docker version ?

Hi,
Any plans to make a docker image of the server ?
Thanks

Just realised there is a dockerfile included ! Closing


checks: mons: total daemons should be an odd number

It shouldn't be even numbers

https://github.com/ceph/ceph-medic/pull/83


0.2.95 breaks imports that rely on context when using js_namespace

Describe the Bug
I have the following imports in my Rust code:
#[wasm_bindgen(js_namespace = document, js_name = createTextNode)]
pub(crate) fn text_node(t: &str) -> Node;

#[wasm_bindgen(js_namespace = document, js_name = createTextNode)]
pub(crate) fn text_node_num(t: f64) -> Node;

These follow the examples given in the docs so I don't think I'm doing anything weird.
The codegen for 0.2.93 looks as follows:
imports.wbg.__wbg_createTextNode_9e1923f20a1a5e7c = function(arg0, arg1) {
    const ret = document.createTextNode(getStringFromWasm0(arg0, arg1));
    return addHeapObject(ret);
};
imports.wbg.__wbg_createTextNode_91b927b5f0a34bb9 = function(arg0) {
    const ret = document.createTextNode(arg0);
    return addHeapObject(ret);
};

This works as intended.
Since 0.2.94 got yanked I can't check that, however in 0.2.95 the codegen has changed:
imports.wbg.__wbg_createTextNode_9e1923f20a1a5e7c = function(arg0, arg1) {
    const ret = document.createTextNode(getStringFromWasm0(arg0, arg1));
    return ret;
};
imports.wbg.__wbg_createTextNode_91b927b5f0a34bb9 = typeof document.createTextNode == 'function' ? document.createTextNode : notDefined('document.createTextNode');

Ignoring the change to reference passing (not sure why that happens yet but it's not the issue) the new codegen grabs a reference to the JS function directly without its context, which leads to errors when the function is a method and requires its context on call site.
You can easily reproduce the same error in the browser console:

Steps to Reproduce
Use this example from the docs:
#[wasm_bindgen]
extern "C" {
    #[wasm_bindgen(js_namespace = ["window", "document"])]
    fn write(s: &str);
}

write("hello, document!");

Change the parameter from &str to a primitive such as u32.
Expected Behavior
The codegen should maintain the callsite as it did in 0.2.93, or it should use the .bind method:
imports.wbg.__wbg_createTextNode_91b927b5f0a34bb9 = typeof document.createTextNode == 'function' ? document.createTextNode.bind(document) : notDefined('document.createTextNode');

Additional Context
I'm filing this as a bug since upgrading the version did break my code, however I'm not sure if the thing I'm doing (and the docs in question) really should be the correct way to do this. Having to provide my own little snippets for function calls like that is annoying, but in the long run probably conveys the intent clearer.
I reckon alternative to reverting any changes here would be to change the docs stating that js_namespace shouldn't be used on built-in objects with methods. Sadly JS is extremely inconsistent about this, while you can't grab methods from document without the context, console methods (such as console.log) generally don't care about context at all.

After filing this I now realize this behavior might have been there long before 0.2.95, but the change to passing things via reference (again not sure why that happens, might be something to do with Trunk) is what enables binding namespaced functions to imports directly.

I just looked at the code gen for imported JS function and wondered whether binding them as typeof fn == 'function' ? fn : notDefined('fn'); would cause problems. So I guess there is my answer.
I would agree that this code gen is incorrect, because it doesn't capture this.
You suggested fixing this with bind, but I think that even that is incorrect. The fix with bind is only correct if we assume that the namespace will always refer to the same object. If the namespace is an object that changes at runtime, then
imports.wbg.__wbg_fn = typeof obj.fn == 'function' ? obj.fn.bind(fn) : notDefined('obj.fn');

would still behave differently from
imports.wbg.__wbg_fn = function(...args) {
    return obj.fn(...args);
};

Think you're right. I'd also prefer just wrapping the caller in a function to make the call site explicit. I only suggested bind since that ties in nicer with the ternary expression, but I suppose the ternary is only there to make debugging easier and is not necessary with the function.


Backward mapping

Hi,
After I do some perturbation on the feature space, is it possible to map the features back to amino acid sequence? Thanks!

Hi, I haven't tested this strategy, if you need help, I'll do my best to provide it.

Thanks, currently I'm using VAE to encode the sequence and it works well. If I need some professional encoders like yours, I'll ask for your help.


Enhance Robustness of _format_nodes in Graph Transformers

Description:
When using the LLMGraphTransformer with certain LLMs (e.g., Ollama), we encountered ValidationErrors due to nodes with None types. The current implementation of _format_nodes in langchain_experimental/graph_transformers/llm.py permits None as a node type, which conflicts with the Node model that expects a string.
Current Implementation:
def _format_nodes(nodes: List[Node]) -> List[Node]:
    return [
        Node(
            id=el.id.title() if isinstance(el.id, str) else el.id,
            type=el.type.capitalize()  # type: ignore[arg-type]
            if el.type
            else None,  # handle empty strings  # type: ignore[arg-type]
            properties=el.properties,
        )
        for el in nodes
    ]

This can lead to the following error when a node has a None type:
ValidationError: Input should be a valid string

Proposed Solution:
Modify _format_nodes to handle None types more robustly, preventing ValidationErrors and ensuring graph consistency.
Proposed Change:
def _format_nodes(nodes: List[Node], default_type: str = "Unknown") -> List[Node]:
    return [
        Node(
            id=el.id.title() if isinstance(el.id, str) else el.id,
            type=el.type.capitalize() if el.type else default_type,
            properties=el.properties,
        )
        for el in nodes
    ]

Key Improvements:

Makes sure the node type always returns a valid string, preventing ValidationErrors.
Introduces a customizable default_type parameter (defaulting to "Unknown").
Maintains backwards compatibility

Benefits:

Prevents errors when working with LLMs that return incomplete node data.
Graphs don’t fail due to missing type information.
Allows custom default behavior for node types via the default_type parameter.

Potential Concerns:

Changes default behavior slightly, potentially impacting implementations relying on None types.
Might hide data quality issues that the current behavior exposes.

I think this was fixed in previous commit: https://github.com/langchain-ai/langchain-experimental/commit/6fdfdbe2d66325a2e81555890715e69946e7e26b

I actually encountered that issued after the commit

Yeah, commit is in, but there was no new release after unfortunately

aight I see


Add Mac apps deployment support

Fastlane's deliver has support for OS X apps deployment. This PR allows users to upload their pkg to iTunesConnect.

Looks good to me - we'll try to test & release a new version of the step ASAP! Thanks!

@olegoid we tested your changes and everything works great! Thanks for the contribution!


samples: Bluetooth: Minor improvements for broadcast audio sink

Increases some of the timeouts so that when using this sample against other interactive devices (such as a phone or the Zephyr audio shell), then it's easier to do it in time.
Also updates a few of the printks and ensures that we are not doing name filtering when we have been requested to sync to a specific broadcast source by a broadcast assistant.

This needs additional qualified reviews if it is to make into Zephyr v3.6.0.


Implement Timber support for theming

Just stumbled across Timber and it looks like it could be a nice idea for Sage.

http://upstatement.com/timber/

You are more than welcome to copy/paste the PHP template files into views for Twig/Timber (or any other template engine for that matter). But no we won't be making Timber a dependency of Sage anytime soon.

@inverse can confirm that Timber works great with Sage. Used it on a couple projects and really enjoy it.

fyi, we plan on adding an option for timber support with the sage yeoman generator

I Like!

@retlehs has the generator been added yet? Or is still a work in progress?


add noop index.js to allow gatsby to find the plugin

Fixes following issue: https://github.com/codeAdrian/gatsby-omni-font-loader/issues/7

Hi @henrikdahl ,
thanks for the PR. I haven't encountered this issue, but I can see that it can happen. I'll merge and publish it right away. Thank you!


fix TreeNode type so children works recursively

@metonym done, though i couldn't get yarn to work on my PC so i'm hoping my edits match what yarn build:docs would've done
on a related note, how come the source code is written in js? would it make more sense to have the source code written in typescript and use svelte-package to distribute type-stripped .svelte files and .d.ts files?

though i couldn't get yarn to work on my PC so i'm hoping my edits match what yarn build:docs would've done

It's looking good. I'll run yarn build:docs so the other auto-generated docs are included in this PR.


improve example notebook

Some improvements to the example notebook.

longer intro
more comments
images showing the expected results

@bclavie


Component can't be restored from this error

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Open: https://master--toolpad.mui.com/_toolpad/app/clbxozkn30001vg9jj6x4k742/pages/59i3m1g
The component on bottom right cannot be returned to a working form. This happened when a related component was deleted.

Is there a way to handle such scenarios better?
Expected behavior 🤔
I should be able to get to the root cause to fix why the component is not working.

Yes, there were 2 components (text with some bindings for some calculations and a code component) over a paper component. I just moved code component out of the paper component and this happened.
Also, I was unable to Undo this.

Yes, there were 2 components (text with some bindings for some calculations and a code component) over a paper component. I just moved code component out of the paper component and this happened.

I just tried doing something like that with Text and a custom component and there's no issues, so it's probably something more specific... Also investigated the DOM a bit but didn't find anything.
Without a reproducible, step-by-step example it's hard to figure out what might be wrong. Do you think you can find a way to replicate what happened here?

Sure, let's keep it open for now. I have seen this happening rarely though but whenever it will happen next I'll try to share the video and steps.

IMO ideally in such cases we would capture dom and add it to the gh issue, so that should be easiest way to debug and fix such problems 🤔


Remove deprecated APIs in TooltipArea and PointerEvent.

Proposed Changes
Remove some APIs which we promised to remove back in 1.5:

TooltipPlacement. positionProvider()
PointerEvent.copy

Testing
Test:

We'll need to add these to the changelog/release notes.


ecapture能支持像tcpdump一样的过滤规则包语法吗

Describe the bug
A clear and concise description of what the bug is.
VERSION:
linux_x86_64:0.4.10-20221211-3a46b62:[CORE]
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Linux Server/Android (please complete the following information):

Env: [run make env to get the environment variables]
OS: [e.g. Ubuntu 21.04]
Arch: [e.g. arm_aarch64]
Kernel Version: [e.g. 5.10]
Version: [e.g. 0.1.3-20220313-69c1e0]

Additional context
Add any other context about the problem here.

In the next two years, it is not in the plan. I do not expect eCapture to be as complex and large as tcpdump, and hope that eCapture is a supplement to tcpdump.

未来2年内，不在计划中。我不期望eCapture做的跟tcpdump一样复杂庞大，希望eCapture是tcpdump的一个补充


Question Regarding Activation on MLP Head

Hello,
Thanks for creating such an interesting paper! This adaptation of an off-the-shelf Vision Transformer to a spectrogram transformer is truly fascinating, backed by great results!
I was wondering about why was simply a linear (or no) activation chosen for the MLP head of the AST model? Seems like there's only a linear operation.
Noting that most multi-class algorithms for CV end in a softmax activation, it would be interesting to know your rationale for the choice.
I also noticed that in the paper, it is mentioned that " A linear layer with sigmoid activation maps the audio spectrogram representation to labels for classification." However, there is no sigmoid activation in the MLP head portion of the ast_models.py file.
It would be greatly appreciated if you could clarify on the above questions.
Thanks,
Arsh

Hi Arsh,
Thanks for your kind words.
The activation is in the loss function.
-For multi-label classification (more than one label for each audio clip), BCE loss with Sigmoid is used (https://github.com/YuanGongND/ast/blob/7b2fe7084b622e540643b0d7d7ab736b5eb7683b/src/traintest.py#L65)
-For multi-class classification, CE loss with softmax is used (https://github.com/YuanGongND/ast/blob/7b2fe7084b622e540643b0d7d7ab736b5eb7683b/src/traintest.py#L71).
-Yuan


Transaction format differences?

I want to create and sign transaction from offline using bitcoinjs-lib (or maybe other libraries)
When I try to send this transaction data to verge daemon, it fails with "TX decode failed" error message.
I've found that verge transaction data is little bit different than general bitcoin format which makes things not compatible.
for example, when I call "bitcoin-cli decoderawtransaction {hex from verge transaction}", output is somewhat strange. Verge also can't decode bitcoin transaction data correctly but outputs "TX decode failed"
I've also found similar issue from below link saying that it's because of "nTime" but there's no clear explaination about it.
https://github.com/vergecurrency/VERGE/issues/738
Can you provide some link or info about what you changed from bitcoin?
What happened with nTime?

Yeah that just doesn't work that way, sorry for that. The least complicated solution would be to wait for the new codebase release and additionally for the upcoming https://github.com/vergecurrency/xvg-bitcore-lib
disclaimer: the named lib above is not functional as of now ...

@marpme
Can you tell me briefly what things changed for tx format? I think I can tweak libraries if there's some explanation or spec document.
Maybe some hints why verge dev team changed transaction format?

@redred77 well we have stealth transactions, which is different than a standard transaction, for one..


Pass cache from LocalProjectBuilder to LocalProject

It can be used later on, so it should be passed and initialised.
Fixes #2340

Let's merge this, I'll try to test it on stage first.


Please add a "LICENSE" file

Hi!
See https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#i-want-to-release-my-code---which-open-source-licence-should-i-use .
Thanks!

Hi!
Fixed by 0a075ae
Thanks!

Great! Thanks,  that was quick.


python37Packages.dask-ml: 1.6.0 -> 1.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.dask-ml is: "Scalable Machine Learn with Dask"
meta.homepage for python37Packages.dask-ml is: "https://github.com/dask/dask-ml"
meta.changelog for python37Packages.dask-ml is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.7.0 with grep in /nix/store/1001qrrvkhkvxlg03jh92fy6pacj35bh-python3.7-dask-ml-1.7.0

directory tree listing: https://gist.github.com/a92c24d260bac22a2b103309552d58aa

du listing: https://gist.github.com/24704ae96230e0b09d517189023a24c7

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python37Packages.dask-ml
python38Packages.dask-ml

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1001qrrvkhkvxlg03jh92fy6pacj35bh-python3.7-dask-ml-1.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.dask-ml https://github.com/r-ryantm/nixpkgs/archive/3c2e02e1cdb64d1a78d30feb5dea61da5de88ba8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1001qrrvkhkvxlg03jh92fy6pacj35bh-python3.7-dask-ml-1.7.0
ls -la /nix/store/1001qrrvkhkvxlg03jh92fy6pacj35bh-python3.7-dask-ml-1.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

2 packages built:

python37Packages.dask-ml
python38Packages.dask-ml

Maintainer pings
cc @costrouc for testing.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/improve-a-pkgs-tests-for-nixpkgs-update/9530/14

Result of nixpkgs-review pr 100772 run on x86_64-darwin 1

2 packages failed to build:

python37Packages.dask-ml
python38Packages.dask-ml

dask-ml is on version 1.7.0 on master


Add Swift 5.8 Runtime

This adds a new runtime that supports the latest (as of now) version of Swift, 5.8.1.
Tests
All tests pass.
New in this runtime

Unlike the currently available runtime (Swift 5.5) this is based off of the official Swift docker image, which is suggested by this project.
Input code, in the form of Swift packages, can specify dependencies. The previous runtime supported version-based dependencies. This runtime also supports branch-based dependenceis.
In other words,
You can specify a dependency like this, as you could with the previous runtime:

.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),

And with this runtime you can specify it like this:
.package(url: "https://github.com/vapor/vapor.git", branch: "main"),

This can be useful for small, personal packages that get updated regularly. (This is what actually motivated this PR)
New Swift features
Using this runtime over the 5.5 one you can leverage all the features that were introduced since Swift 5.5.
You can find notable features that were added since then on Paul Hudson's wonderful website for each release:
Swift 5.6
Swift 5.7
Swift 5.8

Hey there 👋
We are about to release Open Runtimes V3 which brings some changes to both how we structure runtimes internally, as well as changes to some interfaces that developers inteact with. We did this to allow new features and bring Open Runtimes closer to HTTP standards ✨
We value your contribution and want to ensure all changes can be merged to the main branch. However to make it possible we request you to update the PR to follow the V3 structure and syntax. You can refer to V3 Pull Request and take a look at Node.JS 18.0  runtime specifically. Some biggest changes are:

Helper scripts (build, start)
Folder renaming for build & start process
context object instead of previous req and res
HTTP server to accept any method and any path
Headers were introduced for logs and errors
Safe timeout was introduced

v3 branch also has many new end to end tests to ensure proper integration, so please sync with that and target your branch against v3 branch.
Please let us know if you are interested in working on this 🙏

Heyy 👋
Due to inactivity, we will be adding Swift 5.8 in our PR where we add multiple new versions with Open Runtimes V3 logic: https://github.com/open-runtimes/open-runtimes/pull/178


Add chore and person models

Created the chore and person model and a chore provider file.

Closing as work will be moved to separate branches.


[$250] QBO UK - Menu in "Export out-of-pocket expenses as" is blank before the connection syncs

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.6-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4706870
Issue reported by: Applause - Internal Team
Action Performed:
Precondition
QBO UK connection is established in the workspace
The connection is not synced yet

Navigate to workspace settings > Accounting
Click on Export >Export out-of-pocket expenses as
Observe the second menu in the setting

Expected Result:
The item field in the setting is not empty and has the title of "Accounts payable"
Actual Result:
The second item which is "Accounts payable" only appears when syncing is complete and is blank before syncing
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/5c1dcbd0-df51-4502-9fd4-0caab2e793fd
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~010b2c93b291a15c58
Upwork Job ID:<PHONE_NUMBER>645344493
Last Price Increase: 2024-08-08

Issue OwnerCurrent Issue Owner: @abekkala

@abekkala  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

I could not reproduce the issue. Is there any specific steps to reproduce the issue?

I just added QBO account and tested the issue.

The connection is not synced yet

How can I achieve the connection is not synced yet state?

@sobitneupane can you address the above from @tienifr

Thanks for the proposals.
Proposal from @tienifr looks good.
🎀👀🎀 C+ reviewed

But maybe BE does not set it when connecting QBO. This issue is reported in https://github.com/Expensify/App/pull/41638#issuecomment-2142893013.

Is this something that needs to be fixed on the back-end?

@aldo-expensify @hayata-suenaga do you have an opinion on that ^?

I wouldn't implement some FE fix that shows some inputs as selected when the configuration in onyx really doesn't have them selected,

My solution does not do that. It just hide this component if reimbursableExpensesExportDestination is undefined.

ahh, I misunderstood that.

that would make bugs hard to see later and doesn't add much values besides deceiving the user

The solution does not make the bug hard to see because, in future, if we do not see this component, we know that we have the problem in BE, and we can fix it in BE without affecting user's experience.

don't see much value in hiding the input when this happens, I think we should just focus in the root cause and fix that.

@aldo-expensify

I agree we just need to fix in BE size. But when this component, in this case maybe the reimbursableExpensesExportDestination is not set. Can you help confirm the expected behavior in that case?

I think is not valid for reimbursableExpensesExportDestination to be unset, so there is no expected behaviour for me

This issue doesn't seem isolated to the specific config mentioned in the OP. See how pretty much none of the data is there because something happened with the connection sync:

This PR merged recently, I wonder if it's helped. The proposal is here for ref.

https://github.com/Expensify/App/pull/45041 merged recently, I wonder if it's helped. The proposal is https://github.com/Expensify/App/issues/44225#issuecomment-2196376399 for ref.

Maybe!, I think we should test if this is still reproducible. Was it easy to reproduce before? or very random?

Added the retest-weekly label to have Applause retest to try and reproduce.

Issue is reproducible during KI retests, when you go to "Export >Export out-of-pocket expenses as" before QBO sync
https://github.com/user-attachments/assets/3314c65d-912b-461f-978a-23846531b40b

Yeah I'm pretty sure we decided to wait to show all that stuff until the connection has finished syncing for the first time.
Example from NetSuite design doc:

Okay cool, so I think we could use this issue to implement that? I suspect that's frontend, but maybe @aldo-expensify can confirm.

I'm not sure of what type of solution was implemented to have that, do we know who worked on that?

@hungvu193 @rushatgabhane @mananjadhav might know!

I didn't implement that logic but I think we're using the same logic for all 4 connections so far:
https://github.com/Expensify/App/blob/334c270ade52030a9468afa0ed506036a8ede1a8/src/pages/workspace/accounting/PolicyAccountingPage.tsx#L439

Ah, that's helpful. Following the blame it was @mananjadhav, I believe.

So @aldo-expensify @hungvu193 @mananjadhav can this be external then?

I'm a bit confused because the code @hungvu193 pointed out is supposed to apply to all types of connections, so that can't be what fixed the problem for other connections, or can it be?

Good question, I don't know. @mananjadhav would be great for you to chime in here, please. Thanks!

@mananjadhav can you review this please and provide your input?

Sorry this didn't show up in K2. I'll check this in a while.

Just went through the whole conversation. So when we did start the development we weren't hiding any menu options. With this PR, I implemented hiding the extra menu items (ie Netsuite Subsidiary and Xero Organization names).  But IIRC when the initial sync isn't finished we don't show up and it worked as expected here.
Now there are two questions I have here:

When we say before sync here, did we check isEmptyObject(policy?.connections) is true?
@tienifr's video here, the QBO connection shows successful with the last sync timestamp. So it does seem to be BE sync issue?

Did @yuwenmemon's PR fix this, or is there more to do? (A.K.A - why is this still open? 😄).

Yeah I think we can close

Oh, sorry @sobitneupane. I missed that was an /App PR.
Payment summary as follows:

$250 to @sobitneupane for the PR review

Go ahead and request on NewDot!

$250 approved for @sobitneupane


When opening the inventory, the player is frozen while the world keeps moving.

Cogito and Godot Engine Version:
Cogito BETA 202401.13
Godot v4.2.2.stable.official [15073afe3]
Description:
When opening the inventory, the player is frozen while the world keeps moving.
Reproduction steps:

Stand on the moving platform
Open the inventory
Wait for the platform to move away
Close the inventory

Expected behavior:
I expected the character to keep moving along with the platform he's standing on
Screenshots:
https://youtu.be/BSXg5u8rF0E

Hi Oldos,
This is a legacy bug, please download the latest version of COGITO from GitHub here and this should no longer happen.

Closing.


Preserve chain with txcontroller, update flag name for consistency

This change is

Pull Request Test Coverage Report for Build 1209

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.5%) to 80.337%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ndt-server.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

ndt7/upload/sender/sender.go
3
67.65%

Totals

Change from base Build 1207:
0.5%

Covered Lines:
1667

Relevant Lines:
2075

💛  - Coveralls


Update AmiClient.js

Removed re-sending event in case of user disconnection

Coverage decreased (-0.02%) to 96.97% when pulling c749be92845232974ba042a740d509024fab045a on anatolo:patch-1 into 674e88d25ec38d3624806a1c109b55c47b24e7f5 on BelirafoN:master.


fix spelling

Fixing a critical error that makes the app basically unusable.

Thanks for spending what must've been days of your time fixing this bug.


No longer download android-x86-jit-release.

Unblocks https://github.com/flutter/flutter/issues/151610.

If this lands before the engine revert, we could close the revert.

If this lands before the engine revert, we could close the revert.

I'll race you, looks like both trees are red :)


Allow TCPConnectionNotify to cause connection to yield while receiving

This comes from direct experience using the existing TCPConnection
functionality at Sendence. We are heavy users of expect on TCPConnection in
order to support framed protocols. Our received methods on notifiers are
generally of the following form:
  fun ref received(conn: TCPConnection ref, data: Array[U8] iso) =>
    if _header then
      // convert the 4 byte header into a value for expect, aka payload length
      let expect = Bytes.to_u32(data(0), data(1), data(2), data(3)).usize()

      conn.expect(expect)
      _header = false
    else
      // do something with payload
      ...

      // reset expect for next 4 byte header
        conn.expect(4)
        _header = true
    end

This short of usage is why expect was initially added to TCPConnection.
Upon usage, we found a serious drawback with this approach. TCPConnection
will read up to 4k of data on a single behavior run and if there is still data
available, it will then send itself a _read_again message to trigger more
reading of additional data. It does this so that it doesn't hogged the
scheduler while reading from the socket. This can work reasonably well in some
scenarios but not others.
In the framed protocol example above, if the message payloads are small then
4k of data can result in a lot of messages being sent from our received
method to other actors in the application. In an application that is
continously receiving data, this results in a very bursty scheduling experience.
After consulting with Sylvan, we changed received and TCPConnection to
allow received to return a Boolean to indicate whether TCPConnection
should continue sending more data on this behavior run.
We've found that for some workloads, we are able to get equal performance
while greatly lowering latency by having TCPConnection call _read_again
earlier than it otherwise would.
Closes RFC 19
Closes #1343

I'd like to slide this into the impending release: #1356

I forgot to update the examples and CI failed. Pushed an update.


cell-template error after 19.1.3 in dx-column

Support Question
Hi guys,
I recently tried to update to 19.1.3. After that, I am getting the error on my cell-templates for the dx-grid components.

Error:
Cannot read property 'name' of undefined
Does something change for the binding?
Thanks

I am getting the error  on my templates for the dx-form:
<dx-form                 :form-data="data"                 :items="items"         >
                         This is my template for {{editorOptions.value}}
         </dx-form>
Error in render: "TypeError: Cannot read property 'value' of undefined"

Hi
Template syntax has changed in v19.1.3 (see this note)
In short, you have to update the template in this way:
-

+


Creation of sufficiently elaborate metadata for each MAE

We ought to add metada-friends for each MAE objects, which can be easily accessed in the package and give the user brief summary of each study and their main aims; sort of an abstract or a synopsis in a structured format.
metadata-slot as in: https://bioconductor.org/packages/devel/bioc/vignettes/MultiAssayExperiment/inst/doc/QuickStartMultiAssay.html#metadata
Studies to be filled:

[x] Abida et al.
[x] Barbieri et al.
[x] Chandran et al.
[x] Friedrich et al.
[x] Hieronymus et al.
[x] ICGC-CA
[x] IGC
[x] Kim et al.
[x] Kunderfranco et al.
[x] Ren et al.
[x] Sun et al.
[x] Taylor et al.
[x] TCGA
[x] Wallace et al.
[x] Wang et al.
[x] Weiner et al.

Open issues

Which fields to have inside the MAE as metadata
Which fields to have inside the Rd (roxygenized) documentation rather

Base metadata has been revised and filled according to the best available practices and information. Further studies were also added along the way, but it might be worth re-checking into some of these if need arises.


Update  from .net core 2.1 Asp to .net core 2.2

when I set Target Framework to .Net Core2.2 I received  about  4200 Errors.
Current is set to .Net Core2.1.
Anybody Knows How to Upgrade it to 2.2?

I tried this today in our project.These are the steps i did.
1.In visual studio change your target framework to 2.2.
2.unload your project and edit your .csproj file and make following changes

$(DefineConstants);COREFX;ASPNETCORE

3.Reload your project and build.

@zainvegeta
Thank you.


⚠ RPC server - Figment Solana has degraded performance

In 2c8f687, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 110 ms

Resolved: RPC server - Figment Solana performance has improved in e739e49.


Extra debug logging during plugin loading

As a new-ish puppet user, it is incredibly easy to screw up your
module path (e.g., by adding a directory that directly contains
module/plugin contents to the module path, rather than adding the
parent directory.  This basically means that there would be a
'lib' directory directly in your module path.)
This commit just adds a few debug messages that may give a user
hints about what could be wrong with their module path when
we are able to detect these sorts of situations.

@pcarlisle - can you take a look at this and let me know what you think about the change?

@pcarlisle - can you look at this again and either merge or close it, please.


sys/linux/dev_watch_queue: based on outdated patchset, doesn't reach upstream version

Describe the bug
sys/linux/dev_watch_queue.txt says that watch_queue can be reached as follows:
openat$watch_queue(fd const[AT_FDCWD], file ptr[in, string["/dev/watch_queue"]], flags flags[open_flags], mode const[0]) fd_watch_queue

But that's based on an early version of the patchset, it's not the upstream interface - the upstream interface uses pipe2(pipefds, O_NOTIFICATION_PIPE).

Oh, good to know, thanks. Sent #3031. watch_devices syscall has gone, right?

Yeah, as far as I know, the only subsystem that watch queues work with now is the keyring subsystem, via KEYCTL_WATCH_KEY.

Added keyctl$KEYCTL_WATCH_KEY to the PR.


PetriNet Visualizations

This PR requires an update to the dependency for Petri to the current PR mehalter/Petri.jl#6

This PR creates a pretty cool model:
Malaria(People + Mosquitos) + LotkaVolterra(Mosquitos, Birds) + Vital Dynamics

I merged this into branch decorations. When we complete #213 it will take care of this.


Collections

As agreed with Nicholas, please remove Collections from the front page.

Is this for 3+ or 3++?

It's for 3+. I've assigned the 3+ label.
If you look on the front page, there is a Collections link with nothing in it. There is no Collections folder in Together so it needs removing.

Collections has been removed so the ticket can be closed


Add x-threshold series type to mixed chart

Description
Added support for x-thresholds in mixed charts.
How has this been tested?
Added new unit-tests to cover changes in scaled series generator, container and navigation.
Added new test page that showcases the new thresholds.
Screenshot tests to be added to the new page.
Documentation changes
No changes to the documentation as new thresholds extend the existing ones. Also added new dev. warning.
[Do the changes include any API documentation changes?]

[ ] Yes, this change contains documentation changes.
[x] No.

Related Links
Internal documentation: "X-thresholds for cartesian charts - Technical design"

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

[ ] Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
[ ] Changes do not include unsupported browser features, see CONTRIBUTING.md.
[ ] _Changes were manually tested for accessibility, see accessibility guidelines.

Security

[ ] _If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

[ ] Changes are covered with new/existing unit tests?
[ ] Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM, after the changes to ES.

The changes to ES version are reverted as causing issues in the internal pipeline https://github.com/cloudscape-design/components/pull/169