Update Guest Components Documentation

[ ] Landing page:

Website URL: https://confidentialcontainers.org/docs/guest-components/
GH: https://github.com/confidential-containers/confidentialcontainers.org/blob/main/content/en/docs/guest-components/_index.md

[ ] API Server Rest:

Website: https://confidentialcontainers.org/docs/guest-components/api-server-rest/
GH: https://github.com/confidential-containers/confidentialcontainers.org/blob/main/content/en/docs/guest-components/api-server-rest/_index.md

[ ] Attestation Agent:

Website: https://confidentialcontainers.org/docs/guest-components/attestation-agent/
GH: https://github.com/confidential-containers/confidentialcontainers.org/blob/main/content/en/docs/guest-components/attestation-agent/_index.md

[ ] CDH

Website: https://confidentialcontainers.org/docs/guest-components/confidential-data-hub/
GH: https://github.com/confidential-containers/confidentialcontainers.org/blob/main/content/en/docs/guest-components/confidential-data-hub/_index.md

[ ] Image-RS

Website: https://confidentialcontainers.org/docs/guest-components/image-rs/
GH: https://github.com/confidential-containers/confidentialcontainers.org/blob/main/content/en/docs/guest-components/image-rs/_index.md

[ ] OCICrypt-RS

Website: https://confidentialcontainers.org/docs/guest-components/ocicrypt-rs/
GH: https://github.com/confidential-containers/confidentialcontainers.org/blob/main/content/en/docs/guest-components/ocicrypt-rs/_index.md

Guest components section has been removed to focus more on users.


Beginners in Gallery need to be directed to 'easier' games

Ideas:

Have a header across top "Great for new coders" with the games that ARE great for beginners signified.
Include a section "Grow challenges for beginners" and have it a series w/Ced's grow games in it.

We've added tags to the gallery to help with this.


Lack of information about Venezuela

Hi. The file big-mac 2021-07-01 (xls)  hasn't Venezuela data.
Thanks

Apologies. It should now be there. Thanks for letting us know!

