[DISCUSSION] Allow more URI schemes

Description of the new feature/enhancement
We recently added support for hyperlinks (but only certain schemes so far). We should add support for more URI schemes.
Discussion points:

Which schemes should we support?
Which schemes can be easily allowed without much security risks and which would require more thought?
Is it on us to deal with the security concerns with regards to clicking links or is that on the user?

What about a more generic implementation of URI parsing to match anything that fits the RFC, and leave handling actually opening it to Windows? Artificially implementing schemes, explicitly, on a one-off basis, seems limiting and more complex.

You are completely correct that this way is more complex/limiting. However there are security concerns with regards to allowing any scheme to be opened (see the discussion in #7526 for example).
That being said, I have marked this issue as a generic place to discuss adding support for more URI schemes, and further concerns regarding security/viability/etc can be talked about here.
@j4james, would love to hear your input on this!

Well taken.
I tend to be of a mind aligning with the third bullet point above, for a few reasons:

This particular feature is just a convenience to the user, and isn’t likely to be a primary means of interacting with it.
A user who has downloaded, installed, and is using Terminal is significantly less likely to be a novice user who doesn’t understand the repercussions of clicking random links.
The text, as displayed, is the link, is it not? In other words, it’s not like an HTML page, where the displayed text may not match the actual target of the hyperlink.
I highly doubt a malicious actor would go through the effort of having someone open up Terminal in order to carry out their dirty deeds, when there are far simpler ways of getting someone to click a nasty link.

A question/thought, though: If clicked hyperlinks are launched in such a way that UAC will be invoked, regardless of the permissions Terminal was launched with, would that not also be a fairly decent safeguard, leaving all responsibility then up to the user to confirm they want to do something potentially dangerous? Is that behavior possible?

I think by default most protocols should warn the user before opening, similar to the way browsers do, with a dialog telling them exactly which application is going to be opened, and the url that triggered the event. We can whitelist a few protocols by default (http being an obvious candidate), but I think that list should be really short. Users can always choose to whitelist individual protocols, but I wouldn't make that too easy for them, otherwise they'll just blindly whitelist everything.
When it comes to the file protocol in particular, we need to be even more careful. I don't think it's good enough to have a blanket whitelist for all file urls. One possibility would be to whitelist particular file extensions in the same way we would whitelist the protocols. So we default to popping up a warning - again letting the user know exactly which application is going to be opened - and then they can always have an option to whitelist trusted file extensions if they really want to.
Another thought I had was to ShellExecute the file urls using an edit verb. So for example if you clicked on a file url for a Python script, ideally we want to allow that to open in an editor, but never allow it to execute. I don't know how feasible that is in practice, though. Does edit guarantee that nothing will every be executed? And are there any file extensions that we would want to support that couldn't be opened that way? That needs to be investigated.
Finally, I should point out that I'm not a security expert, but in my experience security people tend to be way more paranoid than me about stuff like this, and I'm terrified of this functionality. If I were you, I wouldn't want to implement anything that hasn't been signed off by someone senior in Microsoft's security team, especially if we're planning to add hyperlink support to conhost as well, or if Windows Terminals is going to be become the default Windows console one day.

I looked for ways to avoid having a list of safe URI schemes in Windows Terminal, but didn't find any.

IAttachmentExecute: Requires a file name.
ASSOCDATA_EDITFLAGS (FTA_OpenIsSafe, FTA_AlwaysUnsafe) or AssocIsDangerous: Most ProgID keys that have a "URL Protocol" value do not have any "EditFlags" value. Some have FTA_Show = 0x00000002 or FTA_SafeForElevation = 0x00200000.
Bind Context String Keys (perhaps an IBindCtx could be provided via SEE_MASK_FLAG_HINST_IS_SITE): Nothing suitable.
STARTF_UNTRUSTEDSOURCE: Could be added via ICreateProcessInputs::AddStartupFlags, but ShellExecuteEx might not create a process, and the URL handler application might not support the flag.

ASSOCSTR_FRIENDLYAPPNAME and IHandlerActivationHost seem to be ways to get the name of the URL handler application, if Windows Terminal wants to display that in the warning.

So, in general I agree with the arguments made on behalf of security here. However, there's one issue that tips me in the other direction:
Given the basic premise that a remote application can't generate meaningful file URIs (it lacks knowledge of the layout of the remote system and any ability to drop files in known places), the concern about an application printing a link to an executable or executable document applies only to local applications.
But then... any would such a local application that can produce a path to a malicious executable not itself simply do the bad thing? It's running with the user's integrity level and identity already. It can do far, far worse things than trick the user into clicking a link to another EXE file. It is, or can just directly spawn, an EXE file.
The same holds for URIs handled by applications that act immediately (like a hypothetical ms-settings:reset_system?confirmed=yes&confirm_token=aaaaaa (which doesn't exist, but illustrates the point). Those applications are already potential vectors for attack regardless of who's calling them.
So I guess my question is ... what's the attack, and how does Terminal launching file URIs amplify it?

If we were talking about terminal automatically fetching (or launching!) URLs as directed by an application, I'd be more concerned . . .

I've located an internal contact related to URI handling and reputation. We'll reach out to the experts at Microsoft who have already handled this for other products and get some advice.

Given the basic premise that a remote application can't generate meaningful file URIs (it lacks knowledge of the layout of the remote system and any ability to drop files in known places),

If it knows you're on a Windows box, it can reasonably assume it'll be able to find a bunch of executables under c:\Windows, or /mnt/c/Windows. It doesn't have to be right 100% of the time.
Also, note that most exploits are a combination of vulnerabilities. You may be thinking this isn't a problem because an attacker can only execute files that are already on the system, but can't drop files there. But there is likely also a developer somewhere thinking they don't have a problem because their vulnerability only allows the attacker to drop files on the system, but not execute them. Combine the two and the user is screwed.
I should also mention that the original proposed hyperlink code would already have allowed a file url to run remote executables using a UNC path to a public SMB share. In my tests, the OS did at least seem to detect that as a remote executable and provide a warning, but I wouldn't want to rely on that being an insurmountable defence. Anything that lets an attacker get closer to an exploit is a bad thing, even if it doesn't seem to go all the way.

I would love to be able to create mailto: and msteams:// clickable links similar to how we open https:// hyperlinks in MS Terminal.  I can't tell from the above discussion if we will see this capability or not.  Hopefully, there will at least be some way to achieve this through a work-around or official feature.

note to self: Write-Output "`e]8;;msteams://foo`e\This is a link to teams?`e]8;;`e\" doesn't work, cause we manually block that.
I don't think we ever came to a decision one way or the other. We need to find someone who's an actual expert in this area to give us a bit more feedback. I don't think we're opposed to the idea, but we just don't want to go into this blindly 😄

Would love to see support for ::{CLSID} and shell: schemes
For example, I have an interactive directory explorer (https://github.com/Araxeus/ls-interactive) and I'm trying to make everything a link
The problem is linking to My Computer - there isn't any valid path to it, only one of the schemes mentioned above
shell:MyComputerFolder

::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

here's one convenient source for those: https://docs.rainmeter.net/tips/launching-windows-special-folders/

Big 👍 here.
If there's uncertainty over which schemes are "safe" to automatically allow, it seems to me a configuration option to enter a list of schemes (or a URL regex) would be an effective stopgap. I have scripts which output vscode:// and similar URLs as mentioned in a comment above and it's ineffective in Terminal.

Maybe some URI's that aren't a security concern can get added first?  Who actually decides what can get added and what can't?

I mean, ultimately we as the maintainers decide what can and what can't, though, with feedback from the community. I kinda come down to two trains of thought:

What schemes are safe for us to enable always? https, sure, but the rest I honestly don't know enough about the threat space here to make any sort of decision. That's where I'd love input from someone who is an expert, and that we haven't had the cycles to dig up.
How can we conditionally add support for additional schemes? Even if we don't allow all of them by default (and I'm sure we never will), what's the best way of enabling users to pick and choose which are enabled? Is this just a list of well-known URI schemes that we let folks opt in to? Or maybe more broadly a whole list of regexes? How do these layer (i.e. profile-specific settings on top of profiles.defaults ones)? Another question I certainly haven't had the cycles for recently.

@zadjii-msft IMO enabling people to add schemes at least (much simpler than allowing complete URI regexes, and I don't really see the benefit as the URI regex should match all of them anyway) would already be a good 80-90% solution.
I'd add phpstorm or vscode to an array of allowed schemes in my config (augmenting the defaults of https, http, file) and would become able to click those links. By doing this I'm also taking the responsibility for possibly adding threat vectors, but I doubt there are many ways URIs can be abused, as links are so prevalent online.
Given the utility this brings for developers opening files directly in editors from CLI output, I think it's well worth the addition and the minimal risk this carries.
I fully understand you don't want to spend too much time on a 100% solution here, but it seems like adding the config option for schemes and supporting it in https://github.com/microsoft/terminal/blob/143127d6c4810488df851ae99abe5789fec11e10/src/cascadia/TerminalApp/TerminalPage.cpp#L2461 and wherever the highlighting-on-hover/parsing happens (I could not find this, grepping for http or file is a nightmare 😄) is reasonably low effort and would resolve the issue for most I'm sure.


Add a setting to control applying area transform to gravity

Change for #79243
This change adds a new parameter to Area3D, which determines whether or not the gravity calculation of an area should take the area's transform into account.
The default behavior before this setting was to take the transform into account when using the gravity is a point setting, but not when using a simple vector to specify the gravity. The new default value will be true in both cases.
I still need to add some logic to the project upgrade functionality which should disable this setting in older projects for areas using a vector to specify gravity, so that this does not break compatibility, but I couldn't find where this upgrade is done (except the one which upgrades godot 3 -> 4). I would appreciate if someone could point me in the right direction for this.
test_gravity.zip
Here's a project containing the new setting showing how it works.

Bugsquad edit, closes: #79243

Thanks for the contribution! The physics team is assigned for review, but it's currently short on contributors, so it might take some time. Feel free to drop by the #physics channel on the Contributors Chat to discuss your proposal.
For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.

Should be added to the 2D physics as well for completeness IMO, if added

Added the fact that this breaks compatibility by the default behaviour of the property, and it's change of behaviour with the point gravity if turned off

I've applied the requested changes to the 3D code. I'll work on making the same feature in the 2D code.

Okay I've also gone ahead and implemented the same functionality into Area2D. I've updated my example project to include a 2D scene:
test_gravity_with_2d.zip

For 2D you instead use basis_xform on the Transform2D

The documentation has to be in alphabetical order, you get this automatically if you compile the code and run --doctool on the compiled program

Correct me if I'm wrong, but if this feature proposal had an associated Godot Improvement Proposal, then the answer to

If this enhancement will not be used often, can it be worked around with a few lines of script?

would be yes: store the original vector in a Vector3 variable on _ready, and apply the area transform whenever necessary, i.e. on _ready and whenever the area is transformed.

That is true, reasonable workaround, maybe add it to the issue and we can discuss that part more there


Avoid Eclipse warnings about lombok.NonNull when NonNullByDefault is used

When annotations based null analysis is enabled in Eclipse and NonNullByDefault is in effect, @lombok.NonNull causes warning, e.g. in the following example:
import org.eclipse.jdt.annotation.NonNullByDefault;
import lombok.NonNull;

@NonNullByDefault
public class App {
	String f(@NonNull String s) {
		return s;
	}
}

two warnings are reported  at the @NonNull annotation:

Dead code
Redundant null check: comparing '@NonNull String' against null

(obviously, both warnings are only reported when enabled in the Compiler preferences)

Wow, when I read this I was totally expecting a scan for the @NonNullByDefault annotation, but this is a much better way to go about it. Let me just review this first, but this is the right approach.

@brychcy Can you send another PR where you add your name to the AUTHORS file? Thanks!


more changes for building with vs2019/msvc

@romainguy, are we just waiting for another review on this?

I'd like @pixelflinger and @bejado to review these changes. Also, I'm on vacation this week :0

OK, sorry for being pushy @romainguy, even on vacation you answer immediately :-)! Bonnes vacances!

Looks like our CI is failing (unrelated to these changes), so I'd like to investigate and get those green before merging. Otherwise LGTM.

@bejado, is the CI issue fixed?

CI issue should be fixed now. I'll defer to @pixelflinger for the final LGTM.

@pixelflinger, are you OK with the changes?

@pixelflinger, are you OK with the changes?

Now @pixelflinger is on vacation for the week :) Sorry about that, we've be able to give your PRs a lot more attention starting next week. I really appreciate both your hard work and patience, we're really grateful for these changes.

OK, many thanks @romainguy for the update, I will be patient!

Note: we're moving our CI & presubmit builds from our internal system to GitHub Actions. This will allow us to build Filament with Visual Studio 2019 easily.

This is great news, thanks @romainguy . I hope we can accelerate merging my changes somewhat, so the master branch can actually build with MSVC frrom vs2019 (like it does on my side). Once we have the CI checking native MSVC builds it will guarantee these are not broken, which will be great!

@pixelflinger when do you think you can review this PR?

Hey @greg7mdp, do you have additional changes (other than this PR) that need to be merged to support MSVC 2019? I'm trying to build this branch, but still running into a lot of issues even with the latest MSVC.

No, there are other changes. I was trying to submit one PR at a time so I wouldn't overwhelm the filament devs, but I couldn't get this last PR reviewed and it got stuck.
If you want I could submit a PR with all my changes to build with vs2019, Many of the changes are in various CMakeLists.txt.

@bejado, after waiting over a month for my PR to be reviewed, now I do have a number of merge conflicts to resolve, so it is going to take me some time to resolve them. I'll let you know when I'm done.

@greg7mdp Sorry about the delay. After the merge conflicts are fixed, this PR should be good to merge. As for the rest of the changes, feel free to put them in a single PR (you can use multiple commits to separate logical changes if you wish). That way we can review them all together.

@bejado, unfortunately I am having a very hard time building filament with MSVC after grabbing the latest changes. Mathias changed the DriverAPI.inc macros in a way that doesn't build anymore with MSVC. I'm getting many errors like:
1>C:\greg\github\filament\filament\backend\include\private/backend/DriverAPI.inc(106,1): error C2061:  syntax error: identifier 'PAIR_ARGS_E'
1>C:\greg\github\filament\filament\backend\include\private/backend/DriverAPI.inc(109,1): error C2061:  syntax error: identifier 'PAIR_ARGS_E'
1>C:\greg\github\filament\filament\backend\include\private/backend/DriverAPI.inc(112,1): error C2061:  syntax error: identifier 'PAIR_ARGS_E'

I tried including the older version of the file instead, using:
#if defined(_MSC_VER)
    #include "./DriverAPI.inc.msvc"
#else
...

But then I have error when building filament:
4>Generating venetian_crossroads_2k/venetian_crossroads_2k_skybox.ktx, venetian_crossroads_2k/venetian_crossroads_2k_ibl.ktx
1>OpenGLDriver.cpp
1>C:\greg\github\filament\filament\backend\include\private\backend\./DriverAPI.inc.msvc(405,1): error C2672:  'filament::backend::CommandType<void (__cdecl filament::backend::Driver::* )(int32_t,int32_t,uint32_t,uint32_t)>::Command<void filament::backend::Driver::setViewportScissor(int32_t,int32_t,uint32_t,uint32_t)>::execute': no matching overloaded function found
1>C:\greg\github\filament\filament\backend\include\private\backend\./DriverAPI.inc.msvc(405): message :  while compiling class template member function 'void filament::backend::ConcreteDispatcher<filament::OpenGLDriver>::setViewportScissor(filament::backend::Driver &,filament::backend::CommandBase *,intptr_t *)'
1>C:\greg\github\filament\filament\backend\src\opengl\OpenGLDriver.cpp(132): message :  see reference to class template instantiation 'filament::backend::ConcreteDispatcher<filament::OpenGLDriver>' being compiled
1>C:\greg\github\filament\third_party\robin-map\tsl\robin_growth_policy.h(206): message :  see reference to class template instantiation 'std::array<size_t,39>' being compiled
1>C:\greg\github\filament\filament\backend\include\private\backend\./DriverAPI.inc.msvc(409,1): error C2783:  'void filament::backend::CommandType<void (__cdecl filament::backend::Driver::* )(int32_t,int32_t,uint32_t,uint32_t)>::Command<void filament::backend::Driver::setViewportScissor(int32_t,int32_t,uint32_t,uint32_t)>::execute(M &&,D &&,filament::backend::CommandBase *,intptr_t *) noexcept': could not deduce template argument for 'M'
1>C:\greg\github\filament\filament\backend\include\private/backend/CommandStream.h(153): message :  see declaration of 'filament::backend::CommandType<void (__cdecl filament::backend::Driver::* )(int32_t,int32_t,uint32_t,uint32_t)>::Command<void filament::backend::Driver::setViewportScissor(int32_t,int32_t,uint32_t,uint32_t)>::execute'

At this point I don't really know what to do. I can commit my current state, but then all my changes will be added to this PR I think. I think most of the changes are safe, and I guess you guys could pick and choose which ones you want.
Or I could work on getting filament to build again with MSVC first, but it will take me a few days probably.

I tried to create a new branch (greg7mdp/cmake) to submit my other changes separately, but I get this error in github:

Do you know what the problem might be? I don't know git well at all.

@greg7mdp I haven't used the GitHub desktop client, but looks like the relevant part of the error is:

refusing to allow an integration to create or update .github/workflows/presubmit.yml

This issue seems related. Maybe try removing that file on your side? It's unrelated to MSVC changes.
At this point what I'd recommend is pushing all your MSVC changes to a branch and creating a PR, even if it's out-of-date with our master branch. Then we can look at the merge conflicts and help decide how to best fix them.

@bejado, @romainguy, I caught up this branch, I think it is ready to merge now.

CI is failing, but unrelated to these changes :/ I'm able to build locally, so I'll go ahead and merge.

Thanks @bejado!


Some OpenStreetMap files cause AmbitBuildingGenerator and AmbitRoadGenerator to fail

Some OSM files fail to cook properly when used with AmbitBuildingGenerator or AmbitRoadGenerator. The cook fails with an error message similar to the following:
Error
Invalid source /obj/test_fail/osm_import1/read_in_map_data
Error: Python error: Traceback (most recent call last):
File "<stdin>", line 328, in <module>
File "<stdin>", line 283, in parse
File "D:\Houdini19\python37\lib\xml\etree\ElementTree.py", line 1224, in iterator
data = source.read(16 * 1024)
File "D:/Houdini19/python37\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 8596: character maps to <undefined>

This is a known issue that the AWS Ambit team is working to address. We don't yet know the conditions that cause the failure to occur, but we've noticed the issue happens frequently with OSM exports of the downtown Seattle area. A sample OSM file which causes these errors is attached.
We will update this issue as we learn more.
map.osm.txt

This should now work properly on the latest Houdini build with the latest SideFX Labs installation, 19.0.498. For issues pertaining to this error, please upgrade to that version.
If utilizing 18.5.x, please manually install the latest SideFX labs from the GitHub repository until they backtrack it to that version of the software.


Redesign and/or remove support for Numerical coalescence style

Because quadgk is causing so many issues with optimization tests (and for future GPU support), we need to either rewrite our numerical coalescence style to use a different integration package; OR remove support altogether.

Let me know what you ended up doing. We do use quadgk in CM.jl for one of the P3 scheme integrals...
@charleskawczynski - would it make sense to take the quadratures and quadloop out of the ClimaAtmos depths and make it into something that different repos can use for numerical integrals?

Yeah, I think that would be useful. What are the errors we're seeing with quadgk?


Wrong month returned

I have calendario showing october month, it also shows some November days, but when I use onDayClick.calendario event and click on November first, "dateprop" returns:
data: Object day: "1" month: 10 monthname: "Oct" weekday: 7 weekdayname: "Sunday" year: 2015
it should retrun:
data: Object day: "1" month: 11 monthname: "Nov" weekday: 7 weekdayname: "Sunday" year: 2015

What version of Calendario are you using?

I use 4.1.0

My test shows something different,

I will attach screenshots below to see where is the bug.
![2015-10-06 15_43_11]
(https://cloud.githubusercontent.com/assets/5862640/10308822/2d5bdb52-6c41-11e5-9a08-9fef44fcafd2.png)
![2015-10-06 15_42_09]
(https://cloud.githubusercontent.com/assets/5862640/10308823/2d7e85da-6c41-11e5-99aa-d235be8a26d9.png)

You seem to have modified a lot, do you mind if I could take a look at your apps code and figure out the problem?

Well it's not the app problem because I havent't modified your js library it's problem with calendario js.

You cant test it here just open console.
http://webapps.lt/demo/calendario-bug/planner.php

Okay, I better go through it!
--
Sent from Bòźi Dâbèl

Bug Fixed :smile:, get the update!


feature request: provide x64 version

Thanks for advices! I'd like to support it after the Final Exam on summer vacation!

Bad news. After learning the aardio program language competely, I noticed that it doesn't support making the x64 version. To provide x64 version, I had to learn Rust to make it as a alternative selection....

Bad news. After learning the aardio program language competely, I noticed that it doesn't support making the x64 version. To provide x64 version, I had to learn Rust to make it as a alternative selection....


table functions

[ ] formatSequenceSymmetry to tableSequenceRatios
[ ] result_type column to "sequence_ratio"
[ ] eliminate tidy function
[ ] reexport tidy from visOmopResults
[ ] add settings to summarised result

@edward-burn @catalamarti are these tasks correct after today's meeting?

@nmercadeb yes please!


Add buttons ("handles") to top and bottom of EventCell

Hi!
Thank you so much for this library, it's helped me tremendously.
I wanted to ask about the possibility of adding "handles" to the top and bottom of each event cell in a LongPressWeekView, like here:

Or even just one button at the bottom would be sufficient.
This would be so the user can adjust the start/end time right from the calendar view without going into the details view controller.
I definitely don't expect you to implement this! But I was wondering if you might be so kind as to suggest at a high level how I might make this happen? I'm still relatively new to Swift, so I'm unsure where to start. Thank you for your time :)

This won't be implemented in the near future. You can achieve this only by completely remake the longPressView logic. I know it is from Apple's design but to be honest, it won't be so easy to do that.


animate.css broken in firefox?

I am using animate.css. I have following styles for animating a div with ng-hide.
.slide-down.ng-hide-remove {
    -webkit-animation: fadeInDown 0.5s;
    -moz-animation: fadeInDown 0.5s;
    -o-animation: fadeInDown 0.5s;
    animation: fadeInDown 0.5s;
}

.slide-down.ng-hide-add {
    -webkit-animation: fadeOutUp 0.5s;
    -moz-animation: fadeOutUp 0.5s;
    -o-animation: fadeOutUp 0.5s;
    animation: fadeOutUp 0.5s;
}

Unlike in chrome, .slide-down.ng-hide-add does not work in firefox while .slide-down.ng-hide-remove works fine.
You can see it here.
Is there anything I am missing to make it work?
Update
I am using angularjs 1.3.9 and firefox 35.

Hmm. This is a strange one. @ludbek did you find a solution for this? Seems like a Firefox bug at first glance.

I am using javascript to animate. Although I wish i cud do it with css.
You can see it in action here.

I have to close this issue. It’s definitely a browser bug, and trying to “fix” it will cause more headaches.
I’ll do what I can to bring this to the attention of people who may be able to fix it.


es2020.d.ts is included for a project configured to only use lib:["es5"]

Bug Report

🔎 Search Terms

lib
es2020
esnext
reference

🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about compilerOptions "lib" and "types"
⏯ Playground Link
Couldn't figure out how to add dependencies in the playground so uploaded an example repository:
https://github.com/greyepoxy/typescript-over-lib-inclusion-issue
💻 Code
In a project with the following tsconfig.json excerpt,
{
    "compilerOptions": {
        "lib": ["es5"],
        "types": [],
        "skipLibCheck": true
    }
}

And the following code,
import { shallow } from "enzyme";

const bigInt = BigInt(9007199254740991);

🙁 Actual behavior
Compile succeeds without issue
🙂 Expected behavior
For the compiler to throw an Error because BigInt should not be defined because it is in the es2020 lib which is not included in the compilerOptions
I have done some analysis on why this occurring, please see the root cause section in the example project readme.
Why this Matters
In the company I work for (Tableau), several hundreds of web developers have depended on the tsconfig lib as a tool to try and prevent using new JavaScript features that are not present in IE11 (and other slower to update browsers). With the recent change to @types/node to always include the es2018 and parts of the es2020 lib, there is no way to rely on this compile time check to make sure someone has not started to use a new JavaScript feature unintentionally.
Other Related Issues
There seems to be a other "related" issues, but best as I can tell none that discuss this specific problem.
https://github.com/microsoft/TypeScript/issues/41999
https://github.com/microsoft/TypeScript/issues/18588
There does appear to a proposal that I believe would address this issue https://gist.github.com/RyanCavanaugh/702ebd1ca2fc060e58e634b4e30c1c1c. Not sure if that means other issues have already been created and closed related to this problem. Apologies if they have.

Just wanted to call out that after digging into the node types history a bit more, seems like the inclusion of lib references has been going on for much longer then I thought. For example
bigint was added Feb 23, 2019
the other references appear to have been added Feb 6, 2019 with the introduction of the first typesVersions
Not sure this really changes anything, more of calling out that unraveling the types is probably not an option at this point.

See also #37053

hmmm, @RyanCavanaugh not sure I understand how this is a duplicate of that item. The problem of test types being available in non-test files seems similar but I do not believe it is the same.
Were you thinking that the solution to that might problem would address this as well?

The "scope pollution" problem occurs in all of these contexts and has the same speculative fix in each place - some way for the transitive dependencies of types packages to not appear in your program.


Planet

PR Description 📜
Planet defense game
Fixes #25

Planet Earth needs to be protected.
There is a gun with planet.
Gun is used to attack stones or meteroids hitting the planet.
Score increases if you hit the meteroids.
Game ends if any one touches the earth.

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

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

@kunjgit please add the labels and merge the pr as I got the label ready to merge

@SimranLahrani842 LGTM

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


HA Sync Status - Missing metric

Hi!
I'm using the fortigate_exporter in my env, and I'm missing the SyncStatus from my HA. Now I'm using a snmp polling to get this data.
I'm using this OID: <IP_ADDRESS>.4.1.123<IP_ADDRESS>.1.1.12

What states do you want from this sync status metric? We have the checksums of all VDOMs + global per member, so we could add the checksum as a gauge value so you can detect which members have the same checksum.
Is that what you want?


Installing pypardiso on arm architecture

Hello,
I’m experiencing some difficulties to install pypardiso on MacOS with arm architecture (M1 processor).
I have already installed intel MKL but i still get this issue.
pip3 install pypardiso
Collecting pypardiso
Using cached pypardiso-0.4.1-py3-none-any.whl (10 kB)
Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from pypardiso) (1.22.4)
Requirement already satisfied: scipy in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from pypardiso) (1.9.0)
Using cached pypardiso-0.4.0-py3-none-any.whl (10 kB)
Using cached pypardiso-0.3.3-py3-none-any.whl (10 kB)
Requirement already satisfied: psutil in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from pypardiso) (5.9.1)
Using cached pypardiso-0.3.2-py3-none-any.whl (10 kB)
Using cached pypardiso-0.3.1-py3-none-any.whl (10 kB)
ERROR: Cannot install pypardiso==0.3.1, pypardiso==0.3.2, pypardiso==0.3.3, pypardiso==0.4.0 and pypardiso==0.4.1 because these package versions have conflicting dependencies.
The conflict is caused by:
pypardiso 0.4.1 depends on mkl
pypardiso 0.4.0 depends on mkl
pypardiso 0.3.3 depends on mkl-service
pypardiso 0.3.2 depends on mkl-service
pypardiso 0.3.1 depends on mkl
To fix this you could try to:

loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
I tried to add intel mkl to the path without any success :
export PATH="/opt/intel/oneapi/mkl/2022.1.0/bin/mkl_link_tool:${PATH}"
export PATH="/opt/intel/oneapi/mkl/2022.1.0/lib:${PATH}"
Have you any ideas to solve this issue ?
Thanks in advance,
Matthieu

Hi Matthieu,
as far as I know mkl is not available at all for the M1 processors. MKL is the Intel Math Kernel Library, which is optimized for intel architecture and I don't think intel will make this available or port it to arm/M1.

I have already installed intel MKL but i still get this issue.

How did you install MKL? If you found a way to install it on M1 i would be very interested to know how to do that. The mkl package itself is not available on PyPI as you can check here: https://pypi.org/project/mkl/#files. However if you managed to manually install it you could try to install pypardiso without dependencies like so:
pip install numpy scipy
pip install --no-dependencies pypardiso

Please let me know if that works.
Otherwise if you're mostly interested in a way to speed up the calculation, I suggest to give https://github.com/scikit-umfpack/scikit-umfpack a try (instead of pypardiso). I don't have access to a M1 machine myself, but I have been told that scikit-umfpack works well (see e.g. this thread: https://github.com/LCA-ActivityBrowser/activity-browser/issues/705).
Cheers,
Adrian

Hi Adrian,
I tried your suggestion but it doesn't work for me. It seems like that I can't install mkl with an arm architecture.
Sorry for the delay in my reply,
Matthieu


can't use handlers like this module.exports = () => {}

handlers like this:
functions:
  handlerFunc:
    handler: functions/handler

throw this error:
Yonahs-MacBook-Pro-2:manager Yonah$ SLS_DEBUG=* sls deploy
Serverless: serverless-plugin-iopipe: Wrapping your functions with IO|...
Failed to require functions.

  Error --------------------------------------------------

     Error: ENOENT: no such file or directory, open '.../manager/.js'

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Stack Trace --------------------------------------------

Error: Error: ENOENT: no such file or directory, open '.../manager/.js'
  at ServerlessIOpipePlugin.getFuncs (/usr/local/lib/node_modules/serverless-plugin-iopipe/dist/index.js:280:13)
  at /usr/local/lib/node_modules/serverless-plugin-iopipe/dist/index.js:96:13

Hi @yonahforst! Thanks for the PR.
Looking into this, I can't seem to get a function to run with the syntax that you noted here, with or without iopipe.
Am I missing something? It seems as if serverless really wants you to specify a file + handler.

that's interesting. I didn't get any errors on sls 1.14.0
which version did you test it on?

@yonahforst I tried on 1.13.0 and 1.15.3. I can keep digging if you've got yours working.
Would you mind noting as much about your env as possible? Node version, etc.

whoops! you're totally right. I was able to deploy but didnt actually try invoking the lambda function. now that i try, i get Bad handler functions/handler is that what you're getting as well?

Ok, yeah that's what I was getting pretty much, was using sls invoke local -f foo with similar error message.
Probably will close this ticket then (?). Thanks for the feedback!

Sure thing!


condor_ssh_to_job resulted in interactive job ending immediately

If condor_ssh_to_job is used to ssh into an interactive job, it will terminates immediately.
MWE:
On vm77, in the 1st process,
❯ cat example.ini
RequestMemory = 32999
RequestCpus = 16
queue
❯ condor_submit -i example.ini
Submitting job(s).
1 job(s) submitted to cluster 1883.
Waiting for job to start...
Welcome to<EMAIL_ADDRESS>
Then in a 2nd process,
❯ condor_ssh_to_job 1883
Welcome to<EMAIL_ADDRESS>Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed by remote host.
Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed.

Then immediately in the 1st process,
bash-4.2$ Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed by remote host.
Connection to condor-job.wn3806190.tier2.hep.manchester.ac.uk closed.

I just tested again using a testing account soukdevtester (i.e. blank state with no ssh config, etc.) and yields the same thing.

Also, this only fails in interactive mode. If I start a job in vanilla universe (non-interactively), then I can successfully condor_ssh_to_job into the job. Not only that, I can repeatedly do it (i.e. 2 different processes condor_ssh_to_job to the same job at the same time). But then unexpectedly, if I quit in 1 such process, the whole job quit prematurely.

I can confirm this. In interactive mode this might be the intended behaviour, but that all ssh sessions for non-interactive jobs get terminated when one is exited is a bug.


"#% increased energy shield from body armor" calculation problem

Path of Building version 1.4.116
The delve suffix (title) seems to be taken into account, but gives far less than it should.
It appears PoB adds this increase after all other increases, but based on base ES from body armour.
For reference my actual ES is 6942, while PoB shows it as 6652 with one ring, giving 16% inc ES from armour.
Current chest gives 432 (.16 * 432 = 69).
inc. ES from tree (acc. to PoB): 124 %
1307 INT gives 261%
(not sure how, where and when these are added/multiplied to come up with final total)
Removing ring or body armour gives the right values...
Editing out the underground suffix in PoB gives me 69 ES less (16% of body armour)

related #1217


Core dump does not work due to container restart

In 1.4 pilot agent was updated to exit when Envoy exits. This generally works well since it gives visibility to the api server that proxy container has restarted.
However it has broken coredump capability, we have not tests for it.
As soon as a coredump finishes, the container exits and we have no mechanisms to copy the core dump over. Even during testing there is not way to override this behaviour.
At least I could not find it.

Add override
Add core management ?
Add tests that produce and then consume a coredump.

@richardwxn Please create a design doc if required.

IIRC @bianpengyuan confirmed a workaround as mount host dir into the pod.
Hope it would save your time from doubting envoy or k8s change :)

2c: please don't use persistent storage by default. this would break the node auto-scaler (which is already broken by emptyDir, but nevertheless).

I actually did not get there :). For sure not add persistent storage, it is just a work around. Adding an option to pilot agent to make it not quit if core dump is enabled (that is what mandar suggests about "adding override" I guess?) makes more sense to me.

