Panic when trying to generate non-existing type

The error message when trying to generate a type that does not exist is less than ideal:
error: proc macro panicked
  --> bindings\build.rs:2:5
   |
2  | /     winrt::build!(
3  | |         windows::foo::{
4  | |             NoExist,
5  | |             Bar,
...  |
41 | |         }
42 | |     );
   | |______^
   |
   = help: message: Could not find type `Windows.Foo.NoExist"

Note that in a long list of types, if the non-existing type is not one of the first few, it won't even show in the error message span.

@kennykerr @rylev I would like to take a shot at this issue. IIUC we need to make the error message more helpful. Is one solution here improving the error message ?

@kennykerr @rylev I would like to take a shot at this issue. IIUC we need to make the error message more helpful. Is one solution here improving the error message ?

Thanks for you willingness to help! Yes, the error message could be improved, but more importantly the span that indicates where the error occurred needs to be corrected to be the exact sequence of characters that caused the error. Whether it is is a missing module or a missing type, the macro should pinpoint and underline the offending entry.

Thanks for you willingness to help! Yes, the error message could be improved, but more importantly the span that indicates where the error occurred needs to be corrected to be the exact sequence of characters that caused the error. Whether it is is a missing module or a missing type, the macro should pinpoint and underline the offending entry.


Compile code snippets for documentation and example notebook to ease adoption

Code snippets can help new users quickly adopt relevant features and build coding best practices quickly. Currently, the README has a handful of basic, not very helpful code snippets that aren't quite enough to get anyone really plugged in. It would be great to put together some stronger resources to get folks oriented more quickly on general features as well as a few relevant applications. Given the transportation/safety background of most of those currently involved, that might be a good spot.
Here's an outline of topics/features/applications I'd love for us to try to put together, let's talk about what we can cover and make this a good short- and long-term project:
Basic Applications

Creating an EventsCollection
Slicing the EventsCollection
Dissolving events
Etc.

Data Engineering - Restructuring

Re-segmenting roads at fixed intervals with dissolve and to_windows
Segmenting roads at intersection locations using EventsUnion

Data Engineering - Conflation

Conflating attributes within a shared linear referencing system with EventsMerge
Conflating attributes from disparate sources without a shared linear referencing system with project_parallel

Data Engineering - Synthesis

Synthesizing a linear referencing system using generate_linear_events
Synthesizing an intersection layer using find_intersections
Creating intersection approaches layer with project, shift, separate, and cut

Practical Application - Roadway Safety Analysis

Conflating roadway attributes to crash data using project and merge
Conflating crash data to roadway inventory using project and merge
Sliding window analysis with dissolve, to_windows, and EventsMerge.distribute
Intersection cluster analysis with the intersection approaches layer example and merge

What do you think? Feel free to recommend more ideas, or if there are particular items that you'd like to cover, comment below! Once we have some direction we can begin compiling snippets in the documentation and/or a jupyter notebook.

Tagged @phildias and @ribpy89 since you two are a couple of our power users! 🤓 I expect there are some straightforward recipes/minimal repeatable examples that we could put together to cover some of these based on our experience with the tools.

@phildias Excellent, that would be great! In a few cases I've been able to simplify/anonymize existing public crash and roadway, just pulling a few specific segments, and that's worked nicely for an initial data set.
Alternatively, if we wanted to get fancier, we could create a sample data API which could dynamically pull FARS  data from their FTP site and OSM data or similar using osmnx for example. Might be nice to have that on hand for building a variety of data sets and examples.

Ope--looks like there's even an existing package for downloading FARS data directly using a package called fars_cleaner, available here. Could be something worth exploring, though it looks like it hasn't been updated in a couple years so it might not work.

I can also super easily use Texas public-access data as well. Like, I can focus on just 2022 crashes on a handful of interstates from the [url=https://cris.dot.state.tx.us/]CRIS database[/url]. I can also slice out the interstate linework from the [url=https://www.google.com/search?q=texas+roadway+inventory]Texas Roadway Inventory[/url] for the roadway data.
It'll likely end up being a pretty big sample set, so let's see. I'll work on this during the week and keep you posted!

Sounds like a good idea, thanks Felipe!! Definitely keep me posted. Providing an interstate-specific example might be a nice/clean option, especially if it is with already public data with multiple severities of crashes. I'll open up a new branch for this that we can use for this effort.

Awesome, I'll work off of that new branch! I'm thinking about putting together a few examples that look like this. I'll start off by making a few notebooks with those examples.
Would you be okay with me placing them in linref/docs/examples? Or would it make more sense to make it its own separate folder, like linref/examples?

Great reference point, the gpd examples are great and a good shape to follow.
Regarding file structure, that's a good question. I believe that that linref/docs folder is used by sphinx to build the docs site, so I think creating a separate folder like linref/examples is probably the better option for now and we can restructure later if needed. Perhaps we can take a look at how gpd and mpl and others manage their example files as well. There's gotta be a PEP about this or something.

Here's a first attempt at one small toy example that doesn't even require real world data and gets to the heart of how to use some of the core functionality: https://github.com/tariqshihadah/linref/blob/examples/examples/creating_point_geoms_from_mm.ipynb
I've already built simple scripts for four or five other cases like these. I just need to add the "hand holding" text boxes for them. Is this in line with what you were imagining?

Also, I just noticed that I committed my changes straight to the branch I'm working off of, without doing pull requests. Is that the way to go for these things? Create a new branch, commit straight to it, then request a branch merge?

This first example is excellent, just what we're looking for I think! Really appreciate you doing that, it'll be a hugely helpful resource to have these recipes available and well-documented I'm sure. I've made a few small tweaks to the notebook--mostly just nitpicky formatting things.
As you plug in some more of these examples I'll give them a quick look-over and then we can initiate a pull request to get them added to v0.1.1. Will be exciting to share them!

Also, I just noticed that I committed my changes straight to the branch I'm working off of, without doing pull requests. Is that the way to go for these things? Create a new branch, commit straight to it, then request a branch merge?

Yes, that's the approach I have in mind. Working off of dedicated branches will make it easier to isolate tasks and then cleanly merge them into the appropriate branch afterwards. I'm new to projects with this number of moving parts though, so open to suggestions otherwise too!

Took me a second, but I finally added the two extra examples I wanted: point geom to mile marker, and line geom to mile marker.
With that last one, we might want/need to include the caveat discussed in #10, but I didn't add it in there just yet. Trying to keep things simple to start, hahahaha...

I've just added yet another example. This time, it's about using the EventsUnion and its union() method to overlay data from multiple layers or DataFrames.
https://github.com/tariqshihadah/linref/blob/code_snippets/examples/overlaying_data_across_two_lines.ipynb


regenerating Info files on database plugins leads to a lot of modified files

Given that the info files for plugins should be able to be auto-regenerated, I ran xml2info on plots/operators and databases when I made a change to GenerateInfo.h I found that many of the database plugin's Info files were modified when I ran xml2info on them. I wasn't expecting there to be major changes.I think we should investigate the changes and see if they can be incorporated into a .code file so auto-regeneration will work as expected.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 1593
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Low
Subject: regenerating Info files on database plugins leads to a lot of modified files
Assigned to: -
Category: -
Target version: -
Author: Kathleen Biagas
Start: 08/28/2013
Due date:
% Done: 0%
Estimated time:
Created: 08/28/2013 11:11 am
Updated: 09/13/2013 06:48 pm
Likelihood: 2 - Rare
Severity: 2 - Minor Irritation
Found in version: trunk
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
Given that the info files for plugins should be able to be auto-regenerated, I ran xml2info on plots/operators and databases when I made a change to GenerateInfo.h I found that many of the database plugin's Info files were modified when I ran xml2info on them. I wasn't expecting there to be major changes.I think we should investigate the changes and see if they can be incorporated into a .code file so auto-regeneration will work as expected.
Comments:
SVN Revision 21726 took care of a lot of these.The remaining:ITAPS_CBoxlib3DBoxlin2DOVERFLOWExodusImageVCellMTMDZipWrapperVTKall have special requirements that can only be partially solved by modifying .code/.xml files with current GenerateInfo.hTo get these in shape for auto-regeneration might take too much modification of GenerateInfo.If we choose not to fix these, then their special case code should be documented as '// Don't autogenerate because ....' which will be a clue to future modifiers of xml2info that their changes didn't break these files, and reverting is possibly the correct course of action.

Resolved by #4228


datetime + jitMasking show placeholder

Describe the bug:
Trying to use inputmask with datetime and jitMasking like this:
Inputmask('datetime', {inputFormat: 'mm/dd/yyyy', jitMasking: true})
But when numbers for moth are input the placeholder for day is displayed like this:

Even with the default format after the years are entered the placeholder for month is shown

OS: Windos 11

Browser: Chrome

Inputmask version: 5.0.9 and 5.0.10-beta.0

Any updates on this? We are having the same problem


Why ErrorPage middleware use bad Host <IP_ADDRESS> ?

Do you want to request a feature or report a bug?
Bug
What did you do?
I've configured a "ErrorPage" middleware for return custom pages when an error occured on my services.
My middleware use a service named "service-errors", this service has one server "http://error.my-domain.com"
My server "error.my-domain.com" is an independant Apache webserver with a VirtualHost configured for this domain. He work correctly without Traefik.
My use case :

I've multiple servers on my service
healthcheck is enabled on my service
when all servers are down, healthcheck return HTTP 503
when i've a 503 error, I want capture this with ErrorPage middleware

What did you expect to see?
When all servers are down, I want see my custom error page from error.my-domain.com.
What did you see instead?
I see default Apache page "It work !"
After analyze with a tcpdump, in HTTP header, I see this : "Host <IP_ADDRESS>" instead of "Host error.my-domain.com".

I use YAML file for my configurations.

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


ctf_wall

[quest#231]

Please remove first 3 lines
      by dreal at October 2021

    </mat-card-content>
</mat-card>

Thanks! Flag sended to email


Row Font set to inherit overrides theme font

Continuing the discussion from here:
https://github.com/mbrn/material-table/issues/2080#issuecomment-778761244
Workaround (as of 2021-03-16):
robin-sf: "My current workaround (to avoid hardcoding) is to import the theme file and use it as so:"
options={{rowStyle: { fontFamily: typography.fontFamily, ...typography.body2 }}},

Yes, you can use themes. See here. Same concept, since we are a fork of that repo.

I don't believe this answers the question.  If you use ThemeProvider at the root of your component tree, Material-Table should respect this.

That's a good point. Reopened.
Any ideas on how to respect the theme while supporting these legacy props? Just merge them into the theme?

Just to make note; it looks like we are using 2 themes. One at the root, one that wraps the MTableScrollbar component.

When I am setting this option rowStyle: {fontFamily: "Roboto", fontSize: "0.875rem"} it works, but not in row editmode.

Are there any updates on this issue? I'm using v4.3.44 and it would be preferable to not declare a rowStyle on every table.


how to get passport's Auth info in this middleware

hi all, i use express + passport-oauth2 in my web.
and i want to use graphql to wrap exist restapi, with permission check.
i follow the examples/permissions , but in this line
https://github.com/prismagraphql/graphql-middleware/blob/6889d229181e49b4e8711d22a960900b103c2632/examples/permissions/index.js#L40
the context.request.isAuthenticated() alway false,
and i debug into the code, it looks like the this have nothing about auth info.
anybody can tell me how to use this library whit passport ?

Hey @geminiyellow 👋 Could you reopen this issue in https://github.com/maticzav/graphql-shield ?
I think thsi might be well solved there!

I am closing this issue in favour of the referenced issue in GraphQL Shield.


#184948246 Run codeclimate and test coverage

What does this PR do?
This PR configures codeClimate and tes coverage
Description of Task to be completed?
• configure codeClimate and test coverage
How should this be manually tested?
• clone this repo git clone https://github.com/atlp-rwanda/e-comm-team-amigos-fn
• switch your working directory cd e-comm-team-amigos-fn
• in your terminal run npm run test
Any background context you want to provide?
• Node JS installed in your local machine
What are the relevant pivotal tracker stories?
Story ID: #184948246

What does this PR do?
This PR configures codeClimate and tes coverage
Description of Task to be completed?
• configure codeClimate and test coverage
How should this be manually tested?
• clone this repo git clone https://github.com/atlp-rwanda/e-comm-team-amigos-fn
• switch your working directory cd e-comm-team-amigos-fn
• in your terminal run npm run test
Any background context you want to provide?
• Node JS installed in your local machine
What are the relevant pivotal tracker stories?
Story ID: #184948246


rendering error in a formula in lpems.md

In docs/lpems.md is something broken in the first formula in paragraph Linear programming.

Yes, the latex rendering is somehow broken. All equations are not being rendered. I'm working on a solution for this but still not working

Solved!


cdkTextareaAutosize duplicating input on firefox mobile

Reproduction
   <mat-form-field>
    <textarea matInput cdkTextareaAutosize placeholder="description"></textarea>
  </mat-form-field>

Expected Behavior
User input should not duplicate
Actual Behavior
each key press repeats all previous keys with it so if you start with K and then press J you will get KKJ and so on, this result is on Firefox android, tested chrome on android works fine same with Firefox/Chrome on windows 10 desktop.
Environment

Angular: 8.3
CDK/Material: @angular/cdk": "^8.2.3
Browser(s):
Operating System (e.g. Windows, macOS, Ubuntu): Android

I just tried this on FF Mobile on my Pixel 3 and didn't encounter any issues. Is there any further information you can provide? It might have been fixed in Firefox since this issue was opened.

Closing because this issue has been inactive for 2 weeks or more after follow up was requested.


Update Composer dependencies (2021-06-01-00-08)

Visual regression test passed!
View the visual regression test report


librem: 2.6.0 -> 2.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/baresip/rem/releases.
meta.description for librem is: "A library for real-time audio and video processing"
meta.homepage for librem is: "https://github.com/baresip/rem"
meta.changelog for librem is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.7.0 with grep in /nix/store/yxwb9mz1cvc37nn1b6wx1fx2mvpi3p37-librem-2.7.0
found 2.7.0 in filename of file in /nix/store/yxwb9mz1cvc37nn1b6wx1fx2mvpi3p37-librem-2.7.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
baresip
librem

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yxwb9mz1cvc37nn1b6wx1fx2mvpi3p37-librem-2.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yxwb9mz1cvc37nn1b6wx1fx2mvpi3p37-librem-2.7.0
ls -la /nix/store/yxwb9mz1cvc37nn1b6wx1fx2mvpi3p37-librem-2.7.0/bin

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

2 packages built:

baresip
librem

Maintainer pings
cc @elohmeier @7c6f434c for testing.

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

2 packages built:

baresip
librem


Showcase Submission for code/3-conditionals/4-boolean

Thank you Nina Polo  for your contribution! A member of the Coding Train team will review it shortly.

Turn the Sky on !
Nina Polo

💜


Use os.TempFile for the print output

Routine print creates a txt file to be printed off but this creates a txt file that isn't removed after printing so the data.txt file just stays there in the current directory.
I should make use of os.TempFile for the output and remove after like so:
file, err := os.TempFile("dir", "prefix")
if err != nil {
	log.Fatal(err)
}
defer os.Remove(file.Name())

fmt.Println(file.Name()) // For example "dir/prefix054003078"

This would tidy up the data file after printing by using the deferred line.

Done


Need to port the ML capabilities to Python.

Need to move to Python to utilize better ML capabilities than currently being used.

We should look into using sklearn, it probably will work well for this project.

This is on hold, our current method works better due to its flexibility.


Checkbox for renaming operation-popup does not work

After renaming an operation a popup appears informing the user about the successful renaming. This popup has a checkbox about having this same popup in the future.
Unchecking this checkbox seems to have not effect.

having this unchecked works for me, but QErrorMessage can queue messages, for this info we don't want this, also "Error" is misleading too.
"newer description, as we run"
https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QErrorMessage.html

Because of the used QErrorMessage used I move this to the next major. The queueing may do the trouble.


crashed other running instance when opening a new instance

Issue Type: Bug
I had 2 code-insiders running, when I open a new instance, both running instances just disappeared (crashed) without any warning. Later I was presented with the following error dialog.

Here is the process view:

VS Code version: Code - Insiders 1.30.0-insider (241923763dbeaf3b64443187e935d55b29f6125d, 2018-12-07T22:25:15.966Z)
OS version: Linux x64 4.15.0-42-generic
VS Code has gotten unstable lately.

System Info

Item
Value

CPUs
AMD Phenom(tm) II X4 940 Processor (4 x 1800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
15.66GB (4.18GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (25)

Extension
Author (truncated)
Version

markdown-navigation
Ala
1.0.3

markdown-toc
Ala
1.5.6

Bookmarks
ale
10.0.0

dep
car
0.1.0

npm-intellisense
chr
1.3.0

vscode-markdownlint
Dav
0.22.0

vscode-eslint
dba
1.7.0

java-debug
DSn
0.0.2

EditorConfig
Edi
0.12.5

tslint
eg2
1.0.40

solidity
Jua
0.0.49

sort-typescript-imports
mic
1.4.1

Angular-BeastCode
Mik
7.0.19

cpptools
ms-
0.20.1

debugger-for-chrome
msj
4.11.1

angular2-inline
nat
0.0.17

java
red
0.35.0

language-stylus
sys
1.10.0

sort-lines
Tyr
1.7.0

vscode-java-debug
vsc
0.15.0

vscode-java-dependency
vsc
0.2.0

vscode-java-pack
vsc
0.5.0

vscode-java-test
vsc
0.11.1

vscode-maven
vsc
0.11.3

better-align
wwm
1.1.6

(2 theme extensions excluded)

Can you run each instance with code --verbose and send us the log as they come crashing down?


[lodepng,lodepng-c, libjxl] Update, merge lodepng-c into lodepng

What does your PR fix?
Updates port lodepng.
Merges lodepng-c into lodepng, resolving the header installation conflict, enabling CI for port lodepng.
Removes private API and examples.
Modernizes the portfile and adds (explicit) usage.

Which triplets are supported/not supported? Have you updated the CI baseline?
all, yes

Does your PR follow the maintainer guide?
yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

Building lodepng in CI uncovers build errors in other ports which where hidden by cascade before.

The uwp issue is #9390, and a more complete solution is #16111. Hard to believe that it was reported two years ago.
The gdal issue is #21648. I don't want to add a new dependency/feature now. I want feature parity between windows and non-windows build, and I'm stuck with slow reviews of related PRs. So just ensuring lz4 is not activated by accident.

In all build attempts, arm-uwp-rel consistently took 2 hours, without clear reason. If this happens again now, I will add libjxl:arm-uwp = skip to the ci baseline.
A significant spile in build time is also visible in x64-uwp-rel with regard to x64-uwp-dbg.
I even diffed non-parallel CI build logs, with common dbg/rel difference replaced and sorting, cf. attachment. The resgen difference seem strange, but I don't know enough about uwp:

dbg only:
_AddVCLibs140UniversalCrtXxxxxReference
No "APPX" attributes indicating app package locations were found in the SDK manifest. If an app package is required at runtime the project may not run.
No FrameworkIdentity attributes were found in the SDK manifest, treating this SDK as a non-framework SDK.
Reading SDK manifest file "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.UniversalCRT.Xxxxx\10.0.19041.0\SDKManifest.xml".
resgen.exe /useSourcePath /compile "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.UniversalCRT.Xxxxx\10.0.19041.0\\redist\Xxxxx\arm\ucrtbased.dll"
Targeted configuration and architecture "Xxxxx|arm"

rel only:
resgen.exe /useSourcePath /compile D:\buildtrees\libjxl\arm-uwp-XXX\Xxxxx\jxl_dec.dll

dbg-rel.diff.txt. Xxxxx replace Debug/Release.

Thanks for the merger!


Create a .env.sample file

Importance
The .env.sample file will contain all the required environment variable files to enable users setting up or any new addition to be reflected on the file to enable users to be upto date with the latest environment variables.The file will go in the format of:
export ACTIVITY_CE_DB_NAME=" your database name goes here "

When setting up you copy this to your .env file and replace it with your own variables.

This is now resolved per ACT-387


Can't update pack to 3.5.X because of the new FixPluginTypesSerialization dependency.

As you may know, some custom moons use LethalExpansionCore to work, and some use LethalLevelLoader. Lethal Expansion has been somewhat abandoned, and many moons have switched over to LethalLevelLoader, but some great ones haven't. I haven't had any issue getting both types of moons to work on the same build by just using LethalExpansionCore and not LethalExpansion and also having LethalLevelLoader installed.
For some reason, FixPluginTypesSerialization causes my build to only load/show moons that work on LethalExpansionCore. Anything using LethalLevelLoader is hidden. If I remove FixPluginTypesSerialization, it fixes this issue, but LateGameUpgrades doesn't run.
I'm not versed on how these things work so please let me know what info you need and I'll be happy to provide.

Are you using both LethalLevelLoader and LethalLevelLoaderFixed?
If yes, the problem is that Unity is using LethalLevelLoader's serializers for LethalLevelLoaderFixed things when it's supposed not to (because the plugin tells Unity what is Serializable and what is not).
Otherwise, you will have to talk with CSync's developer to clarify what the issue is exactly but this is what I gathered when looking into this issue.

Oh, yes. That's probably it. I totally forgot about LLL Fixed. I had to add that one a while back because me and my friends were not having weathers synced up as well as the moons loading different custom interiors for us causing non-host players to just fall into nothing. Messing with it now.

Update: That was it. I thought LLL Fixed was just a patch-over for LLL and didn't realize it could run on its own. Disabling LLL fixed the issue. Thanks!


New Psinject always inject ps2

I dont want to annoy but i'm just writing it to let you know. For me its not a big deal.
There is a new issue with the new psinject - the injection always inject ps2 even if the computer has ps4.

hey @kokoown,
While this may occur, I can't think of why this would be an issue as injection will work regardless. Are you running into an issue as a result of injection using .NET 2 instead of 4?

No. Not at all. Im just infore you

Ahh, cool. Thanks! We will take a look at this. In the meantime, injection should work as expected.
Thanks for reporting it!


Update how we import DeMarque Audiobook Titles

Description
Change how we are parsing the DRM formats for DeMarque Audiobook titles available through ODL. This was done after a discussion with DeMarque about why some titles were failing in the mobile apps.
Notion ticket
Motivation and Context
Some titles (notably Audible, but there are others) are only available via LCP DRM, not through the streaming endpoint. This change makes sure that we correctly set the delivery mechanisms for these titles, so the mobile apps do not choose a delivery mechanism that is unavailable.
How Has This Been Tested?
Running the included unit tests, which include feed samples for audiobooks that are and are not available for streaming.
Checklist

[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.

The changes this PR takes advantage of are now live in the DeMarque system.


default date in date field

The start date is now 31-12-1849. It's easier if it started at 01-01-1849. Then you only need to change the year, when you want to search within particular periods.

Strange, I suppose this is related to #112, adding this comment to that issue.


Add a CLI

@Nishkalkashyap could you attempt making this package callable from NodeJS task system and npx?

Very nice, thanks for the hard work @Nishkalkashyap


Test: Skip compose build, bind-mount /app instead

Follows #1878
This makes repeated rake compose:setup much faster, and makes developing tests much more convenient, whereby docker-compose restart ... is enough to re-run tests.
core@localhost /kontena/test $ docker-compose run --rm test rake compose:setup
docker-compose up -d api
Creating test_mongodb_1
Creating test_api_1
kontena master login --code initialadmincode --name compose-e2e http://localhost:9292

 [done] Retrieving a list of available grids

Kontena Master compose-e2e doesn't have any grids yet. Create one now using 'kontena grid create' command

kontena grid create --token e2etoken e2e
 [warn] Option --initial-size=1 is only recommended for test/dev usage
 [done] Creating e2e grid
 [done] Switching scope to e2e grid
docker-compose up -d agent
test_mongodb_1 is up-to-date
test_api_1 is up-to-date
Creating kontena-agent
kontena node ls
  Name                                                                   Version    Status     Initial    Labels
⊛ localhost                                                              1.1.1      online     1 / 1      -
core@localhost /kontena/test $ docker-compose run --rm test rspec spec/features/stack/list_spec.rb
..

Finished in 6.79 seconds (files took 0.19151 seconds to load)
2 examples, 0 failures

core@localhost /kontena/test $ edit /kontena/server/...
core@localhost /kontena/test $ git diff | cat
diff --git a/server/app/routes/v1/grids/grid_stacks.rb b/server/app/routes/v1/grids/grid_stacks.rb
index 91817b5..4c4c447 100644
--- a/server/app/routes/v1/grids/grid_stacks.rb
+++ b/server/app/routes/v1/grids/grid_stacks.rb
@@ -25,6 +25,7 @@ V1::GridsApi.route('grid_stacks') do |r|
   r.get do
     r.is do
       @stacks = @grid.stacks.where(:name.ne => Stack::NULL_STACK).includes(:grid_services)
+      fail "testing"
       render('stacks/index')
     end
   end
core@localhost /kontena/test $ docker-compose restart api
Restarting test_api_1 ... done
core@localhost /kontena/test $ docker-compose run --rm test rspec spec/features/stack/list_spec.rb
FF

Failures:

  1) stack list returns an empty list
     Failure/Error: expect(k.code).to eq(0)

       expected: 0
            got: 1

       (compared using ==)
     # ./spec/features/stack/list_spec.rb:6:in `block (2 levels) in <top (required)>'

  2) stack list returns an installed stack
     Failure/Error: expect(k.code).to eq(0)

       expected: 0
            got: 1

       (compared using ==)
     # ./spec/features/stack/list_spec.rb:15:in `block (2 levels) in <top (required)>'