Thank you for adding the data. I published a story about Venezuela with
historic information: Venezuela has the most expensive Big Mac (and it
isn't the first time)
https://economiahoy.digital/venezuela-tiene-el-big-mac-mas-caro-del-mundo-y-no-es-la-primera-vez/
El lun, 26 de jul. de 2021 a la(s) 07:42, Evan Hensleigh (
@.***) escribió:

Apologies. It should now be there. Thanks for letting us know!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TheEconomist/big-mac-data/issues/20#issuecomment-886586979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFORA7G2EA6CLB6GQUARSM3TZU3YXANCNFSM5A6XFREA
.

--
Jean Carlos Manzano G.


Support side effects for collection and map properties

Follow-up for https://github.com/gradle/gradle/pull/21619
Extends the support for side effect propagation in the Provider infrastructure.

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

It may be possible to fix https://github.com/gradle/gradle/issues/12972 in this PR as well. I will have to look into that.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Enterprise Server - Connection to Server

Thanks for stopping by to ask us a question! Please make sure to include:

What you're trying to do
Hello, I am trying to log in to our company enterprise server using release-please. Thereby release-please uses as url: myserver.com/repos/username/repo_name
But the repos on the Server are accessed differently: myserver.com/username/repo_name
What code you've already tried
Here I give the request using the following command:
release-please bootstrap --token=$GITHUB_TOKEN --api-url=https://myserver.com --graphql-url=https://myserver.com --repo-url=username/project_name --release-type=terraform-module
Is there any way to stop adding the /repos/ to the URL?
Any error messages you're getting

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is there any way to stop adding the /repos/ to the URL?

This is built into the endpoints for octokit. We can only configure the baseUrl. Is your company using some kind of rewriting proxy? As far as I know, GitHub enterprise URLs use the same path structure as GitHub's API.


Add librealsense and librealsense2

Oh, I just found the thread in the "resolved" comments. It looks like we did already get feedback that the repositories are right from @doronhi . This just needs the CI to be resolved.

To try to clear some things up here there are two repos being linked to.
The one that you are referring to as librealsense (IntelRealSense/librealsense) provides this package: librealsense2
The one you are referring to as librealsense2 (IntelRealSense/realsense-ros) is not "newer" version of the first one, instead it is a ros interface to librealsense2 and depends on a packaged called librealsense2

Here is a PR against Levi's branch for this PR: https://github.com/Levi-Armstrong/rosdistro/pull/1
I'm not sure how else to add these changes to this PR.

I've also made this pull request to the IntelRealSense/librealsense repo to fix the rosdep issues so it will build for melodic: https://github.com/IntelRealSense/librealsense/pull/5523

Sorry I've been inactive in this important conversation for so long.
The melodic version of the debian package should be as similar as possible to the kinetic version.
If any name change should be considered, and it could be the case, it should be done for all ROS distributions and the proper forum for such a debate is the realsesne-ros github repository.
The librealsense2 version for the kinetic distribution builds without the graphical examples and so avoid the need to depend on X11 and make the IntelRealSense/librealsense#5523 unneeded.
Could someone add a link to the farms's auto build log? I wonder how is the automatic build process pass now, without the PR#5523 being merged.

@clalancette @doronhi @Levi-Armstrong here is PR to rename realsense-ros to realsense2_camera` in the melodic distribution.yaml file: https://github.com/Levi-Armstrong/rosdistro/pull/2

The librealsense2 version for the kinetic distribution builds without the graphical examples and so avoid the need to depend on X11 and make the IntelRealSense/librealsense#5523 unneeded.

@doronhi The reason I created that PR is I couldn't figure out how to build in a ros environment without those dependencies.  I am currently working on a project in Melodic that depends on both realsense2 and realsense-ros repos and my only solution is to build from source and checkout my change to do it.  The reason I've approached it this way is this is the only way I could get my project to pass CI.
To help realsense2 continue to be usable for others who have reason to do a source ROS build I added rules to your .travis.yml file to have your CI test building realsense2 in a Kinetic and Melodic environment.  I would really appreciate your help getting that change merged or made irrelevant in some way (default build changed to not require X11 dependencies).

Hi @tylerjw ,
The default build includes the graphical examples. That is as part of the company policy and was discussed before, only I can't recall where right now.
Although I am aware of the popularity of the package under Ubuntu 18.04, the package is not officially supported for that environment yet. I thought it would be proper to first declare out support of Melodic and then proceed to release a debian package.
This week I encountered a problem with librealsense2 Ubuntu 18.04 kernels (18.04 and higher) which delayed my progress on the topic.
Never the less, I will create the PR for rosdistro melodic, the same was you did, only with the flags for compiling without X11. Basically copying from our kinetic debian package. I hope to get to that in the next couple of days.
Will that help?

@clalancette @doronhi @Levi-Armstrong here is PR to rename realsense-ros to realsense2_camera in the melodic distribution.yaml file: Levi-Armstrong#2

@tylerjw That PR makes sense to me.  @Levi-Armstrong please merge that PR into this one, and then we can go ahead and get this whole thing committed.  Any follow-up work that @doronhi is discussing can be done in a separate PR.

@tylerjw , I have submitted #23461 . It is basically the same as this PR, but using a release repository I was able to avoid the dependency in X11, despite it's usage in the original repository.
As I feel it is my responsibility as maintainer of the package to maintain it's debian releases as well, I would like to take it from here, if you approve, of course.

@doronhi :confetti_ball: of course.  I just want this released for melodic because it will really help us as we are developing a product that uses it and right now my solution is to checkout my branch for the PR on the development repo.  I would still like building it from source using ROS to be added to the CI system there.

@doronhi  This was partially replaced by the full release of librealsense2 in #23461 but the realsense-ros components aren't also duplicated there.

Nevermind there's also #23460 I think that makes this PR obsolete so I'm going to close it.

Thanks for your efforts @tylerjw and @Levi-Armstrong to push this along.


APEXMALHAR-2122 Upgrading elasticsearch java api from 1.1.2 to 2.3.3.

Upgrading elasticsearch java api from 1.1.2 to 2.3.3.  Made necessary changes in operator. Fixed build issues recognised while migration.

@akshay-harale : I have following feedback

Why update the version. Jira says "Current elassticsearch version is 2.3.3 so wee need to upgrade the corresponding java api to 2.3.3.". This doesn't validate the version upgradation
Branch name should be APEXMALHAR-2122 instead of master

Use case is something like this, we were trying to dig into the data using Apex library and that data we wanted to visualise using Kibana dashboard. Kibana Dashboard uses Elastic Search to optimize and provide search on the data also let's us apply the filters. So I wanted to push data using elastic search operator available through Apex malhar and unfortunately that didn't work, was getting issues connecting to elastic search cluster. Then I tried posting the question on apex user forum, which didn't receive any response, so I went ahead and updated the elastic search version in Apex Malhar. This resulted in seamless connection and loading of data in the elastic search clusters through Apex. And that's the sole reason I feel we should update elastic search library being used in apex to latest version available.

@akshay-harale Is this PR still relevant?


feat: add validation for the splunktaucclib to be included

If an add-on has globalConfig.json, it means that it has UI, so splunktaucclib should be at least included to the
package/lib/requirements.txt (by default). In case there is no such dependency, the add-on will not be built.
The same as #529, there was an issue with rebasing that PR.

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

v5.15.0
GitHub release

Your semantic-release bot :package::rocket:


[Bug]: x86 mono game crashed when starting

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Changed the title so that it doesn't just says "[Bug]: "
[X] I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
Latest.log
(The log seems no help to the issue?)
A x86 mono game crashed when starting, no any error message.
See the screen record:
https://github.com/user-attachments/assets/6c4b8b74-dfc2-4b4c-85ea-99700f8f8929
Did you attach your log file?
Yes, I attached my log file to the text box above.

Please retest this with the latest alpha-development build of v0.6.6.
https://nightly.link/LavaGang/MelonLoader/workflows/build/alpha-development/MelonLoader.Windows.x86.CI.Release.zip


Release first version

@rultor release tag=0.0.1

@rultor release tag=0.0.1

@aliceice OK, I will release it now. Please check the progress here

@rultor release tag=0.0.1

@aliceice Done! FYI, the full log is here (took me 2min)


feat(arbitrary): add async version of forall (#5)

Current dependencies on/for this PR:

main

PR #6   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: 🔄 Waiting for checks to pass
This pull request is currently waiting for CI and mergeability checks to pass before being merged.
This comment was auto-generated by Graphite.

Job Reference: AhgxfVtuhaAdh2T0uDQP


Redux selector

Hi
Thanks for your work !
It would be nice to have a Redux selector icon, based on Redux store/action/reducer icons, with a different color (yellow? red?), if a file ends with
\.selectors?\.[tj]s

Thanks

Thanks !


small text cut off in the about section

It's very small, but you can't fully see the "g" letter in Winget. Maybe the "p" in Scoop is also affected

I see

I've added to the todo:

Make the text aligned like in the image below


Show result for Print && current only the last result is returned

Print is io event, not result expression.
ref
HandlerFunctions -> <|"PrintOutputGenerated" -> Print|>

goal:
capture the io and calculate result, join them together like in notebook.

Now I use
Column[{
...
}]

to fix it.


:building_construction:  support typescript code

A few changes in this PR to facilitate migration to TypeScript.

Tooling setup to allow developing with TS files
Changing imports/exports to be more modern
Changing some file paths now that files are served from ./build folder instead of .

Why do this?
Upgrading some dependencies with security issues (such as node-fetch) requires using modern import syntax. So we might as well continue the TS migration here..

Note: I did not yet test actually deploying the build to pikapods/fly.io or anywhere else. Need to check if this still works as expected before merging.

Also: maybe this is an overkill. Still need to consider alternatives.
But either way we need to figure out the import issue: https://github.com/node-fetch/node-fetch/blob/HEAD/docs/v3-UPGRADE-GUIDE.md#converted-to-es-module


Narrowing generic union function argument doesn't narrow return type based on generic

Acknowledgement

[X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment
I am using the generic "Other" template for this issue because I am not sure if it is a bug, I am misunderstanding something, or it would be a feature request. I would be happy to close and reopen with another template if necessary!
Reproduction:
https://www.typescriptlang.org/play?ts=5.4.0-dev.20240126#code/MYewdgzgLgBAZjAvDAPAFRgUwB5U2AEwhgHIBDEmAH1ICMSA+ACigC4Y0BKdjHPQ4uUoB+UtkrsSAT0qIGMAN4BYAFAwYASwQskiZEM4wATpigBXI2DElV6k+cukZqgL6qgA
const f = <T extends 'a' | 'b'>(t: T): T extends 'a' ? 'x' : 'y' => {
  if (t === 'a') return 'x' // Type '"x"' is not assignable to type 'T extends "a" ? "x" : "y"'. (2322)
  return 'y' // Type '"y"' is not assignable to type 'T extends "a" ? "x" : "y"'. (2322)
}

Expected behavior:
Compiles without error, and function return type is narrowed by control flow in function body checking type of argument
Actual behavior:
Type '"x"' is not assignable to type 'T extends "a" ? "x" : "y"'.(2322)
Type '"y"' is not assignable to type 'T extends "a" ? "x" : "y"'.(2322)
Notes:
This is a minimal reproduction of a problem I came across when trying to do something similar with class generics and fields. I would be happy to provide some more detail about why this would be useful if necessary.

I have also taken a look at https://github.com/microsoft/TypeScript/issues/7294 and https://github.com/microsoft/TypeScript/issues/13995, but I think this issue is different from those. However I may be overlooking something inherently wrong with the code, and would love some insight here.

Duplicate of #33912.


Change all the code from Python2 to Python3

Thoughts? @tanay1337 @aniketmaithani @danielkoster @vedmathai @anurag-ks @neilnelson @CBickel87 @lakshmanaram @anantprsd5 @Pratik151

this project can use tox to handle multiple python version and check if anything going as expected. but this have to wait until all unit tested #67

Any particular benefit we would get from this? @aniketk21

@tanay1337 - Quoting Guido, "there will be no Python 2.8 and that where possible Python users and developers should move over to Python 3.4".

I am not going to engage in it as it brings no particular benefit to the project and will take a lot of time. However, you can go ahead with this after @rachmadaniHaryono tests are done if you want, otherwise you might want to close this issue.


[Event Request] page 350 "G/L Acc. Balance/Budget Lines" - OnBudgetDrillDownOnAfterSetFilters

Hello, can you please add a new Event OnBudgetDrillDownOnAfterSetFilters in page 350 "G/L Acc. Balance/Budget Lines" ?
    local procedure BudgetDrillDown()
    var
        GLBudgetEntry: Record "G/L Budget Entry";
    begin
        SetDateFilter();
        GLBudgetEntry.Reset();
        GLBudgetEntry.SetCurrentKey("Budget Name", "G/L Account No.", Date);
        GLBudgetEntry.SetFilter("Budget Name", GLAcc.GetFilter("Budget Filter"));
        GLBudgetEntry.SetRange("G/L Account No.", GLAcc."No.");
        if GLAcc.Totaling <> '' then
            GLBudgetEntry.SetFilter("G/L Account No.", GLAcc.Totaling);
        GLBudgetEntry.SetFilter(Date, GLAcc.GetFilter("Date Filter"));
        GLBudgetEntry.SetFilter("Global Dimension 1 Code", GLAcc.GetFilter("Global Dimension 1 Filter"));
        GLBudgetEntry.SetFilter("Global Dimension 2 Code", GLAcc.GetFilter("Global Dimension 2 Filter"));
        GLBudgetEntry.SetFilter("Business Unit Code", GLAcc.GetFilter("Business Unit Filter"));
        OnBudgetDrillDownOnAfterSetFilters(GLBudgetEntry, GLAcc);
        PAGE.Run(0, GLBudgetEntry);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBudgetDrillDownOnAfterSetFilters(var GLBudgetEntry: Record "G/L Budget Entry"; GLAccount: Record "G/L Account")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 13636.


Delay setting project state to Opened until backend is fully ready

ℹ This is a very small change and can be merged into the destination branch, even though it is a PR and not develop.
Pull Request Description
Fixes cloud-v2/#351
Important Notes
Not tested as I'm not sure how to repro the opening-a-project-before-it's-actually-ready thing.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

:| woops

(sorry everyone, bad merge)

so it seems like this may not be needed because this might be getting implemented directly in the backend

Ok, few questions:

Is almost 2k changed lines really needed for "Delay setting project state to Opened until backend is fully ready"? This sounds very strange.
The description states "Not tested as I'm not sure how to repro the opening-a-project-before-it's-actually-ready thing." - this needs to be tested before merge.
Ping me when Q/A will be ready, then I'll review it.

re: #1 - it was based on the cloud desktop backend switcher PR - it was ~10 lines before the revert. I'll be marking as draft until that's been sorted out

closing as it has been cherry-picked to #6448


AniList tracking not work for manga "Kimi no Tame nara Shineru"

Steps to reproduce

searching for "Kimi no Tame nara Shineru"
Open AL tracking

Expected behavior
Once I open the AL tracker it should synchronize the manga with my AniList profile.
Actual behavior
What actually happens is that it does not find the manga on AniList. Yet, it is present in the database (https://anilist.co/manga/59743/Kimi-no-Tame-nara-Shineru/).
Also, another problem is that besides not finding the manga in question, is that it does not find anything else as if nothing exists.
Crash logs
No response
Neko version
2.16.2
Android version
Android 13
Device
Xiaomi POCO X5 Pro 5G
Other details
I tried refreshing the entry, removing and adding back to the library. Nothing has changed.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to the newest version Latest.
[X] I have filled out all of the requested information in this form.

Ah i see the issue.
https://mangadex.org/title/89fc8249-939e-4b37-b1a3-8a7d1a9288e8/kimi-no-tame-nara-shineru
the anilist url is wrong, opening a report on mangadex


Update swc_* dependencies

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

Seems like a ListFormat addition caused the CI to fail. I'd assume the standard procedure would be to just update the expected generation output since it seems like no errors were introduced?

Thanks! If you sign the CLA I can do a release for this.

Working on that, will hopefully get that signed by tomorrow.

No, I haven't forgotten it, but I'm planning to do all this either later today or tomorrow. Additionally, I need to do some work pinning swc versions before we upgrade (swc's version bumping is not very good and they often publish broken packages to crates.io so we're going to move away from using swc_ecmascript and instead pin exact versions of each swc crate). Swc upgrades for all our code is usually very involved... last one took a whole week due to breaking changes, but usually they take about a day or half a day of work.


v10.3.2 thinks existing artifactory_user resources do not exist and need to be created

Describe the bug
When upgrading from provider version 10.3.1 to 10.3.2 a plan thinks all of our artifactory_user resources no longer exist and need to be created.  Reverting back to 10.3.1 sees no changes are required.  We've pinned to version 10.3.1 for now until we can figure out what the cause is.  I haven't done much debugging yet, but wanted to report it to you here.
Requirements for and issue

[x] A description of the bug
[ ] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
[x] Your version of artifactory: 7.33.12 (yes it's old ... we're in the middle of migrating to a new cluster)
[x] Your version of terraform

Terraform v1.7.5
on linux_arm64
+ provider registry.terraform.io/hashicorp/random v3.6.0
+ provider registry.terraform.io/jfrog/artifactory v10.3.2

[x] Your version of terraform provider

Expected behavior
It should continue to see the users exist and not want to recreate them.
Additional context
I'll start looking at debug output and see if I can see what's actually happening to help, but wanted to report this quickly to you.

Looks like the changes in https://github.com/jfrog/terraform-provider-artifactory/commit/90ffb36712edeb473c0219a486526f79fda6a10f began using a different set of apis, namely https://jfrog.com/help/r/jfrog-rest-apis/get-user-list, which was introduced in artifactory version 10.49.3.  This kind of change is a breaking change that should have involved a major version update as it changes the minimum version of artifactory it works against.

Given the use of the newer apis, we'll just pin the version until we finish our migration and get back onto a current version of artifactory.  But you should update your docs and release notes noting the new minimum version requirement for artifactory.

Perhaps when you call the access/api/v2/users api, you can tell the difference between the api not existing (it returns a 404 in our case) versus there being an empty set of users and if the API doesn't exist you can fail fast and report the new minimum version requirement.

@tjstansell Thanks for the report!

This kind of change is a breaking change that should have involved a major version update as it changes the minimum version of artifactory it works against.

The change of API is not intended to have any functional or schema changes to the resource, thus it is not considered a breaking change.
This is definitely a bug on my part and I'll try to get a fix out tomorrow.

@tjstansell I think you're correct that either I add back the original API usage based on Artifactory version, or as you suggested fails if Artifactory version is below min version.
Right now I'm leaning on the former as it was not my intention to break backward compatibility.


Possible broken against Ubuntu 14.04

Hi
Thanks for the effort making this, appreciate it!
I am a newbie, but i think your script may be broken towards ubuntu.
Tried an install, and got lots of errors. This was on a new machine.
What i have found is:
Freeradius filename is wrong. You download version 3, but try to untar version 2.
Libtalloc-dev was missing on my machine, so compile of Freeradius failed.
Cakephp dir  is actually cakephp-master after unzip - this seems to break cakephp install.
I have tried to fix these things, and things seemed to go better. It is compiling FR now, but it is also giving some error messages on previous steps, but these looks related to already existing dirs, as i have run the script over and over again. (Maybe it should have a "clean" option for reinstall purposes?)
Anyway, i may not have pointed out all (or any) faults, but you might get an idea of what to check.
Regards
Kim

Thanks for raising this issue, will take some time out this weekend to fix the script and possibly workout a way to clean the installation when it fails.

I have push a new version of the installer, maybe if you still have the issue, you can try the new installer which now uses Ansible.


Forge install doesn't work on Windows 11

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (08a629a 2023-06-03T00:08:43.223181800Z)
What command(s) is the bug in?
forge install transmissions11/solmate
Operating System
Windows
Describe the bug
When I run the command forge install transmissions11/solmate , I got this error:
Error:
The target directory is a part of or on its own an already initialized git repository,
and it requires clean working and staging areas, including no untracked files.

Check the current git repository's status with `git status`.

If none of the previous steps worked, please open an issue at:
https://github.com/foundry-rs/foundry/issues/new/choose
NativeCommandExitException: Program "forge.exe" ended with non-zero exit code: 1.

This is not an error. You'll get this if you're installing dependencies with a "dirty workspace" (uncommitted file).


On integration with Bean Validation and Jakarta Persistence

Looks like applying validation on save and saveAll is defined. But ti is also defined in JPA, JPA will validate entities upon insertion or update. Describe the mechanism to avoid double callor explicit in the spec that the double call is an expected behavior (maybe to do validation in sync vs async?)

While the Persistence Spec discusses "3.6. Bean Validation" there is no dependency in JPA to Validation.

We do the same; it will work as the capability or extension of the specification if the vendor wants it to do so.

Pull #231 , which is currently in progress, covers Jakarta Validation, and does so in a way that does not introduce compile dependencies on Jakarta Validation.  I'm intending to get some updates for CrudRepository in there as well, once another pull merges.  If either of you have comments, please add them to #231 .

We were closing this issue once we had a PR fixing this point.
Thank you for the feedback, and feel free to reopen this PR as many times that make sense or create a new one.


Version 9.4.0 Seems Mispublished on NPM?

I get the following error during ng build or ng serve:
ERROR in apps/web-app/src/app/app.module.ts:11:31 - error TS2307: Cannot find module 'ng-sidebar'.

11 import { SidebarModule } from 'ng-sidebar';

Upon inspection it seems there is only the src folder in my node_modules/ng-sidebar:

Seems to be the same when I browse on unpkg too:
<EMAIL_ADDRESS>

Whoops, my bad! Should be fixed by 9.4.1.


Journey

I really like this example journey and I think it would be really nice to be able to sit back an relax and go on a journey from point A to point B in 3D based on the reconstruction data from multiple sequences. Therefor I have made an attempt with an initial implementation for journeys.
Implementation
Navigation graph
A directed graph is created in python from all the reconstructions for a data set. The edges for each image node are calculated according to the rules for movement defined in the validMoves function in reconstruction.html and the distance is used as weight. The navigation graph is saved to a json file.
Viewer
The viewer implementation consists of two parts: journey.js and additions to reconstruction.html. The implementation is modular to avoid affecting the current implementation in reconstruction.html.
journey.js
journey.js contains three classes:

Dijkstra - Calculates the shortest path from the start node to the destination node using Dijkstra's algoritm.
Journey - Contains the logic for running a journey. It can be started and stopped and the interval between navigations can be updated. It uses an instance of Dijkstra to calculate the shortest path.
JourneyWrapper - Uses globally defined functions to create actions used for navigation, UI manipulation and more that are provided to Journey in actions. JourneyWrapper contains the high level API used from reconstruction.html.

An instance of the journeyWrapper class is created at the bottom of journey.js.
reconstruction.html
reconstruction.html uses the journeyWrapper instance by invoking functions that are run if the journeyWrapper have been defined. The javascript code in reconstruction.html runs even if journey.js is not included in the scripts of the page.
Implementation details
To promote forward and lateral steps a penalty is added to U-turns and backward steps before calculating the shortest path with Dijkstra's algoritm. If no other directions are available, backward steps or U-turns will still be used to be able to reach the destination node. In special cases this can of course lead to pirouettes, but a pirouette once in a while can not possibly be a bad thing...
Functionality
To run a journey the following parameters should be specified in the url (which currently can be quite lengthy):

nav (required) - The path to the navigation graph.
dest (required) - The name of the preferred destination image node.
img (optional, reused) - The starting image node.

Both nav and dest need to be supplied for the JourneyWrapper to be initialized and the journey UI elements and functionality to be available. If the img parameter is also supplied the journey will start immediately from that image node, otherwise the UI will load in flying mode as usual and the journey can be started from any node in walk mode.
When the JourneyWrapper is initialized a start/stop button will appear in the navigation area in walk mode. The short command for starting and stopping a journey is the S key. The journey is also stopped by using any of the navigation buttons or commands, making it possible to stop and walk around manually in an interesting area.
The journey can be started or restarted from any node (if a path exist to the destination). The currently selected image node is used as start node and a new shortest path from the current position to the destination node is calculated.
It is possible to increase or decrease the speed before or during a journey using the animation speed setting in the options. Longer distances between nodes result in longer time between navigations.
Demo
I downloaded the MINC reconstruction data from the Tech sneak peak blog post to be able to try it out on a large dataset. Below are some example journeys. As you know they take a while to load and they will be blank while loading.
Note that the old reconstruction.html file from the Tech sneak peak is used because the image coordinates have been changed since then. Therefor some options are missing. For the point cloud journey it is possible to change the speed during the journey since it uses a newer reconstruction.html (where I have removed the show image plane option).

Journey 1
Journey 2
Journey 3
Point cloud journey

End note
A whole lot of things can be improved and extended but I think this is a good state for a PR.

@oscarlorentzon This is super cool!! We will take a closer look tomorrow.
In the future, it will be awesome that if we also consider the view angle changes in the edge weights, so that the path is smooth (love that you already handling U-turn/backward moving) ;)

Amazing PR!  i've spent some minutes staring at the journeys. So hypnotic ;-)

If we decoupled the image shown in imagePlane and the target of the OrbitControls, it would be possible to smooth the path for the virtual camera. That would produce a smooth motion to destination where the texture of the closest images is shown during the trip.

Glad you liked it!
Smoother motion would definitely improve the experience. I'll look into it. Thanks for the suggestions!


feat: add self-assignable roles

This adds a select menu accessible by /roles to self-assign roles - currently announcement roles.
These would be easy opt-in roles without the need for a persistent "reaction roles" message to find.
This select adapts to the user's currently obtained roles when invoked, and in the lifetime of the select.
It should be easy to add a new role - mutate ROLE_VALUES and add an environment variable to match.
This has been tested to a certain extent but may need more testing on specific cases such as if they got the role without the select updating.
None is used in the select and view to denote that this object was created for the only purpose of persistency.
This persistency has been tested over restarts and a timeout never occurs (obviously).

Can this be changed to not require hard coding which role types?

ive already done as little hard coding as i can, it needs the role ids at least, not sure what you mean by the types


Very poor performance due to cascade of replacements.

In generating from Monoids, but not from just logic, there is a huge slowdown, with most of the time spent in replace methods. This appears to be because:

for the sake of safety, lambdas:
* create an inner variable
* in the case of lambda-fixed, check independence.
both these involve replacements for lambdas
if the replaced values are IdentityTyp etc., then the terms themselves contain a lot of lambdas, so we get a cascade of replacements.
We can avoid creating inner variables and checking for dependence if we are using a new synthesized variable (and are careful about dependence).

After aggressively avoiding safety measures, jvisualvm suggests:

most  time is spent in replace, i.e., the self time
however most total time is spent in hashing lambdas, presumably for arrays.
one can consider just hashing by type - far more hash collisions, but avoids all the calculations.

Huge improvement on memoizing hashCode. Still far slower than logic, but thousand were sampled in 58 seconds without concurrency (on 8 virtual cores).

Most of the replacements were because of

hashCode using def, not lazy val
lambdas creating new variables
checks for type dependence etc

These have been removed in master when this is safe, and in a performer branch where it is risky.


grafana: 5.1.0 -> 5.1.1

Motivation for this change
Bugfixes in the latest release
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: grafana
Partial log (click to expand)
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docker/blocks/graphite1/conf/usr/local/bin/manage.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docker/blocks/smtp/bootstrap.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docker/debtest/build.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docker/buildcontainer/build.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docker/buildcontainer/run_circle.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docker/buildcontainer/build_circle.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docker/create_docker_compose.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1/share/go/src/github.com/grafana/grafana/docs/publish.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/bj4v1hvk0yd2fi1zscqdwcl704qsvrbr-grafana-5.1.1...

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: grafana
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


Invalid String exit character

Double quoted strings could probably be ended by single quoted, and vice versa.
Example:
"It's a test" fails, since ' is considered as an exit character for the string
https://github.com/antimony-lang/antimony/blob/5e4f0a15c0b5c1878054310024864f8b97bddf27/src/lexer/mod.rs#L412-L424

I'll take it

Sent a patch: https://lists.sr.ht/~garritfra/antimony/patches/20657

Fixed by 0cbdc88


Diff File Metric Values

Diff selected metrics of a selected file between two selected commits.

This is easily achieved in the city view.


Generate RegExpr from parsed stringified Acorn AST would get [object object]

I've found that if I get a parsed AST from Acorn (supports SpiderMonkey Parser API format), and then JSON.stringify it to get serialized version, the one would not be handled correctly even after JSON.parse it.
Example:
(Without serialization and de-serialization)
  var source = 'var foo = function () {\n    var a = b.replace(/(\\/)/, \'/bar\');\n};'  // read from file
  var output = escodegen.generate(acorn.parse(source))
  output  //  'var foo = function () {\n    var a = b.replace(/(\\/)/, \'/bar\');\n};'      // the same

As the same with the original source. In contrast:
  var source = 'var foo = function () {\n    var a = b.replace(/(\\/)/, \'/bar\');\n};'
  var output = escodegen.generate(JSON.parse(JSON.stringify(acorn.parse(source))))
  output // 'var foo = function () {\n    var a = b.replace([object Object], \'/bar\');\n};'   // error...

Unfortunately, I only know the shallow reason why the error happens is because generateRegExp expects to accept a reg which would be used as reg.toString to print the regexpr in string, but if it receive a object (although the object is exactly a "regexp" node as {pattern, flags}), it would only print '[object object]'. It looks like the not serialized AST would have a real RegExp with the correct toString method, while serialized one would get rid of it. However, since I have no idea of how the escodegen handle it deeply, maybe this is not the root cause.

And my Acorn version is"1.0.3", and escodegen is "version": "1.6.1".

meet same issue when using JSON and esprima
escodegen.generate(JSON.parse(JSON.stringify(esprima.parse(code))));
will get [object Object] from regex

any solution now?


refreshing multiple times a codemirror instance fails

Hi,
codemirror 5.51.0
The add-on works like a charm when we need to refresh only one time.
Now if the textarea needs to be refresh a second time... For instance new content has been set, then the value of the codemirror instance is set but it is not shown until we click the textarea.
Please advice,
Thanks,

If you set the content, the editor should update by itself, unless it is hidden. The autorefresh addon (which I assume is what you're talking about here, though you don't mention it) indeed works only once, on the assumption that once your editor becomes visible it either stays visible or isn't manipulated while invisible.

@marijnh thanks for the comment. I have sorted it out by switching the tab back to where the editor was and it worked.


postgresql 10 breaks sequence handling

seed-fu-2.3.6/lib/seed-fu/seeder.rb
95:            SELECT setval('#{sequence}', (SELECT GREATEST(MAX(#{quoted_id})+(SELECT increment_by FROM #{sequence}), (SELECT min_value FROM #{sequence})) FROM #{@model_class.quoted_table_name}), false)

This no longer works in postgresql 10. I think it is related to:
Move sequences' metadata fields into a new pg_sequence system catalog (Peter Eisentraut)

A sequence relation now stores only the fields that can be modified by nextval(), that is last_value, log_cnt, and is_called. Other sequence properties, such as the starting value and increment, are kept in a corresponding row of the pg_sequence catalog. ALTER SEQUENCE updates are now fully transactional, implying that the sequence is locked until commit. The nextval() and setval() functions remain nontransactional.

The main incompatibility introduced by this change is that selecting from a sequence relation now returns only the three fields named above. To obtain the sequence's other properties, applications must look into pg_sequence. The new system view pg_sequences can also be used for this purpose; it provides column names that are more compatible with existing code.

The output of psql's \d command for a sequence has been redesigned, too.

https://www.postgresql.org/docs/10/static/release-10.html
In worst a check on PG::Conn#server_version could be used.

https://meta.discourse.org/t/discourse-appears-to-be-broken-with-postgres-10/71723

It's likely that seed-fu would need to make a change like this:
http://github.com/jeremyevans/sequel/commit/8370980b12f59d5439344d4de89d4552f05a3d13

I think this would be fixed by https://github.com/mbleigh/seed-fu/pull/121 ?

I'm closing this since #121 has just been merged and v2.3.7 is pushed to rubygems


Fixed guests placeholder link

Guests placeholder link was not correct - fixed it! 😁

@sjclayton thanks! I think I fixed this at the same time you did.


[Question/Help Needed] Can you infer a generic ZodObject from a generic ZodRawShape in an interface?

👋  Hello!
I have an interface that looks like this (I'm on TypeScript v4.9.5):
import { z } from 'zod';

export interface Endpoint<T extends z.ZodRawShape> {
  args?: (schemaTypes: typeof z) => T;
  fx: {
    (
      ctx: Context<
        ReturnType<typeof z.object<ReturnType<Required<Endpoint<T>>['args']>>>
      >,
      next?: any
    ): any;
  };
}

Here's an example of its usage:
return {
  args({ string }) {
    return {
      email: string().email(),
      password: string().min(8),
    };
  },
  fx(ctx, next) {
    const { email, password } = ctx.requestContext.args;
    // ...
  },
};

^ It represents an endpoint that is encapsulated in an object and is handled by the fx key. The arguments for that endpoint come from the args key.
Now here's what Context looks like:
interface Context<T extends z.ZodTypeAny = any> {
  requestContext: {
    args: z.infer<T>;
  };
}

ctx.requestContext.args is being inferred as:
RequestContext<ZodObject<any, "strip", ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }>>.args: {
  [x: string]: any;
}

So when I hover over the email or password keys, their type is any. Is there a way to dynamically infer their type?
Thank you for your help 😃

I think this should work if I just wrap it in a function, so I'll close this issue for now


Control when Websocket is closed

My problem was already described in this Stackoverflow question.
Basically I need a way to not close websockets after each Scenario but rather keep them open for the duration of the whole Feature (and possibly even longer but this is not something I need)
I have a branch which allows to do exactly this. But I needed to change the API a bit, in a breaking way.
The API now looks like this:
Reusable JS function to open a WS (no breaking changes here)
function() {
     var ws = karate.webSocket("https://" + host + '/ws/api')

     // this should most likely also be the default handler so you dont need to set it if you dont want to do anything additional here
     ws.setTextHandler(function(msg) { ws.signal(msg) }) // notice that I signal on the ws instance and not via the karate ScriptBridge

     return ws
}

Usage when the same behaviour as before is desired (WS closed after each Scenario)
Feature: Ping backend

    Background:
       * def openWs = read ('classpath:openWebsocket.js')
       * def ws = call openWs

    Scenario: Ping
        * def pingRequest = { 'action': 'GET', 'resource': 'health', 'requestId': 'e0d7fb5b-9b68-4434-9390-9a16b82f0275', 'version': 1 }

        * string pingRequest = pingRequest
        * eval ws.send(pingRequest)

        * json response = ws.listen(5000)
        * match response == { requestId: 'e0d7fb5b-9b68-4434-9390-9a16b82f0275', status: 200, version: 1 }

Usage when WS should be kept open until explicitely closed.
Feature: Notify about created fixtures

    Background:
        * def openWs = callonce read ('classpath:openWebsocket.js')
        * def ws = callonce openWs
        * def void = ws.autoClose(false)

    Scenario: Request a new session
        * def createSessionRequest = { 'action': 'POST', 'resource': 'sessions', 'requestId': 'df9a64de-3c22-40f8-807a-7eba5a432c95', 'version': 1 }

        * string createSessionRequest = createSessionRequest
        * eval ws.send(createSessionRequest)

        * json response = ws.listen(5000)
        * match response == { requestId: 'df9a64de-3c22-40f8-807a-7eba5a432c95', status: 201, version: 1, payload: { sessionId: '#string' } }

    Scenario: Subscribe for fixture updates
        * def subscribeFixtureRequest = { 'action': 'SUB', 'resource': 'fixtures', 'requestId': 'fa9eb7a5-d658-4f4b-bfa5-bc3bf2909cf3', 'version': 1 }

        * string subscribeFixtureRequest = subscribeFixtureRequest
        * eval ws.send(subscribeFixtureRequest)

        * json response = ws.listen(5000)
        * match response == { requestId: 'fa9eb7a5-d658-4f4b-bfa5-bc3bf2909cf3', status: 200, version: 1, payload: '#[]' }

    Scenario: Close Websocket
        * def void = ws.close()

As you can see the breaking changes are that you now have to listen and signal on the WS instead on karate. This makes more sense as it allows for more flexibility and its also more robust to perform the assertions on the actual WS instance which receives the messages.
In the previous approch its undeterministic what happens if you have 2 WS open and both are signalling to the same karate ScenarioContext instance. One will overwrite the result of the other.

@leozilla - I agree with the proposed approach, please go ahead with a PR.
for those who really need to keep it alive beyond a feature - I would say use a Java singleton
note that there is an afterFeature hook that may work well for this use case.
I like the idea of a * eval ws.autoClose(false) and it may work for UI test automation also.

@ptrthomas Please take a look at the PR and let me know what you think.

@leozilla there is a build failure

this is fixed to the extent where you can have multiple websocket client instances alive at the same time, and each is responsible for handling / and listen()
the handler function is now optional and the shape has changed, just has to return a boolean, no more karate.listen() it is automatic at the socket instance level
the requested "don't close on scenario end" is NOT implemented, one reason is this goes against parallel execution of scenarios. if users really need this, they can manually call new on the Karate websocket client class and manage references themselves via JS / Java interop.
cc @venkiteelay and anyone else using websockets, this is a breaking change in the next version

released 0.9.3

My case is that I need t keep my connection alive for all scenarios within the same feature file. I tried the below  from the above feature file
Background:
* def openWs = callonce read ('classpath:openWebsocket.js')
* def ws = callonce openWs
* def void = ws.autoClose(false)
however it's says autoClose is not defined . I'm in karate version 14.
How to achieve the same in karate 14 ?
Thank you

@sofianeAmarouche in karate each scenario is independent so what you are asking for is not possible: https://stackoverflow.com/a/46080568/143475


Custom scrolling element option

Is your feature request related to a problem? Please describe.
I would like to enable the "drag-selecting while scrolling" behaviour in my codebase. However, I have issues because my setup is very complex and includes a lot of components. Therefore, my scrolling element can not be the SelectionArea, and by reading in another issue this must be the case to make this behaviour work.
Describe the solution you'd like
The perfect solution for my use-case would be, that I can pass a custom Element as the "scrolling element" to VanillaSelectionArea config.

Hi! Sorry for coming back to this so late, I'll take a look at it this weekend! :)

No worries, now I actually got it working. The gotcha was that the className/element provided in boundries must be the scroll element. So if they are not the same it won't work. So for me, this issue is actually solved even though it wasn't super clear how to do it.
However, now I have another issue/feature request. It might be a bigger one and more complicated so I will open a new ticket if that is fine? It is about virtualized lists...

Hey @Alexloof - that'd be cool, I'll leave this one open and, depending on my findings, update the documentation if necessary :) Just make sure to reproduce it on something like codesandbox ^^

Hi, first of all, thank you very much for maintaining an excellent library.But now I encounter this issue. After setting the boundaries, the scrolling speed seems to have slowed down, and occasionally it becomes unresponsive.In this minimal example, it doesn’t seem easy to reproduce the scrolling issue, but the noticeable slowdown in speed can be felt.In Plate.js, the stuttering is noticeably apparent.
codesandbox fork from #193
https://codesandbox.io/p/devbox/viselect-vanilla-forked-2gzfcm?file=%2Fsrc%2Fmain.ts%3A20%2C6&workspaceId=deb91cca-86b0-4b42-b38c-e25f70d5c0c2

@Alexloof Hi, After setting the boundaries Did you encounter any issues with the scrolling speed?


Raspberry Pi 3 Model B Segmentation Fault

Still cannot run SRS. I can compile successfully but running gives a segfault. I have tried SRS1, SRS2, and SRS3. None of them run.
I am using:
Raspbian Jessie
gcc 4.9.2
glibc 2.25
# ./configure --pi --jobs=4
# make -j4
# ./objs/srs -c conf/realtime.conf
Segmentation Fault
I cannot find a way to downgrade glibc to older version.

I found the solution, it is just not documented in ARM compilation.
git checkout 3.0release
./configure && make
No need to use --pi flag. That is the problem.

The --pi is used for user to build SRS on raspberry-pi, so I think it's ok to use it.
The problem is the ST, SRS3 patched it for ARMv7.
Please use SRS3 for ARMv7+, for instance PI3.


[BUG] Unhandled Promise Rejection When Pool Connections Fail

In v2.4.0-beta.1, the pool constructor fails due to an unhandled promise rejection when connections fail. Such as for non-existent DSN, incorrect uid/pwd, or whatever.
For example:
const odbc = require("odbc");

(async () => {
  try {
    const pool = await odbc.pool("DSN=DOES_NOT_EXIST;");
    await pool.close();
  }
  catch (error) {
    console.error("caught");
    console.error(error);
  }
})();

I would expect the catch block to execute, but instead an UnhandledPromiseRejection message is output. The result is similar if a callback is used -- the UnhandledPromiseRejection message is output and the callback is not invoked.
This makes it impossible to handle common errors.
The problem does not occur in version 2.3.6.

This doesn't seem to be working correctly for me in 2.4.0-beta.2.
Now, my original example above doesn't produce any output of any kind. There is no more unhandled promise rejection warning, but still the catch block doesn't execute.
I tried modifying the example like this:
const odbc = require("odbc");

(async () => {
  try {
    const pool = await odbc.pool("DSN=DOES_NOT_EXIST;");
    console.log("pool created");
    const connection = await pool.connect();
    console.log("connection created.");
    await pool.close();
  }
  catch (error) {
    console.error("caught");
    console.error(error);
  }
})();

It just outputs "pool created" and the process ends.
I've tested on both Windows and IBM i, the result is the same.

Yeah this one will take some thinking...
The issue is here:
https://github.com/markdirish/node-odbc/blob/c011dc0e29b984863711c49a0e77933cfc3096e6/lib/Pool.js#L48-L53
Basically, connections are created in the background and then are made available to the user as they become available. They are made X at a time, where X is whatever the user passes as maxActivelyConnecting to the config object. Because these connections are made in the background, I have to try to think how to allow the user to catch the errors that are generated in the background... or just throw them globally and have the program crash.
Perhaps I can make init wait until at least one connection is returned, propagate up to .pool, and then throw the error from there so the user has access to handle the error...
The issue is any connection errors that occur that happen for reasons that aren't malformed connection strings won't really be available to the user to handle, but I think that was always the case when connections are made in the background.
Taking a look at this today.

2.4.0 is now published and this should be fixed. Feel free to open if it still seems broken!


Adapt max_requests_per_connection for downstream connections

Describe the feature request
Envoyproxy in their upcoming version 1.20.0 will be adding a new feature called max_requests_per_connection for downstream connections. Currently, they have this configurable only for upstream connections and is available under the Cluster configuration. In the upcoming version, it will be moved under HttpProtocolOptions, where maximum requests for both upstream and downstream connections can be set.
The feature request here is to adapt this into Istio and expose the new functionality as a configurable option to the user. If the implementation is not so complicated, it would be great to have this in the next release of Istio i.e 1.12.
Describe alternatives you've considered
The alternate is to use EnvoyFilter to get this configuration on the proxy, but I prefer to avoid this for its complexity and maintenance overhead.
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[X] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

It would be good to understand what the use cases for this are and how they are expected to be used. The implementation is trivial but picking the API design doesn't seem straightforward.

@howardjohn The main use case for us is rebalancing of long-lived connections from an external load balancer during scale-out/scale-in of the ingress gateway pods. In other words, to force the load balancers to periodically reopen requests to speed up the convergence to uniform load distribution.
Case 1: Assume the downstream connections are initially balanced between 2 ingress gw pods on 2 different worker nodes. In case one of the worker nodes crash, all the downstream connections will be handled by the ingress gw pod on the other worker node. At a certain point, based on the number of requests per connection, we would like to close that connection and open a new connection towards the ingress gw pod that would have successfully rebooted by now. Otherwise, this rebooted ingress gw pod would remain unused.
Case 2: Similarly, when a new instance of the ingress gw pod is added. A connection to this new pod can be quickly
opened, when the connection on older pod is closed due to the limit on max requests per downstream connection.

I hope my explanation was clear. I'm not sure about picking the API design, but overall I felt this would be a good configurable
option to have from Istio. Are you aware of any alternates that would satisfy this requirement?

EnvoyFitlter is likely the best option in the short term at least. Right now we don't have a good API to configure HCM fields so it may be tricky API design. cc @mandarjog

Ah, right..the changes are only on the cluster and not on the listener side. So, to handle downstream connections I will have to go with the EnvoyFilter approach for now. Thanks for the clarification @ramaraochavali


Build Failed

I've updated the anko version to 0.10.2 in the build.gradle to resolve this issue.

@KevinLaRosa do you know how it's related? Are you using API 26 or something similar?

I've no idea. I've only found that anko-coroutines before the 0.10.1 doesn't work. I'm using  compileSdkVersion 26 and buildToolsVersion 26.0.2.

Looks like Anko needs 0.10.2 to work with API 26 then... I'll do some tests and upload a fix ASAP.
thanks!

I updated the the main branch (https://github.com/antoniolg/Kotlin-for-Android-Developers/commit/c290ebc8e6a2b82cacc00af18a9d460f46329404) as a patch until I release a new update of the book.
My plan was to wait until 1.2 is released, but I think I'll start right away to have this fixed ASAP.


Move oai embeddings to work with asynclient and json cache and autobatching

Embedding with open ai is currently very naive we need to add

Embeddings are currently called on the main python trhead with a for-loop it should be moved to work in the same way as column generation
OpenAi client allows "batched" calls to the api client hence we should think about this in the balancing

Almost solved in https://github.com/Neural-Dragon-AI/Cynde/pull/11
only missing integration in embedd_column

We need to produce one example where we attempt to embed at rate limit for a 1 minute task.


Allow null as standalone type

The validator throws an exception with the following (API enforces that only one of the fields is filled):
Data passed:
[
    'department_id' => null,
    'team_id' => 1,
]

Schema:
- oneOf:
    - type: object
      properties:
        department_id:
          type: integer
        team_id:
          type: 'null'
      required:
        - department_id
    - type: object
      properties:
        department_id:
          type: 'null'
        team_id:
          type: integer
      required:
        - team_id

With the proposed change the validator would not throw an exception any more.

Hi, it seems that there is not a such null type in the openapi specification (see https://swagger.io/docs/specification/data-models/data-types/#null).

@leNEKO openapi 3.1 does have a "null" type: https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0 under the section "Swap nullable for type arrays"


Support Unicode / UTF8 in Chatbox OSC by using HTML character entity references

(This is a cross-post from my Canny Post on VRChat feedback with a similar name)
The issue
Currently the in-game chatbox support entering utf-8 and some unicode (such as emojis) via the in-game keyboard.
However, if you choose to feed the chatbox via OSC using /chatbox/input, you can ONLY send ascii characters, due to utf-8 and Unicode not being supported in the OSC protocol. This means you can't send many foreign-language characters or emojis, which the Chatbox does support if you use the in-game keyboard.
The suggestion
As a suggestion, I propose making the Chatbox OSC component automatically translate HTML character references (see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references) into Unicode after receiving the OSC message, but before running the character limit check and displaying the message.
This would mean if I wanted to send the string:
頼もう！

I would instead send:
頼もう！

One can do this programmatically in python3 very easily:
>>> "頼もう！".encode('ascii', 'xmlcharrefreplace').decode()
'頼もう！'

The standard also supports mixing and matching ascii and non-ascii
>>> "I 💛 foxes! 🦊".encode('ascii', 'xmlcharrefreplace').decode()
'I 💛 foxes! 🦊'

The resulting HTML character entities themselves are guaranteed to be in all ASCII, and therefore be OSC compliant!

The chatbox can accept UTF-8 strings as of VRChat release 2022.4.1.


Use rake-compiler-dock musl images

Goal here is to use rake-compiler-dock images for *-musl. Currently, they are in the 1.5.0rc. cc: @flavorjones @eliias

Images built properly and tests pass, can test now with docker pull rbsys/x86_64-linux-musl:sha-7d345bd11d5ebf8f992118dcc3b0208d4d59eaed

1.5.0.rc1 should be fine from a functional perspective, the only thing blocking a final release is more/better documentation.
Speaking of which, please make sure to review https://github.com/rake-compiler/rake-compiler-dock?tab=readme-ov-file#gnu-and-musl for caveats.


fix bug

fix for issue #3

Not sure how is the inductive_graph flag different from the inductive flag?

And why not do subsample during preprocess?


OSX tray icon clicks always report icon 'bounds' on focused screen

Using:

Electron v0.27.2
OSX 10.10.3

With two displays and a tray icon, the bounds object passed to 'click' event handlers always reports the location of the icon on whichever display has the focused window, not the display on which the click occurred.
To reproduce this, on an OSX machine with two displays:

Fire up the menubar example app
Focus a window on one display
Click the tray icon on the other display

The menu will open under the icon on the wrong display.
I'm able to work around this (with a few probable edge cases) using the following patch to menubar:
diff --git a/index.js b/index.js
index 137c70a..c9aa7ed 100644
--- a/index.js
+++ b/index.js
@@ -38,6 +38,11 @@ module.exports = function create (opts) {
       if (bounds.x === 0 && bounds.y === 0) {
         var size = electronScreen.getPrimaryDisplay().workAreaSize
         bounds.x = size.width // default to top right
+      } else {
+        var requestedWorkArea = electronScreen.getDisplayNearestPoint(bounds).workArea
+        var actualWorkArea = electronScreen.getDisplayNearestPoint(electronScreen.getCursorScreenPoint()).workArea
+        var xOffset = (requestedWorkArea.x + requestedWorkArea.width) - bounds.x
+        bounds.x = actualWorkArea.x + actualWorkArea.width - xOffset
       }
       showWindow(bounds)
     })

the bounds object passed to 'click' event handlers always reports the location of the icon on whichever display has the focused window, not the display on which the click occurred.

I can confirm, I'm having the same issue. The workaround above works [from the menubar module].

Can't reproduce this in 0.30.2. @zcbenz has this been fixed?
Found this in the release notes of 0.30.2:

A few fixes to Tray's behavior.

It should have been fixed by ce042d0, thanks for looking into this.


Add all power ups

https://bomberman.fandom.com/wiki/Power-Ups

[ ] Pierce Bomb
[ ] Boxing Glove

Won't be implementing the Skull debuff as I'm missing information about how it works

Boxing Glove: https://github.com/Sunderia/Bomberman/commit/eccd0dd5a32e955628785fb123b4279258de637b (I'll update the resource pack tomorrow)


i18n: Support Chinese language

introduce gettext module for localization (literals that are fed to LLMs are now wrapped with gettext _())
add support to simplified Chinese (when env vars LANGUAGE, LC_ALL, LC_MESSAGES, or LANG are set to zh_CN)
add a contribution guide for supporting other languages

Please refer to gettext for more details of the module.

ok？


tests: subsys: fs: move fs_api to new ztest API

Move fs_api to new ztest API.
Signed-off-by: Yinfang Wang<EMAIL_ADDRESS>

https://github.com/zephyrproject-rtos/zephyr/pull/49666 had updated the test case, close this one.


How to make it run on a Raspberry PI (with functioning workaround)

On Raspberry PI running RaspberryOS (formerly Raspbian) the Chromium downloaded by Destreamer can't run, since RPI has ARM architecture (I guess that the downloaded Chromium is the X86 architecture). I suggest to try to download the "right" Chromium compiled for ARM during installation, if possible.
Anyway, in the meanwhile i got it running on RPI by this workaround:

change the correct instruction in "browser:" section in src/destreamer.ts:
executablePath: '/usr/bin/chromium-browser',

launch the "npm run build" command afterwards.

This will make Destreamer use the correct ARM Chromium already installed in RaspberryOS.
It's running right now on my RPI 3B+. :-)
Thank you, and keep up the good work.
Aldo

Thank you for this. Will add a note to the README.

Thank you for this. Will add a note to the README.

thanks, @ldx63  I was having this issue on the new pi 4 - your post I have implemented...
plus also note that chromium-browser was under root:root and not my local account.
however, I am still hitting the following -
Launching headless Chrome to perform the OpenID Connect dance...
[ERROR] Error: Failed to launch the browser process!
cannot open path of the current working directory: Permission denied
thanks to @snobu  for the app...

@snobu @ldx63  resolved - do not run from an NFS connection ...


ARROW-5125: [Python] Round-trip extreme dates on windows

Also, tries to fix: ARROW-4746 by separating out PyDateTime_DATE_GET_* calls that should only be called on datetime objects to the appropriate method.
Note, I don't have a windows box readily available to test on, and couldn't replicate on Mac (per linked python issue on the JIRA I believe this is windows only). So I hope we have appveyor tests that cover this.
If there are instructions for running pypy I can see if this fixes ARROW-4746

@ursabot build


Folds are trivially profunctors

It looks like this issue will shortly be able to be closed once my latest pull request goes through. I didn't notice it when I submitted a duplicate, and it looks like you decided to go with profunctors despite the dependency anyway.

It looks like this is pretty much what I just submitted, except mine was written months later and lacks merge conflicts.

Yeah, I eventually decided to relent and add the Profunctors instances.  The thing that changed my mind was that most people are moving off the Haskell Platform anyway, so I'm dropping my rule about only depending on things in the Haskell Platform.
I'd still like to see the Profunctor type class merged into base, though, as it is still a pretty heavy dependency at the moment, but nobody has complained yet.

@Gabriel439, I think Ed might be upset about the orphan potential of moving it to base. I'm also a bit disturbed by the fact that rmap = fmap seems to be pretty much always legal, and there's a disturbingly close relationship between lmap and contramap. To my mind, that makes the Profunctor class a bit ... awkward.

So this ended up being reimplemented elsewhere (#42 was the finishing change).  Sorry that I didn't merge this a long time ago.  The main thing that changed was that the Haskell Platform is being deemphasized by the Haskell community so I'm less picky about dependencies outside of the Haskell Platform.  In the process, I forgot about your original pull request.  I'm sorry about that.

@treeowl Yeah, I'm actually really surprised that there isn't a Functor constraint on Profunctor.  However, there's no way to make it work with Contravariant because the contravariant type parameter of the type constructor implementing Profunctor would be in the wrong place.
The latter is sort of an unavoidable problem of Haskell's way of doing type classes (and part of the reason why the Profunctor and Bifunctor classes even exists)

@Gabriel439, I think there's a (different) problem with Functor. You'd need a context looking like
class (forall a . Functor p a) => Profunctor p where ...

I don't personally know of a way to express that, and I'm not at all sure it's possible.

Oh yeah, the only way you could express that in Haskell is something hacky like this:
class Functor' p where
    fmap' :: (a -> b) -> p i a -> p i b

instance Functor' p => Profunctor p

This is basically the same trick that the Alternative class uses so that people can have higher-kinded Monoid constraints.

@Gabriel439 No worries, just glad to see the instance get in one way or another.


Add leeway as a configuration option for the rack middleware

We have the ability to set a leeway value for verifications, however it is not currently an accepted option for the rack middleware to pass down.

 (1) Set up staging market to send requests to PC (prod)

PS. Don't forget to bump version

Oh and also add a record to the changelog

@yoshdog readme, changelog and version updated. I don't have permission to push the new version, can you help me out? 😅

hey @stevend if you check the 1password vault for:
rubygems.org there should be a login for envato
To build and release the gem you will run the following rake task.
$ bundle exec rake release\[origin\]


https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-engine-and-extension-apis

The Build tool hasn't been used or distributed with the WDK for many years. Everything must be built using Visual Studio

@DOMARS please review

I will investigate.

I have a docs fix on the way. Thanks for catching this.

Docs fix was posted, thanks again for calling out this issue.


azure-packer: Provide consistent path of toupload dir

Right now the toupload directory is referenced with ./ in some places
and in some places without it. This causes the packer to be not able to
find the directory and hence the build fails.
Fixes #1179

@wainersm yep, it is matter of how the make is called.


[feature] Add requirements file

Specify python package reqs

Topic: python-reqs
Relative: py-file

#
head
base
diff
date
summary

0
71ac1a60
ec78da7a
diff
Apr 22 11:42 AM
1 file changed, 1 insertion(+)


Add strict option to load_npz and load_hdf5

I think load_xxx also needs strict option.

Please send to the _v2 branch.


Tutorial and flux_ivar change

I added a tutorial that shows how to obtain the fastspecfit and observed healpix spectra of an object in the fastspecfit catalog. I also squared the weights in the flux_ivar calculation. The sum of the weights was already squared, but the weight itself in np.sum (weights/line_ivar) should also be squared.

@ashodkh thank you for this contribution!
As you may have seen, there has been a lot of activity on the code base, including on the flux_ivar bug fix that you've included in this PR. Could you please either close this PR and reopen a new PR with just your notebook or merge with main and fix the conflict(s) in emlines.py?
Also, your notebook is great but could you please add a few more "header" details, including your name and affiliation and instructions for how to load the dependencies? For example, here's a nice tutorial that @geordie666 wrote for working with targeting bits that you can use as a model--
https://github.com/desihub/desitarget/blob/main/doc/nb/target-selection-bits-and-bitmasks.ipynb
Thanks again.


Update Amazon.SendToKindle to match ARP

Microsoft Reviewers: Open in CodeFlow

cc @jedieaston: This is what I'm seeing in Control Panel's Add & Remove Programs (ARP):


NonReorderable and NonReorderableAttribute Namespaces not found

Hello
This may just be a simple fix but I can’t get ulipsync to work due to these errors.
“The type or namespace name “NonReorderable/NonReorderableAttribute” could not be found.”
I have burst and mathematics installed so I’m not sure what I am missing.
I am using Unity 2019.4.31
Thanks!

Hello
This worked fine.
v1.1.3
With the latest version released next
It seems that it will be compatible with Unity 2019.4.3x.


new group: noescape

host location
noescapemsqxvizdxyl7f7rmg5cdjwp33pg2wpmiaaibilb4btwzttad.onion
group name
noescape
group information
also noescaperjh3gg6oy7rck57fiefyuzmj7kmvojxgvlmwd5pdzizrb7ad.onion
host
v3 (onion)
parser
No response

yet to find an elegant way to return claims from the blog (ending wzttad)

I've found two that might work.
Company name:
cat NoEscape.html | grep -oe "title=\"Company name\">[^<]*" | cut -d'>' -f2
or
Victim URL:
cat NoEscape.html | grep -oe "target=\"_blank\">[^<]*" | cut -d'>' -f2
The trick was using [^<] that is a character class and matches everything but a "<".

Thanks
The challenge is less the field extractions and more working around the
scrape countermeasures in place.
I haven’t been able to return the required values using the normal requests
or gecko based fetch methods that work for all other hosts.
On Tue, 20 Jun 2023 at 7:14 AM, maiqueg @.***> wrote:

I've found two that might work.
Company name:
cat NoEscape.html | grep -oe "title="Company name">[^<]*" | cut -d'>' -f2
or
Victim URL:
cat NoEscape.html | grep -oe "target="_blank">[^<]*" | cut -d'>' -f2
The trick was using [^<] that is a character class and matches everything
but a "<".
—
Reply to this email directly, view it on GitHub
https://github.com/joshhighet/ransomwatch/issues/73#issuecomment-1597640376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJI3NYQURKWK4NK6XNTCTLXMCQJPANCNFSM6AAAAAAZJ47GI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Josh Highet
M +64 22 073 1445
W joshhighet.com

I used your file from source/noescape*wzttad.html, that's why I thought the scraping was working fine.

ha… it is too. i had word wrap off 🤣
i will add in shortly, thanks for scratching together a parser @maiqueg


TypeError: Path must be a string. Received undefined

Just before the build is successfully finished, just got this error:
TypeError: Path must be a string. Received undefined
--
Aug 30 2019 17:57:59:258 | ...nuxt.config.js | at assertPath (path.js:28:11)
Aug 30 2019 17:57:59:258 | ...nuxt.config.js | at Object.join (path.js:1236:7)
Aug 30 2019 17:57:59:258 | ...nuxt.config.js | at Object.prepareCache (/tmp/8bc17a01883798f1/.build-utils/.builder/node_modules/@nuxtjs/now-builder/lib/prepare-cache.js:9:25)
Aug 30 2019 17:57:59:258 | ...nuxt.config.js | at uploadCacheStep (/var/task/sandbox-worker.js:26330:55)
Aug 30 2019 17:57:59:258 | ...nuxt.config.js | at mainSub (/var/task/sandbox-worker.js:25904:15)
Aug 30 2019 17:57:59:258 | ...nuxt.config.js | at <anonymous>

Duplicate of #111

I'm closing since is a dupe.


Running out of loopback devices

Firstly, thanks for this. While on the surface it's good fun, it's really useful for developing against docker itself (my use case).
I have changed the wrapdocker script slightly to use -s devicemapper instead of aufs, so that I don't need to use a volume for each container (and therefore in theory have more disposable containers).
However, after I've started and stopped some number of containers (it feels like 10-15, but I haven't counted), docker refuses to start in any further containers, with the log output:
[error] attach_loopback.go:39 There are no more loopback device available.
loopback mounting failed

At this point, I can't figure out how to clean up whatever is using the loopback devices. Nothing shows up in df -a on the host machine, nor in the current (new) container. So I end up resorting to restarting the entire system.
Do I need to add something else to wrapdocker if I'm using devicemapper? Or would this be considered a bug in docker itself?

I'm having the same issue with running dind on Centos7, it can't seem to actually start the docker daemon within the container.

The .drone/build.sh script could be enhanced by using the trap command of the bash script. This error handler will be called before the bash script exits. So this could be a good place to clean up loop devices.
#!/bin/bash

handle_error() {
  echo "FAILED: line $1, exit code $2"
  echo "Remove loop device here ...."
  exit 1
}

trap 'handle_error $LINENO $?' ERR

set -e
# start your build here ...

Just my two cents.

I'm reopening but I don't use CentOS so I don't know how to help. I hope someone has a better idea!

I am currently still haveing issues with running out of "Running out of loopback devices " on ubuntu 14:04 LTS with docker 1.5 on the host machine.
I hhave tried the following.
https://github.com/jpetazzo/dind/issues/66
Not sure where I am going wrong with this. Please help.

This happens on the standard amazon linux AMI on EC2 as well.

I am seeing this issue on CoreOS 668.2.0. The script by @rohanpm does not work in my instance. I get the following output:
root@slave6:~# ensure_loop $LOOP_A
/dev/loop1 is a usable loop device.
root@slave6:~# ensure_loop $LOOP_B
/dev/loop2 is a usable loop device.

trap works for me alexanderilyin/docker-teamcity-agent@ef0cf6e82203d9d4656d3d1c3b2b1f13519b8d22

Just to add, on CoreOS 717.3.0 this seems to work just fine with loopback devices starting with /dev/loop0...

Problem still happening on CoreOS

+1 Debian, Docker 1.6.2

Same problem on CentOS 7.1
I started a container where I started another container. This problem occurred when I shut down the first container without having shut down the one inside.

The first DinD container seems to start fine now,
but when I try to start a 2nd DinD it just exits with exit code 1, no error message. Probably another issue.

I added a retry-loop and at the 3rd attempt also both containers are and stay running.

For those of you using DinD for CI/testing, please have a look at this new blog post!

@jpetazzo thx for post. After severals weeks of pain and suffering I've ended with exposing socket. I've just wanted to hear that it is not the worst solution from someone else.

rohanpm's solution is helpful! And I add a command to remove the unused loop device before rohanpm's script:
dmsetup remove_all
This will clean the expired devicemapper created by previous dind.

There is now an official docker:dind image upstream! I invite you to test it, since it is actively maintained. Thank you!


i could not touch elm-lang.org

Hi,
I try to connect to elm-lang.org but i could not connect.
What is problem?
Regards,
Ustuntas

Same here http://downforeveryoneorjustme.com/elm-lang.org

It's working again.

@ustuntas, please close this issue.

I can not log in because of my health problems .. I'm so sorry for closing issue..

No worries @ustuntas, thanks for reporting!


Reconciling changes to master that bypassed develop.

I made a PR a while back for append_hostsfile_ip and didn't realize that I'd set the merge branch to be master and not develop.  This PR reconciles the changes in master into develop.  Thoughts/Comments?

@3ofcoins?

wfm


Statistics

Modified statistics object for reading and writing statistics.

I am not finished reviewing this. One thing is that I do not like is to const_cast the statistics in the C++ interface. Here is an alternative way we could implement it:
#include <memory>
#include <iostream>

struct Impl {
    explicit Impl(char const *y) : x{y} { }
    void mutable_(char const *y) {
        x = y;
    }
    char const *immutable() const {
        return x;
    }
    char const *x;
};

class Statistics {
public:
    explicit Statistics(Impl const *impl) : impl_{impl} { }
    char const *get() const {
        return impl_->immutable();
    }
    Impl const *to_c() const {
        return impl_;
    }
private:
    Impl const *impl_;
};

class UserStatistics : public Statistics {
public:
    explicit UserStatistics(Impl *impl) : Statistics{impl} { }
    void set(char const *x) {
        to_c()->mutable_(x);
    }
    Impl *to_c() const {
        // this const_cast is safe because the UserStatistics object was
        // constructed from a non-const pointer
        return const_cast<Impl*>(Statistics::to_c());
    }
};

int main() {
    std::unique_ptr<Impl> impl = std::make_unique<Impl>("foo");
    Statistics a{impl.get()};
    UserStatistics b{impl.get()};

    std::cerr << a.get() << std::endl;
    b.set("bar");
    std::cerr << a.get() << std::endl;
    std::cerr << static_cast<Statistics&>(b).get() << std::endl;
    // this cast is valid but a good linter will give a warning
    // and also we made clear that this is not a good idea by
    // providing the interfaces as we do
    static_cast<UserStatistics&>(a).set("foo");
}

And in my code I put the const after the type.

OK with me (as always).
You wanna do it or I?

This pull request is too messy. I'll continue working on it in the statistics branch in clingo.


Remove 'warning' from docs tool output

Noticed while doing the 0.21.0 release formatting.

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

Looks good! Do you have an example of what warning there was when creating the release notes?

@bchen1116 yep, its a sphinx thing. Search the release notes for ".. warning::" and you'll see them in there.


Event on search input

Hi.
Is it possible to have an event function on search input.
I want to try and use this for serverside autocomplete and since it's around 20 000 records in the list it slows the browser when all is beeing added to the list (even if I use the data-minimum-input-length parameter etc)

Hello, I've just pushed a patch that should solve your problem, hope is not too late. I will release a new version after lunch :-).
I updated the docs with details on how to listen to the event emitted when the user enter a search key.

Thanks alot. Have been really busy lately but I will update and test this.

Can't get this to work. Could you show an example on how to use it? Can't see that you have updated the docs.

Hello,
We will shortly remove this GitHub account. Please Fork the projects that you would like to keep before the end of this week.
Best regards,
Jesper Karlsson
jesper.karlsson<EMAIL_ADDRESS>From: stibay<EMAIL_ADDRESS>Sent: den 18 april 2016 11:02
To: scania-bootstrap/scania-angular-select2<EMAIL_ADDRESS>Subject: Re: [scania-bootstrap/scania-angular-select2] Event on search input (#4)
Can't get this to work. Could you show an example on how to use it? Can't see that you have updated the docs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com/scania-bootstrap/scania-angular-select2/issues/4#issuecomment-211283119


fix(Tile): remove extra patch call before calling animate to avoid stutter effect

Description

Calling the patch, then animating was causing the text to jump when inset. This video shows the before and after.
https://github.com/rdkcentral/Lightning-UI-Components/assets/15019089/d36abacc-a5b8-4d7a-b67a-da1c70f6cd47
References

Testing

You would have to test with inset metadata, potentially only in IS LUI on the new Metadata component.
Automation

Checklist

[ ] all commented code has been removed
[ ] any new console issues have been resolved
[ ] code linter and formatter has been run
[ ] test coverage meets repo requirements
[ ] PR name matches the expected semantic-commit syntax

Test Execution Failed.

Test Execution Failed.

Test Execution Failed.

Looks good. I did notice that Description and Title don't update when you change them in the controls, but I'm pretty sure this is Storybook issue and not related to the changes you made.
I wouldn't hold up this PR for that

Test Execution Failed.

:tada: This PR is included in version @lightningjs/ui-components-v2.19.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Widget doesn't draw properly(widget gets shrinks) if widget column size is greater then gridster column.

I saved width, height, column and row  of widgets  in database. It's works fine if I save and pull the widgets with same screen size. But it gives me a problem if i saved the widget through large screen and try to load into small screen like(iPad, mobile) then widget gets shrinks. Is this known issue which I'm facing now. how can we resize widget size according to gridster  column if we've widget properties like(col,row, height, and widget) in database?

What would you like to achieve here? Should the widgets be visible outside the smaller screens?
We are currently working on a similar project and we've chosen to simple save three different versions of configurations to the database.


Inconvenient volume adjustment

Scrolling to change the volume is a neat idea however I usually watch videos in "theater mode" so as to still have access to the comments and such. When scrolling to get to the comments my mouse is almost always near or on the video that's playing making it lower or increasing the volume every time I try to scroll down to comments. If it's possible please make a setting that both toggles it or allows you to first press a key in order to change the volume vs the default scrolling.

@CaiCheng-Li there is a setting called "Enable when holding modifier key" this will make it so you need to hold a key to adjust volume.

Resolved


EPIC: InfluxDB initial content

[ ] InfluxDB overview #83
[ ] InfluxDB getting started #92
[ ] InfluxDB connecting article #101
[ ] InfluxDB migrating article #111

https://github.com/aiven/devportal/issues/788

This is covered, I'll leave the connection content issue open by itself for us to consider/prioritise in the future.


Invalid peer dependencies

When installing Melody (i.e. through create-melody-app) a bunch of warnings about invalid peer dependencies is generated.
warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

Thanks, this has been fixed in 1.0.1


Added functionality: dropout in either train, test, or both phases

A flag added to the Dropout class that determines in which phase[s] the dropout takes place (either train, test, or both phases).

We will take care of this functionality in Keras, by making it possible to set the learning phase on a per-layer basis.


The test coverage rate is not displayed in UI mode

Describe the bug
I have configured the corresponding parameters in vitest.config.ts, but when running UI mode to check the test coverage, nothing is displayed
Reproduction

--
Another issue is that when I remove the include attribute, although it can be displayed, it is not displayed at all__ Test__ Provide relevant successful data below

就很奇怪
System Info
Could you please help me take a look? Thank you

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

https://stackblitz.com/edit/vitest-dev-vitest-j2p5e4?file=vite.config.ts
This is also true. Why is it clear that it has already passed? The coverage rate is empty
Boss, help me take a look

In your reproduction case you have defined test files in test.coverage.includes. It should rather list source files. I think in the project of the picture you should rather use test: { coverage: include: ['src/pages/**'] }.
In general:

test.coverage.includes contains list of source files which should be included in coverage report. For example coverage: { include: ['src/pages/**', 'src/utils/**'] }.
test.includes contains list of test files that should be run. For example test: { includes: ['src/pages/**/__tests__/**'] } will only run tests that match this pattern.

Thank you, big shot


Switch @bufbuild/connect-web to use @bufbuild/connect-core

Superseded by https://github.com/bufbuild/connect-es/pull/471


Add BidSize and AskSize to Tick

Working on the Options Project, I made this little change.
If this is merged, it would close issue #118.

@AlexCatarino - I can pull in the addition of bid/ask size to the Tick class, but the other change I think needs more thought, it will affect everything in our system. If possible, continue on the options stuff without considering the IContract concept. We'll need to fully flesh out the contract system before coding it up.

The first commit (with edits) was merged in https://github.com/QuantConnect/Lean/commit/942d3fc7723bf5c61af391bb32e2a82a452462f2

Ok, but we need to define how IContract will be.
I used this additions to rewrite the AlgoSeek Options Converter and the LeanDataWriter.

Understandable, you can keep working with what you have, but I'll need more time to implement it properly throughout the entire code base since it can have far reaching implications, this is something I don't want to rush.
If required, make some temporary classes that represent the data you need and where you need it and we can refactor it later when a full-fledged contract system is implemented in Lean.


Enhance : Testimonial section.

I would like to improve the ui of the testimonial section.
I would like to change the background color and would like to make  a cards for the same.

So, please assign this issue to me under GSSOC'23.
Thanking you.

Yes sure,go ahead @Pragati-3003 :)

Yes sure,go ahead @Pragati-3003 :)
Thanks for assigning this issue to me.

I wants to add hover effect on testimonials section .Please assign this issue under GSSoC 23


feature/seo-images

Pull request recommendations:

[x] Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
[ ] Link to any relevant issue in the PR description. Ex: Resolves [gh-12], adds tiff file format support
[x] Provide context of changes.

Add SEO images created for the cookie-cutter to this repo.

[ ] Provide relevant tests for your feature or bug fix.
[ ] Provide or update documentation for any feature added by your pull request.

Thanks for contributing!

Can you try updating your branch and pushing the merge commit. I updated the GH Actions trigger.

No, I don't think so. The SEO images are used in the cookie-cutter template and you had at one point said I should also put them in cdp-design as a sort of extra redundancy. For storage essentially.

Cool. Merging then!


Link Combine weakly

Fixes #1914.
I linked Combine weakly as proposed here: https://stackoverflow.com/questions/57168931/optional-linking-for-swift-combine-framework-in-xcode-11
After installing Moya via my branch, the issue went away so I could run my app on iOS 12 devices again.
As proposed in the SO answer, maybe the weak linking configuration should be done via a XCConfig file to maintain compatibility with Xcode 10:

or if you still want to support building with older Xcode versions:
OTHER_LDFLAGS[sdk=iphoneos13.0] = -weak_framework Combine

As there are no XCConfig files currently and I needed a quick fix, I didn't opt for this approach for now.

Fails

:no_entry_sign:

danger-swift` failed.

Log
Cloning and building inline dependencies: import DangerSwiftProse // package: https://github.com/f-meloni/danger-swift-prose.git, import DangerXCodeSummary // package: https://github.com/f-meloni/danger-swift-xcodesummary.git, this might take some time.
ERROR: 💥  Failed to compile script

  Generated by :no_entry_sign: dangerJS against 446153d8320783be35a7cf924530372069b99562

@sunshinejr In contrast to what I stated earlier, I have now used a config file to realize the weak linking, thereby maintaining Xcode 10 compatibility - turned out not to be that complicated ;)
Can I do anything to fix the tests?