Alternatively, the dump should be transferred into some bucket / store. We'd need to bump up termination grace period.

@kyessenov sounds like a good proposal to me.

@geeknoid what else do we need to do to remove needs-triage?

@mandarjog I believe it needs milestone to be added.

Is it ok to add an env variable which depends on the value of enableCoreDump, the pilot agent can either not quit when this override set to true, or wait sometime before quit for the core dump to finish and transfer into some other storage.

Yes, that is fine.

We can just leave the flexibility to user to add prestop hook they would like to the lifecycle of proxy container.

Fixed by https://github.com/istio/istio/pull/23154 (?)


Access “Shared with me” folder

Hi,
First thank you for maintaining the project, it’s an awesome tool!
Is there an easy way to be able to pull files from and/or copy them to “My Drive” from the “Shared with me” folder?
Thanks, keep up the good work!

I am here to leave the same comment/question.
Further, while drive ls -shared works, drive ls -id -shared does not. If I do a copy of a shared resource by ID, it "processes", exits with 0, but does nothing. If I do a copy of the shared resource by name, without the ID, I get "no drive context found; run drive init ..." which doesn't really make sense.

Hello @pmjohann and @otheus, and welcome to the drive project!

Is there an easy way to be able to pull files from and/or copy them to “My Drive” from the “Shared with me” folder?

