Improvements based on customer interaction

Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Important information based on customer interactions.
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[ ] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[ ] Match tone and style of page/section.
[ ] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[ ] follow best practices for commits.

[ ] Descriptive title written in the imperative.
[ ] Include brief overview of QA steps taken.
[ ] Mention any related issues numbers.
[ ] End message with sign off/DCO line (-s, --signoff).
[ ] Sign commit with your gpg key (-S, --gpg-sign).
[ ] Squash commits if needed.

[ ] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Docs for c53bea847b8dd0af998096b47ce96d729aa261fa are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1669/docs/artifacts/html/index.html

Docs for 4160c904b01696c0d6a08afada0cb87306b74b05 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1670/docs/artifacts/html/index.html

Docs for 75bb6e862b231eb568585ec78e90e79052d91359 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1686/docs/artifacts/html/index.html


gh-pages branch

Please branch master to gh-pages, push it, and then use the https://github.com/llaske/Sugarizer_doc/settings to change the default branch to gh-pages
This way the web assets can easily be browsed :)

No need to be browsed, it's just the content of the Sugarizer marketing web site.


Shift more code to ScrollPosition

Previously, ScrollPosition did not know about ScrollActivities. However, all
the concrete subclasses of ScrollPosition that we know about need to use
ScrollActivities, so they ended up with a bunch of delegate boilerplate code.
This patch teaches ScrollPosition about ScrollActivities but doesn't have any
opinion about how to start or interact with those activities.
This patch is more refactoring to prepare for nested and linked scrolling.

@Hixie


{Freeway-Bug}[Inputs.json]: Keyboard focus moves to non-interactive element in DatePicker under Due Date.

Target Platforms
Android
SDK Version
2<IP_ADDRESS> (85454887)
Application Name
Adaptive Cards
Problem Description
Test Environment:
OS: Android 13
Device: S20
Screen Reader: Talkback
AdaptiveCard Android App version: 2<IP_ADDRESS> (85454887)
Tool: Logitech Bluetooth Keyboard
Repro Steps:

Open Adaptive Cards Visualizer Application.
Navigate to sample cards using tab key and activate it using Enter key.
A dropdown would appear. Activate it using Enter key.
Navigate to Inputs using tab key and activate it using Enter key.
Navigate to the Visual tab item present at the top. A sample card would appear.
Navigate to the Due Date edit box inside the sample card using tab key and activate it using Enter key.
Navigate through the date picker using Tab keys.
Observe the issue.

Actual Result:
Keyboard focus moves to non-interactive element in Date Picker under Due Date. It goes to the current date which is a non interactive element.
Expected Result:
Keyboard focus shoyuld not move to non-interactive element in Date Picker under Due Date.
User Experience:
Keyboard users would get affected if Keyboard focus moves to non-interactive element in Date Picker under Due Date.
WCAG Reference:
(https://www.w3.org/WAI/WCAG21/Understanding/focus-order)
Have feedback to share on Bugs ? please tag bug as “A11yRCA” and add your feedback in the comment section
Screenshots

https://github.com/microsoft/AdaptiveCards-Mobile/assets/95913748/8c3aa0d5-91d9-4606-ae2b-d95c1955d65c
Card JSON
NA

Sample Code Language
No response
Sample Code
No response

Please don't assign bug to any Dev until UnderReview Tag is added.

Close this issue, as this element is DatePickerDialog is Android Element. We do not have access to the internal textview.

Hi @MengliElmendorf137,
Could you please confirm whether it is a Fluent control so that we can route this bug accordingly.


Yolov5 classification

Hi,
Is it possible to support https://github.com/ultralytics/yolov5/pull/8956 models?
Thanks

@sctrueew hi ~, we have received your issue.  we may support this latest yolov5-cls classification https://github.com/ultralytics/yolov5/pull/8956 models in next release (version v0.3.0). What tasks do you mainly use this model for?

@DefTruth Hi, thanks for your response. It would be helpful if you could classify and extract features for me.

ongoing ~

@DefTruth Hi,
any news?

This will release via next version (v0.3.0) of FastDeploy. By the way, what do you think is the advantage of YOLOV5-CLS over other classification models ？

Thank you. In my opinion, it's easy to train and use all PyTorch models, such as EfficientNetV2 and others

Thanks for your recommendation, !!! yolov5-cls is already in our support plan ~

@DefTruth Hi, Yolov5-Seg just released and also please support that.
Thanks in advance!


Removing init.py from azure-mgmt-batchai/tests to fix loading errors

Can one of the admins verify this patch?

Codecov Report

Merging #2820 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2820   +/-   ##
=======================================
  Coverage   56.27%   56.27%
=======================================
  Files        7472     7472
  Lines      155707   155707
=======================================
  Hits        87617    87617
  Misses      68090    68090

Continue to review full report at Codecov.

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

Perfect, thanks @schaabs !!!!


Backtick literals in utility types

Search Terms
Template string, Util, Omit, quotes
Suggestion
Allow the usage of template literals in utility types, like here:
type UserWithoutPassword = Omit<User, `password`>;

Currently, this causes the errors Generic type 'Omit' requires 2 type argument(s). and '>' expected..
Quoted from #30962, which proposed a similar change:

This is especially important because the backticks mode of the quotes rule from ESLint breaks programs. While it could be seen as an ESLint bug, I think it should be possible for TS to use raw template string interchangeably with regular strings as long as they don't contain variables.

I'm not really sure if this only belongs to utility types, though, but that's where I faced this problem.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

See #29331


It sounds from the narrative (and common sense) that you meant to say "implement" for dependency inversion

You may want to run this by the architect who provided this text, but it looks like in section Dependency inversion, they meant to say "implements" in highlighted areas.

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

ID: 829862b0-b51d-d4dd-d770-f875a588384f
Version Independent ID: c5bc4d26-8f85-4544-3a4a-131554241eef
Content: Architectural principles
Content Source: docs/architecture/modern-web-apps-azure/architectural-principles.md
Product: dotnet-architecture
Technology: modern-web-apps-azure
GitHub Login: @ardalis
Microsoft Alias: wiwagn

Implements would also be correct, but references it the intentional relationship I wanted to show with the diagram, as it demonstrates the dependency flow (and lack of references from Class A to Class B to Class C, in contrast to the other diagram shown in that chapter.


Add test for RepoXML

@g4s8/z please, pay attention to this issue

Job gh:artipie/rpm-adapter#35 is not assigned, can't get performer


Bug, Mobile responsive

None of the samples I'm seeing on the demo page is Mobile friendly. Any plans on making them responsive?

Is it necessary to make them responsive? The HTML demo is just meant to be used to render the PDF files I guess.

Mobile support is not in the scope of this repo.


review the display of the next prayer + getNextFajr

https://github.com/b0bdN/prayer-times-menubar-app/blob/6b8c4b31886269dd0b8a2c00db03d9da3b5308fd/renderer.js#L64
I think that the function getNextPrayer() in renderer.js can be better..
The aim is to show the next prayer with the difference between the prayer time and the actual time.
I would also like to add the display of the next Fajr or Imsak (if checked) prayer after the Isha prayer has passed so that there is no blank if the Midnight time is not shown.
Something like this:

I can do it. Can you assign it to me:)

Hi! Thanks :)

Hi, I would like to give this a try if help is still needed, thank you.

Hi! sorry for the late answer.
As  you can see, I didn't work on this app since last year but i still accept help or improvement :)
Thanks!

Hello, I would like to give it a try if you still need help with the display of the next prayer and the getNextFajr #3 functionality. I'd be happy to contribute to this open-source project. Thank you!


[Onnx] Add momentum

A simple onnx operator

@AndrewZhaoLuo Please fix the conflict (your other PR got in first)


file manager

Hi selected set file as default file manager and it has broken windows file manager

This is the repo for the website, not the app. Please open the issue again in https://github.com/files-community/files.


Seq2seq

This PR implements a seq2seq-style OccCANINE model. Further, a vanilla loss fn is implemented for testing purposes and the core components of the train and eval loop have been implemented
Several things are still missing before this becomes directly usable. First, some work on the data loading side is required. Second, a new entry-point to reflect the seq2seq-style approach should be built. Third, an AR decoding scheme (e.g., greedy) needs to be developed before inference is possible. However, as those are not directly related to the core seq2seq model components, I plan to implement those in a new branch

Great work! It is not clear to me what class Seq2SeqOccCANINEWrapper(OccCANINE) is intended for. Is it supposed to be used in training (which would diverge from the current structure - but quite reasonably) or for inference with a similar functionality as the class it inherits from? Or both?

Seq2SeqOccCANINEWrapper is not intended to be used for training, but is rather an early version of a wrapper class around the model similar to how OccCANINE is a wrapper around the old model. That is, it is a work in progress for inheriting as much as possible from OccCANINE when we want to extend the functionality of the new model for inference, fine-tuning, etc.
A point could be made to not follow this pattern (and instead keep things more modular and not have one class responsible for this much), in which case I'd be happy to revert the work on Seq2SeqOccCANINEWrapper.

I think the most user friendly option would be that either version of OccCANINE can be loaded from simply calling OccCANINE() with appropriate arguments. But this might require that we refactor this class at some point.

Handling everything inside the model itself would break with, e.g., HF pattern, where things like tokenization, IO, etc., is (often) not handled within the model class. I think a better approach would be to either use a wrapper class (as now, but perhaps re-designed) or a pattern where the model is used with other functions and classes (as is very common), handled by the entry-point script.
Bundling everything within the model class will also make it significantly more challenging to extend the code to other models, tasks, etc.,

Alright. Let's keep it like this for now then.


How to keep a record of the connected clients in WebSocketController ?

How to keep a record of the connected clients, as it provides details with different data or send different messages to each one?