@fredpi ah no we currently have an issue with Danger... It seems like all of the tests are passing so it's all fine. Can you add a changelog entry at the top? Similar to what I've done here.
Also, do you think it's Carthage-specific issue or rather infected all package managers?

@sunshinejr It definitely affects all package managers that precompile the framework. I have no idea how CocoaPods works exactly, but I guess the issue was also there with CocoaPods.

@sunshinejr Turns out, while the first approach worked for iOS 12 devices and the iOS 12 simulator, the second one (using the config file used to maintain Xcode 10 compatibility) does work for iOS 12 devices but not for the iOS 12 simulator. Trying to fix...

@sunshinejr Should work properly now ;)

Thanks @fredpi! It’s interesting though, I was thinking that we would need to link weakly for iOS 12 instead of 13... Do you know why ia that?

Also I'm still trying to get it to reproduce 🤔 I have macOS Catalina and iOS 12.4 device and it seems to be working correctly on SPM/CocoaPods. Carthage is still left to be tested but if it's also working in there, will this be a Mojave problem maybe? @fredpi what macOS version do you have?

@sunshinejr I also tried with SwiftPM and everything worked fine without the adjustments from this PR, even though I'm running Mojave. Accio, in contrast, still fails. I've uploaded a test project I created to check whether Accio (built on Carthage) is working: https://github.com/fredpi/TestAccioMoya
Would you please try this project and check whether it also fails for you?