Yes, but first you've manually got to add the shared files to your Drive, otherwise the API can't access them. This is also documented by Google Drive at https://support.google.com/drive/answer/2375057?co=GENIE.Platform%3DDesktop&hl=en

Further, while drive ls -shared works, drive ls -id -shared does not.

Doing ls -id requires that you pass in the id of the directory you want to list.

If I do a copy of the shared resource by name, without the ID, I get "no drive context found; run drive init ..." which doesn't really make sense.

Would be useful if you could show me that last step and how to reproduce it.
Google Drive is quite awkward when it comes to shared files and they have be added to your drive for the API to access them.

If you add a 'Shared with me' directory to 'My Drive', does it physically move the directory or just create a link?  The reason I ask is that I have a 'Shared with me' directory that is constantly being added to and I want to be able to use 'drive' to access files as they are added.  Will that work?


Mixer unable to parse attributes correctly

Describe the bug
I have a custom authorization template instance configured to be called by mixer:
# instance for template authorization⏎
apiVersion: "config.istio.io/v1alpha2"⏎
kind: authorization⏎
metadata:⏎
 name: iam-authorization⏎
 namespace: istio-system⏎
spec:⏎
  subject:⏎
   user: source.principal | ""⏎
   groups: "groups/ENGINEERING"⏎
  action:⏎
   namespace: "istio-system"⏎
   service: tester⏎
   path:  "/"⏎