Hi,
You could use the WebSocketConnectionPtr object to distinguish between different connections and use them to send different messages to the client.
The WebSocketConnectionPtr object can be stored anywhere, for example, in the std::map container.
//WebSocketTest.h
class WebSocketTest : public drogon::WebSocketController<WebSocketTest>
{
  public:
    virtual void handleNewMessage(const WebSocketConnectionPtr &,
                                  std::string &&,
                                  const WebSocketMessageType &) override;
    virtual void handleConnectionClosed(
        const WebSocketConnectionPtr &) override;
    virtual void handleNewConnection(const HttpRequestPtr &,
                                     const WebSocketConnectionPtr &) override;
    void sendMessage(const std::string &userID, const std::string &message);
    WS_PATH_LIST_BEGIN
    WS_PATH_ADD("/chat");
    WS_PATH_LIST_END
private:
    std::map<std::string, WebSocketConnectionPtr> _clientsMap; //UserID--->connection
    std::mutex _mapMtx;
};

Refer to the #126 #127

Thanks a lot


RepositoryService#createDeployment ignores enableDuplicateFiltering

Steps to reproduce

camunda-platform-7-rest-client-spring-boot version: 7.18.0
Camunda BPM version: 7.18.0
JDK version:  17
Operating system: Linux (Arch btw)
Complete executable reproducer: (e.g. GitHub Repo) Let me know if this is need.
Steps: (what exactly are you doing with the above reproducer?)
I am trying to rebuild the auto-deployment feature in https://github.com/camunda-community-hub/camunda-platform-7-rest-client-java
Deployment generally works:

    private void deployResources(List<Resource> resourcesToDeploy, String type) throws IOException {
        LOG.info("Found resources for deployment of type " + type + ": " + resourcesToDeploy);
        for (Resource camundaResource : resourcesToDeploy) {
            String filename = getResourceFilename(camundaResource, type);
            LOG.info("  - Now deploying: " + camundaResource);
            Deployment deployment = repositoryService.createDeployment()
                    .addInputStream(filename, camundaResource.getInputStream())
                    .enableDuplicateFiltering(true)
                    .name(filename)
                    .deploy();

            System.out.println(deployment.getName());
        }
    }

But enableDuplicateFiltering doesnt seem to work. I also tried using the provided DeploymentApi class of the starter. With the same result.
Expected behaviour
Running the code twice with the same bpmn file should not create seperate deployment versions when the deployed file did not change.
Actual behaviour
Running the code multiple times creates a new deployment version on every run.
This client can therefor not be used to implement an autodeployment feature like in https://github.com/camunda-community-hub/camunda-platform-7-rest-client-java

@timmhirsens Managed to reproduce this with an integration test. The call to the rest api is correct. Don't yet know why this is not working as expected.


Most GTK programs take at least ~2s to launch

Hyprland Version
Hyprland, built from branch  at commit<PHONE_NUMBER>117f7f150c6f2a2ce4dede6e8cbb25 dirty (). Tag: v0.28.0  flags: (if any)
Bug or Regression?
Bug
Description
A performance bug: most GTK apps take ~2-5s to launch. I would expect them to launch in under a second on my computer.
lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  20
  On-line CPU(s) list:   0-19
Vendor ID:               GenuineIntel
  Model name:            12th Gen Intel(R) Core(TM) i9-12900HK
    CPU family:          6
    Model:               154
    Thread(s) per core:  2
    Core(s) per socket:  14
    Socket(s):           1
    Stepping:            3
    CPU(s) scaling MHz:  36%
    CPU max MHz:         5000.0000
    CPU min MHz:         400.0000
    BogoMIPS:            5839.00
    ...

strace reveals lots of time spent on ioctl and futex. the below strace summaries are truncated for brevity.
strace -c nautilus
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -----------------------
 40.11    0.026585           4      6463       314 ioctl
 19.46    0.012897           5      2174       118 futex
 14.82    0.009822           8      1100           mmap
  4.88    0.003236           7       417         1 poll
  3.31    0.002195           1      1344       199 read
  3.09    0.002049           1      1961           getpid
...

strace -c gnome-text-editor
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -----------------------
 37.16    0.019939          12      1649        50 ioctl
 18.51    0.009935           8      1172        52 futex
  9.78    0.005248           6       779           mmap
  4.80    0.002578           2      1147           getpid
  4.33    0.002321           2       889        66 newfstatat
...

strace -c gnome-clocks
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -----------------------
 38.86    0.032023           9      3556        33 ioctl
 20.73    0.017085          19       861           mmap
 10.05    0.008279           6      1222       101 futex
  5.10    0.004207          24       174           mprotect
  4.67    0.003846           5       672        24 read
  3.58    0.002949           4       605        83 openat

 strace -c gnome-font-viewer
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -----------------------
 36.42    0.021963          17      1283        90 futex
 23.68    0.014280           6      2347         7 ioctl
  8.02    0.004836           5       875           mmap
  6.37    0.003844           4       924       122 openat
  4.69    0.002829           1      1680           getpid
  4.46    0.002692          10       253           clone3

strace -c kooha
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -----------------------
 25.75    0.010181           9      1098        18 futex
 24.81    0.009807           5      1828       154 ioctl
 19.06    0.007535           8       900           mmap
  4.69    0.001855           3       614        99 openat

strace -c newsflash
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -----------------------
 26.61    0.032032           4      7675        54 ioctl
 24.34    0.029303          18      1563       102 futex
  9.42    0.011336          55       206           poll
  7.77    0.009350           8      1153           mmap
  5.19    0.006251           3      1728           getpid

Here's a full strace for a launch of gnome-font-viewer
How to reproduce

Install hyprland
Launch an app
Observe slow launch time

Crash reports, logs, images, videos
No response

These are all GNOME applications that make heavy use of gtk and perhaps libadwiata, coincidence?
Can you try some simple QT applications as well?

Are you using an NVIDIA gpu?

This sounds like,
https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open
https://wiki.hyprland.org/FAQ/#my-apps-take-a-long-time-to-start--cant-screenshare
Does your dbus environment have these variables exported and do you have functioning portal services?

portal timeouts are 30s, not 2s.

foot usually starts really fast (even without foot-server)

@Ghosthree3, that is all in order. I'm not seeing the crazy long timeout launch times, just a bit longer than I'd expect.
echo $WAYLAND_DISPLAY
wayland-1
echo $XDG_CURRENT_DESKTOP
Hyprland

systemctl --user status xdg-desktop-portal-hyprland
● xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-hyprland.service; static)
     Active: active (running) since Sun 2023-09-10 10:54:35 EDT; 3h 13min ago
   Main PID: 2080 (xdg-desktop-por)
      Tasks: 18 (limit: 76740)
     Memory: 31.9M
        CPU: 30ms
     CGroup<EMAIL_ADDRESS>             └─2080 /usr/lib/xdg-desktop-portal-hyprland

pacman -Qs desktop-portal
local/xdg-desktop-portal 1.16.0-3
    Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-hyprland 0.5.0-1
    xdg-desktop-portal backend for hyprland

@burein-ita
I am on a computer with integrated Intel graphics and an nvidia GPU, and I've configured hyprland to prefer the integrated graphics. I have not tried installing hyprland with the nvidia patch becuase I figured my intel chip was more than enough.
lspci | grep -E 'VGA|3D'
0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
0000:01:00.0 3D controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)

ls -l /dev/dri/by-path
total 0
lrwxrwxrwx 1 root root  8 Sep 10 10:54 pci-0000:00:02.0-card -> ../card0
lrwxrwxrwx 1 root root 13 Sep 10 10:54 pci-0000:00:02.0-render -> ../renderD128
lrwxrwxrwx 1 root root  8 Sep 10 10:54 pci-0000:01:00.0-card -> ../card1
lrwxrwxrwx 1 root root 13 Sep 10 10:54 pci-0000:01:00.0-render -> ../renderD129

cat .config/hypr/hyprland.conf | grep WLR
env = WLR_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
...

@MightyPlaza yes, foot feels near-instantaneous to launch.

@memchr pcmanfm-qt and lximage-qt both start in under 1s, which does indeed point towards gtk issues. I doubt this is just bloat though. I don't recall launch times this slow when I was running gnome. I welcome suggestions, but I'd also be okay closing this since it doesn't sound particularly hyprland related.

Can you try:

gtk3-demo-application
gtk4-demo-application

sure!
pacman -S gtk4-demos gtk3-demos

gtk3-demo-application

takes about 1/2 second to show the GUI
gtk4-demo-application

takes about 2 seconds to show the GUI

could be an issue specific to GTK4?

Can you reproduce this with Sway using gtk4-demo-application?

sorry, before trying to reproduce it with sway, I uninstalled gtk3 and 4 and everything that depended on it, and reinstalled the demo apps. now gtk4-demo-application starts within 0.5s reliably. I'm closing this as unrelated to hyprland. I'll reopen if the slowness crops upon reinstall of a common theme or something, and doesn't also happen in sway.

I have the exact same problem with all Gnome applications... =/
Except they are taking ~30s to launch the first time.
xdg-desktop-portal-gtk & xdg-desktop-portal-hyprland installed with that in my config:
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

The GTK portal should be working. This could be caused by the gnome portal, which is known to have problems with environments other than GNOME.
You can diagnose the issue with journalctl --user.

Thanks for pointing the right direction @memchr, in fact in my case it's caused by:
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.GPhoto2VolumeMonitor: Timeout was reached (g-io-error-quark, 24)


Date/time consistency issues in our peer review data processing workflow

The data in this workflow are used to populate our website via this data file.
Right now our output YAML file has date fields for the following keys:
devicely return
date_accepted: '2021-08-19'
created_at: 2021-04-03 19:25:41+00:00
updated_at: 2023-08-29 02:06:23+00:00
closed_at: 2022-09-07 15:40:27+00:00
pygmt return
date_accepted: 2022-9-1
created_at: 2021-07-23 00:37:07+00:00
updated_at: 2023-09-14 17:47:44+00:00
closed_at: 2023-06-12 22:47:16+00:00
We should make all of our date fields consistent across our models.
NOTE: We also have date fields in the GHMeta object for reach project repo.
related to and can close #130
see pr 404 here for what the diff on the output contributor file looks like.
For our website purposes, it would be ideal if the workflow returned just the date (we don't need time) and ideally it should ouput it as a string for Jekyll processing. If you are reading this and know more about processing dates with jekyll and it doesn't have to be a string, then that is ok too. the goal here is consistency! so let's get the date field consistent via a uniform validator and datetime type for every date related field.

+1 and also it would be good to specify YYYY-MM-DD or YYYY/MM/DD consistently, I blv the current review template is MM/DD/YYYY

agreed!! We can always parse the review template in it's current form.
let's go with created_at: 2024-03-06 17:08:29+00:00 this format:

YYYY-MM-DD

we can strip the time piece as we don't need it! and use that throughout. i think that is jekyll friendly too?

We can just format it however we want with Jekyll :)
https://shopify.github.io/liquid/filters/date/
{{ created_at | date: "%Y-%m-%d" }}