@fredpi of course, will try that. Can you check if the framework built by Carthage, not Accio, will also work for you?

Update: I tested both with Accio and Carthage and it doesn't work. I also tested with CocoaPods and SPM and it does work.
Now, I added weak-linking for the Combine framework in this branch but it didn't help 😮 I checked with otool and the framework is indeed weakly referenced (LC_LOAD_WEAK_DYLIB) but it still crashes on my phone with iOS 12.4. Really interesting.

Alright I think I found a way: a custom build script that will update build settings based on the Xcode major version... Really, really hacky but it seems to work. Gonna test it a little bit more though.

see #1920


Gdip_All.ahk missing

Hello pal, in latest release you forgot to put a file, you get this error:
Error at line 79.
#include file Gdip_All.ahk canno be openned.

thanks for the report. gdipall has been added

No problem, and thankyou for this work, its really helpfull =)


Remove Required for Vintage Year

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[ ] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a CAMPD API user I want vintage year to be an optional parameter so that I can customize my dataset based on my desired criteria
Acceptance Criteria
Given that a user has built a query and has not entered filter criteria for vintage year
When the endpoint is executed
Then the system displays the records that match the criteria
Context
Per wireframes for filter/sort UI, vintage year is not required
Testing
Test Case:
Tester:
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[ ] Is the user story ready to be deployed to the test/staging environments?

Added to #1001