However, when I run mixer server, I get the following error:
failed to evaluate expression for field 'Subject'; failed to evaluate expression  for field 'Subject.User': unknown attribute source.principal
The odd thing is, I get the same error if I use a string as a user. For example, if in the config above, subject.user = "hello", I will get the same error:
failed to evaluate expression for field 'Subject'; failed to evaluate expression  for field 'Subject.User': unknown attribute hello
Expected behavior
I expected Subject.User to be parsed correctly
Steps to reproduce the bug
Configure mixer to run with the above authorization template configuration
Version
I am running mixer on the latest master branch using the following command:
$GOPATH/out/linux_amd64/release/mixs server --configStoreURL=fs://$(pwd)/mixer/adapter/mygrpcadapter/testdata
Installation
cloned from github, running locally with the command above
Environment
archlinux
Cluster state
not deployed in any cluster

It seems similar to this issue: https://github.com/istio/istio/issues/12494, but I have verified that the attribute I'm using exists

Do you have the template you are using? What is the template type for subject? Is it map<string, string>?

I determined the problem was that I was missing the 'attributes.yaml' file in my configStoreURL folder. Is there somewhere in the documentation that is stated and i just missed it? I would recommend making that a little more clear for people trying to develop custom adapters in the future

@douglas-reid I am using the authorization template

Turns out I needed to include the attributes.yaml file in my configurations. The attributes.yaml file can be found in mixer/testdata/config/attributes.yaml

This appears to be resolved. Closing.


QUESTION - How to adjust severity of tests?

Are you a Fivetran customer?
Yes, Meera Temple, consultant @ Ephemeral Tattoo
Your Question
I'm getting a few failing dbt tests from the package. I'd like to reduce the severity of some of these packages, as I'm pretty sure these are failing due to some quirks in the way our Iterable folks have set up our campaigns. What's the best way to do that?
Despite adding the severity flag in the iterable.yml file, my dbt prod instance is still running these tests as originally written:

Additional context

Please indicate the level of urgency and business impact of this request

Hi @mvtemple, thanks so much for opening this question!
If this is a result of your Iterable campaigns being set up with some quirks that the package is not intended to handle, you should be able to override the severity of the tests directly in your root dbt_project.yml using the configurations highlighted in these dbt docs for configuring tests.
If I am reading the docs correctly then you should be able to achieve what you want by adding the below to your dbt_project.yml:
## your dbt_project.yml
tests:
  iterable:
    iterable__campaigns:
      +severity: warn

You may need to adjust the spacing since GitHub isn't the best at allowing you to indent properly haha. Please let me know if this works on your end!

@fivetran-joemarkiewicz thank you so much!! I didn't realize this was something I could define in dbt_project, super helpful!


3D Tiles Tools roadmap

More ideas to come...
Tools
Definitely

[x] gzip/unzip all tiles in a tileset
[x] Fusion: Merge tileset with external tileset.json references into one tileset.json
[ ] Fission: Separate a monolithic tileset.json into several tileset.json based on different criteria: e.g., n tiles per tileset.json, m levels per tileset.json, etc.
[ ] Generate stats like gltf-statistics.

[ ] Given a tileset or tile, how memory is used:  total memory, geometry memory, texture memory, batch table memory, other memory (e.g., JSON)

[ ] Add the ability to apply per-tile stages to all tiles in a tileset. For example: https://github.com/AnalyticalGraphicsInc/3d-tiles-tools/pull/30