ooooh perfect!! i forgot about filters!! 🚀


runner no longer accepts 'tgt' and 'expr_form' arguments

Solves #91
Haven't dealt with the tests because I am quite rookie so please suggest if anything is pending on my side.
Compiles cleanly with
mvn clean install -DskipTests

That's awesome, thanks! I'll polish this up with the tests and get out an update.

Just handled this slightly differently in #93.
This PR had also changed one of the validation checks. Was there a reason for that? Is there a test case that is currently missing?
I'll close this out as the tgt and expr_form case is now handled and will be in the next release.

I did a test run and couldn't find "[{\"Success\": True}]" in the minion return. This is why I also changed this part.
You're right, it should have been posted in a different PR.

Cool cool. What sent that return? I can add it to the test cases, but would like to know what to call it.
Thanks!

According to my understanding, it returns the status of the execution module.
"return": true should mean it executed successfully.

Running what module causes the salt-api to respond with[{"return": true}]? I'd like to make sure we capture the actual output and the name of the module to help track this issue. Thanks!

Yes, you can see for yourself if you save the json output and inspect it.
Sent from a handheld device.
On 29 May 2017, at 17:37, Christian McHugh <notifications<EMAIL_ADDRESS>wrote:
Running what module causes the salt-api to respond with[{"return": true}]? I'd like to make sure we capture the actual output and the name of the module to help track this issue. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jenkinsci/saltstack-plugin/pull/92#issuecomment-304677133, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAggMONvyM9QAycszXGUWx9F-BE80-YQks5r-tgKgaJpZM4NkIeW.

Running what responded with [{"return": true}]? What was the jenkins telling the salt-api to run that jenkins got that response back?
I'd like to get the exact command to run that gives that response so that I ensure we validate the exact response. If that were a python return, I would expect it to read True rather than true for example. Thank you

Check the related issue containing the salt-bus command of the orchestrate runner
Sent from a handheld device.
On 29 May 2017, at 17:45, Christian McHugh <notifications<EMAIL_ADDRESS>wrote:
Running what responded with [{"return": true}]? What was the jenkins telling the salt-api to run that jenkins got that response back?
I'd like to get the exact command to run that gives that response so that I ensure we validate the exact response. If that were a python return, I would expect it to read True rather than true for example. Thank you
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jenkinsci/saltstack-plugin/pull/92#issuecomment-304678786, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAggMDV_00u2gHXWMXDlxDkAqj8ICWsPks5r-tnwgaJpZM4NkIeW.


Find all permutation of a string using recursion

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Description
(Write your answer here.)
Checklist

[ Yes] I've read the contribution guidelines.
[ Yes] I've checked the issue list before deciding what to submit.
[ yes] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
In this I try to find all permutation of a string using recursion.
Fixes #3010

@ankitaggarwal23  sir I resolve merge conflict issue and all other issue whichever I noted in my PR. Can you review my PR.

@ankitaggarwal23
Sir , I make all changes, can you review again .

Thank you Sir !


Engduinov3: automatically detect upload port using VID/PID board settings

Currently we need to import the upload port manually by using --upload-port option. Would be nice to have automatic COM port detection.

Please re-test it in develop version of PlatformIO: http://docs.platformio.org/en/latest/installation.html#development-version
Did it help you?


Can you submit the source code of the binary files that set up the system proxy for mac and windows?

Since these are compiled binary files, I want to understand how they are implemented.

https://github.com/alibaba/lightproxy/tree/master/vendor/proxy_conf_helper
https://github.com/alibaba/lightproxy/tree/master/vendor/win_proxy_helper

thanks


feat: OpenID4CI Skeleton

Actual implementations of the Authorize and Callback methods to come later.
Signed-off-by: Derek Trider<EMAIL_ADDRESS>

Codecov Report
Base: 85.27% // Head: 86.25% // Increases project coverage by +0.97% :tada:

Coverage data is based on head (14d8d10) compared to base (9f7a2eb).
Patch coverage: 87.38% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
+ Coverage   85.27%   86.25%   +0.97%
==========================================
  Files           8       11       +3
  Lines         129      240     +111
==========================================
+ Hits          110      207      +97
- Misses         12       19       +7
- Partials        7       14       +7

Impacted Files
Coverage Δ

cmd/wallet-sdk-gomobile/openid4ci/openid4ci.go
71.42% <71.42%> (ø)

pkg/openid4ci/models.go
92.30% <92.30%> (ø)

pkg/openid4ci/openid4ci.go
100.00% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Note: this implementation is based on https://github.com/trustbloc/agent-sdk/blob/main/cmd/wallet-js-sdk/src/oidc/issuance/openid4ci.js

Note 2: With the latest changes, this implementation now differs a fair bit in design from the one in based on https://github.com/trustbloc/agent-sdk/blob/main/cmd/wallet-js-sdk/src/oidc/issuance/openid4ci.js


Hovers

Description
Better hovers
Like..

Improved in 0.2.7, needs grouping by name to go further


Reset local popup shows W3MI objects twice

I assume it's because of the data.js file. If you just reset one of the two both will disappear / get reset.

@flaiker try again, latest version

I was unable to reproduce the issue.


⚠ Bofrost.es has degraded performance

In 9853454, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1439 ms

Resolved: Bofrost.es performance has improved in 57af658 after 6 minutes.


JavaScript name (name) generated for this declaration clashes with another declaration: val name: String

Version
3.7.1
Summary
mutation CreateCustomer($name: String!, $storeId: Int!) {
    createCustomer(input: {customer: {storeId: $storeId, name: $name}}) {
        customer {
            id
            storeId
            name
        }
    }
}

public data class CreateCustomerMutation(
  public val name: String,
  public val storeId: Int,
) : Mutation<CreateCustomerMutation.Data> {
  public override fun id(): String = OPERATION_ID

  public override fun document(): String = OPERATION_DOCUMENT

  public override fun name(): String = OPERATION_NAME

Steps to reproduce the behavior
Create a mutation with an external parameter with the name name. This will conflict with the parameter by the name of name.
The solution would be to change the name of the function name() to something less common, like operationName(), or mutationName(), etc. Another alternative would be to set the JsName annotation on the base class: @JsName("mutationName"). This will allow the same Kotlin api, but when compiled to JS, would actually use a different function for JS.
Logs
JavaScript name (name) generated for this declaration clashes with another declaration: val name: String

Thanks for reporting this! Will have a look, in the meantime can you give the parameter a different name?

Thanks for the tip about @JsName, I've done just that here.

Awesome! Thanks for the fast turn around - I wonder if it makes sense to do the same thing with document() while you are in there, although document is probably less common.

Thank you! That's a good point! I've thought about it but figured we should really name them with a reserved name, like __operation to avoid any clashes - but didn't want to break the symmetry with id, nor change its js name (not sure if that would be a breaking change). On the other hand, since there is an easy workaround, I didn't worry too much about it 😅 Maybe we can rename these fields in v4 (breaking changes allowed).

This has been released as part of v3.7.5


add a full README to run the project

I don't know where to find JWT secret

@mhkarimi1383 You don't have to 'find' it, just use your own. Get basics of JWT right through a tutorial, maybe?


Ruby process improvements

Summary/Changelog - only list "Update Documentation" once
Summary/Changelog - Ordering: (Add, Remove, Deprecate, Documentation)

have a PR open for ordering, please take a look and let me know if you agree:
https://github.com/conventional-changelog/conventional-changelog/pull/513

LGTM, I was more referring to ordering withing a group rather than the ordering of groups


Sleep data not imported on OnePlus 7T Pro and others, but works fine on Moto G7

I'm trying to import sleep data via activity samples, my code looks more or less like this:
GoogleFit.getActivitySamples(options, (err, res) => {
  const sleepData = res.filter(item => item.activityName === 'sleep')
  resolve(sleepData)
})

I received reports from some of my users that the import doesn't work, i.e. data that is in Google Fit is not showing up in my app. Several of them are syncing data into Google Fit from apps like Sleep as Android or devices like Mi Fit, whereas others are typing it in manually.
I myself have two phones. One is Moto G7, in which sleep entries added manually into Google Fit show up correctly. The other is OnePlus 7T Pro, for which manual entries from Google Fit don't show up at all. In both, I am logged into the same Gmail account.
How can I go about debugging this and making sure that what I import reflects what shows in Google Fit for all devices?

hmm, there is sleep function for retrieving sleep data only , are you able to get anything from it?
I just take a look at the getActivitySamples function, it actually has nothing to do with sleep data, I am a little bit of surprise you can get sleep data from it.

Thanks for your reply @aboveyunhai
What is the proper way of getting sleep? There is nothing in the readme except point 8 about activities, referring to https://developers.google.com/fit/rest/v1/reference/activity-types with the full list (including sleep). As I said, it works on my Moto G7 and for many of my users.

@kamilryszkowski  does other data work except sleep data? If others are also not working then it might be a device issue.
you can try this to see if you can get any data from it? if so then might be a bug in getActivitySamples
GoogleFit.getSleepData(options, (err, res) => {   const sleepData = res.filter(item => item.activityName === 'sleep')   resolve(sleepData) })

@aboveyunhai - my app also fetches steps, blood pressure, heart rate and weight; they all work fine.
I wasn't aware about getSleepData actually, it's not in the README but I can see its code in index.android.js. I tried using it right next to my other functions that all work (which should mean that I have all the authorisation needed), but I'm getting the following message in response: 4: The user must be signed in to make this API call. and no data.
My scopes are:
Scopes.FITNESS_ACTIVITY_READ_WRITE,
Scopes.FITNESS_BODY_READ_WRITE,
Scopes.FITNESS_LOCATION_READ,
Scopes.FITNESS_BLOOD_PRESSURE_READ,

Anything else that I need to do to get getSleepData to work?
If it matters, I had to use the solution from https://github.com/StasDoskalenko/react-native-google-fit/issues/176#issuecomment-671872879 to get the app to compile in the last few days.

@kamilryszkowski https://github.com/StasDoskalenko/react-native-google-fit/issues/176#issuecomment-673070038
I believe you need to sign out and sign in again from the current account. According to https://github.com/StasDoskalenko/react-native-google-fit/issues/176#issuecomment-674073196, I guess the problem comes from the Api upgrades.
V10 uses deprecated API and V13 use the standard API (for step fetching only, but I think we should upgrade all the other deprecated apis eventually in case google make change again like this time). So you get the error even though when your account is signed in but did not subscribe to the service.
If it works out, I'm not exactly sure how to handle production build for this change, whether notify your users to re-sign in manually or try to catch this error and immediately trig Googlefit.disconnect() then connect() to enforce the process smoothly.

Thanks a lot for your help @davidguerrerolopez and @aboveyunhai
I updated to 0.14.1, in which the inclusion of #187 has fixed the (...) API call permission issue; getSleepData() is now working well. If there are still issues faced by my users that I can't resolve I'll report back, but meanwhile closing.


Add support for creating encodings

This adds a new Utf8EncodingGenerator class that works similar to the InvariantCultureGenerator: this will always return Encoding.UTF8. This makes it possible to create MailMessages, out of the box, and therefore fixes #490 (though, I didn't add an unit test for creating them, since this PR is about making sure types of Encoding can be created, and that it also enables the creation MailMessages to be fixed is nice to have).
I choose UTF8, since that is the most popular encoding these days, so made sense to me. I also considered the fact that this might break stuff for people, however, after some though, I realized that's not really the case. It will make it possible for people that have classes with Encoding dependencies to be created without customizations. Before, it either didn't work (the unit test would throw), or they would have customized the fixture instance, and those come first, so those customizations won't be overriden. Therefore, doesn't break anything.
@ploeh I saw you put in a couple issues and PRs that you're travelling, so I don't expect feedback real quickly. That's ok, I'll be on holiday to Iceland starting this Friday, so I might not be able to respond that quickly ;)
/cc @Pvlerick