Finished in 4.56 seconds (files took 0.17667 seconds to load)
2 examples, 2 failures

Failed examples:

rspec ./spec/features/stack/list_spec.rb:4 # stack list returns an empty list
rspec ./spec/features/stack/list_spec.rb:10 # stack list returns an installed stack

Looks like github isn't actually updating this PR against the b54e5cd commit that I forgot to push to test-compose-coreos-vagrant, ignore that one for now.

Rebased.

Added some README


Upgrade C# examples to 2.23.0 nugets (in v1.23.x branch).

(will need to be upported to master later)

Supersedes https://github.com/grpc/grpc/pull/19990.


Hook routes and policies

Is there a way to bind policies to hook routes?
My hook is like this:
function myHook(sails) {
	return {
		routes: {
			before: {
			},

			after: {
				'GET /articles': function (req, res, next) {
					return res.jsonx([{},{}]);
				},

				'GET /articles/:id': function (req, res, next) {
					return res.jsonx({});
				}
			}
		}
	};
}

module.exports = myHook;

And my policies are like this:
module.exports.policies = {

	'PublicController': true,

	// Default policy for all controllers and actions
	'*': 'authenticated'
};

But it appears that the hook routes are being included after the policies are being bound.
Is there a way to ensure that the hook routes are wired up to the policies?
sails v0.11.0
node v0.12.0
Thanks in advance.