As Needed

[ ] Visualize a tileset's spatial data structure, perhaps even an interactive tileset explorer using Cesium with D3 overlay
[ ] Separate composites, i.e., separate a composite tile into several tiles

[ ] Separate out into separate tilesets if useful, e.g., one for buildings, one for trees, etc.
[x] Combine tiles into composites

[x] Merge multiple tilesets into one tileset

Validator

See CesiumGS/3d-tiles-validator#5

tl;dr: Version 0.2.0 of the 3D Tiles Tools has just been released. On the CLI level, it mainly emulates the old functionality. Some of the original roadmap points have already been addressed. But under the hood, the functionality has been extended, which means that further roadmap points may be tackled, and other ideas may be added here soon.

Regarding the open points from the initial post here:

Fission: Separate a monolithic tileset.json into several tileset.json based on different criteria: e.g., n tiles per tileset.json, m levels per tileset.json, etc.

It should be relatively easy now to add this as a demo or a "proof of concept". Regarding the criteria for the "fission". One approach could be to just re-apply the idea of the "subtree levels" from implicit tiling: Given a tileset with n levels, split this into "subtrees" (i.e. external tilesets) that each have m levels.
Beyond that, such a demo could help to flesh out the answers to the questions of 1. how to implement that generically, based on the new functionality, 2. how to offer that at command line, and 3. how to offer that as a 'pipeline' stage operation.
In any case: We have to be careful that we don't establish a toooo gray area between 'tiling' and 'tools stuff'. There is some possible overlap here....

Generate stats like gltf-statistics.

Given a tileset or tile, how memory is used: total memory, geometry memory, texture memory, batch table memory, other memory (e.g., JSON)

The gltf-statistics was published 8 years ago, but maybe that is a sign for it being "final and stable". It could probably even be integrated into the (tileset-level) stats generation that is supposed to be offered by the tools.
Right now, there is a TraversalStatsDemo that shows a very basic way of collecting statistics. It traverses a tileset, and generates a JSON output like this:
{
  "totalNumberOfTiles": 22,
  "totalNumberOfSubtrees": 6,
  "geometricError": {
    "count": 22,
    "sum": 52,
    "min": 1,
    "max": 8,
    "avg": 2.3636363636363638,
    "stdDev": 2.10076727423479
  },
  "tileFileSize": {
    "count": 21,
    "sum": 25296,
    "min": 1200,
    "max": 1208,
    "avg": 1204.5714285714287,
    "stdDev": 3.0948717731946425
  },
  ...
}

The exact level of detail has to be decided upon - and if this is supposed to be implented as a feature, it should be tracked in an own issue.

Add the ability to apply per-tile stages to all tiles in a tileset. For example: https://github.com/CesiumGS/3d-tiles-validator/pull/30

The content processing has been generalized during the rewrite. Things like the optimizeB3dm already can be applied to all contents of a tileset now. This can either be done with a few lines of code, or as part of a 'pipeline', where the latter (i.e. all the pipeline infrastructure) is still a bit preliminary, and we still have to decide what exactly should be possible with pipelines, and how...

Visualize a tileset's spatial data structure, perhaps even an interactive tileset explorer using Cesium with D3 overlay

It's not clear what this is supposed to be (i.e. in how far that should be something else than CesiumJS - maybe with a "browsable tree structure" as a UI element?). If this is supposed to be tackled, it should be handled in a dedicated issue.

Separate composites, i.e., separate a composite tile into several tiles

Separate out into separate tilesets if useful, e.g., one for buildings, one for trees, etc.

Most of the "content-level" operations can already be applied to all contents within a tileset. But exactly the cmptToGlb is a noteworthy exception here. There are some caveats. A low-level one is that there might be an implicit tileset that uses CMPT files as its tile content. Splitting these CMPTs into GLBs would require creating multiple template URIs, and ... one never knows how many GLBs are in one CMPT...

Further, possible points for the roadmap
All these are high-level points to think about. Each of them could become an issue when they are addressed.

A function for converting implicit to explicit tilesets (there's already a draft demo for that, because it's relatively easy, and can be useful for debugging and analyzing...)
Integrating gltf-transform or gltfpack to support meshopt compression
(Re-)Integrating support for KTX2 compression
Better integration of .3DTILES files that are used as external tilesets. (There already is some support for that for 3TZ, but none for 3DTILES yet...)
Generalizing the 'pipeline' in many ways. For example, right now a pipeline can only have one input and one output, so an operation like merge can not be modeled with that, and a split operation may also hit some limits here...
....


Update pyproject.toml to loosen reqs to fix #117

Thanks for contributing.
I close this here, because of https://github.com/boxine/bx_django_utils/pull/121 ;)


stake-pool: Add slippage to all deposit and withdraw ixs

Problem
When depositing and withdrawing from stake pools, it's impossible for a user to guarantee how much they'll receive.
Solution
Add *WithSlippage variants to all deposit and withdraw instructions, which guarantee a minimum output, similar to an AMM.

Yeah exactly, someone can watch for transactions depositing into the pool and put in an instruction to increase the deposit fee immediately. In your case, I think you don't need it since there's no fees to consider

im imagining a situation where someone does a reasonably large deposit so i frontrun their deposit with my own and backrun a withdrawal


Docs Dont Say How to Start Spider after Installing with pip.

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
For people new to Python we need to be able to just run Spider after install. There is a gap here between showing how to install the spider package and the docs showing screens of the app. How do I startup spider after the install?
 python spider

python: can't open file 'spider': [Errno 2] No such file or directory
(base) coffee:~ Steven$ spider
-bash: spider: command not found
(base) coffee:~ Steven$
Sure Im sure I am missing something but I dont claim to be a Python developer and the docs need to show how to startup the app.
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

(base) coffee:~ Steven$ spider

The package is called spyder, not spider. And if you're using Anaconda (as the bash prompt above indicates), you don't need to use pip to install it, just conda.


About the Client-Server Mode function of VisIt

I want to realize the Client-Server Mode of VisIt.
What are the requirements for the client and server operating systems? Can windows or Ubuntu be used?
Does the operating system of the server and the client need to be the same? Can both the server and the client system be windows?

Client can be any OS.
Server can definitely be Ubutntu.
Windows as server is theoretically possible using Microsoft's HPC pack, but hasn't been tested in quite awhile.
For information on Windows as server, take a look at the HPC section of the Parallel on Windows page of VisIt's wiki.  The links to Windows HPC pack no longer work as they reference an old version.
There is an HPC pack 2008 R4 available for download (a newer revision of the one referenced in the wiki)  but the very latest is HPC pack 2019. I do not know if the 2019 version would work with how Windows HPC support was implemented in VisIt.
You will need to build parallel version of VisIt once the necessary Microsoft HPC tools are installed.
The Building VisIt from Sources documentation should also prove useful.
There may be changes necessary to VisIt source to get this working again. I will see if I can figure that out.

Yes, a change in VisIt is needed: in src/viewer/main/CMakeLists.txt
change this:
   SET_SOURCE_FILES_PROPERTIES(ViewerEngineManager.C PROPERTIES
        COMPILE_DEFINITIONS VISIT_SUPPORTS_WINDOWS_HPC
    )

to this:
   SET_SOURCE_FILES_PROPERTIES(ViewerEngineManagerImplementation.C PROPERTIES
        COMPILE_DEFINITIONS VISIT_SUPPORTS_WINDOWS_HPC
    )


fix: create files path map to populate document driven pages

resolves nuxtlabs/studio-app#1666

Let's merge and check the nightly build


Fixes Write() Failure on SQ Element with SkipVRVerification() set

Hello. This closes #191.
I've pushed the evaluation of SkipVRVerification() into verifyVROrDefault() so defaults will be returned even with SkipVRVerification() set.
I've also added a guard for VR checking in writeVRVL() for tag.ItemDelimitationItem like the one for tag.SequenceDelimitationItem.
Lastly, I've added two tests to guard against regressions. These tests failed before the changes were made.

(Also, this is my first time reviewing a PR from the GitHub mobile app. It's pretty cool!)

No problem! Glad to be of service!


kotlinx.coroutines.JobCancellationException: BlockingCoroutine is cancelling

Is there an existing issue for this?

[X] I have searched the existing issues and didn't find mine.

Steps to reproduce
Create a flow with a name that includes a / (on an operating system that uses / as a path separator, such as macOS), for example:
appId: your.app.id
name: foo / bar
---
- launchApp

Actual results
The flow appears to run, but maestro errors with an exception as soon as the flow finishes:
❌ Error: BlockingCoroutine is cancelling
kotlinx.coroutines.JobCancellationException: BlockingCoroutine is cancelling; job=BlockingCoroutine{Cancelling}@1ef0ac30
Caused by: java.io.FileNotFoundException: /Users/jonathan/.maestro/tests/2024-09-05_085603/ai-report-foo / bar.html (No such file or directory)
	at java.base/java.io.FileOutputStream.open0(Native Method)
	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
	at kotlin.io.FilesKt__FileReadWriteKt.writeBytes(FileReadWrite.kt:108)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText(FileReadWrite.kt:134)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText$default(FileReadWrite.kt:134)
	at maestro.cli.report.HtmlAITestSuiteReporter.report(HtmlAITestSuiteReporter.kt:47)
	at maestro.cli.report.TestDebugReporter.saveSuggestions(TestDebugReporter.kt:64)
	at maestro.cli.runner.TestRunner.runSingle(TestRunner.kt:76)
	at maestro.cli.command.TestCommand$handleSessions$1$1$results$1$1$1.invoke(TestCommand.kt:306)
	at maestro.cli.command.TestCommand$handleSessions$1$1$results$1$1$1.invoke(TestCommand.kt:258)
	at maestro.cli.session.MaestroSessionManager.newSession(MaestroSessionManager.kt:102)
	at maestro.cli.session.MaestroSessionManager.newSession$default(MaestroSessionManager.kt:54)
	at maestro.cli.command.TestCommand$handleSessions$1$1$results$1$1.invokeSuspend(TestCommand.kt:258)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)