Thank you for your interest in contributing to AutoFixture. FTR, I'm currently travelling, and have only limited time to evaluate pull requests. In due time, I'll work through my backlog, but it may take weeks :flushed: :sweat:

I never noticed that there was such an exceptional case for CultureInfo via InvariantCultureGenerator.
I guess that paves the way to add support in the same way for IPAddress and IPEndPoint :smile:

@ploeh I've updated the code. Let me know if you see anything else.

Thank you for your contribution! It's now live as AutoFixture 3.39.0.


Namespace component name

#12

@florentferry I think we should add an index.js file in each namespace, and import it from frontend/components/index.js
For instance, for a component name admin/header, we would have:
// frontend/components/index.js

import "components/admin";

// frontend/components/admin/index.js

import "components/admin/header/header";

@Spone Runningrails generate component admin/sub/button generates a correct namespacing. That's resolution seems good to you ?
// frontend/components/index.js

import "components/admin";

// frontend/components/admin/index.js

import "components/admin/sub";

// frontend/component/admin/sub/index.js

import "components/admin/sub/button/button";

@Spone If we follow this path, then button should have index.js instead of button.js, no ?
// frontend/components/admin/sub/index.js

import "components/admin/sub/button";

Yeah but in this case we make an exception in order to have more explicit file names (else you would have only index.js files open in your editor and it's pretty confusing).
We only use index.js as an index of all JS files to import.


libunwind gives incorrect line number

I have tried the signal_safe demo and enabled libunwind. However, the line information in the stack trace appears to be incorrect. Here is my test main program:
#include <csignal>
#include <cstddef>
#include <cstring>
#include <signal.h>
#include <sys/wait.h>
#include <unistd.h>

#include <cpptrace/cpptrace.hpp>

// This is just a utility I like, it makes the pipe API more expressive.
struct pipe_t {
  union {
    struct {
      int read_end;
      int write_end;
    };
    int data[2];
  };
};

void do_signal_safe_trace(cpptrace::frame_ptr *buffer, std::size_t size) {
  // Setup pipe and spawn child
  pipe_t input_pipe;
  pipe(input_pipe.data);
  const pid_t pid = fork();
  if (pid == -1) {
    return; /* Some error occurred */
  }
  if (pid == 0) { // child
    dup2(input_pipe.read_end, STDIN_FILENO);
    close(input_pipe.read_end);
    close(input_pipe.write_end);
    execl("tracer", "tracer", nullptr);
    const char *exec_failure_message = "exec(tracer) failed: Make sure "
                                       "the tracer executable is in "
                                       "the current working directory and the "
                                       "binary's permissions are correct.\n";
    write(STDERR_FILENO, exec_failure_message, strlen(exec_failure_message));
    _exit(1);
  }
  // Resolve to safe_object_frames and write those to the pipe
  for (std::size_t i = 0; i < size; i++) {
    cpptrace::safe_object_frame frame;
    cpptrace::get_safe_object_frame(buffer[i], &frame);
    write(input_pipe.write_end, &frame, sizeof(frame));
  }
  close(input_pipe.read_end);
  close(input_pipe.write_end);
  // Wait for child
  waitpid(pid, nullptr, 0);
}

void handler(int signo, siginfo_t *info, void *context) {
  // Print basic message
  const char *message = "SIGSEGV occurred:\n";
  write(STDERR_FILENO, message, strlen(message));
  // Generate trace
  constexpr std::size_t N = 100;
  cpptrace::frame_ptr buffer[N];
  std::size_t count = cpptrace::safe_generate_raw_trace(buffer, N);
  do_signal_safe_trace(buffer, N);
  // Up to you if you want to exit or continue or whatever
  _exit(1);
}

void warmup_cpptrace() {
  // This is done for any dynamic-loading shenanigans
  cpptrace::frame_ptr buffer[10];
  std::size_t count = cpptrace::safe_generate_raw_trace(buffer, 10);
  cpptrace::safe_object_frame frame;
  cpptrace::get_safe_object_frame(buffer[0], &frame);
}
void bad() { // ------> this is line 73
  int *p = nullptr;
  //*p = 10;
  std::vector<int> v;
  // v.at(10);
  *p = 10; // ----------> this is line 78
}

int main() {
  warmup_cpptrace();
  // Setup signal handler
  struct sigaction action = {0};
  action.sa_flags = 0;
  action.sa_sigaction = &handler;
  if (sigaction(SIGSEGV, &action, NULL) == -1) {
    perror("sigaction");
  }
  if (sigaction(SIGABRT, &action, NULL) == -1) {
    perror("sigaction");
  }
  bad();
}

The stacktrace generated with libunwind is
#0 0x7dd924ad851f0000 at /lib/x86_64-linux-gnu/libc.so.6
#1 0x55a13aa3df840000 in bad() at /src/s3-cache/test.cc:73:12 <---------------wrong location, should be 78
#2 0x55a13aa3e0100000 in main at /src/s3-cache/test.cc:93:6
#3 0x7dd924abfd8f0000 at /lib/x86_64-linux-gnu/libc.so.6
#4 0x7dd924abfe3f0000 at /lib/x86_64-linux-gnu/libc.so.6
#5 0x55a13aa3dcb40000 at /src/s3-cache/test

Howerver, the expected result is
#0 0x7dd924ad851f0000 at /lib/x86_64-linux-gnu/libc.so.6
#1 0x55a13aa3df840000 in bad() at /src/s3-cache/test.cc:78:12
#2 0x55a13aa3e0100000 in main at /src/s3-cache/test.cc:93:6
#3 0x7dd924abfd8f0000 at /lib/x86_64-linux-gnu/libc.so.6
#4 0x7dd924abfe3f0000 at /lib/x86_64-linux-gnu/libc.so.6
#5 0x55a13aa3dcb40000 at /src/s3-cache/test

Any idea why? Is the problem with libunwind?
My compile command was g++ -o test  test.cc -g1 -O2 -lcpptrace -ldwarf -lz -lzstd -lunwind -llzma  -w -std=c++17 -fpic
If I do O0 then the information was correct. Also, if I used clang, I got nothing
#0  0x74e948ab551f0000 at /lib/x86_64-linux-gnu/libc.so.6
#1  0x74e948a9cd8e0000 at /lib/x86_64-linux-gnu/libc.so.6
#2  0x602bd13da9980000 in _ULx86_64_step at /root/libunwind/src/x86_64/Gstep.c:78:15
#3  0x602bd13560a00000 at /src/s3-cache/test
#4  0x602bd1347cb50000 at /src/s3-cache/test
#5  0x74e948c8f1900000 at /lib/x86_64-linux-gnu/libc.so.6
#6  0x74e9490580400000 at /lib64/ld-linux-x86-64.so.2
#7  0x602bd135601c0000 at /src/s3-cache/test
#8  0x74e94902937c0000 at /lib64/ld-linux-x86-64.so.2
#9  0x74e948a77ad00000 at /lib/x86_64-linux-gnu/libc.so.6
#10 0x74e948a76b280000 at /lib/x86_64-linux-gnu/libc.so.6
#11 0x74e9490297e90000 at /lib64/ld-linux-x86-64.so.2
#12 0x74e948a896500000 at /lib/x86_64-linux-gnu/libc.so.6
#13 0x74e948a896500000 at /lib/x86_64-linux-gnu/libc.so.6
#14 0x602bd13423870000 at /src/s3-cache/test
#15 0x602bd1340d580000 at /src/s3-cache/test
#16 0x74e94902937c0000 at /lib64/ld-linux-x86-64.so.2
#17 0x602bd13e30a20000 at /src/s3-cache/test
#18 0x74e948af16980000 at /lib/x86_64-linux-gnu/libc.so.6
#19 0x74e948c4f4980000 at /lib/x86_64-linux-gnu/libc.so.6

Of course, with gcc's unwinde, the line number was correct

Hi, thanks for the report. In general it's not entirely surprising that a line number could be off on -O2, however there does seem to be a small cpptrace bug here :)
In this case gcc detects the UB in bad and optimizes it to https://godbolt.org/z/4Yo75eo1n
bad():
        mov     DWORD PTR ds:0, 0
        ud2

If I try plugging this into my local test setup, modified to print object addresses instead of runtime addresses, I see the same behavior
#0 0x000000000004251f at /lib/x86_64-linux-gnu/libc.so.6
#1 0x0000000000008573 in bad() at /mnt/c/Users/rifkin/home/projects/cpptrace/test/signal_demo.cpp:26:12
#2 0x0000000000007ba3 in main at /mnt/c/Users/rifkin/home/projects/cpptrace/test/signal_demo.cpp:99:8
#3 0x0000000000029d8f in __libc_start_call_main at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#4 0x0000000000029e3f in __libc_start_main_impl at ./csu/../csu/libc-start.c:392:3
#5 0x0000000000008344 at /mnt/c/Users/rifkin/home/projects/cpptrace/build/signal_demo

(where void bad() { is line 26)
Looking at an objectdump
0000000000008570 <_Z3badv>:
void bad() { // ------> this is line 73
    8570:	f3 0f 1e fa          	endbr64
  *p = 10; // ----------> this is line 78
    8574:	c7 04 25 00 00 00 00 	mov    DWORD PTR ds:0x0,0x0
    857b:	00 00 00 00
    857f:	0f 0b                	ud2
    8581:	66 66 2e 0f 1f 84 00 	data16 cs nop WORD PTR [rax+rax*1+0x0]
    8588:	00 00 00 00
    858c:	0f 1f 40 00          	nop    DWORD PTR [rax+0x0]

The address returned from libunwind would have corresponded to 0x0000000000008574, the mov    DWORD PTR ds:0x0,0x0, but currently the library unconditionally subtracts 1 from the pointer
https://github.com/jeremy-rifkin/cpptrace/blob/a70cf7935adbc1522d2793dfc64a4ff0dfb19a9a/src/unwind/unwind_with_libunwind.cpp#L62
The reason why is that when you call in x86 the instruction pointer written to the stack frame is for the instruction after the call and subtracting 1 gets the instruction pointer back into the call, but I guess for a signal frame the address is just the pointer of the instruction where things went wrong, which makes sense to me.
As to why clang wouldn't print anything, that's weird but it could be a general dwarf symbol resolution issue I haven't encountered yet. Does it happen when a stack trace is generated outside a signal tracing setup?

I think the core of that issue should now be fixed on dev.
When I tested again locally that frame was resolving to the vector construction which seems to be another edge case but this time in how the inlined subroutine is encoded in dwarf
0x00007bf7:   DW_TAG_subprogram
                DW_AT_external	(true)
                DW_AT_name	("bad")
                DW_AT_decl_file	("/mnt/c/Users/rifkin/home/projects/cpptrace/test/signal_demo.cpp")
                DW_AT_decl_line	(26)
                DW_AT_decl_column	(0x06)
                DW_AT_linkage_name	("_Z3badv")
                DW_AT_low_pc	(0x0000000000008570)
                DW_AT_high_pc	(0x0000000000008581)
                DW_AT_frame_base	(DW_OP_call_frame_cfa)
                DW_AT_GNU_all_call_sites	(true)
                DW_AT_sibling	(0x00007d53)

                ...

0x00007c31:     DW_TAG_inlined_subroutine
                  DW_AT_abstract_origin	(0x00007d53 "_ZNSt6vectorIiSaIiEEC4Ev")
                  DW_AT_entry_pc	(0x0000000000008574)
                  DW_AT_GNU_entry_view	(0x02)
                  DW_AT_low_pc	(0x0000000000008574)
                  DW_AT_high_pc	(0x0000000000008574)
                  DW_AT_call_file	("/mnt/c/Users/rifkin/home/projects/cpptrace/test/signal_demo.cpp")
                  DW_AT_call_line	(29)
                  DW_AT_call_column	(0x14)

I am able to reproduce clang not printing symbols as well, it seems to be due to
Terminate called after throwing an instance of cpptrace::detail::internal_error: Cpptrace internal error: Cpptrace assertion failed at /mnt/c/Users/rifkin/home/projects/cpptrace/src/symbols/symbols_with_libdwarf.cpp:610: void cpptrace::detail::libdwarf::dwarf_resolver::retrieve_symbol(const die_object &, Dwarf_Addr, Dwarf_Half, stacktrace_frame &, std::vector<stacktrace_frame> &): Vec should be empty?
    ASSERT(vec.size() == 0);

Thank you for your response. I have checked out the dev branch, and I was able to get the correct line numbers with gcc. However, with Clang, I tried -O0 and it works, -O2 does not yield any information at all.
Anyway, at least gcc works for now👍

Thanks for your patience. What version of clang are you using? I thought I had been able to reproduce however I am no longer able to, using clang 18.

I'm using clang 14 on Ubuntu 22. I also tried clang 17 on Ubuntu 22. Neither of them work.

Thanks for the additional information. Unfortunately I have been able to reproduce on either ubuntu 22 or 24 with clang 14, 17, or 18 on debug or release. There is a quirk of optimization surrounding bad()'s undefined behavior on clang that causes the failure path for sigaction to always run printing sigaction: Resource temporarily unavailable or similar, but that should only affect a test program like yours and only in release.
I'm going to go ahead and close this issue for now since the core issues have been solved, however I'm very interested in hunting down any clang issues. If there is any more info you can provide to help reproduce I would be grateful. My guess would be some discrepancy in how the build is being done affecting where debug symbols are being placed.

I've released v0.6.0 which includes the fix for this

Thanks!


Update deprecated chainrules usage

See the warnings
WARNING: ChainRulesCore.Composite is deprecated, use Tangent instead.
  likely near C:\Users\jesse\Documents\GitHub\HMCExamples.jl\test\runtests.jl:7
WARNING: ChainRulesCore.Composite is deprecated, use Tangent instead.
  likely near C:\Users\jesse\Documents\GitHub\HMCExamples.jl\test\runtests.jl:7
in kw_zpullback at C:\Users\jesse\.julia\packages\Zygote\ggM8Z\src\compiler\chainrules.jl

Not sure where we are using it, though, since it isn't used directly.  Maybe upstream or something coming out of a a conversion in our sole rrule?

The ChainRules maintenance guys have renamed a bunch of variables, for example renaming the derivative as Tangent and renaming a zero-object as ZeroTangent in the latest ChianRule versions, I think. It possibly will change some of the if-else in the DSSM package.

Sure, but I am not sure where we are using this dierctly.  I suspect it is upstream or happening due to an automatic propotion from nothing or something along those lines.


chore(main): release pg 1.1.0

:robot: I have created a release beep boop
1.1.0 (2023-08-17)
Features

readme add (a3b838d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/livenessprobe/containers/releases/tag/pg/v1.1.0 :sunflower:


This sample is out of date and has breaking changes following MSAL.NET v4

When you build this sample with MSAL.NET v4, you now get 10 warnings, most of which are due to this breaking change made in MSAL.NET v4:
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/msal-net-4#a-breaking-change:
ITokenCache's responsibility splatted between ITokenCache and ITokenCacheSerializer
And if you try and run the code, you now get run time errors because of this.
And it doesn't seem obvious how to correct the code to allow for MSAL.NET v4.
Because this is still held up as a current sample at https://docs.microsoft.com/en-us/azure/active-directory/develop/sample-v2-code, I think this sample should be updated so that it works again please?

@kalyankrishna1 @TiagoBrenck
We'd wantt o update the code from more recent copies of Microsoft.Identity.Web.

I will take this task.


customer-side concern

thank you for the speed just a small problem even after having installed UniverseLib.IL2CPP.Interop.dll in client side BepInEx
plugins impossible to have the possibility of configuring the F11 key (not present in the key menu) it is therefore impossible for me to use the opening menu
thanks again ;)


API Development with Docker Compose Shows Wrong UI Port

Describe the bug
When following the api README for development and bringing up Docker Compose, it gives this message at the end:
no_api-mlx-ui-1      | [HPM] Proxy created: /  ->  http://mlx-api
no_api-mlx-ui-1      | Server listening at http://localhost:3000

This implies that you should go to http://localhost:3000 in your browser to view the UI when in reality, you must go to http://localhost:80
FYI @ckadner

Good catch Joshua. Would you mind working on a fix?


TypeScript right adapt constructor

🔍 Search Terms
I have implemented a function JavaAdapter to inherit classes and return instantiated objects. Now I'm creating a declaration for it.
type ProxyMethods<T extends object> = { [K in keyof T]?: T[K] } | {};

declare function JavaAdapter<T, K extends ProxyMethods<T>, Args>(
  className: new (...args: Args) => T,
  override: K,
  ...args: Args
): K & T;

In most cases, it works fine. However, when the inherited object has multiple constructor functions with different parameter counts, it cannot accurately match, for example:
JavaAdapter(
  android.widget.Button,
  {
    setOnClickListener(view) {
      console.log(view);
    },
  },
  activity,
  // new android.util.AttributeSet()
);

This usage is correct and matches one of the constructor functions, but TypeScript prompts "Expected 4 arguments, but got 3." It works only when I add new android.util.AttributeSet(). The partial declaration of android.widget.Button is as follows:
declare module android {
  export module widget {
    class Button {
      public setOnClickListener(view: this): void;
      public constructor(context: android.content.Context);
      public constructor(context: android.content.Context, attribute: android.util.AttributeSet);
    }
  }
}

Besides changing to constructor(context: android.content.Context, attribute?: android.util.AttributeSet);, can TypeScript better adapt?
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
TypeScript matches correctly based on parameters
📃 Motivating Example
Enhance the user experience of typescript
💻 Use Cases

What do you want to use this for?
What shortcomings exist with current approaches?
What workarounds are you using in the meantime?

Looks like a duplicate of #35501 (marked “closed” but not actually fixed) or one of the similar issues related to it.


Create nominal nofield configuration

Hi @brownd1978,
You have proposed changes to files in these packages:

Scripts
JobConfig

which require these tests: build.
@Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main.
:hourglass: The following tests have been triggered for b60179981759b30e9a490af90a9e6ea8a4a6cce1: build  (Build queue has 9 jobs)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The tests passed at b60179981759b30e9a490af90a9e6ea8a4a6cce1.

Test
Result
Details

merge
:white_check_mark:
Merged b60179981759b30e9a490af90a9e6ea8a4a6cce1 at 86e6a0757ec344a54c22f5305d2e03abb170015b

build (prof)
:white_check_mark:
Log file. Build time: 13 min 24 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at b60179981759b30e9a490af90a9e6ea8a4a6cce1 after being merged into the base branch at 86e6a0757ec344a54c22f5305d2e03abb170015b.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@FNALbuild run build test

:hourglass: The following tests have been triggered for 383b8058a115323502bf0c28b2e38612572a6861: build  (Build queue has 7 jobs)

:sunny: The tests passed at 383b8058a115323502bf0c28b2e38612572a6861.

Test
Result
Details

merge
:white_check_mark:
Merged 383b8058a115323502bf0c28b2e38612572a6861 at 86e6a0757ec344a54c22f5305d2e03abb170015b

build (prof)
:white_check_mark:
Log file. Build time: 14 min 50 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 383b8058a115323502bf0c28b2e38612572a6861 after being merged into the base branch at 86e6a0757ec344a54c22f5305d2e03abb170015b.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@soleti A gentle reminder that this is in your queue.


loopback & slow path support

A loopback interface is often required as it will hold internal VIPs.
We back this interface with a tun interface to create a corresponding netdev.
This netdev can be used to interact with the external world "in-band".
To avoid sys calls in the datapath to send/receive packets from this interface, delegate read and write sys calls to the control plane, relying on libevent.
Exactly 1 loopback interface is created automatically per VRF, so there is no need to implement an API to create/delete these interfaces.
The creation relies on iface events create/delete/reconfig.

Most comments have been addressed.
rebased on main
svg update
Rewrite of loopback_input done, putting back as draft until a full IP and IP6 test is done.


Inline content modules are not loaded properly

Application does not count with the inline content module within the rich text element.
Example on coffee-beverages-explained article:

This change was made @jancerman (Andrew Dixon) on Jun 27, 2017 · 3:12 pm according to revision history.

Pull requests:
https://github.com/Kentico/cloud-sample-app-js/pull/15

resolved! thx @Simply007


Liveness & Readiness Probe is failing for the daemonSet pods

I followed all the prereqs mentioned in the Install Doc on my Debian machines.
╰─ ./gk-deploy -n storage -g
Welcome to the deployment tool for GlusterFS on Kubernetes and OpenShift.

Before getting started, this script has some requirements of the execution
environment and of the container platform that you should verify.

The client machine that will run this script must have:
 * Administrative access to an existing Kubernetes or OpenShift cluster
 * Access to a python interpreter 'python'

Each of the nodes that will host GlusterFS must also have appropriate firewall
rules for the required GlusterFS ports:
 * 2222  - sshd (if running GlusterFS in a pod)
 * 24007 - GlusterFS Management
 * 24008 - GlusterFS RDMA
 * 49152 to 49251 - Each brick for every volume on the host requires its own
   port. For every new brick, one new port will be used starting at 49152. We
   recommend a default range of 49152-49251 on each host, though you can adjust
   this to fit your needs.

The following kernel modules must be loaded:
 * dm_snapshot
 * dm_mirror
 * dm_thin_pool

For systems with SELinux, the following settings need to be considered:
 * virt_sandbox_use_fusefs should be enabled on each node to allow writing to
   remote GlusterFS volumes

In addition, for an OpenShift deployment you must:
 * Have 'cluster_admin' role on the administrative account doing the deployment
 * Add the 'default' and 'router' Service Accounts to the 'privileged' SCC
 * Have a router deployed that is configured to allow apps to access services
   running in the cluster

Do you wish to proceed with deployment?

[Y]es, [N]o? [Default: Y]: y
Using Kubernetes CLI.
Using namespace "storage".
Checking for pre-existing resources...
  GlusterFS pods ... not found.
  deploy-heketi pod ... not found.
  heketi pod ... not found.
  gluster-s3 pod ... not found.
Creating initial resources ... serviceaccount/heketi-service-account created
clusterrolebinding.rbac.authorization.k8s.io/heketi-sa-view created
clusterrolebinding.rbac.authorization.k8s.io/heketi-sa-view labeled
OK
node/kubernetes-master-agent labeled
node/kubernetes-agent-2 labeled
node/kubernetes-agent-3 labeled
daemonset.extensions/glusterfs created
Waiting for GlusterFS pods to start ... pods not found.

Doing a describe on the pods, I get ;
Events:
  Type     Reason                 Age              From                              Message
  ----     ------                 ----             ----                              -------
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-ssl"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "kernel-modules"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-lvm"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-cgroup"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-config"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-etc"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-misc"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-logs"
  Normal   SuccessfulMountVolume  1m               kubelet, kubernetes-master-agent  MountVolume.SetUp succeeded for volume "glusterfs-dev"
  Normal   SuccessfulMountVolume  1m (x3 over 1m)  kubelet, kubernetes-master-agent  (combined from similar events): MountVolume.SetUp succeeded for volume "default-token-k8m59"
  Normal   Pulled                 1m               kubelet, kubernetes-master-agent  Container image "gluster/gluster-centos:latest" already present on machine
  Normal   Created                1m               kubelet, kubernetes-master-agent  Created container
  Normal   Started                1m               kubelet, kubernetes-master-agent  Started container
  Warning  Unhealthy              18s              kubelet, kubernetes-master-agent  Readiness probe failed: /usr/local/bin/status-probe.sh
failed check: systemctl -q is-active gluster-blockd.service
  Warning  Unhealthy  11s (x2 over 36s)  kubelet, kubernetes-master-agent  Liveness probe failed: /usr/local/bin/status-probe.sh
failed check: systemctl -q is-active gluster-blockd.service

On the nodes I only installed  glusterfs-client.
Is there something else I need to deploy on the nodes ?

I am finding this exact issue too - was there a resolution?  I am struggling to find any mention of a gluster-blockd.service anywhere.

I had faced the same problem. I had glusterfs service running on K8 nodes too. After stopping and disabling the glusterfs service,  restarted the K8 nodes. All the glusterfs pods came up automatically.


slow count(*) problem with mysql 8

After upgrading mysql from 5.7 to 8.0.20 a count(*) or count(id) of an indexed table with 100.000 rows (without where)  takes > 5 seconds. (~0.00 seconds with 5.7)
count(*) is at least used for list pagination, so all list operations in backback take several seconds longer.
There are several threads with different solutions found via google. But most of them would need a change in the way the rows are counted, eg  querying information_schema.
Is this a know issue, are there any recommendations or plans to change pagination in future backpack releases?
thx a lot

sorry probably this is the wrong place to discuss this topic.
I just found a "hackish" solution
CREATE INDEX idx_second_id ON designs (id)
it seems that innodb can't use primary key autoincrement indizes for efficient row counting...
with the second index on id select count(*) from table takes ~0.0 seconds

Ugh. Sorry to hear that's what MySQL 8 does - thanks for the heads-up @axelzuzek ! It's surprising that the new version is slower... Wow. I've also encountered problem with the same root cause, in pre-8 MySQL, but with huge datasets (millions).
Our problem is with DataTables - even if we choose a different pagination (paging_type in their lingo), we'd still need to pass the total count. It wouldn't use it, but it requires it.
So I guess the best we can do is create a new List operation. One that doesn't use DataTables. It was in the cards anyway - but now... it looks like we have no other choice, and we should speed it up...

Oh okay, so apparently... we could even create our own DataTables pagination if we want... https://datatables.net/plug-ins/pagination/ Maybe they've fixed the above in the latest version - maybe we can use pagingType: simple now without passing a total count. Or maybe we can create our own pagination type that doesn't require it - this needs more investigation. Will do @axelzuzek , thanks!

Hi, I spend some time last night to dig into this. In the end it was a false alarm, sorry.
The reason for the extremely slow count performance was the lower default innodb_buffer_pool_size of mysql 8. After increasing to 4G count(*) of ~1 million rows took 9 seconds for the first time, and then 0.1 seconds for the further. MySQL 5.7 always gets this count done in 0.3ms, also for the first time.
My first google hits yesterday showed that the overall count performance of MySLQ 8 with InnoDB is up to 10.000 times slower than it was for 5.7. So I assumed my 8 seconds per list table view was a result of this and it took some time to check the obvious config parameters. But maybe this will help some other guys falling into the same pit later. (Ubuntu 20.04 has Mysql 8 as default database)

Update: I did some further tests. MySQL 8 with innodb uses full table scans for count() - A big buffer_pool_size helps to improve the performance, but the time for count() increases linear with increasing entry size.
For example InnoDB Table with 5 million entries takes ~ 1sec for a count(*) on a high end desktop system. So it will not scale for big data applications.
MySQL suggests to trigger crud-events and have a seperate stats table with entry counters, or to use MyISAM as a non transactional fallback.

This is both bad and nasty!

Heads-up @nagi1 - this thread is from 3 years ago. We've made huge improvements in this area a while back - Backpack v5 works with hundreds of thousands of entries with no issues. And you can disable the count entirely if you want millions of entries - https://backpackforlaravel.com/docs/5.x/crud-operation-list-entries#large-tables-millions-of-entries


Serialise into classes?

Thanks for making this super fast library!
Would be nice if we could serialize in classes directly. I.e we could pass a method/proc that constructs the classes on the json that has been given.  This would allow me to directly map it to my domain models!
def deserialize(hash)
  return Person.new(hash) if hash[:type] == 'person'
  return Car.new(hash) if hash[:type] == 'car'
  hash
end
RapidJson.parse(json, deserialize: method(:deserialize))

Thanks for the suggestion. I'm not too sure about it on initial glance.
It could be nice if we could use this as an alternative to the "additions" the standard json library has. But on the other hand I don't think this needs gem support as you could iterate through the parsed hash to perform that deserialize operation. We have a feature like this in Marshal and it has been a bit of work to iron out the bugs in so I'm not keen on adding it here.
At least at the moment I think this is better achieved by post-processing the parsed hash in Ruby.

I understand the concern, but alas the json documents are of such size that kind of the benefit of parsing the json dissapears when needing to iterate over it and instantiate the classes afterwords. It would be nice if that all happened on the C side. But maybe i can try in a seperate gem.


[10.x] Make DynamoDB failed job provider countable

See: https://github.com/laravel/framework/pull/48177
Dynamo DB documentation: https://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.DynamoDb.DynamoDbClient.html#_describeTable
I've left this one as a draft as I would absolutely love if someone from the community could test this out for me.
Should note that this is the "performant" way of counting records.

The number of items in the specified table. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

Maybe we need to not use this? I'm not sure what best practice is with Dynamo and if this kind of "eventually consistent" approach is just part of how it works.

Uh! I've just realised this will require filtering by queue and connection, so this implementation likely isn't suitable.

@timacdonald should we close this one?

Nah, I'd like to get it moving still.

Counting in dynamodb can be very slow. If there are millions of items, this will take minutes with many requests, if done sequentially via Query configured to only return item count.

It actually looks like a (parallel) scan is needed here, since queue and connection are not part of the pk, or a gsi.

I d'no if anyone is actually using this driver at any scale anyway, since the primary key design here is not suitable for doing more than a ~100 req/s.

Given all this, and given that we already have an all method, which also won;t work if there are lots of jobs... why not just implement count by doing count($this->all()), or something close to this?

hmmm. I'm not sure about all this. Maybe I do close this and someone can implement a driver if they want the feature.
I think most applications are using MySQL / Postgres or something similar that the other drivers already support.


Borrow self when try_clone and clone inner client.

try_clone moves self and effectively destroy it which defeats the purpose of cloning. It should instead borrow self and also clone the client inside it and return a new RequestBuilder.

Hi, Thanks for the PR.
I noticed this one too a while back: https://github.com/TrueLayer/reqwest-middleware/pull/56/files#diff-e4f6bb12fbf5ce6c3067b5109091a6872b9da55f0fd8f5314049d2acc348c394R310-R318
Unfortunately it's a breaking change, so we need to go about this change more slowly (even if no one ever actually used it)

Hi, I understand. Do you intend to enforce breaking change policy even at v0? Isn't that the convenience of v0 at this point?


Could not find a part of the path '..\CIDemo.Schemas\bin\Debug\CIDemo.Schemas.dll'.

C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.WiXSetup.targets (100): Unable to copy file "..\CIDemo.Schemas\bin\Debug\CIDemo.Schemas.dll" to "obj\Debug\redist\CIDemo.Schemas.dll". Could not find a part of the path '..\CIDemo.Schemas\bin\Debug\CIDemo.Schemas.dll'.

This time it did not generate the Deployment log file. I am using TFS 2010 and have followed the instruction mentioned at below url. Please help me out.

http://lajak.wordpress.com/2011/02/19/build-biztalk-deployment-framework-projects-using-tfs2010/

Can you please release some guideline as to how BTDF is to be used with TFS 2010.
Attachments
CIDemo.log
This work item was migrated from CodePlex
CodePlex work item ID: '8706'
Vote count: '1'

[UnknownUser@9/25/2011]

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]

Issue closed by tfabraham with comment
Please ask questions in the Discussions area since it is easier to help you there.  Also, please see prior comment(s) with a previous discussion about BTDF and Team Build.  Closing since this is not a product issue.


renaming parameters breaks the stack

While it is somewhat pathological to rename a param, doing so will break the stack. What appears to happen:

grants the custom resource permissions to manage the param on initial run
rename the param
try to run and custom resource tries to create the new param and
boom: ...is not authorized to perform: ssm:PutParameter on resource...
I'm guessing because the grant hasn't changed yet. And even if it had, we'd have the problem where the grant won't let you remove the old param.

Workaround is to rename your Construct's ID as well as the param. Then CDK tears down the old one and spins up the new one.


Run flutter tests with --track-widget-creation as part of the build.

Not for review yet. Just testing to verify that tests are run like I expect

Let me know whether you would like me to only run the widget_inspector_test.dart with this flag or if it is alright to run all the tests with the flag for better coverage in case something goes horribly wrong with the kernel generator.


DM/Mentioned messages notification problem

My Setup

Operating System: Win 10 pro 2004 (19041.572)
App Version: 3.0.4
Installation type: msi

[x] I have tested with the latest version
[x] I can simulate the issue easily

Current Behavior
Hello, in version 3.0.4 i have a problem with notifications.
Every message has e-mail notification.
In older version desktop app i had e-mail notification only when someone mention by @ and send DM when user are offline.

Expected Behavior
E-mail notifiation only when user is offline or when someone use @user @ all @active etc.
Best Regard
Eragras

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


C#: Sync Basis with Core

Remove GetOrthogonalIndex method.

Removed from Core in https://github.com/godotengine/godot/pull/57297.
This is now available in GridMap (the C# class is generated).

Remove GetRow and SetRow methods.

Removed from Core in https://github.com/godotengine/godot/pull/60727.

Remove documentation from internal method GetQuaternion.

I think this method was accidentally using the documentation from get_rotation_quaternion. Since it's not exposed it doesn't need to be documented so for now I removed it.

Thanks!


Updated README

To add badges for Travis CI & Coveralls.
Also updated docs on running tests.

Coverage remained the same at 100.0% when pulling f8ae0f2caaacdd7070a5b4ad941f9ef73d38adf1 on coveralls into a9d8410f48d93d6b8e36aebdeae8cea4de04b1a9 on master.


A

Thank you for contributing to Harbor!
Comprehensive Summary of your change
Issue being fixed
Fixes #(issue)
Please indicate you've done the following:

[ ] Well Written Title and Summary of the PR
[ ] Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
[ ] Accepted the DCO. Commits without the DCO will delay acceptance.
[ ] Made sure tests are passing and test coverage is added if needed.
[ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

Codecov Report

Merging #1 (bd228e3) into main (778a0d3) will decrease coverage by 23.84%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main       #1       +/-   ##
===========================================
- Coverage   67.31%   43.47%   -23.85%
===========================================
  Files         968      230      -738
  Lines       81124    12675    -68449
  Branches     2550     2550
===========================================
- Hits        54609     5510    -49099
+ Misses      22836     6875    -15961
+ Partials     3679      290     -3389

Flag
Coverage Δ

unittests
43.47% <ø> (-23.85%)
:arrow_down:

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

Impacted Files
Coverage Δ

...es/vulnerability/vulnerability-config.component.ts
54.07% <0.00%> (-8.89%)
:arrow_down:

src/jobservice/migration/migrator_v180.go

src/jobservice/config/config.go

...controller/artifact/processor/image/manifest_v1.go

src/lib/request.go

src/server/v2.0/handler/purge.go

src/core/controllers/authproxy_redirect.go

src/lib/q/builder.go

src/pkg/scheduler/dao.go

src/jobservice/common/query/q.go

... and 729 more


Moving map deselects annotation

Hi!
When I select a style annotation, and then move the map or pinch to zoom, then func annotationController(_ annotationController: MGLAnnotationController, didDeselect styleAnnotation: MGLStyleAnnotation) will be triggered. Is this intended?
The expected behavior is that the style annotation only then gets deselected, when I touch an empty spot on the map or another style annotation. Do I miss something?
All the best

Hey @ritter1, thanks for trying this library.
I wasn't able to replicate what you're seeing. Below is the test app as current on master - didSelectStyleAnnotation doesn't get called as I pan and zoom with a selected annotation:

Do you have a minimal test case you can provide do recreate what you're seeing?

Hi @captainbarbosa, thanks for getting back to me so quickly!
I meant didDeselect, not didSelect.
As I am moving and zooming, the selected styleAnnotation should remain selected.

Hey @captainbarbosa , any update on this?

Thanks for opening this issue and providing important feedback - I confirm what you're seeing now. Please note that we're a small team and can't always respond quickly. In regards to your comment, I can see what you're experiencing now.
It looks like our main Maps SDK does not do this with regular MGLAnnotations. We should provide a similar behavior here or provide the option to select/deselect MGLStyleAnnotations when the map moves. I've opened https://github.com/mapbox/mapbox-annotation-extension/issues/62 to track this. While I can't guarantee a timeframe for a fix, we will accept third party contributions if you are interested in taking this on.


Research platform changes for Eventbrite

Adding research here about switching platforms: https://docs.google.com/document/d/1tt2puVoBoVDnTtcPLxN_qoo2KhrtWFMRQR0fMWjU3I4/edit


Feature request: Set color of tabs

I think it would be really nice to be able to set the color of each tab. iTerm has the functionality to do this manually, but it would be awesome to be able to set it from the ~/.itermocil/<file_name>.yml file.
See screenshot provided below.

+1

+1

+1


Update the gcode-viewer for standalone mode to v0.2.1

Hi,
I just updated the gcode viewer. It now uses a bit less RAM when rendering.

Hi!
Thanks for the pull request. I will review it in the coming weekend.


Apktool adds api version itself on resource folders.

Information

Apktool Version (apktool -2.2.2)
Operating System (Windows)
APK From? (ROM)
ROM Info(ASUS Padfone S 4.4..2 stock)

Steps to Reproduce

apktool if framework-res.apk
apktool d SystemUI.apk
apktool b SystemUI.apk

Frameworks
https://www.dropbox.com/s/q91od465qiy0jt2/framework-res.apk?dl=0
APK
https://www.dropbox.com/s/nmha0buv1w22rjh/SystemUI.apk?dl=0
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? Yes
If you are trying to install a modified apk, did you resign it? Not doing this.
Are you using the latest apktool version?  Yes.

Problematic screenshots
https://imgur.com/a/ZE2Pf

Hmmm. How did this happen. I built both the Windows & Unix binaries from the same codebase, yet I confirm this on Windows.
https://github.com/iBotPeaches/platform_frameworks_base/commit/99d5bf68d18bfb64a439a670a38bceb079fef97b
I guess I need to rebuild Windows binaries. I wish TravisCI could be adapted to test Windows as well.

Bumping this into the upcoming release. This is a problem at the apktool level & aapt.

After a weekend of research, there is not much I can do here, well maybe but here is the deal. Apktool currently iterates through resources after it processes the resources.arsc file. Some of these are resources contained within said file, while others are files located elsewhere in the apk
So imagine a file resource in the configuration drawable-xhdpi, it may have no version qualifier there, but in my testing the reference in the resources.arsc file has sdkVersion set to 4. This is because AAPT does some crazy smart detective work where it uses the minSdkVersion from AndroidManifest.xml in order to detect in any resource used from higher Android releases. This implicitly adds the resource at the ResResource value. This is why you don't see versions in the folder qualifications but they decode with them.
So I did a test. I make a brand new application with the current Android Studio with SDK Tools, assuming thats what most developers do (ie using the latest stuff).

Cross reference directory full path name vs resource qualifier, so drawable-hdpi stays as such even though resource has sdkVersion=4. This would mean that it would leverage the directory name instead of what the qualifiers say. This is probably a mess to program with all the rules, you would think we already do that, but we don't - aapt does that during compilation.
So pending we do that change, our builds of aapt don't add implicit qualifiers so that build of the application won't have any set, their sdkVersion will be 0. This could potentially be bad if AOSP requires in a certain circumstance to have the version qualifier that we have now wiped them, because remember the previous change would trust the directory file path instead of qualifier.
This would be a breaking change to existing applications. The original reason we stopped implicit versioning during build was to match applications to original nearly 100%. The problem now is decoding implicit versioning.
TDLR - Doing no change. This is too dangerous to change currently.

As per my last reply. I looked into this again and without dangerously breaking things. There is nothing more I can do at the non-folder qualifier level.


解压phantomjs-2.1.1-linux-x86_64.tar.bz2失败

Archive:  phantomjs-2.1.1-linux-x86_64.tar.bz2
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of phantomjs-2.1.1-linux-x86_64.tar.bz2 or
phantomjs-2.1.1-linux-x86_64.tar.bz2.zip, and cannot find phantomjs-2.1.1-linux-x86_64.tar.bz2.ZIP, period.

请使用已经打包好的docker hub镜像，否则自己本地构建是比较麻烦的过程


Using custom CADL operation template and getting unexpected response in DPG code

Describe the issue or request
The service team is using the following operation template:
@doc("Long running RPC operation template")
op LongRunningRpcOperation<
    TParams extends object,
    TResponse extends object
  > is RpcOperation<
    TParams,
    Foundations.AcceptedResponse<TResponse &
      Foundations.LongRunningStatusLocation>
  >;

This is causing the operation signature to come out as the operation returning an AcceptedResponse instead of the TResponse.
Current output:
public virtual async Task<Operation<AcceptedResponse>> InferOncologyPhenotypingAsync(WaitUntil waitUntil, OncoPhenotypeRequest oncoPhenotypeRequest, CancellationToken cancellationToken = default)

Describe your ideas for solutions
Expected output:
public virtual async Task<Operation<OncoPhenotypeResponse>> InferOncologyPhenotypingAsync(WaitUntil waitUntil, OncoPhenotypeRequest oncoPhenotypeRequest, CancellationToken cancellationToken = default)

Add labels
As appropriate, select a label to describe how hard the issue is to work
around or how hard it would be to do without a particular feature that
could help make it easier. These labels start with "workaround".
Also select a label that describes how many instances of the workaround
you would have to do without the bug being fixed or feature implemented.
These labels start with "instances".
These labels will help priority bug fixes and feature requests.
If this bug or feature request is for older versions of autorest, please
remove the v3 label and add the v2 label as appropriate.

cc @m-nash


Godot 3.2.3 mono crashes as on launch (SIGILL)

Godot version:

3.2.3
OS/device including version:

Windows 10 Pro 64 bit
Issue description:

Godot doesn't run at all
Microsoft Windows [Version 10.0.19042.746]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\Shadowblitz16>cd desktop

C:\Users\Shadowblitz16\Desktop>"Godot 3.2.3".lnk
Godot Engine v3.2.3.stable.mono.official - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce GTX 650/PCIe/SSE2

Mono: Log file is: 'C:\Users\Shadowblitz16\AppData\Roaming/Godot/mono/mono_logs/2021_01_25 18.36.28 (3336).txt'
ERROR: Failed to load one of the prebuilt API assemblies.
   At: modules/mono/mono_gd/gd_mono.cpp:930

=================================================================
        Native Crash Reporting
=================================================================
Got a SIGILL while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
        Managed Stacktrace:
=================================================================
=================================================================

C:\Users\Shadowblitz16\Desktop>

Steps to reproduce:

Download godot mono 3.2.3 64 bit
Download and install mono 64 bit
Run Godot.

Minimal reproduction project:

I can't even get to the project screen.

Did you move/remove the data folder with the Mono assemblies that comes with the download? Or maybe your .lnk doesn't have the working directory properly set to find them.

Did you move/remove the data folder with the Mono assemblies that comes with the download? Or maybe your .lnk doesn't have the working directory properly set to find them.

Try share content of your "Godot 3.2.3".lnk.

Try share content of your "Godot 3.2.3".lnk.

this is the what my godot executable folder looks like..

The shortcut is to the mono exectuable

this is the what my godot executable folder looks like..

The shortcut is to the mono exectuable

That folder was named GodotSharp when you unzipped the Mono build. Renaming it makes it impossible for the Godot binary to locate the GodotSharp assemblies.

That folder was named GodotSharp when you unzipped the Mono build. Renaming it makes it impossible for the Godot binary to locate the GodotSharp assemblies.


Is it possible to declare a callable type in IDL and add it to an arg of an interface method?

My use case is that I'm trying to pass a callback as a an argument of a method within my interface, something like:
InitializeCallback = function {
    state: MyState;
    error: MyError;
}

my_interface = interface +c {
    initialize(callback: InitializeCallback);
}

If not, is there a plan to support it?

Your sample is not clear to me, except, it looks very java script like but that is a different domain.
You can already pass classes as callbacks today, and people do that.

Let me try a better explanation. My C++ header that I'm trying to replicate via IDL has methods that require function callbacks as so:
    void initialize(const std::function<void(const MyState*, MyError)>& handler);

Is that a little more clear?

Please read this comment from @artwyman in the former dropbox repo  , since I could not explain it better.
https://github.com/dropbox/djinni/issues/425#issuecomment-457074882
This has not changed, and very likely will not change in reasonable time (or ever if no one implements it)
Does this answer your question?

It does, again, thanks for your quick response @a4z!


Monkey patch build tags

Is there any way to make the changes in monkeypatched revel/cmd/harness/build.go take place? i need to compile it somehow? (I need this to add some -ldflags tags to build command)

monkeypatched revel/cmd/harness/build.go

Can you please describe your issue?

i need to add -ldflags "s" tag when revel build command runs. As i read before https://github.com/revel/cmd/issues/10 - its not possible to add custom tags, but is it possible to monkey revel package somehow to use it?

As of now, revel has support for adding -tags build values from app config build.tags.
Custom support for -ldflags is yet to come. For now you can edit build.go use it for your purpose.

Is this something we want to do in future ?


Clues overlapping grid on iOS

iOS: 9.3.5
Safari: 9? (TBC)
It looks like there are some CSS styles that don't play well with older versions of Safari. Without the means to reproduce the issue this is going to be very difficult to resolve.

A potential area to check is the flexbox styles. One straightforward change that could be made would be to add the relevant vendor prefixes and see if that makes a difference.
Further reading on flexbox compatibility:

Backwards Compatibility of Flexbox
Flexbugs
Should I Prefix
Autoprefixer

Next thing to try... https://stackoverflow.com/questions/32689686/overlapping-css-flexbox-items-in-safari


[Bug] Can not run "npm install" because of "react": "17.0.2" and "react-html-parser": "2.0.2" packages conflicts.

Version
2.0.0
Reproduction link
http://localhost
Operating System
MAC
Device
Mac Mini (2018)
Browser & Version
NA
Steps to reproduce

Download code from Creative Tim
Unzip
Rename the root folder to "client"
Terminal go to client directory
Run "npm install" command

What is expected?
Installing the whole necessary packages under node_modules
❯ node -v
v16.13.0
❯ npm -v
8.1.4
What is actually happening?
Error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^15.0.0 || ^16.0.0-0" from<EMAIL_ADDRESS>npm ERR! node_modules/react-html-parser
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

Solution
npm install --legacy-peer-deps
Additional comments
The error log file:
npm resolution error report
2021-11-29T11:04:24.266Z
While resolving<EMAIL_ADDRESS>Found<EMAIL_ADDRESS>node_modules/react
<EMAIL_ADDRESS>from the root project
Could not resolve dependency:
peer<EMAIL_ADDRESS>|| ^15.0.0 || ^16.0.0-0" from<EMAIL_ADDRESS>node_modules/react-html-parser
<EMAIL_ADDRESS>from the root project
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Raw JSON explanation object:
{
"code": "ERESOLVE",
"current": {
"name": "react",
"version": "17.0.2",
"whileInstalling": {
"name": "soft-ui-dashboard-pro-react",
"version": "3.0.0",
"path": "/Users/akaymu/Kodlar/kendi-kodlarim/learning-platform/client"
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react",
"spec": "17.0.2",
"from": {
"location": "/Users/akaymu/Kodlar/kendi-kodlarim/learning-platform/client"
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react",
"spec": "17.0.2",
"from": {
"location": "/Users/akaymu/Kodlar/kendi-kodlarim/learning-platform/client"
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "^0.14.0 || ^15.0.0 || ^16.0.0-0",
"error": "INVALID",
"from": {
"name": "react-html-parser",
"version": "2.0.2",
"whileInstalling": {
"name": "soft-ui-dashboard-pro-react",
"version": "3.0.0",
"path": "/Users/akaymu/Kodlar/kendi-kodlarim/learning-platform/client"
},
"location": "node_modules/react-html-parser",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react-html-parser",
"spec": "2.0.2",
"from": {
"location": "/Users/akaymu/Kodlar/kendi-kodlarim/learning-platform/client"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}

Hi @akaymu
Thanks for using our product please use the following command it will help you: npm install --force
All the best
Sajad