@loicsaintroch do you have any insight on this?

Hi @eddieajau, just FYI this forum is for reporting bugs in the Sails core.  In the future if you need support, please post to our Google Group or Stackoverflow, or try our live Gitter chat room.

The `config/policies` file in Sails only binds policies to Controller actions, so it won't work for routes bound in a hook.  But there is a workaround: in your `config/routes.js` file, try:
'/*': {policy: 'authenticated', skipAssets: true},

This uses the policy target syntax for routes to run the "authenticated" policy on every route except assets.  If you do this, you'll probably want to remove the default policy from the config/policies.js file or else it will run twice...

just FYI this forum is for reporting bugs in the Sails core

Yes I know. I was talking to @tjwebb about this and he didn't know whether this was a bug or a feature so suggested that I post here.

please post to our Google Group or Stackoverflow, or try our live Gitter chat room.

Tried Google Group and Gitter - no responses.

But there is a workaround

Ok thanks for that but it's not going to work in all situations. How can we have a conversation about whether or not it's permitted to change Sails' core behaviour to support policies in hook routes? I'm happy to put some coding effort behind this, but I will need some guidance with regard to how to do it. My guess is the best option would be to delay wiring up policies to routes until after all hooks are loaded (and that would allow hooks to add their own policies).

Changing the ordering of when policies are wired up won't have much of an effect, because again the only mapping that the policies hook does is between controller actions and policies.  This is true even of the wildcard * policy; it doesn't apply to views, or to ad-hoc functions written directly in the routes file, for example.  If you were going to have a go at changing that behavior, I'd keep a couple of things in mind:

At this point, we'd rather not have big changes in the core hooks bundled with Sails.  Instead, we'd rather see those hooks unbundled into separate modules (see sails-hook-sockets).  So that'd be a first step.
If what you're really wanting is for the wildcard policy to apply to all routes, and not just controller actions, it would have to be a configurable thing that's off by default, because it would be a breaking change.  If that's not what you want, then you're better off just specifying the policy in config/routes.js as I described, since it's applying to a specific subset of routes anyway.


account for lazy streamed fragment scripts

While measuring timing groups, we forgot to account for fragments that might be streamed asynchronously or streamed lazily on the page. When this happens, the Pipe start would fire a lot late and script execution would not even fire which results in wrong metrics being captured
I have changed the logic to keep adding timing information to the same group name whenever we find fragments of same timing group. This would ensure that even if have fragments that are streamed later, we get the correct value.
We can use Tailor custom performance API, addPerfEntry to add all the timings that we have captured.
** Downside of the approach is that we wont see the timing groups information in Chrome's User timing view **

:+1:

👍


[shortfin] Pin pydantic-core to 2.27.0

Pins pydantic-core to 2.27.0, as building 2.27.1 fails to build for Python 3.13t.