The caused by error contains the hint:
Caused by: java.io.FileNotFoundException: /Users/jonathan/.maestro/tests/2024-09-05_085603/ai-report-foo / bar.html

So it seems to be trying to write to ai-report-${FLOW_NAME}.html which ends up trying to write to a file called bar.html in a directory that doesn't exist.
Expected results
Operations that write to files with user-given input (such as the flow name) should escape/replace characters that have special meaning in filenames, such as the path separator and .. too.
About app
N/A
About environment

openjdk version "17.0.12" 2024-07-16 LTS
macOS 14.5
arm64

Logs

Logs
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->

Maestro version
1.38.1
How did you install Maestro?
install script (https://get.maestro.mobile.dev)
Anything else?
No response

Thanks Jonathan, thanks for reporting this bug!

I am seeing FileNotFoundExpection in a different context of creating screenrecordings. Its not consistent but if I remove the path to not have / it works good all the time.


Workarounds when accessing multiple servers

In my springboot client app I need to access multiple graphql servers.
I use the graphql client generator for each server's graphql schema and then use the constructors on the generated xxxQueryExecutor and xxxMutationExecutors that take a String graphqlEndpoint parameter - e.g.
public Service1MutationExecutor(String graphqlEndpoint) {
	if (!"1.16".equals(graphqlUtils.getRuntimeVersion())) {
		throw new RuntimeException("The GraphQL runtime version doesn't match the GraphQL plugin version. The runtime's version is '"
				+ graphqlUtils.getRuntimeVersion()
				+ "' whereas the GraphQL plugin version is '1.16'");
	}
	this.configuration = new GraphQLConfiguration(graphqlEndpoint);
	CustomScalarRegistryInitializer.initCustomScalarRegistry();
	DirectiveRegistryInitializer.initDirectiveRegistry();
}

The first issue I see is that the generated classes have
@Autowired
GraphQLConfiguration configuration;

In this context, that makes no sense as the constructors will overwrite the autowired property. I have to define a dummy bean for the GraphQLConfiguration and then a dummy bean for the QueryExecutor that it references.
Next I have to add an exclusion for the GraphQLAutoConfigration as it requires the
@Value(value = "${graphql.endpoint.url}")

which again doesn't make sense when accessing multiple servers
With this in place, I can start my application but I'm wondering if there's a better way to do it.
There is also no way to use the ServerOAuth2AuthorizedClientExchangeFilterFunction in this mode.

Hello,
Thanks for this feedback.
You're right, the plug-in is primarily made to attack one GraphQl server.
I see currently no better way than what you've done.
The main reasons for that are that I want it to remain simple to use, and compliant with the existing implementations.
I think that the runtime code should detect properties like
´graphql.endpoint2.url´, and create the relevant beans (graphqlEndpoint 2...).
I must test that first, but it should do the trick.
And you're right, I must check the compatibility with ´ServerOAuth2AuthorizedClientExchangeFilterFunction´.
Étienne

Hello,
I juste commited a plugin evolution, that allows to connect to 2 GraphQL servers (or more).
Would it be possible for you to check it?
As it's not published yet, you would need to checkout the code, and build it locally (mvn clean install). The plugin version is then local-SNAPSHOT
All the information on how to use the plugin with more than one server is available on this page: https://github.com/graphql-java-generator/graphql-maven-plugin-project/wiki/client_more_than_one_graphql_servers
Etienne

Hum, hum...
That is not normal.
Checking out the whole https://github.com/graphql-java-generator/graphql-maven-plugin-project.git should work.
What version of Java are you using ?

I'm using openjdk version "1.8.0_282" and maven 3.6.1
I did a bit of research on the error - looks like the release flag in the pom isn't compatible with java 8 - it was added for java 9
https://stackoverflow.com/questions/49105941/intellij-maven-project-fatal-error-compiling-invalid-flag-release
So, removing that 8 from the pom.xml lets it get past the original error but then it fails with errors in the tests in graphql-maven-plugin-samples-allGraphQLCases-client
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.2:verify (default) on project graphql-maven-plugin-samples-allGraphQLCases-client: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/p008315D/dev/graphql-maven-plugin-project/graphql-maven-plugin-samples/graphql-maven-plugin-samples-allGraphQLCases-client/target/failsafe-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /Users/p008315D/dev/graphql-maven-plugin-project/graphql-maven-plugin-samples/graphql-maven-plugin-samples-allGraphQLCases-client &&<EMAIL_ADDRESS>-jar /Users/p008315D/dev/graphql-maven-plugin-project/graphql-maven-plugin-samples/graphql-maven-plugin-samples-allGraphQLCases-client/target/surefire/surefirebooter7953217231626034933.jar /Users/p008315D/dev/graphql-maven-plugin-project/graphql-maven-plugin-samples/graphql-maven-plugin-samples-allGraphQLCases-client/target/surefire 2021-07-21T12-16-59_914-jvmRun1 surefire736099080134449286tmp surefire_04507614450198095670tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] Crashed tests:
[ERROR] org.allGraphQLCases.PartialQueryIT
But as that's when it hits the tests, I think the actual maven plugin is built?

I did finally get things to build and was able to use it with multiple graphql servers - some things of note:

I generate the client code in a separate maven module - I had to add an optional dependency on org.springframework:spring-context-indexer to that module - otherwise it wouldn't autowire in the QueryExecutor classes in my main app
My app also provides some REST endpoints for clients. They in turn call the graphql client. As the  graphql-java-client-dependencies pom pulls in spring-boot-starter-security, extra filters are added which means any calls into my service were failing due to not being authenticated. I had to add exclude = {SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class} to my @SpringBootApplication to disable that.

I did finally get things to build and was able to use it with multiple graphql servers - some things of note:
* I generate the client code in a separate maven module - I had to add an optional dependency on org.springframework:spring-context-indexer to that module - otherwise it wouldn't autowire in the QueryExecutor classes in my main app

The important point, here, is to add the QueryExecutor classes in the scanBasePackageClasses  parameter of the @SpringBootApplication, so that all these executors are scanned by Spring.
I don't understand why it works for you when in another module, and not in your current module. This should not make any difference.

* My app also provides some REST endpoints for clients. They in turn call the graphql client. As the  graphql-java-client-dependencies pom pulls in spring-boot-starter-security, extra filters are added which means any calls into my service were failing due to not being authenticated. I had to add exclude = {SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class} to my @SpringBootApplication to disable that.

Right.
I'l check if spring-boot-starter-security is really needed.
In the first place, I think it should be added when a project needs OAuth2.
Etienne

I did have the scanBasePackageClasses on the SpringBootApplication but the app failed to start as it wasn't able to find the QueryExecutors when it was auto-wiring them into a class that used them. So somehow it needed the spring.factories file too.

I don't understand that one, as it works in my test case.
Can you provide me a sample (or an access to your app) ?

I really can't provide access to the app - or generate a sample - it's a complex app.
But the main class is basically (I had to change the executor names) :
@SpringBootApplication(scanBasePackageClasses = {CatalogApplication.class, GraphQLConfiguration.class,
Server1QueryExecutor.class, Server1MutationExecutor.class,
Server2QueryExecutor.class, Server2MutationExecutor.class,
Server3QueryExecutor.class, Server3MutationExecutor.class,
Server4QueryExecutor.class, Server4MutationExecutor.class,
Server5QueryExecutor.class, Server5MutationExecutor.class},
exclude = {SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class})
@Slf4j
public class CatalogApplication
{
public static void main(String[] args)
{
SpringApplication.run(CatalogManagementApplication.class, args);
}
}
The difference here is that it is a full blown app, so the autowiring of the executors isn't in the main class and its not a CommandLineRunner

Hello,
I see that you've put here all the executors.
You should put only the query executors (not the mutation and nor the subscription ones)
I should have check the error message: I guess the error was that it could not auto wire because more than one beans was available.
Étienne

Even with removing the query executors, I still get an error on it not finding a query executor for autowiring

Grrrr
Can you post the error here ?

It's the basic spring boot unsatisfied dependency exception.
2021-07-26 16:20:36.707 ERROR [myapp-management,,] 27 --- [           main] o.s.b.web.embedded.tomcat.TomcatStarter  : Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'graphQLServletRegistrationBean' defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]: Unsatisfied dependency expressed through method 'graphQLServletRegistrationBean' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'graphQLHttpServlet' defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]: Unsatisfied dependency expressed through method 'graphQLHttpServlet' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'graphQLServletConfiguration' defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]: Unsatisfied dependency expressed through method 'graphQLServletConfiguration' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'invocationInputFactory' defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]: Unsatisfied dependency expressed through method 'invocationInputFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'graphQLSchemaProvider' defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]: Unsatisfied dependency expressed through method 'graphQLSchemaProvider' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'graphQLSchema' defined in class path resource [graphql/kickstart/tools/boot/GraphQLJavaToolsAutoConfiguration.class]: Unsatisfied dependency expressed through method 'graphQLSchema' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'schemaParser' defined in class path resource [graphql/kickstart/tools/boot/GraphQLJavaToolsAutoConfiguration.class]: Unsatisfied dependency expressed through method 'schemaParser' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'myappManagementQueryResolver' defined in class path resource [myapp/management/graphql/root/ManagementQueryResolver.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'designatorService' defined in class path resource [myapp/management/service/DesignatorService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'queryHelper' defined in class path resource [myapp/management/QueryHelper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'server2.graphql.Server2QueryExecutor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2021-07-26 16:20:36.744  WARN [myapp-management,,] 27 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat

Thanks for your logs.
As you provided the ´ Server2QueryExecutor´ in your spring boot configuration, it's quite strange that no beans of this time is found...
:(
I'll still release the 1.17 versions that allows access to multiple GraphQL servers.
We'll see what happens to other users...


refactor: do not automatically import types from prelude

I deleted all the import from prelude and usage of this types coming from prelude in the proc macro
Here is the main motivation:
Types which was automatically imported have the same name or common names (Span also exists in tracing-rs, same for Record, ...) which means we could have potential conflicts in naming and it's pretty annoying if you already imported Span from tracing-rs.
It's WIP because it needs some documentation updates and it's a proposal

I dig where this is going! 🎉
I started this project without the macro in mind, but I'd totally accept such a pull request, less conflicts, and I wouldn't mind having non macro users rely on reexports, thus avoiding prelude potential conflicts


Multipart upload sample with TransferUtility in 2.6.18 v. of the SDK.

Hello, new version of SDK allows multipart uploading with TransferUtility. Can you make a sample in Swift?  Thank you!

Thank you @danilke for reporting to us. Taking this as a feature request to the team.

There is a sample here: https://docs.aws.amazon.com/aws-mobile/latest/developerguide/how-to-transfer-files-with-transfer-utility.html
But when I try to implement it it crashes every time on the following line:
let transferUtility = AWSS3TransferUtility.default()
Any suggestions?

@darer
Which version of the SDK are you using. Can you share a code snippet and error logs?

Closing issue due to inactivity. If you still need help please open a new issue in the aws/aws-sdk-ios repo.


[how to access named route in config adminlte.php]

how to access named route in config adminlte.php
I have the following routes
// Reset password
Route::get('reset-password/{token}', [\App\Http\Controllers\Admin\Auth\NewPasswordController::class, 'create'])
    ->name('admin.password.reset');
Route::post('reset-password', [\App\Http\Controllers\Admin\Auth\NewPasswordController::class, 'store'])
    ->name('admin.password.update');

How can i access the above routes in config/adminlte.php
'menu' => [
    // Sidebar items:
    ['header' => 'account_settings'],
    [
        'text' => 'change_password',
        'url' => '??',
        'icon' => 'fas fa-fw fa-lock',
    ],
]

You need to use the route property instead of url. See the Wiki Menu Config - Route Attribute.

@dfsmania
It's working fine
Thanks for your reply


Correct procedure for amplify configure project for multiple hosted front ends.

I've got a project that requires multiple front ends...
** Which Category is your question related to? **
Amplify-cli awscloudformation configure project.
** What AWS Services are you utilizing? **
Amplify-cli awscloudformation configure project.
** Provide additional details e.g. code snippets **
I have a project that is an administrative style of site that adds users, updates users, adds projects, data, etc... and I have multiple front ends that all use that same auth, api, storage... but not hosting. The other front ends need to be running on various other hosts.
What's the exact method of doing this... I've copied the amplify, src/graphql and awsexports.js to my new project, and I ran amplify configure project. Should I run amplify remove hosting first in that project, then amplify add hosting, or what's the exact procedure... It's just, the admin site is live right now, and I can't have it break from hosting removal.

Hosting is part to the backend resources for your project, if I'm understanding you correctly, you should not remove hosting, it will affect other frontend projects that are using the hosting.
The Amplify CLI does not directly support this type of project setup at this moment, you can give this workaround a try:

Use the Amdin project with the Amplify CLI to setup all the shared backend resources, get the aws-exports.js file from it, and insert it into the other projects as share-aws-exports.js, and use that to configure the Amplify library for them to use the shared backend resources.
In each of the frontend projects, use Amplify CLI to init and setup the hosting for the particular frontend project.

Regardless of how it's meant to function... it does support this functionality it's written in the docs. I followed the docs partially and got it working by accident, somehow, but I cannot replicate.
I have a full project that I was working on... with Auth, Hosting, API, and Storage. I copied Amplify from that project to a new project, which needed to use the same resources, except hosting. I performed some kind of combination of setting up the new project using amplify configure project and removal of hosting, and re-adding hosting... and it works fine. I have two projects side by side, both sharing the entire back end I set up initially... but both have different hosting. So I know it definitely works. I just forget the procedure.
`The amplify configure project command is an advanced command and not commonly used for getting started or individual development projects. The command should be used in the following cases:
When wanting to modify the project and AWS configurations set during the amplify init step
When sharing your backend infrastructure code with multiple frontends`
The second part of this documentation is my use case... sharing the backend infrastructure code with multiple frontends... the whole purpose of multiple front ends is multiple hosting... otherwise how are they even multiple frontends? They can't all be hosted in the one spot.

Once I test and get the correct procedure, I'll push up the instructions.

multiple frontends means different types of frontends, like web, android or ios.
The hosting category, when added, inserts  a nested child Cloudformation stack into the project's roost stack, and they work as a whole, if you remove hosting, you remove its nested stack from the project's root stack.
When I said "The Amplify CLI does not directly support this type of project setup at this moment" in my previous reply, I meant currently you can not add multiple hosting buckets inside the hosting category, so there's only one hosting bucket associated with your project.

So, that means if I go backwards a bit and have a look at the two projects I have running side by side... theoretically one of their hosting buckets will not work? But... if I change a detail or two in the app (Version Number), and hit amplify publish -c on both... both one of them doesn't push up like it did yesterday... I not get a configuration issue.
2019-05-10T00:32:11.574Z - error: uncaughtException: Cannot read property 'accessKeyId' of undefined.
So something has obviously messed up anyway. So if I just make an administrative amplify project with all of the important stuff I need enabled and working... then just copy the exports out to each project and pull it in like normal without the amplify config... all will work? I just have to copy the build project up manually to the S3 for each individual app yeah? Sounds like a decent solution.

@michaelcuneo That's correct. You would jut need to keep the aws_exports.js or the awsconfiguration.json file in sync with your multiple frontend projects.

Thanks for your help... I remember using awsexports ages ago for multiple projects, and for some reason it didn't occur to me, to just do that, it's working fine.


Add metadata as a column

Hey,
Thank you so much for this reporter 🙏 It's got so many good things.
One thing I can't work out (and apologies if it's in the docs or if I misunderstood) is how to expose metadata as a column.
I have some metadata on each project (such as device name - e.g. "Desktop Edge") which I'd like as a column on the main report, so I can sort by it or quickly see if there is commonality between the failings.
Thanks again

I added a example here https://github.com/cenfun/monocart-reporter-examples/tree/main/custom/metadata-column
Please have a try.

const name = 'metadata-column';

import { devices } from '@playwright/test';

export default {
    testDir: './',
    outputDir: `../../docs/${name}`,

    projects: [
        {
            name: 'chromium',
            use: devices['Desktop Chrome'],
            metadata: {
                device: 'Desktop Chrome'
            }
        },
        {
            name: 'firefox',
            use: devices['Desktop Firefox'],
            metadata: {
                device: 'Desktop Firefox'
            }
        },
        {
            name: 'Mobile Safari',
            use: devices['iPhone 12'],
            metadata: {
                device: 'iPhone 12'
            }
        }
    ],

    reporter: [
        ['list'],
        ['monocart-reporter', {
            name,
            outputFile: `docs/${name}/index.html`,

            columns: (defaultColumns) => {

                // add `device` column after `duration` column
                const index = defaultColumns.findIndex((column) => column.id === 'duration');
                defaultColumns.splice(index, 0, {
                    id: 'device',
                    name: 'Device',
                    width: 150,
                    formatter: (v, rowItem, columnItem) => {
                        if (v) {
                            return `<b style="color:green">${v}</b>`;
                        }
                        return '';
                    }
                });

            },

            visitor: (data, pwData) => {

                // add `device` for project data
                if (data.type === 'suite' && data.suiteType === 'project') {
                    data.device = data.metadata && data.metadata.device;
                }

            }
        }]
    ]
};

Wow, thanks for the quick response.
Is there a way of getting the device from the project onto the case?
E.g. below, you can see the same test ran for two devices:

But it isn't visible in the ungrouped view:

If it's not possible, don't worry - just a wish!

You are my hero. Thank you!


bot is not connected

When I the docker image the output is
[Tue Jun 09 2015 15:41:01 GMT+0000 (UTC)] INFO running rocketchat
[Tue Jun 09 2015 15:41:01 GMT+0000 (UTC)] INFO login

I try creating a user bot and rocketbot but is still not working
this are my configs
_meteorurl = "<IP_ADDRESS>:3000"
_hubotuser = "rocketbot"
_hubotpassword = "demodemo"
_roomid = "57om6EQCcFami9wuT"

to run the container I copy/paste the same command from inside the clones repo

@oinirio    it seems you may not have access to that IP address from inside the running container.
While container running and stuck at login, try:
docker exec -i -t  <container id>   bash

This will run a shell inside the container.  Then troubleshoot using ping.
You can get the running  by:
docker ps

@Sing-Li I'm running openSuse and the ping works from inside the container to my LAN by running
docker inspect <container id>

I got the container internal IP and the ping works from localhost -> container

@oinirio    Did "ping <IP_ADDRESS>" worked from INSIDE the container (not using inspect) ?
Did you turn the default firewall off?

@Sing-Li My bad was the firewall actually, it's working now


Project creation fails

First off, great plugin. I'd been meaning to spend the time and find something like this for NeoVim. This is exactly what I wanted to find.
Unfortunately, my first attempt at creating a project is failing. I was able to update the Initializr metadata via SpringtimeUpdate. However, project creation fails. When I check the logs I only see what appears to be curl download metrics. No reason as to why the failure is occurring. My internet connection is fine. Here are the last 10 lines of the log file. Any ideas?
[ERROR][10/08/2024 16:49:45]: Dload  Upload   Total   Spent    Left  Speed
[ERROR][10/08/2024 16:49:45]:
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 13 58953   13  7978    0     0  13196      0  0:00:04 --:--:--  0:00:04 13186
100 58953  100 58953    0     0  91049      0 --:--:-- --:--:-- --:--:-- 90976
[ERROR][10/08/2024 16:51:18]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[ERROR][10/08/2024 16:51:18]: Dload  Upload   Total   Spent    Left  Speed
[ERROR][10/08/2024 16:51:19]:
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58953  100 58953    0     0  66649      0 --:--:-- --:--:-- --:--:-- 66613
[ERROR][10/08/2024 16:51:19]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[ERROR][10/08/2024 16:51:19]: Dload  Upload   Total   Spent    Left  Speed
[ERROR][10/08/2024 16:51:19]:
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  6 58953    6  3794    0     0   7524      0  0:00:07 --:--:--  0:00:07  7512
100 58953  100 58953    0     0  98969      0 --:--:-- --:--:-- --:--:-- 98914
[ERROR][10/08/2024 16:51:19]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[ERROR][10/08/2024 16:51:19]: Dload  Upload   Total   Spent    Left  Speed
[ERROR][10/08/2024 16:51:20]:
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58953  100 58953    0     0  95878      0 --:--:-- --:--:-- --:--:-- 96014