Actually, pydantic-core 2.27.1 cannot be build with free-threaded Python as PyO3 was bumped to 0.22.6 to prevent accidental installs on free-threaded Python, see https://github.com/pydantic/pydantic-core/pull/1550.
Therefore, we should re-evaluate the deps in the requirements file: pydantic-core is required by pydantic which is required by fastapi.


one input, many output formats?

From the website:

Single Source Publishing
one input, many output formats; different approaches are taken to account for format-specific features

So (1 → N).
That's a questionable requirement!
Why not "many inputs, one output format" (N → 1), or even, let's go wild, (N → M)...
Regarding the (N → 1) case: accept more than one markup as input, but with all bells and whistles you can, and produce a nice output of a given type out of it, might be great enough. Just questioning! Doing one thing (e.g. outputting a print-ready PDF, or a re-flowable content), but doing it well? Without locking the user in a given input language and all its weirdness...

To clarify my previous message and provide food for thought, going through (some of) the mentioned software on the website

TeX (and derivative) "converts custom syntax to DVI"

Basically input is in TeX-macros usually = it boils down to (1 → 1) most of the time (TeX -> (DVI or not) -> PDF).
Some engines skip the DVI step, so the description is already kind of limited... Anyway, DVI/PDF are in the same game, sort of.
There are some good efforts to have it use other input formats quite natively (e.g. Markdown with https://github.com/Witiko/markdown, which I find pretty cool in its scope), so it could be considered (2 → 1) or more.

Looks like a library to me, not a usable typesetting system (although from description, it could be part of one). I don't understand why it's listed, but I don't know much about it. You don't expect end-users to fully code their documents in python, right?

SILE "converts custom language (Teχ-like), XML to PDF"

I am perhaps biased here, and what follows reflects my own personal views...
SILE has indeed a custom SIL (on the surface TeX-like in syntax, though that's not fully true) and an equivalent XML representation of it (to keep things simple here)...
... But "inputters" are extensible elements by design, and there are native solutions for "Markdown, Djot, Pandoc JSON AST"[^1] and for natively processing various XML documents (that is, beyond the XML flavor of the SIL language), e.g. subsets of TEI, USFX/USX, DocBook... In all honesty, the latter are not very advanced and remain quite experimental at this date (these schemas are huge beasts), and the lack of involved developers might show there... but in my view it would be close to a (N → 1) approach, by design.

[^1]: I didn't hide I was biased, so there you go: https://github.com/Omikhleia/markdown.sile

Thank you very much for the input.
I fully agree on the remarks regarding input. It was never my intention (to exclude multiple input formats), but I phrased it that way. I will fix this on Friday (“One or more input formats; many output formats; different approaches are taken to account for format-specific features”). Typesetting systems should always aim at typesetting content of an abstract tree, not a specific format. Which also happens mostly. Thank you!
Regarding PageBot: It was suggested to me as typesetting system, but I think I will remove it because I cannot see either how one can typeset without implementing some typesetting components oneself in python. Technically I cannot see a criterion against “a programming language as input language” (studying a markup language isn't always trivial either), but in general I think I will find a flaw which will remove it from the list again.

Regarding SILE: That triggers the difficult question how one should consider third-party components. Should we only take a look at components part of the distribution or also extensibility opportunities? I don't know either and currently my approach was “only builtin components”. Any opinions are appreciated.

(Plain-)TeX alone is fairly hard to use. What makes the TeX-based solutions so powerful is also the strong ecosystem it has built and the many 3rd-party components which are available (e.g. on the CTAN) to address additional needs. I don't think many people still use Plain-TeX (though I know some who still do, heh!): Most likely, people use LaTeX or ConTeXt, and a good bunch of extra packages (such as Tikz for graphs, or Koma classes etc.)
So a comparison based only on "builtin components" it probably too limited.
I think a possible way here is to check whether the proposed solutions have such an ecosystem, with extra components made available beyond the "bare" core distribution, and reasonable ways to install them.
TeX and friends obviously tick the checkbox positively here.
Speaking of SILE, that's only really true, IMHO, since quite recently in my opinion (v0.14.0 in August 2022): The current main maintainer did a great job in my opinion at replacing the former package management system with a much easier to use solution based on luarocks. The ecosystem is thus therefore still small --- Currently, it mostly consists in my own contributions to it ^^ ... Yet I think it was a pretty good move and a game changer.
Regarding Typst, I don't know --- but it's probably too soon to say anyway.
It's not a definitive criteria. Speedata, for instance, might not have an 3rd-party ecosystem (or I am unaware of it), but it does a lot of cool things on its own! Still, it says something. Regarding other listed solutions, well, it may even raise other concerns about their actual viability...


Avoid buffer overflow when loading tensors--cherrypick to r2.6

@pranve Can you please sign CLA. Thanks!


Run golint and go vet

Issue #, if available:
Description of changes:
Ran golint and make vet on the repo.
We had an offline discussion about running this always. golint is unfortunately deprecated, and there's no easy way to tell the tool "ignore this module/file"

Using find -exec golint doesn't work as expected since golint expects to be run in the context of a package
running golint ./... marks singleflight as failing check, so we can't use the exit code to accept/reject a change

Looked into incorporating golangci-lint, but the scope of changes it flags doesn't seem too valuable, so I'm a bit hesitant to add it to the default run if we're just going to ignore the result.
golint flagged these changes, which I
golint   ./...
encoding/doc.go:3:1: package comment is detached; there should be no blank lines between it and the package statement
encoding/cbor/encode.go:192:1: comment on exported type EncodeFixedUint should be of the form "EncodeFixedUint ..." (with optional leading article)
encoding/cbor/encode.go:206:1: comment on exported type EncodeFixedNegInt should be of the form "EncodeFixedNegInt ..." (with optional leading article)
encoding/httpbinding/encode.go:36:1: comment on exported function NewEncoderWithRawPath should be of the form "NewEncoderWithRawPath ..."
endpoints/private/rulesfn/doc.go:3:1: package comment is detached; there should be no blank lines between it and the package statement
endpoints/private/rulesfn/strings.go:3:1: comment on exported function SubString should be of the form "SubString ..."
endpoints/private/rulesfn/uri.go:85:2: struct field IsIp should be IsIP
internal/sync/singleflight/docs.go:7:1: package comment is detached; there should be no blank lines between it and the package statement
internal/sync/singleflight/singleflight.go:84:1: error should be the last type when returning multiple items (NOTE this is the one we don't want to fix, since it will break compatibility with the published package)
middleware/stack_values.go:24:1: comment on exported function GetStackValue should be of the form "GetStackValue ..."
middleware/stack_values.go:65:1: receiver name c should be consistent with previous receiver name m for stackValues
private/requestcompression/request_compression.go:18:7: exported const MaxRequestMinCompressSizeBytes should have comment or be unexported
testing/gzip.go:10:1: exported function GzipCompareCompressBytes should have comment or be unexported
testing/xml/doc.go:1:1: package comment should be of the form "Package xml ..."
testing/xml/xmlToStruct.go:12:6: type name will be used as xml.XMLNode by other packages, and that stutters; consider calling this Node
testing/xml/xmlToStruct.go:42:6: func name will be used as xml.XMLToStruct by other packages, and that stutters; consider calling this ToStruct
transport/http/headerlist.go:58:8: should replace j += 1 with j++
transport/http/properties.go:49:1: comment on exported function GetSigV4ASigningRegions should be of the form "GetSigV4ASigningRegions ..."

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

API diff failed with
# github.com/aws/smithy-go/endpoints/private/rulesfn
## incompatible changes
URL.IsIp: removed
## compatible changes
URL.IsIP: added

# github.com/aws/smithy-go/testing
## incompatible changes
GzipCompareCompressBytes: removed

# github.com/aws/smithy-go/testing/xml
## incompatible changes
XMLNode: removed
XMLToStruct: removed
## compatible changes
Node: added
ToStruct: added

I thought these changes were private to the package and not exposed outside, @lucix-aws are they breaking changes?

Discussed offline, these changes are indeed backwards compatible, this is an example where we were bitten by this in the past.
Will revert those changes


option to balance coolers?

Could be nice way to avoid needing to re-balance everything after mapping

bump

We'd need to balance both library coolers and library_group coolers, right? As far as I know cooler merge won't merge balance vectors or re-balance stuff.
We could simply introduce ${balance_command} = "cooler balance etc" if params.balance_flag else "" in the binning process and when merging coolers into library groups:
here:
https://github.com/mirnylab/distiller-nf/blob/09a9b41567587384ccb39c76da49f7986f381789/distiller.nf#L580
and here:
https://github.com/mirnylab/distiller-nf/blob/09a9b41567587384ccb39c76da49f7986f381789/distiller.nf#L616
So that way we'll have a single flag to control balancing on library and library_group level.
If that sounds ok/appropriate, I could do this

@golobor @nvictus please comment on this and #65 , so that we would implement something that makes the most sense

resolved by @sergpolly


fix the issue #3512

Please answer these questions before submitting pull request

Why submit this pull request?

[x] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues
#3512

Bug fix

bug description
see the issue desc

How to fix?
see the code change

/run ci

/run ci

/run ci

What is the difference? Could you post the document of Elasticsearch?

/run ci

The totalHits means the number of hit documents. The getHits().length means the numbe of recalled documents.

Thanks for explanation. I would say both ways should be same in the theory. Because ID should be unique in the global always.

/run ci

Based on the design, the id is unique, then if hint more than one is being sure a bug. And this change could cover it up. I would recommend don't change in this way. But try to find out there are duplicated IDs.
So, I tagged this as won't fix and is closing this.


The host installing OCP on OSP requires openstack repository

Within the readme https://github.com/openshift/openshift-ansible-contrib/tree/master/playbooks/provisioning/openstack , please include a prereq that the repository rhel-7-server-openstack-10-rpms is required in order to install the python-openstackclient
NOTE: This should be on the ansible host that does all the provisioning.
@tomassedovic

@rlopez133 thank you for thorough testing and pointing out those gaps in the docs!

May I suggest using the control host that was originally paired with this provisioning code? In that way all requirements are met:
https://github.com/redhat-cop/casl-ansible/tree/master/docker/control-host-openstack

For the record, python-openstackclient is not required for the deployment. It is however quite useful to have so we should document it in optional dependencies.

Yeah, not a requirement, just a nice to have for debugging


Use resource keys for collision groups

Problem
Currently, collision groups use a dedicated system to identify uniquely a group, instead of using the modor_resources crate.
Feature
Use resource keys for collision groups instead of CollisionGroupRef.
Dependency

#175

Finally, not a good idea to use resource keys as collision groups are not really resources.

Actually done in #179 as it was finally possible to do it.


DSD-802: Chakra update

Fixes JIRA ticket DSD-802
This PR does the following:

Updates Chakra to version 1.8.5 or higher and 1.8.0 or higher for peer dependency.
Added the @chakra-ui/storybook-addon package that integrates chakra with storybook. This allows us to make a minor change by removing the DSProvider we added to the story wrapper. This still only works for <Story> blocks and <Canvas> blocks still need to use the DSProvider.

How has this been tested?
Locally in Storybook.
Accessibility concerns or updates

N/A

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr968-culk9qeq9ca23yb78lwf7yqr5lfh4i6m.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6262d05f2e91387b1723e9fe

Tugboat has finished building the preview for this pull request!
Link:

https://pr968-culk9qeq9ca23yb78lwf7yqr5lfh4i6m.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6262d05f2e91387b1723e9fe

There are some issues upgrading but it seems like framer-motion needed to be set to v4 instead of the latest (v6). https://github.com/storybookjs/storybook/issues/16690#issuecomment-1079736501

Tugboat has finished building the preview for this pull request!
Link:

https://pr968-culk9qeq9ca23yb78lwf7yqr5lfh4i6m.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6262d05f2e91387b1723e9fe


Update app extraction for channel support

This initially includes only stable and beta channel support for app repository (meta)data generation in conjunction with generate.py valid directories

Putting them in the channels is going to be done manually and we need to handle apps obtained other ways such as the ones we build.


CircleCI build on release branches

All release branches should run a check on code commited to them like master. Can add a wildcard to the relevant step to catch the release branches. Will need to update naming conventions on release branches though.

[x] Update RELEASING.md branch naming to release-{versionName}
[x] Add check step
[ ] Add a dry-run publish step

I don't this is possible through the plugin, might be enough to do a release build just to be sure it runs OK?

Updated RELEASING.md and added check step to release-* branches.
Also added a gradle task to help with preparing a new release see : fe3dab02a6844b22334ef0e0e4c38beb8990eb85


Porting test_keyword and COSMOS.para to the tests/data directory.

Moving over an additional test to the tests directory. Also brought over a copy of COSMOS.para into the .../tests/data/examples directory. Happy to change that if the location doesn't make sense.

I think we can port test_filter.py as well. Give me some time today and I will deal with that, modifying the direct access to the filt/ directory. I am in a day long zoom meeting today, so do not hold your breath.


[0.14.17] Loosen requirements with bounds

Loosens the requirements by establishing the current == as lower bounds (>=) and uses the next major version update as an upper bound (<).
Bumps patch version to 0.4.17 too.

Hello! 👋
This PR enables downstream users to have greater compatibility with TDC's dependencies. Currently, it is difficult to use TDC as a dependency since its dependencies are pinned to specific versions. This PR allows for more flexibility by enabling any non breaking change version of a dependency to be used.

@amva13 Not sure if you'd like me to include the version bump in this PR or not. Happy to make any changes :)

@malcolmgreaves, sorry for the delay. will review it in the next few days. TDC is submitting a paper.
Skimming it looks reasonable

No worries! Thanks for taking a look. Good luck on the submission 🤞
On Fri, Jun 7, 2024 at 1:18 PM Alejandro Velez Arce <
@.***> wrote:

@malcolmgreaves https://github.com/malcolmgreaves, sorry for the delay.
will review it in the next few days. TDC is submitting a paper.
Skimming it looks reasonable
—
Reply to this email directly, view it on GitHub
https://github.com/mims-harvard/TDC/pull/278#issuecomment-2155231386,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADUXUMSVWDLRX53SFVGPKTZGHTPLAVCNFSM6AAAAABIZCMVGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGIZTCMZYGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

hi @malcolmgreaves this is merged and new version released. Let me know if you still face any issues!
https://pypi.org/project/PyTDC/0.4.17/

Thank you very much! 👏 I'll try it out today!

As a corollary to this MR, would bit be possible to completely relax the version requirement for pandas? I don't think anything in this repo requires pandas>=2.1.4 right?
Pandas has had rapid growth recently and our production containers aren't keeping up... we're living in pandas==1.5.3 right now and depend on PyTDC.


Please support older versions of MacOS (pre Big Sur)

App store won't let me download the app because it requires MacOS 11.0.

Duplicate of https://github.com/oblador/hush/issues/6

Duplicate of https://github.com/oblador/hush/issues/6


Legal Footer on Front Pgae

Is your feature request related to a problem? Please describe.
According to German law I need an imprint and a privacy statement that are easy to reach from the front page. I don't wan't this to take up a lot of space since it is just legal fineprint. The usual solution to this is a tiny footer that appears on all pages. The footer via site.Params.footerText works fine for all pages except for the front page.
Describe the solution you'd like
Add a parameter site.Params.frontPageFooterText to define a footer on the front page.
Describe alternatives you've considered

Include the footer on all pages including the front page. This would save redudant configuration (in my case at least), but break the template's current behaviour for everyone already using the footer.
Make my own template inheriting from Call me Sam. and override the index.html template. I'd prefer to improve the template instead (if the change fits your vision for this template).

Additional context
I'm happy to help with a pull request 🙂
This is how the front page would look like with same footer as other pages:

No objections here!


Update rest-client dependency

Add Jenkinsfile so that these changes can be tested on CI
Upgrade the rest-client dependency to solve dependency resolution conflicts with gds-api-adapters, so that the latest version of gds-api-adapters can be used in info-frontend
Release version 0.0.4

I've heard that we're deprecating this library, but removing it from info-frontend looked non-trivial (given that I haven't worked with either this library or info-frontend before), so I'm just updating it to be compatible with other libraries. It would still be good to revisit this and remove the project altogether, but I hope it's OK to leave that to people who know more about it.
https://trello.com/c/u1H1rgDA/525-some-finding-pages-are-still-being-tracked-as-thing

It might be nice to add a CHANGELOG file to this gem like the others? Also, I think we tend to bump versions in a separate commit. You may also need to use the publishGem function in your Jenkinsfile to publish it on Jenkins 2?

I've added a changelog. 👍
The version bump is already in a separate commit - I just included it in the same PR because it didn't seem likely that anyone would open another PR on this project at the same time.
The buildProject function calls publishGem so it hopefully all just work when these changes are merged to master.

Great - in that case can you please remove the dependency on gem_publisher too?

I don't understand how this gem could be used anywhere, since the app it is a client for was retired a year ago.

@danielroseman It's a dependency of info-frontend, but it looks like info-frontend isn't actually using the url arbiter functionality. It's just using some of the HTTP response and error handling helpers.
What do you think about just moving those helpers into info-frontend and getting rid of this gem?

Yes, potentially. Ideally it would be using the helpers from gds-api-adapters, but not sure how different those are or how much work it would take to convert.

@danielroseman I've tried replacing using gds-api-adapters instead: alphagov/info-frontend#65

The info-frontend change has been merged. @danielroseman: thanks for the suggestion to use gds-api-adapters instead. 👍
I think this means that this repo can be retired altogether. I can't find any alphagov projects which still use it.


redaction

w/ pino-noir

updated, merged, released v2.12.2
build failure may be due to force push (reducing commit noise)
error is "The command "eval git fetch origin +refs/pull/102/merge:" failed."
build is passing on master (after merge)
released v2.13.2 immediately after, direct commit (missing question marks in readme)


Fix for docker_exec does not check the return code of the command it runs

Signed-off-by: Kapil Chouhan<EMAIL_ADDRESS>Description

docker_exec resource was not failing if the command fails, so we have fixed it.
Added returns property

Issues Resolved
Fixes: #1081
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

@kapilchouhan99 I feel writing test cases around this would be good.


it is not possible to use escaped characters as a separator in dates

@RobinHerbots Hello! Can you tell me how can I set the escaped characters that are used to display dates as the date separator.
For example: dd\dmm.yyyy.
I use \d as a separator and it doesn't work on version 5.0.8. codesandbox
The same is true for \m, \y.
Is this a bug or is it done on purpose and there is no longer an opportunity to use it like this?
On version 3.3.0, this feature was: codesandbox
Thank`s for your attention!

OS: macos Monterey 12.5.1
Browser arc
Inputmask version 5.0.8

Confirming that, even the example from the documentation doesn't work:
jQuery('#field').inputmask({ 'alias': 'datetime', 'inputFormat': 'm \\months', escapeChar: '\\' });


reduce tokens in targetsupply when burning

this pr is targeting reece branch

This way the bank.totalSupply will always be right
By reducing target supply, we reduce also the maxSupply and we shorten the halving date

maxSupply is actually reduced way more than the burned coins, because maxsupply is calculated dynamically at each 1 year epoch based on inflation schedule
this table estimates how much the max supply will be impacted for a burn in each phase schedule

Year
Burn Amount
Effective Max Supply reduction

2
1 JUNO
2.04 JUNO

3
1 JUNO
1.70 JUNO

4
1 JUNO
1.54 JUNO

5
1 JUNO
1.41 JUNO

6
1 JUNO
1.31 JUNO

7
1 JUNO
1.22 JUNO

8
1 JUNO
1.15 JUNO

9
1 JUNO
1.10 JUNO

10
1 JUNO
1.06 JUNO

11
1 JUNO
1.03 JUNO

12
1 JUNO
1.00 JUNO

Thanks! This looks good to me. Something with modifying Mint/Burn in both branches seems to break the Unity prop. So ill fix that in the other branch & add a Burn contract tester


rfi exploit

This is a simple rfi exploit with a number of specified targets. You can find more targets to test this exploit.

it's ok

it's ok


Added MySQL System Catalogs

I started out looking at #1171, realising that sqlc already contains all of the Postgres catalogs, then realised we didn't have any MySQL ones. Made a copy of the sqlc-pg-gen tool for MySQL, then tweaked the codegen to exclude the right schemas from being dumped into the output.
Adds:

Tables, Views, Functions and Procedures from the mysql, information_schema, performance_schema and sys databases.
sqlc-dolphin-gen tool to dump the above from a MySQL cluster.

Changes:

Schema exclusion logic to exclude specific sets of schema depending on the engine in use.

Fixes:

Typo in sqlc-pg-gen

Ah looks like the schema exclusion bit in internal/codegen/golang/result.go needs to be propagated to kotlin plugin

Have updated the kotlin plugin here - https://github.com/sqlc-dev/sqlc-gen-kotlin/pull/24


OnNewGameState(GameState gs)

Dota seems to send new information at avg 300 - 500 ms . that is cause of delay.
""Dota 2 Integration Configuration"",
"{",
"    "uri"           "http://localhost:80/\"",
"    "timeout"       "5.0"",
"    "buffer"        "100"",
"    "throttle"      "0.01"",
"    "heartbeat"     "0.01"",
"    "data"",
"    {",
"        "provider"      "0"",
"        "map"           "0"",
"        "player"        "0"",
"        "hero"          "0"",
"        "abilities"     "1"",
"        "items"         "1"",
"    }",
"}",
are these settings tweak able ? there is no documentation for these settings . How can i make the gs to update as fast as possible ?
Thank you

More information on GSI config can be found here: https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Game_State_Integration
Here's a config that I use for my other project, Aurora: https://github.com/antonpup/Aurora/blob/master/Project-Aurora/Profiles/Dota 2/GSI/gamestate_integration_aurora.cfg
Take a look at these, this should fix your problem.


TypeError: '>=' not supported between instances of 'NoneType' and 'int'

Traceback (most recent call last):
File "/home/k1/Social_Science/sci_platform/run.py", line 72, in
platform_example.running(args.epochs)
File "/home/k1/Social_Science/sci_platform/sci_platform.py", line 400, in running
self.team_pool[leader_index][team_index].action_excution(self)
File "/home/k1/Social_Science/sci_platform/sci_team/SciTeam.py", line 92, in action_excution
action(platform)
File "/home/k1/Social_Science/sci_platform/sci_team/SciTeam.py", line 549, in generate_abstract
if metric[split_keyword]>=70:
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>=' not supported between instances of 'NoneType' and 'int'

Hello, it is also caused by the format of the LLM output.


[jvm-packages] support for older versions of spark

I believe we can continue to support older versions of Spark in xgboost4j, as most of the things we "require" from versions later than spark 2.2 can easily be ported into this codebase or replaced with other things.
The worst offender is the usage of org.apache.spark.ml.param.shared which is effectively dropping support for Spark 2.2 because of a few lines of code defining some parameters and getters/setters.
I think we should aim to support Spark 2.2 and later with XGBoost 1.0, as many businesses have extremely large clusters running older versions of Spark.
At very least we should support Spark 2.3+

No, 2.3 is end of life in very soon, 2.4 is the only version we will support before 3.0


Release v1

Here is the basic todo list, feel free to edit.

[x] Theme
[x] Hero
[x] Navbar
[x] Content
[ ] Footer
[x] Repositories
[x] About us
[x] Members
[ ] Final sections

Pull requests #10 , #12 and #13 implement the navbar.

#14 added about us page

Beginning of repository page in #20 . Need to feed data to finish, projects page.

#24 #25 added contact us and members respectively.

will have to fix routing for now.

final features implemented in #28 #26


Normal swipes not working anymore.

Since the edge swiping feature was added, I can't do normal workspace swipes. The edge swiping also seems a bit hard to get to work.

does workspace swipe completely stop working or something else?
are you sure the edge swiping pr caused it? And not the long press pr #70?

I just realized the base threshold for edge swipe is ridiculously high, fixed in #80

It definitely comes from this commit: https://github.com/horriblename/hyprgrass/commit/60bf0c0eef0e506f0291f9b5f7b5d33c56a5efb1

Here's a video to show the before and after
https://github.com/horriblename/hyprgrass/assets/98562002/fe0af174-409d-4008-9777-ba1a61d57589

I just realized the base threshold for edge swipe is ridiculously high, fixed in https://github.com/horriblename/hyprgrass/pull/80

I also tested this and it is perfect now btw!

please send config, if possible reduced to hyprgrass options + the builtin gestures options. and also re-send the video, it seems to be corrupted.

plugin {
  touch_gestures {
    # The default sensitivity is probably too low on tablet screens,
    # I recommend turning it up to 4.0
    sensitivity = 4.0

    # must be >= 3
    workspace_swipe_fingers = 3

    experimental {
      # send proper cancel events to windows instead of hacky touch_up events,
      # NOT recommended as it crashed a few times, once it's stabilized I'll make it the default
      send_cancel = 0
    }
  }
}

gestures {
    workspace_swipe = yes
    workspace_swipe_fingers = 3
    workspace_swipe_cancel_ratio = 0.15
}

https://github.com/horriblename/hyprgrass/assets/98562002/00ae34f5-0c88-4984-a62d-c70198649cad

should be fixed now (#83)
test pls

Tried the plugin again after some time and this has been fixed sinced then


Asking for email when generating confirmation instructions?

Hey guys,
Is there a reason for asking the user to input his email when trying to resend confirmation instructions that I am not seeing?
The user needs to be authenticated in order to be able to ask the system to resend confirmation instructions right? So why not sending the confirmation instructions to the logged in user's email?
Is there a way then to remove the user_email field and resend confirmation instructions just clicking the button?
Cheers,

I can't speak for the team as to why this decision was made, but you can easily override this in the view by passing in current_user.email and hide the div with the form.  This can also be passed into the controller but it may get a bit messy.
I'm curious to see why the email field is displayed considering the user has already been authenticated.  I could see it from a security-oriented standpoint but from a UX view it's a bit unnecessary, I think.

The user needs to be authenticated in order to be able to ask the system to resend confirmation instructions right?

No, that's the wrong assumption here. Many times websites expect user to confirm their account before being able to use it. :)
Also,  Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.


Add improvement-message for vantage

Fixes #2987
Add message :-
"OpenRefine can only import multiple files into a single project if all selected files have the same number of columns."

@tfmorris I'd like to get your review and agreement with this change for improvement of messaging in the UI for users against #2987 If you think it needs to be slightly reworded that's fine, just let @chetan-v know here.

@chetan-v Looks good!

OpenRefine can only import multiple files into a single project if all selected files have the same number of columns.

At the moment we do "support" importing multiple files with different numbers of columns (by merging these columns together). It is a bit brittle (column order depends on the order in which files are imported, for instance) but it should work reasonably well as long as all the files are of the same format.
So I think the message should be changed to something like
"OpenRefine can only import multiple files into a single project if all selected files have the same file format" instead.


External Resource Usage

The following stylesheets are loaded from external third-party hosts:

<EMAIL_ADDRESS>https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css
https://unpkg.com/gutenberg-css
https://unpkg.com/gutenberg-css/dist/themes/modern.min.css
For instance, a potential issue regarding the usage of external resources might be a cross-domain leakage of the
Referrer header.

Originally posted by @pdamian

the following two urls cannot be reproduced

<EMAIL_ADDRESS>https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css

No other place can be found where these can be requested. Probably this belongs to secvisogram as frontend.

I guess they are either when generating the HMTL export or within the frontend...

fixed in #193


Dynamic Links doesn't work properly on iOS13.

Test environment

Xcode version: 11.0
Firebase SDK version: 5.20.2
Firebase Component: FirebaseDynamicLinks
Component version: 3.4.3

What is the problem?

If app was not launched and you click a dynamic link, app is launched and get the dynamic link correctly on iOS 12, but on iOS 13, app is launched, but doesn't get the dynamic url.
If app was in background and you click a dynamic link, app is launched and get the dynamic link correctly on both of iOS 12 and iOS 13.
So my problem is that app doesn't get the dynamic link when app was not launched on iOS 13.

In both the scenarios you described dynamic links should be using the system universal link callbacks. Can you share the code you're using to fetch the dynamic link?

Also it seems that you do not get redirected to the app store if the app is not installed.
On iOS12 this works, iOS13 redirects to the fallback link. The app can be installed on iOS13 devices using the AppStore.

@morganchen12 @ryanwilson thanks for your response.
This is what I use to fetch a dynamic link
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
        if let dynamicLink = DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL: url) {
            self.handlIncomingDynamicLink(dynamicLink)
        }
        Branch.getInstance().application(app, open: url, options: options)
        let handled = ApplicationDelegate.shared.application(app, open: url, options: options)
        return handled
    }

func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
        Branch.getInstance().continue(userActivity)

        if let incomingUrl = userActivity.webpageURL {
            let linkHandled = DynamicLinks.dynamicLinks().handleUniversalLink(incomingUrl, completion: { [weak self] (link, erorr) in
                guard let stongSelf = self else { return }
                if let dynamicLink = link, let _ = dynamicLink.url {
                    stongSelf.handlIncomingDynamicLink(dynamicLink)
                }
            })
            return linkHandled
        }
        return false
    }

@re-ckart app had been already installed on the device when I'd tried to above 2 scenarios.

I'm seeing this problem myself.
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool is just never called

Ok, I found my problem. You might want to update your documentation.
In my case, I started a brand new project on Xcode 11 which uses SceneDelegate as well as AppDelegate
Looks like UniversalLinks (and probably several other APIs) use this callback on the SceneDelegate:
func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { }

Instead of this callback on the AppDelegate:
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { }

Once I implemented the one on SceneDelegate everything started working as expected again. I haven't tried it, but I'm assuming that if you are targeting iOS 12 and below, you might need to implement both methods.
Hope this helps

Thanks for the investigation and analysis @jlubeck!
@dmandar Please take a look.

Thanks for reporting. @re-ckart we are not seeing any issues redirecting links to the app store in iOS 13. Can you confirm by clicking the link from Notes app? Also, you can debug dynamic links by appending the ?d=1 query param. Please reopen if still an issue.
@jlubeck thanks for finding this out. We will investigate and document accordingly.

We are seeing an issue where if you share a link with the Messages app in iOS 13 and wait long enough or cancel the share and try again, the link eventually opens the fallback url before it is shared. Anyone else notice this?

Thanks @jlubeck! I was having the exact same issue and couldn't figure out why.


ALD-11 | Add reCAPTCHA component

Description

Added reCAPTCHA component.
Added tests and docs in the Readme. Note that the test for the component is rather simple because we would just testing a third-party library.

Related Issue

ALD-11 -> Adding the reCAPTCHA component.
ALD-12 -> Receiving the key from the form data passed to the library.

Motivation and Context

How Has This Been Tested?

Tested both manually and with unit tests to verify that:

The form submits when there's no reCAPTCHA.
The form submits when there's reCAPTCHA but it doesn't detect a bot.
The reCAPTCHA modal shows to verify the user is not a bot when it detects bot-like behavior. Upon completing the reCAPTCHA (selecting images that match a word) the form submits normally.

Note that at the end of the testing the reCAPTCHA question has been removed from the example form. The reason is because it requires a key to work, so it would block anyone from using the example since they'd need a valid reCAPTCHA key to run it locally.
Screenshots (if appropriate):
ReCAPTCHA presence in the page:

Types of changes

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

Checklist:

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

Closing this PR in favor of branch ald-11-add-recaptcha-component-bis


Connect all nodes.

Create blockchain network.
Connect all nodes, miners, node-miners together.

Need to connect controllers


Fix clean_models

By copying the model keys before looping through them, you will fix RuntimeError: dictionary changed size during iteration, which currently occurs when deleting all models.
original, with an explanation of the problem (comments for explanation of the problem)
def clean_models(model_key=None):
    global models
    model_keys = [model_key] if model_key is not None else models.keys()  #<-- sets model_keys to a reference of model.keys() if model_key is None
    for k in model_keys:  #<-- loops through model_keys, which is model.keys() when model_key is None
        if k in models:
            del models[k]  #<-- deletes key "k" from models, resizing model.keys(), but model_keys holds a reference to model.keys()
    _clear_cuda_cache()
    gc.collect()

and my solution
def clean_models(model_key=None):
    global models
    model_keys = [model_key] if model_key is not None else list(models.keys())  #<-- we copy the model keys so we can loop through the copy while deleting keys from the "true/canonical" keys.
    for k in model_keys:
        if k in models:
            del models[k]
    _clear_cuda_cache()
    gc.collect()

It's a simple solution for a problem that has been bugging me a lot, as I was unable to unload bark.

@gkucsko

tyty!


VM Repair Extension

Overview
VM repair scripts will enable Azure users to self-repair non-connectable VMs by copying the source VM’s OS disk and attaching it to a newly created repair VM.
Commands Added
Create a new rescue VM and attach the faulty VM's copied OS disk as a data disk.
az vm repair create

Replace faulty VM's OS disk with data disk from rescue VM.
az vm repair restore

How to try out on azure cloud shell
From the azure portal cloud shell run the command:
az extension add --source https://azurecomputeaidrepair.blob.core.windows.net/prod/vm_repair-0.1.0-py2.py3-none-any.whl
az vm repair create -n <vm-name> -g <resource-group-name> --verbose
az vm repair restore -n <vm-name> -g <resource-group-name> --verbose

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/swbae31/azure-cli-extensions.git@repair_init#subdirectory=src/$EXT&egg=$EXT"

@tjprescott

This extension has implicit dependencies on network, compute, storage and ARM that should be explicit. Calling into CLI commands like that is a bad practice that will likely break your extension without warning. @tjprescott

Before I started the project I consulted with your team to ask how I would reuse the infrastructure already built in the CLI commands such as creating VMs, and copying disks. I thought it would be inefficient to rewrite all the code which validated the VM templates, called the API, handled errors, and etc. which were all already heavily tested and used on the current CLI release. I was leaned on using the internal functions in other command modules but your team recommended that I call the CLI commands directly, since it would be cleaner and more durable.
@adewaleo
Tosin added to this that while the repair command is an extension, I could run auto run scenario tests before the bimonthly CLI command rollout on the new release. And after the commands are joined in as core commands in some point in the future, the integration tests will ensure that if other module changes break the vm-repair code, the dev who made those changes will know and make the appropriate changes to fix the breaks.

Hey Sungwoo, can you rebase with master first before merging?

The repair-restore script will fail if the VM´s OS Disk is Encrypted (as the OS Disk swap API does not support encrypted disks). This exception is handled on the restore phase only.
Can we add some warning for this aspect right after the repair-create command execution!? That should save time and prepare the script users for this scenario.
Also, on this same VM encrypted scenario, the attached "broken OS disk" on the repair VM will be unavailable (because its encrypted) - Can we consider adding the reference on how to unlock the drive on the output?
https://blogs.technet.microsoft.com/mckittrick/unlock-azure-drive-locked-with-bitlocker-bek-encryption-arm/
https://blogs.msdn.microsoft.com/mast/2016/11/27/azure-disk-encryption-how-to-recover-bek-file-from-azure-key-vault/
Example of my test:
_diego@Azure:~$ az vm repair restore -n EncryptedVM1 -g SRxxxxx --verbose
Searching for repair-vm within subscription...
Repair-vm-id not given, restoring from only matching repair VM: /subscriptions/xxxxxxxxxx/resourceGroups/repair-EncryptedVM1-20190709152458/providers/Microsoft.Compute/virtualMachines/repair-Encrypte
Disk-name not given. Defaulting to the first data disk attached to the repair VM: EncryptedVM1-DiskCopy-20190709152458.vhd
Detaching repaired data disk from repair VM...
Attaching repaired data disk to source VM as an OS disk...
ERROR: Swapping OS Disk is not supported for VMs using disk encryption.
Repair swap-disk failed. If the restore command fails at retry, please rerun the repair process from 'az vm repair create'.
command ran in 44.696 seconds._


Improve handling for drivingScrollView if multiple ScrollViews exist

This PR is meant to fix Issue #16
The idea for how to solve the problem of finding the correct scrollview to tie the overlays behaviour to is simple. Wrap the content that is marked with .drivingScrollView in a UIKit View that does nothing except hold the content as a subview. This Wrapper can then be found in the overlays view hierachie and then the first UIScrollView in the wrapper is used. Consequently the drivingScrollView modifier needs to be used on the ScrollView/List that should drive the overlay.
From my testing this allows the user of the library to choose precisely the Scrollview that should drive the Scrollview.
This will however break old usages of the drivingScrollView feature if they depend on the first Scrollview in the Overlay being found (which in my opinion has always been an unintended way to use this).
I am unfortunately not yet well versed enough in both UIKit and SwiftUI to be sure that there are no unintended side-effects to my changes, but at the very least all test still run successfully.

Hi @Lumentus thanks for the PR!
Could you target feature/improve-driving-scroll-view instead of the main branch? I will try to improve the subview inspection once your branch is merged.

Hi @gaetanzanella
i will do both those things on Monday. Currently there seems to be a problem that can happen with my changes, since at work we have had some crashes with them. I will examine topfst on Monday as well.

In our app these changes lead to problems with this: https://stackoverflow.com/questions/58573640/runtime-error-precondition-failure-attribute-failed-to-set-an-initial-value. I don't think this is actually a problem that is caused by the overlay, but just SwiftUI in general.


modify post-self-insert-hook locally, not globally

Right now rust-mode adds rust-match-angle-bracket-hook to post-self-insert-hook
globally.  This behaves a bit strangely in other modes.  This patch changes it
to add to the hook locally instead.

r? @pnkfelix
(rust_highfive has picked a reviewer for you, use r? to override)


business recommended fields

Business recommended fields do not have the blue cross next to them anymore.

you can vote here: https://ideas.powerapps.com/d365community/idea/e2a1036f-f4d5-ee11-92bd-6045bd7ac068


Allow the cancellation of unsent messages

Currently if a message is sent by the client but the server has not received it there is no way to 'cancel' the message. This would be a useful feature for people who's internet is not reliable, because if someone's internet drops out just before they send a message, by the time their internet is back up the message they send will be redundant and out of context.
I could imagine it looking something like

(with an icon, of course)

@zulipbot claim

@XavierCooney Cool. As a first step ti implement this lets not show the timestamp after the message is sent. Instead of the timestamp we can show Sending ... (with half opacity after 2 seconds). Once the message is received this can be replaced with timestamp. Does that makes sense?

@timabbott is this feature needed?

Potentially, but it's definitely a low priority and tricky in several ways.  I don't think this is something I'd expect you to succeed at @Raghavareddy21 .

Closing in favor of #29121.


Add symbolic links for libssl and libcrypto to Debian 9 builds.

PR Summary
On Debian 9, libmi cannot resolve libssl and libcrypto.  This change adds symbolic links to packaging and build to the $PSHOME directory to resolve the issue.
The fix was verified interactively connecting to office 365, importing the session, and ensuring Get-MailBox and Get-User succeed.
Fix https://github.com/PowerShell/PowerShell/issues/7598
PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
[X] Change is not breaking
[NA] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[X] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[X] Not Applicable or can only be tested interactively
OR
[NA] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

@adityapatwardhan can you update your review?


Basic Package testmempoolaccept

Extremely basic (and ugly) implementation of package testmempoolaccept. The cpp code is pretty atrocious too, please don't judge.
Uses CoinsViewMemPool to persist knowledge about inputs across transactions without actually submitting to mempool.
Still todo, PreChecks for each transaction first before getting into script checking for better performance and to fail faster.
Requires ordering by dependency, so we also need a sortPackage function if this would be used for packages from p2p (txrelay shouldn't have ordering guarantees).

tiny cleanup, need to fix something...


TEP-0142: Introduce Params and Results into StepActions CRD

This PR introduces params and results into the StepAction CRD. It allows the StepAction to declare the params it needs and the results it will produce.
The follow up PRs will contain the interaction of how a Task referencing the StepAction resolves them.
All the tests were borrowed from pkg/apis/pipeline/v1/... that overlapped with paramSpec and Results.

Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
[WIP] Introduces params and results into the StepAction CRD.

/kind feature

@tektoncd/core-maintainers @tektoncd/core-collaborators please take a look 🙏🏾

/retest


Actix plugin: Response codes other than 200

With the current actix-web flow, we can (atmost) get two types of status codes through Result<T, E> and for everything else, we only have one status code. So, we need to think about how we can represent error models used by the server.

I just came across this limitation and am having a go at solving it for my use case.
There are more complicated use cases such as services which could return several different types of successful responses and in those cases it would be better to have real descriptions, but I don't think I'll need those any time soon.
The solution i'm attempting is a series of structs implementing Responder and Apiv2Schema which repeat the implementations on Json + one for StatusCode::NO_CONTENT. I like that there is no ambiguity here, you either get the status code set on both the responder and on paperclip or on neither.
So a handler becomes:
#[api_v2_operation]
pub async fn handle() -> Result<CreatedJson<JustMessage>, Error> {
    Ok(CreatedJson(JustMessage {
        message: "Successful.",
    }))
}

Implementation in gist : https://gist.github.com/platy/e0bc44e0ce91c8268dcf0d9689e1f974


fix: properly support text responses

This PR fixes an issue I found while working on improvements to Go unit test generation in the SDK generator.
Specifically, this PR adds support for receiving a text-based operation response (i.e. a response whose Content-Type header is "text/html" or "text/plain", etc.).  For text-based responses, we would expect the result to be set in the DetailedResponse.Result field as a string.   Prior to this change, text-based responses were incorrectly handled just like a byte-stream type response (i.e. the DetailedResponse.Result field would simply be set to the io.ReadCloser that wraps the bytes contained in the response body).

Closing this as we do not want to pull in this change.   Instead, we'll ensure that for both text and non-text mimetypes, generators will use the language-specific "stream" type as the return value of the operation.  Example: InputStream (Java), io.ReadCloser (Go), etc.


Fix Error Message for Accessing Incorrect Field Name of Closed Records

Purpose

Adds a diagnostic error when accessing a non-existing field name of closed records

Fixes #30873
Approach

Samples

Remarks

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[x] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

I think we need to rethink the error message.
type R record {
    int i;
};

public function main() {
    R r = {i: 0, "j": 22};
    anydata jr = r["j"];
    anydata ir = r["i"];
    anydata j = r.j; // undefined field 'j' in record 'R' // this is wrong: this field is defined.
}

The types of scenarios where the Record Field Access Expression may log diagnostics, are listed down here:
https://docs.google.com/document/d/16tQz2zM3BwU2RKt3i_jSD1puLET-rDDcS1ocLtiiZBo/edit?usp=sharing
The solution would align accordingly.

I think we need to rethink the error message.
type R record {
    int i;
};

public function main() {
    R r = {i: 0, "j": 22};
    anydata jr = r["j"];
    anydata ir = r["i"];
    anydata j = r.j; // undefined field 'j' in record 'R' // this is wrong: this field is defined.
}

@rdhananjaya
With the new approach, the error message for this would be: invalid field access: 'j' is not a required field in record 'R', use member access to access a field that may have been specified as a rest field.


Get Real World coordinates in meters

Hi, I'm working on the "pose_world_landmarks" to get the real-world coordinates in meters. I was able to capture the true depth values of the x and y axis in my camera coordinate system using the following snippet but I am unable to get the z-axis.
           x_coord = pose_landmarks.x * frame_width
           y_coord = pose_landmarks.y * frame_height
Any leads would be appreciated.

@sgowroji

If I understood the docs correctly the z position is based on the geometrical center of the pose so not usable for world z position.
The trick I tried is calculating the x,y distance between the 2 points of the mouth, the larger that distance is the closer the subject is from the camera. It's super hacky but can work in some cases.

Hi @ridasaleem0,
Is it implemented through the Python, JavaScript or other solutions available?
Could you help us to understand the issue better and steps followed to reproduce the issue from our end. Thank you!

@kuaashish Thank you for your response.
Currently, I am utilizing Python's "pose_world_landmarks" function to get to the 3D pose points. I am able to convert the x and y axis into actual real-world coordinates according to my camera width/height rather than using the normalized values that the API returns. However, I am not sure how we can get the z-axis in the same way? Any help on that side would be appreciated.
Previously I was using Mediapipe's 2d pose landmarks function to get pose points and then using a depth camera to transform them into real-world 3d coordinates. However, I want to replace my depth camera with an off-the-shelf RGB camera and use Mediapipe's "pose_world_landmarks" function to get those depth values.

Hi @ridasaleem0,
The MediaPipe pose model provides z-keypoint which is an "estimate" from the GHUM model using 2D projecctions. The z-keypoint represents the distance "relative" to the plane of the subject's hips, which is the origin of the Z axis. So you can imagine a vertical place at the hip joint of the subject and any value <0 represents distance between camera and person.
So you can filter out negative valued z-keypoints to know if a key-point is between camera and hip or beyond. However, as the distance is relative, it cannot be used to reliably estimate  metric distance of real world. For details, please refer the model card here. Thank you!


In Action Logs getting error failed with code: BACKEND_FAILURE

Please provide more information about how you arrived at this issue to see if it can be reproduced.

While performing Queries Command we are getting this logs in Action Logs under logs viewer.

@varadujjainkar are you experiencing this with this sample or your own implementation?

Closing as obsolete.

Closing as obsolete.


Support --bin to output bytecode.

Component
Forge
Describe the feature you would like
Supporting the --bin flag to output bytecode into out/*.bin would be extremely useful for tools like geths 'abigen.
Right now, the only path to do so is to use solc directly
Additional context
No response

good idea, this will be possible via --extra-output-files bin once the linked PR is merged


Verification

Can I get a guide on how to setup verification (where do I get the keys?) I can't find anything about haoi online.  Should I use haoi or 2captcha? If 2captcha then what kind should I get? There are many options from their API website.
I'm not sure how to go about this setting verification up, help will be very appreciated.

I believe the author is currently updating the verification features.

I believe the author is currently updating the verification features.

Ah okay, thats cool. Thank you for letting me know.

Hey any updates?

Привет, есть обновления?

У тебя этот бот работает? Как его установить?


Add ERC: Wallet Asset Discovery

JSON-RPC method for wallets to share a user’s complete asset list with Dapps, including assets not easily discoverable through on-chain information alone.

Ethereum/ ERCs #709


Upgrade to new LTS Spring-Boot 3.2.x and Camel 4.4.x

Hi @geoand,
could you please merge and organize a minor release is getting done soon? Unfortunately, @jacobdotcosta does not react on any of my last requests.
Thanks, Benjamin
FYI @cunningt: Getting master in sync with jboss-fuse fork, again. ;)

One week later and nothing happens. Hmm...

I'll do the release now.

I've released 3.1.0.Beta1, could anyone take a look at it before I do the Final release? Not in Maven Central yet though.

Hi @jacobdotcosta,
thx for doing the release. Actually, I see that <tag>3.1.0.Beta1</tag> in parent pom is not switched back to HEAD after release. Anyway, I could successfully checkout and build tag 3.1.0.Beta1 and do a quick test.
Best regards
Benjamin

Thank you @graben . I've fixed the tag and will make the definitive release.

@jacobdotcosta don't forget to patch samples manually after release. Those poms are not affected by maven-release-plugin!


svg backgrounds

Why palm trees? (Also 85kB.)
I find the square dots a little weird, but maybe better than the current blank space. Oh, I think it's mainly because this is my usual browser width:

It looks better when the browser is wider.
Related: Why do we force the width of the page, instead of being responsive?  A minimum width seems reasonable, but I'm not sure why we should have a background at all...

Why palm trees? (Also 85kB.)

I'm going for a sort of vaporwave / art deco jungle aesthetic.

We could optimize our non-svg images and save ~1MB before we worry about the svg size :)

Related: Why do we force the width of the page, instead of being responsive? A minimum width seems reasonable, but I'm not sure why we should have a background at all...

I'm not sure what this means, the square pattern is centered in the content so remains symmetric for all widths. The backgrounds disappear for screens <960px though we could improve the responsive design eventually to add more brand to it as well.

Ooh, pretty. I'm definitely a fan of the colors. For non-geometric imagery (palm trees), I guess I was hoping for something Civet-related. Some ideas:

Instead of dots, we could have coffee beans?
Instead of palm trees, we could have a cute Civet?

I was asking why we cap the width, instead of letting it fill the browser width, like so:

But now that I hacked that in, I can see why — it's pretty hard to read.

We should have a Civet and coffee cups or beans in addition to rather than instead of. Eventually we can have a rich jungle backdrop. Maybe have a Civet with a cup of coffee on the 'Tip' card and say "Civet sez:" :P

Opinion alert!
While the language itself aims for simplicity, the theme of "vaporwave/art deco/jungle/cosy cute civet" tries to be many things at once which I find a bit contradictory, as an obvious comparison the page for coffeescript communicates the concise and simplistic nature of the language very well.
Maybe it would be better to go with a less saturated and more earthy color palette that resembles the shades of a civet's fur, coffee and the jungle better, I can see how art deco could be brought into this to aim for a kind of 20s exotic coffee label vibe but I can't find the vaporwave and loud pink and purple relevant. Overall, style is quite subjective so don't take it the wrong way, just sharing my opinion.
Civets and coffee are obvious elements that can't be separated from the language and palm trees come naturally with civets (as they live around and feed on the juice of palm trees afaik). Also, the pattern of civets' fur is rather interesting visually so it might be a good choice to capitalize on that somehow before reaching for something unrelated like vaporwave or art deco. Personally I find the civet mascot much more approachable and inviting (much like civet the language) than the somewhat cold nature of the vaporwave palette and the luxury art deco feels.