Hello @manumoreno
Similiar issues were reported in this closed issue: https://github.com/javiorfo/nvim-springtime/issues/1
Check it and maybe you will find some help. If not, please share more information (captures, plugins you are using, etc)

Thanks! After I enabled logging I was able to see the actual commands that are run behind the scenes. The generation of the zip file is working fine. I can see the file there. The issue could be related to subsequent commands. We're getting there.

Final update -- the creation of the project is working fine. Not sure what's triggering the error though. You may flag this issue as resolved. Cheers!


Shift+Enter enters newline in Jupyter notebook

This can make it inconvenient for users as they have to manually press backspace to remove the newline.

@greysome hi, appreciate your feedback. We will take a look.


allow +dice in initiative

The Mutant in MCC has +dice to initiative, +1d3 for example. It would be nice if their initiative could be +1+1d3 for example.

How do you feel about this solution @algnc ?
It also allows handling the 1 handed/2 handed situation also while keeping the validation on the modifier section.

I've not applied it to NPCs or zeroes yet. NPCs usually always roll a d20 and zeroes have enough problems, though other judges may disagree.

That looks great


Refactor error handling in file download task

The error handling in the file downloading task of nexrender-core has been refactored. Instead of rejecting with an object containing a complex error message and metadata, a simple error message in string format is now used, allowing nexrender-worker to log asset download errors.

Thanks! @schubc 🎉


Add a wiki: Sega Retro

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://sega.fandom.com/
Link to destination (independent) wiki: https://segaretro.org/

Now available in version 2.2.0


Carbon Dioxide characteristics for AirQualitySensor service

This is probably something else that changed under the hood, but seems to be working fine. (I guess I have even seen it in some revision of the HAP specification, but in the latest publicly available R2 it doesn't seem to be the case).
HomeSpan shows warnings when using CarbonDioxideLevel and CarbonDioxidePeakLevel characteristics with AirQualitySensor service, but they are working fine and the Home App recognizes them as a separate subsection on the accessory page.

The Warning messages are based on HAP-R2 required/optional Characteristics.  In earlier versions of HomeSpan I threw fatal errors since the Home App would usually fail if an unexpected Characteristic was included in a Service.  However, Apple seems to have loosened this a lot over the years and now the Home App either renders something sensibly, or simply ignores an unexpected Characteristic.
The HomeSpan Warnings are purely information and can be safely ignored if the Home App is properly rendering the Characteristic (as it seems to be above).

Yeah, I just looked at the latest commits in the dev branch and thought to let you know about such behavior in case you'd want to add those characteristics as compatible with that service. Otherwise, the issue can be closed then.

Since there are likely a large number of Characteristic/Service combination that work even though they are not consistent with HAP-R2, I think it would make sense to keep the warnings as is for now - just a flag indicating something is not consistent with HAP-R2.  Ideally Apple would update HAP, or perhaps release a public version of their prop specs, which I'm guessing is constantly updated (though perhaps even commercial manufacturers have the same issues).


Error: The tweak you entered is not in the correct format.

I keep getting an error that the tweak I'm selecting, an Among Us! Mod Menu, which is in the form of a .deb, is in an incorrect format. I've extracted it and upon inspection it appears to be formatted correctly, just like every other tweak.

Had the same issue, apparently I was missing the dpkg dependency so I've installed it by running 'brew install dpkg' in terminal and now I can patch iPAs

This should now be fixed in 1.0.


no notification sound on appstore/testflight

Hi guys,
I have very strange issue, when i'm running app on locally (directly from xCode) push notification are working as expected (comes and have default sound).
After uploading application into testflight notification comes but without sound.
On Android everything is working fine.
I'm searching the problem about 3 days but still not figure what is wrong.

update:
the reason why notification has no sound is that the application is not requesting notification sound permission.
sometimes when uninstall install helps.

#891


[FR] Add Jest Snippets

See https://github.com/andys8/vscode-jest-snippets as a very nice starting point.

Still an issue.

Still an issue.

I have decided not to include Jest in this extension. I want to keep it as simple as possible.


Report Caller missing

When I configure logrus in the following manner:
logrus.SetFormatter(&logrus.JSONFormatter{})
logrus.SetReportCaller(true)
logrus.SetOutput(os.Stdout)

And add the elogrus hook:
hook, err := elogrus.NewAsyncElasticHook(client, "localhost", logrus.TraceLevel, index)
logrus.AddHook(hook)

The report caller output is shown in Stdout, however it is not present in Elasticsearch/Kibana.
How can these fields (file and func) be included?

See PR https://github.com/sohlich/elogrus/pull/29

And for trace level PR https://github.com/sohlich/elogrus/pull/28

haha~same question.

Hi guys,
Sorry I am late,  I will merge your requests. That is helpful for everyone!

Thank you!

See PR #29


#745 Encode And Decode Methods for JWT

#745 Added encoding And decoding Methods for JWT
Added encode and decode functions:
Encode and decode functions with a check for decode errors. A class TypedDict including the participant data.
resolves #745
How to verify:

[ ] Start the Techno Symphony: Launch the API and let the servers hum with anticipation.

[ ] Open your browser or API client and head to /v2/webhooks.

[ ] Trigger the endpoint with a confident click or keystroke.

[ ] Read the server's message - success (200 OK) or a mysterious error (404, 500)?

[ ] Dance with joy for success, or wear the debug wizard hat to troubleshoot any hiccups.

[ ] With these steps, you'll traverse the enchanting realm of webhooks and endpoints, witnessing the dance of data and code. 🚀🎶💻

@plamenapavlova pls add your updated pyproject.toml and poetry.lock files in order for the tests to pass. Also, Add the env var SECRET_KEY to the env.sample and how to generate it as a comment. You have the code for the generation inside your ticket.

@plamenapavlova pls add your updated pyproject.toml and poetry.lock files in order for the tests to pass. Also, Add the env var SECRET_KEY to the env.sample and how to generate it as a comment. You have the code for the generation inside your ticket. And Update your branch.

The SECRET_KEY variable already exists in the .env.sample. Moreover, I added jwt in the poetry config

Nice one. But I believe you were looking at the wrong .env.sample (in monolith). The right one is in https://github.com/AUBGTheHUB/monolith/blob/main/services/py-api/.env.sample


test: increase timeout to prevent flakiness

Increase test timeout to prevent flaky failures on slow build environments.
Fixes #1969

Thank you!


Flekschas/pub sub provider

Right now we're using a global pubSub service. Which is not an issue in most cases but it leads to weird issues when multiple instances are running on the same page.
This PR attempts to solve this by factorizing and providerizing the pubSub service. For the React part this is fairly easy to achieve. For all the non-react code (e.g., tracks) I decided to pass the pubSub service down the class hierarchy just like the PIXI scene etc. Let me know what you think. Irrespective of the fact that we should limit the use of the pubSub as much as possible there's a clear need as a global application-specific messaging service.
By the way, I am using the same pubSub architecture for HGA and it works nicely and the provider pattern feels right as the usage is similar to other global state objects like the redux store or router.

Which is not an issue in most cases but it leads to weird issues when multiple instances are running on the same page.

Hi Fritz,
On the Slack channel, you suggested tiling two <HiGlassComponent> instances vertically.
The top instance would contain a track that fits vertically in the browser.
The bottom instance would contain more tracks than can be fit vertically in the browser viewport. In order to bring hidden tracks into view, this second instance's scroll event handling would be overridden, to disable zoom and enable overflow scrolling.
Is this a case where these weird issues that you mentioned might arise? If so, how might I best test out your branch — is this off the develop branch and past v1.2.8?
Kind regards,
Alex

@alexpreynolds I think this is not an issue in your case. The issues I am talking about here are only related to the JS API. E.g., if you enable showing the mouse cursor and you have multiple instances then the mouse position will be shared between all instances. This is actually a cool feature that I really like but it's not explicit. An annoying issue is that if you listen to the mouse position you will get events from instances that you are actually not hovering.
In either case unless you use the JS API to listen to mouseMove events then this PR doesn't affect you :)
In you case I would simply set zoomFixed: true in the view config. That's enough to enable normal scroll behavior. I am doing exactly that in Peax. If you use react you can do something very similar.

Thanks so much! I am pretty close to trying this out.

Do you know what the difference between these two builds is?

@pkerpedjiev I meant to ask you the same. Not sure!


How to read website from the txt file

I have a list of website in the text file all-alive.txt and I want to read from it how can I achieve this ?
ffuf -u https://tinder.com/FUZZ -w fuzz.txt
this works fine.
while reading the website it shows error
ffuf -u all-alive.txt/FUZZ -w fuzz.txt

You can use it like this
ffuf -w all-alive.txt:URL -w fuzz.txt:FUZZ -u URL/FUZZ

Closing this by now, feel free to re-open @mikykatwal


Allow undefinedValue to be specified for slidingWindow

This allows for the logic in series.bollingerBands to be cleaned up.

:+1:


About Quantitative Evaluation Code

Dear author, thank you a lot for your great work.  I am very interested in this  work rrecently. But getting the shape reconstruction error is the biggest barrier, which I found really difficult to solve.
Could you be nice to share the evaluation code ? Here is my email address<EMAIL_ADDRESS>Thank you for your attention!

亲爱的作者，非常感谢您的出色工作。我最近对这项工作很感兴趣。但是得到形状重建误差是最大的障碍，我发现很难解决。
<EMAIL_ADDRESS>感谢您的关注！
How do you calculate the ID metric, can you share your thoughts? My email is<EMAIL_ADDRESS>