Security and performance risk with getUser and getSession

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
When using the getUser function from the Supabase auth client in Next.js server components, excessive database queries are generated upon each page refresh. When trying to use getUser to go around that, it solely checks JWT format and expiry without verifying authenticity.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

use getUser() in multiple components -> database overload
use getSession()-> unsafe

Expected behavior
Please refer to the class I wrote, and let me know if it's correct, it should be proper Jwt verification.
An alternative solution would be endpoint that only returns decoded and verified Jwt
Screenshots

System information

OS: macOS
Browser: none (server side)
Version of<EMAIL_ADDRESS>Version of Node.js: 20

Additional context
While implementing authentication with Next.js server components using this package, I observed an excessive number of database queries being generated with each page refresh. Initially, I was using the getUser function, which retrieves user data from the database on every invocation. This approach led to the performance issue noted.
Investigation
Upon reviewing the documentation, I realized that getSession should have been used instead of getUser for maintaining sessions without repeatedly hitting the database. However, further investigation revealed that getSession does not provide proper security checks, as it only verifies the format and expiry of JWTs without validating their authenticity.
Relevant Discussions and Changes
I came across a discussion in GitHub issue #873 from the supabase/auth-js repository, which suggested using getUser initially to eliminate invalid cookies before getSession. This method was flawed as it triggered warnings and was inefficient.
A recent commit (59ec9aff) addressed these warnings but introduced a potential security risk by failing to properly verify JWTs. If this new implementation applied to getSession as well it would only check the format and expiry of the tokens, which are vulnerable to spoofing.
Temporary Workaround
I have developed a workaround supabase-safesession that ensures more secure session handling in my application. Feel free to use it for now if the maintainers verified its correctness.

Be careful here. The code doesn't seem to take into account when cookies are chunked for storage.

Be careful here. The code doesn't seem to take into account when cookies are chunked for storage.

@j4w8n The supabase client is a @supabase/ssr's server client, it should be rewriting storage functions to handle this, might need some more type safety here though in case someone misses utils/supabase/server.ts.

@Zanzofily ok. I was just going by grabbing the cookie with next stuff here and thought that might be an issue if the the session is broken into two cookies.

@Zanzofily ok. I was just going by grabbing the cookie with next stuff here and thought that might be an issue if the the session is broken into two cookies.

@j4w8n You are right, I see what you mean now.
createChunks would definitely mess up getAuthTokensFromCookies function in my implementation. It seems that user_metadata can cause the cookie to grow, this field doesn't belong to cookies imo.

Both app_metadata and user_metadata can grow the JWT, it has happened to us already.

Both app_metadata and user_metadata can grow the JWT, it has happened to us already.

I see. Someone opened a PR to handle this on the workaround package I created, would merge it once it's ready.

Can we use react 19's cache function to wrap supabase.auth.getUser?
If we then call this function in multiple RSCs it should only make a single request to the auth server, right?

Can we use react 19's cache function to wrap supabase.auth.getUser?
If we then call this function in multiple RSCs it should only make a single request to the auth server, right?

lucia-auth suggests that in their docs, I haven't personally tested it though, as I have seen caching go wrong with cookies before.

When trying to use getUser to go around that, it solely checks JWT format and expiry without verifying authenticity.

I think you meant to write getSession, not getUser here @Zanzofily


Story Page feedback

Hi @alexfinnarn
Not sure if this is the best place to do this so let me know if you'd like it somewhere else or on a different issue...

Nav bar
I'd like the nav to be sticky-- unless you think it shouldn't for any reason?

curve is smaller than design. Trying to match ECU branding and the curve is bigger.
no dropshadow between the nav bar layers.

Buttons feel too large and button text is in all caps

Story hero area-

Story title font needs to be bigger and bolder
sub-text also bigger and bolder.
sharing icons are transparent filled rather than white and the grey is different and the feel too big.

Body

Image should be larger than body for desktop.

-font should be bigger and bolder.

Related funds

Underline and italicize... I want to make it look like a link.

Cards
We talked yesterday about keeping the size static and making them wrap based on break points.

Campus name should be black

We can remove this since we aren't connecting to a story bank.
Ill keep adding but thats my first pass

@duquennoisa I've updated the "Story One" page with a lot of the suggestions made except mainly sizing ones, e.g. font-size, border-radius, bold. I'll check Sketch inspector to see...but if you have an idea of what the base font-size, line-height, font-family...etc...is then...
Actually, we have what was used last year if you want the same bases.
As far as the format for feedback, the most helpful way for me is via checklist linked to the explanation. This way, people can see the progress at the top of the issue with what's changed and keep updating the items and explanation areas as things are updated. I'll post an example below.

My brief issue intro...
Design Changes:

[ ] Nav should be sticky
[ ] Font size off

## Sticky Nav
Here is my problem and screenshot...

## Font size
...another issue...

For this QA I viewed both pages at 100% and tried to provide side by side screenshots of the issue. I tried to avoid issues that Anne brought up already.

[ ] [Scare quote](###Scare quote)
[ ] [Spacing between buttons] (###Button spacing)
[ ] [Social media icons](###Social media)
[ ] [Hero image](###Hero image)
[ ] [Body text margins](###Body text margins)
[ ] [Body image width](###Body image width)
[ ] [Appreciate icons](###Appreciate icons)
[ ] [Arrows on links](###Arrows on links)
[ ] [Card edges](###Card edges)
[ ] [Subtitle text](###Subtitle text)
[ ] [Campus tags](###Campus tags)
[ ] [Give now buttons](###Give now buttons)
[ ] Footer spacing/alignment

###Scare quote
Scare quote line widths are different from mockup, extending too far on each side, text width is also different. Quotation mark styles are different

###Button spacing
Spacing between buttons is wider in mockup. External page Icon on "giving at CU" differ.

###Social media
Social media icons differ, they do appear to be smaller on the mockup.

###Hero image
Hero image size and where title/intro text starts differs

###Body text margins
Margins are different widths in body text

###Body image width
Body image width differ from mockup

###Appreciate icons
Appreciate icons are different. They're not filled in on the mockup, style is different on thumbs up icon and happy face icon.

###Arrows on links
Arrows are next to the link in mockup, at the far right of the link module in Heroku

###Card edges
Top of the card edges are rounded, and cards start with a margin on each side of the page.

###Subtitle text
Subtitle text on cards is lighter in mockup

###Campus tags
Campus tags have slightly more square edges in mockup

###Give now buttons
###Footer

[ ] Give now buttons do not match. Squarer in Heroku, and all caps. Text is too big. I'm assuming the spacing/alignment of links etc will be addressed at a later point?

@duquennoisa and @Feissit thanks for the review and input. I did update the code for most issues, but certainly, there are still differences between design and what you see on the current website.
As mentioned in some comments, the margins/paddings/font sizes aren't exactly the same, but with modern, responsive web design the values tend to be ratios and not exact measurements so people usually try to get ratios right instead of values.
I did try "viewport units" for fonts, but that didn't work out at all. To explain a bit more...the user's screen equals 100 viewpoint units in bot height and width. If I say the font size is 5vh for five height units, then it would equate to 5% of the total screen size. That may look good on mobile but not on tablet or desktop.
So, I went back to using pixels in the code and matching what InVision gives me. However, I swear some text that says it is #000000, or black, looks to be some shade of gray.
I will close this issue now and open some targeted issues so the conversation can focus on one problem at a time.


[node-agent] Create gardener Linux user when node is boostrapping

How to categorize this PR?

/area ops-productivity
/kind enhancement
What this PR does / why we need it:
At the moment the gardener Linux user is created after a node was successfully bootstrapped only. This complicates debugging, if there is an issue during the bootstrapping process of the node.
Thus, this PR adds the gardener-user component to OSC with purpose provision when SSH is enabled for the nodes. Additionally, sshd-ensurer is added to ensure that sshd starts in time. This allows OS extensions to include these units into their userData script.
The userData scripts in OS extensions might have to be adapted to enable and start the systemd units provided by OSC. There is an example implementation for provider-local in this PR.
Which issue(s) this PR fixes:
Part of #8023
Special notes for your reviewer:
/cc @rfranzke
Release note:

When SSH access is enabled `gardener` Linux user is now created during the bootstrapping process of a `node`.

/assign

I moved everything into an own ProvisionConfig. PTAL 😄


update coinbase-payment.md for Solidity code to be appropriately parsed

the problem is that Solidity isn't parsed by Docusaurus sadly, @RyRy79261 I wonder if you know what could be done here?


Add missing VMId parameter description for Remove-ClusterGroup

Add missing VMId parameter description for Remove-ClusterGroup

Docs Build status updates of commit 4301ecd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/failoverclusters/remove-clustergroup.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/failoverclusters/Remove-ClusterGroup.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@dariomws306 @get-itips @tseward
Peer review needed for this PR. Thanks.


Add certificate troubleshooting details for Azure Cosmos DB

Per @kushagraThapar request, add previously deleted details on installing certificate for various client developer frameworks.

#sign-off


Removed closing round bracket

Hi @lkubis, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

:shipit:

Merged into docs. Thank you e44c865373e75fe2dd232ad9392e5f39d8aad89f


Should be able to highlight with Shift+Ctrl+M

Shift + Ctrl + M should highlight text between the matching bracket.

Please reopen on https://github.com/atom/bracket-matcher which provides that feature. You might also consider making a pull request to add those keybindings to https://github.com/atom/bracket-matcher/blob/master/keymaps/bracket-matcher.cson.


[FEATURE] Redirecting to post page when clicking posts

Description

Post consists of avatar and username in the header.
Avatar redirects to the profile page and username to the post page.
I would like to redirect user to the post page on clicking the post's caption/image box.

Screenshots
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Hi @anamika7153 , actually I'm thinking to terminate the postview page/component as a whole, instead can we navigate user to his profile on that post? What do you think?


Added google places autocomplete

https://www.loom.com/share/819e57f91437494e8d78873662d6161c

Woohoo! Thanks @devinowen for creating another feature that will greatly improve the user experience!


Error urllib2.URLError:

Hello, I'm trying to run this script on ArchLinux with python 2.7 after scanning the link, when trying to download the video I got this error.
Video URL: blob:https://frontendmasters.com/949e7c5e-ee32-496f-b81f-3631291cc1e1
Downloading: Introduction
Traceback (most recent call last):
  File "frontendmasters-dl.py", line 21, in <module>
    downloader()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "frontendmasters-dl.py", line 14, in downloader
    spider.download(course)
  File "/home/avar/githubz/OS_FrontendMaster-dl/extractor/spider.py", line 45, in download
    self.download_course(course_downloadbale)
  File "/home/avar/githubz/OS_FrontendMaster-dl/extractor/spider.py", line 181, in download_course
    download_file(subsection['downloadable_url'], file_path, self)
  File "/home/avar/githubz/OS_FrontendMaster-dl/extractor/helper.py", line 24, in download_file
    buff = urlopen(temporaryURL)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 452, in _open
    'unknown_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1266, in unknown_open
    raise URLError('unknown url type: %s' % type)
urllib2.URLError: < urlopen error unknown url type: blob >

Apparently there something wrong in line 24 in the helper.py file.
File "/home/avar/githubz/OS_FrontendMaster-dl/extractor/helper.py", line 24, in download_file
buff = urlopen(temporaryURL)

You can start your debugging process there.

Try install this: pip install --user fonttools
Solved the same issue you have for me

And to easier install chromedriver on macOS . Run brew install chromedriver

Thanks, @silo for providing the fix. Yeah, brew is a nice to have toolkit. Please reopen the issue if this does not fix your issue.

Same issue here. I tried the fonttools install and I tried installing chromedriver with homebrew still didn't work.


Confirm before delete feature

When interacting with arrays, especially while sorting, some user can accidentally click on remove. Would be nice to have a kind of confirm_array_delete option that can be set to true, and shows a popup asking user to confirm before deleting.

it could even be set to a boolean or a function.

For now, i'm using a eventListener that solve my use case and don't require changing the library.
document.addEventListener('click', function(e) {
  var target = e.target;
  var parent = target.parentNode;
  var elementToCheckDelete;
  if (parent.nodeName === 'BUTTON') {
    elementToCheckDelete = parent;
  } else {
    elementToCheckDelete = target;
  }
  if ( elementToCheckDelete.className.indexOf('delete') > -1 ) {
    var confirm;
    confirm = window.confirm("Confirm delete this item?");
    if ( !confirm ) {
      e.stopPropagation();
    }
  }
}, true);


[4.3] Mesh disappears when importing an AnimationLibrary onto a GeneralSkeleton

Tested versions

Reproducible in 4.3-dev6
Not reproducible in 4.2.2.stable

System information
Windows 11, geForce 4080, Godot 4.3-dev6, Forward+
Issue description
I have an anim library I've applied a bone map on and an armature with mesh I've also applied a bone map on. Both are taken from mixamo. When I create an inherited scene from the mesh GLB, add an animation player and import my anim library in 4.2, things work exactly as they should. The same process in 4.3-dev6 causes the entire mesh to disappear.

Example video: https://www.youtube.com/watch?v=9Ob5M0YIgQs
Steps to reproduce

Have a character and some animations downloaded from mixamo. Mine are in an anim library.
Apply a bone map with default settings to both the character and anim library.
Create inherited scene from the character GLB. Add an animation player
Load the AnimationLibrary into the anim player

Minimal reproduction project (MRP)
Godot 4.2.2 project: TestMixamo42.zip
Godot 4.3-dev6 project: testmixamo43d6.zip
In both:

Open Main.tscn
Click on the AnimationPlayer and load the animation library

Bisect points to #90064 as the culprit:

I think this is a specification rather than a bug. is the Hips scale track intended? If you don't need it, enable the remove unimportant track option.

For the mesh I downloaded the fbx from mixamo, imported into the latest Blender, changed nothing and immediately exported as glb with default options - just the animation checkbox unchecked.

I, @TokageItLab and @lyuma are looking into this.

Thank you for providing the reproduction project for4.2.x. I can confirm that the issue is also present in that version (tested on 4.2.1) when Remove Immutable Tracks is unchecked.

The reason Remove Immutable Tracks concealed the problem in 4.2 is it removed all tracks that had only one keyframe if the initial pose was the same as the keyframe.

The problem is that after applying Apply Node Scale, the Scale track values mismatch with the Skeleton's rest.
Even in 4.2.1, Remove Immutable Tracks did not specifically hide the problem, but guaranteed that the rest would match the Skeleton Node, so removal there made sense.
Since https://github.com/godotengine/godot/pull/90064, Remove Immutable Tracks is now done after Apply Node Scale, so the comparison needs to be changed.
@lyuma The current importer process matches which of the following flows? Or other?

Override Rest -> Fix Silhouette -> Apply Node Scale -> Remove Immutable Tracks
Override Rest -> Fix Silhouette -> Remove Immutable Tracks -> Apply Node Scale
Apply Node Scale -> Override Rest -> Fix Silhouette -> Remove Immutable Tracks

If Remove Immutable Tracks is running after Apply Node Scale, there are two possible fixes.

Move Remove Immutable Tracks before Apply Node Scale
Apply Node Scale to all keys in the scale track

Probably the former should be chosen, since the latter could corrupt the animation if the bones have scale intendedly as glTF.

Probably #3.
It is incorrect to remove tracks before the retargeting flow. We need to be able to compare against the bone rest. The reason is because animation mixer may use bone rest as the reference point when no explicit reset animation exists (and indeed, when the user requests creating a RESET animation, it is based on the bone rest)

Move Remove Immutable Tracks before Apply Node Scale

This is incorrect, because it will remove things that match the old bone rest which will then lead to incorrect blending after we change the rest.
I strongly believe that this bug is unrelated to Remove Immutable Tracks. It only appeared to be related because remove immutable was incorrect previously

Apply Node Scale to all keys in the scale track

This is kind of what I am trying, but the code is written to only touch the toplevel bones (get_parentless_bones)


add: task arguments

[x] one task with multiple flags: ds {name} --flag1 --flag2
[x] multiple tasks with multiple flags: ds {name1} --flag1 -- {name2} --flag2

Suppose you have:
[scripts]
ls = "ls -la"
test = "pytest"

And you want to run: ds ls test where you intend to run ls with test as the argument. Because we're looking for a flag there's no way to indicate the start of args.
So let's use : as a way to indicate that when your first argument doesn't start with a hyphen: ds ls : test -- test
This is pretty experimental.


Dartpad is sigificantly slowed for latest update.

I tried same code with latest update of dartpad. but it seems slower than oldest version. It is tooooooooooooooooooooo slow. Still did not fix this problem!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

some browser gives exception like:
Error: Load timeout for modules: flutter_web
https://requirejs.org/docs/errors.html#timeout, error: Error: Load timeout for modules: flutter_web
https://requirejs.org/docs/errors.html#timeout

Can you share any errors or timing information you are seeing in the developer console? Are you running in Chrome?


🐛 [Firebase_auth] firebase auth giving error on latest version

Bug report
Lexical or Preprocessor Issue (Xcode): 'messages.g.h' file not found
/Users/mac/.pub-cache/hosted/pub.dev/firebase_auth-4.7.1/ios/Classes/messages.g.m:3:8

Plugin version
firebase_core: ^2.15.0
 firebase_auth: ^4.7.1

Closing this as a duplicate of https://github.com/firebase/flutterfire/issues/11285.


Teach Dialyzer to check for unknown functions and types

Do not merge as CI fails!

I see :0: Unknown type http_uri:uri/0, I need to understand why. I am re-compiling locally from scratch.

I see :0: Unknown type http_uri:uri/0, I need to understand why. I am re-compiling locally from scratch.

I see it is jesse.erl and jesse_state.erl

Looks good so far...

I force pushed:

I rebased on master;
I enriched the commit re workaround of http_uri types by depending on a modified jesse version. I did not propose this upstream as the copied type is applicable only to recent OTP versions;
I reordered the commits so CI is meant to pass at each commit.

The proposed http_uri patch is submitted to OTP (1724) and already went through a round of review. Though it is not yet merged so it is not in any released tag. Hence I propose to merge this PR with the http_uri workarounds so that we have unknown Dialyzer option enabled in master.


Remove notion of a separately stored event count

This PR is a part of https://github.com/SpineEventEngine/core-java/pull/1089.
The JdbcAggregateStorage will no longer store the separate event count after last snapshot.

@armiol PTAL. The build will pass once the https://github.com/SpineEventEngine/core-java/pull/1089 is merged.


About Adaptive Pool 2d

Hi, Thank you for your work.
I would like to ask, how can I use AdaPool2d as follows? Because I hope it can process different feature size in different stage.
adppool = AdaPool2d(beta=(1,1), kernel_size=(1,None))

like this:

I have solve this problem.
Thanks again!


Pager's pagerTabIndicatorOffset doesn't work with androidx.compose.material3

I'm trying to sync tabrow and HorizontalPager with Modifier.pagerTabIndicatorOffset.
It seems like it requires material 2 TabPosition. I'm using Material 3 library and I would like to use one material3 supplies.
Could this be fixed, or is there any other way to circumvent this issue?

That is correct, accompanist would need to provide a material3-compatible version (it looks like it would also need to adjust some of the color handling to work with material3 too).
In the meantime, your best bet is probably to adapt the code you need to Material 3 yourself:
https://github.com/google/accompanist/tree/main/pager-indicators/src/main/java/com/google/accompanist/pager

For anyone trying to get this to work with material3, simply create a new Modifier using the code from PagerTab.kt from the link above and use import androix.compose.material3.TabPosition instead of import androidx.compose.material.TabPosition.

Please don't close it automatically.

Add support for this, please.

For anyone trying to get this to work with material3, simply create a new Modifier using the code from PagerTab.kt from the link above and use import androix.compose.material3.TabPosition instead of import androidx.compose.material.TabPosition.

Bro it doesn't work

For anyone trying to get this to work with material3, simply create a new Modifier using the code from PagerTab.kt from the link above and use import androix.compose.material3.TabPosition instead of import androidx.compose.material.TabPosition.

Bro it doesn't work

"Bro", it sure does work.
Make sure you're using the material3 version of Tab, TabRow and TabRowDefaults.Indicator.
I've just tested it again on latest versions of material3, pager and pager-indicators.

For anyone trying to get this to work with material3, simply create a new Modifier using the code from PagerTab.kt from the link above and use import androix.compose.material3.TabPosition instead of import androidx.compose.material.TabPosition.

Bro it doesn't work

"Bro", it sure does work.
Make sure you're using the material3 version of Tab, TabRow and TabRowDefaults.Indicator.
I've just tested it again on latest versions of material3, pager and pager-indicators.

Can you send me some example code? 🙂

Please do not close this only because it's stale...

Unfortunate that there's still not a material 3 version of pager. This is still broken.

For anyone trying to get this to work with material3, simply create a new Modifier using the code from PagerTab.kt from the link above and use import androix.compose.material3.TabPosition instead of import androidx.compose.material.TabPosition.

Can you send me some example code? 🙂

This worked as explained above. Here's a sample project using the latest Compose BOM (2022.12.00), Material3, and Accompanist (0.28.0): https://github.com/c5inco/Material3Pager

Unfortunate that there's still not a material 3 version of pager. This is still broken.

FWIW I don't think the Accompanist Pager is meant to be Material-specific. Given the new Pager (its successor available as experimental in 1.4.0) is in Compose Foundation, it's a clear signal this is the case.
The Pager Indicators do take a dependency on Material Tabs, but the APIs called in Material2 are identical in Material3, albeit some references to LocalContentColor and LocalContentAlpha which can easily be substituted for any other colors since they are just used as good defaults for tab colors. Additionally, what is being done in the library to synchronize with tabs can be relatively adapted to other UIs in Compose.
That is all to say, yes you can get the Accompanist Pager Indicators to work with Material3 Tabs with a copy-paste-replace, and given the new Pager is upstream in Compose Foundation, its unlikely the team will make any further changes to Pager or Pager Indicators in Accompanist.

Please don't close it automatically.

Please don't close it automatically.

Please don't close it automatically.

Can we have more info on why it was closed as completed?

Can we have more info on why it was closed as completed?

Because Accompanist's Pager is getting deprecated, Horizontal and Vertical pagers have been added to Compose Foundation and there is a material3 version of the .tabIndicatorOffset modifier which you can use in combination with the TabRow of compose.material3.

@leinardi what resolution are you expecting for this issue?

@c5inco closing the issue without a PR link to the M3 version or an explanation on how to migrate from the M2 to the M3 version wasn't what I was expecting.

Gotcha. I believe I provided one approach on how to migrate in the previous comment: https://github.com/google/accompanist/issues/1076#issuecomment-1363805668
It's a little old now, but I don't think Material3 or the new Pager APIs have changed that significantly that it's no longer applicable.
And to my knowledge there are no plans for an M3 version as pager indicators aren't in the Material3 Design spec, which is the criteria for warranting inclusion in the Compose Material library.


Could not load 'plugins/LuckPerms-Bukkit-5.3.47.jar' in folder 'plugins'

Description
Hello, can anyone help?
https://pastebin.com/6gpyGgus
Proposed Behaviour

Extra Details
No response

Hi,
there are a few things I would like to point out here:
1.) Please don't (half) ignore the issue template, the things asked to be filled out are there for a reason.
2.) Please label actual issues as 'issues' and not suggestions. Suggestions are not as important as providing fixes and therefore will most likely be looked at later.
3.) Please also update your LuckPerms, you are way behind by now.
Your error Unable to create a temporary file and /tmp/luckperms-jarinjar6039974849523517053.jar.tmp: Read-only file system indicate that the user running the server does not have 'write' perms in /tmp/ as far as I can see (read only).
If you're running the server off a hosting provider, you need to contact their support.
If you're running the server on a VPS/dedi machine/selfhost, you should be able to fix this yourself.
I don't see how this is a suggestion nor anything LuckPerms could do about.
If I am wrong, someone else please correct me.
~Cheers


WIP - support python 39, ansible-core 2.12, ansible-plugin-scan

support python 39, ansible-core 2.12, ansible-plugin-scan

Changes LGTM.


[BUG] Round brackets do not escaped

rich.markup.escape do not work with round brackets
I am want print string (filename) in one color. String contains round brackets
code:
print(f'[yellow]{rich.markup.escape(img_filename)}[/yellow]')
result:

or:
code:
print(rich.markup.escape(img_filename))
result:

expected:
all-single-color filename
environment:
Windows 10 Home, Python 3.10, Rich 12.2.0, MS Windows Terminal Preview, CMD console.

Round brackets have no special meaning in console markup. The color is added by highlighting. See the docs for how to disable it.


feat: Add method to add analyzer rules to SessionContext

Which issue does this PR close?
Closes #10846
Rationale for this change
The new session context works fine with the rules I added, but there is no way to register the rules to the session context directly.
What changes are included in this PR?
adding SessionContext::add_analyzer_rule that simply calls SessionState::add_analyzer_rule
Are these changes tested?
unit tests
Are there any user-facing changes?

@pingsutw  please let me know if you have time to add an example for this API, otherwise I think perhaps we can merge it in and add coverage as part of https://github.com/apache/datafusion/issues/10855 (or we could hold off on this code until the PR that adds the example)

I'll update my pr and add an example tonight

I merged this PR up from main to resolve a conflict

Thank you for the help!


[PURIS FOSS] Enhance UI

Overview
Explain the topic in 2 sentences
UI has been reworked to React but still has some bad user experience. Update UI to follow the updated mockup.
What's the benefit?

Better overall user experience, ease of use and navigation
Information information can be better interpreted and contextualized by the user.
Visual improvements and a modern design make the refeference implementation and the PURIS use case as a whole more appealing for potential users and thus create interest

What are the Risks/Dependencies ?#

CX Styleguide?

Detailed explanation
Current implementation

Basic react frontend
simple and not very appealing presentation of PURIS data
data is scattered in different views

Proposed improvements

Follow the design mockup as a guideline
implement a modern design
Merge and harmonize different views
use UI & style elements to make data easier to understand
inlcude fixes for known bugs from the old UI

Feature Team
Contributors

@ReneSchroederLJ

Committers

@tom-rm-meyer-ISST

User Stories

(https://github.com/eclipse-tractusx/puris/issues/427)
https://github.com/eclipse-tractusx/puris/issues/424
https://github.com/eclipse-tractusx/puris/issues/422
TBD

Acceptance Criteria

[ ] UI has been reworked according to existing mock ups
[ ] Stock View is merged to the other views
[ ] Bugs and known issues from the old UI are fixed
[ ] Automated Test coverage has been created

Test Cases
Test Case: E2E Test_05: Use Dashboard as Customer and Supplier
A supplier updates his data in the dashboard, A customer also updates data in the dashboard. Then both parties update the partner-related data and get the updated information.
Needed Variables:

Supplier Frontend URL
Customer Frontend URL

Preconditions

The Customer PURIS (Frontend, Backend, EDC) is running.
The Supplier PURIS (Frontend, Backend, EDC) is running.
Both partners are onboarded to the INT environment.

Step 1
Actions
Open the PURIS FOSS Supplier application.
Expected Result
The application redirects to the INT central IDP instance.
Step 2
Actions
Login with user and password.
Expected Result
User logged in successfully. The user sees at least the following views:

Stock View
Supplier Dashboard

Step 3
Actions

Open Dashboard
Select Supplier Tab
Select Material Number "MNR-8101-ID146955.001"
Select Production Site "BPNS1234567890ZZ"
Update the value for Shipments by clicking the "+ Create Delivery" button.
In the resulting popup enter your delivery information.
Hit "save" to save your data in the puris database.
Repeat the same process for Planned Production
Keep the window open for step 7

Data
Delivery Information:

Partner: "Control Unit Creator Inc."
Destination: BPNS4444444444XX
Estimated Time of Departure: Today
Estimated Time of Arrival: Tomorrow
Tracking Number: 1Z9829WDE02128
Incoterm: "EXW"
Quantity: 37
Meaurement Unit: pieces
Customer Order Number: "C-Nbr-1"
Customer Oder Position: "PositionId-01"
Supplier Order Number: "S-Nbr-1"

Planned Production:

Estimated Time of Completion: Today at 18:00
Quantity: 99
Measurement Unit: pieces
Partner: "Control Unit Creator Inc."
Customer Order Number: "C-Nbr-1"
Customer Oder Position: "PositionId-01"
Supplier Order Number: "S-Nbr-1"

Expected Result
The inserted data is saved to the database and appears in the respective table cells
Step 4
Actions

Open the PURIS FOSS Customer application.

Expected Result
The application redirects to the INT central IDP instance.
Step 5
Actions
Login with user and password.
Expected Result
User logged in successfully. The user sees at least the following views:

Stock View
Supplier Dashboard

Step 6
Actions

Open Dashboard
Select Customer Tab
Select Material Number "MNR-7307-AU340474.002"
Select Production Site "BPNS4444444444XX"
Update the value for Material Demands by clicking the "+ Create Demand" button.
In the resulting popup enter your demand information.
Hit "save" to save your data in the puris database.
Select the Supplier Site "BPNS1234567890ZZ" from the Supplier Sites dropdown at the top of the page.
Click the "Refresh" button to trigger an EDC request for new data from your supplier.
Refresh the page and add the filters for Materialnumber, Site and Supplier Site again.
Compare the rows for delivery and planned Production with the data entered in step 3. Detailed Data is shown when the individual cells are clicked.

Data
Material Demand:

Partner: Semiconductor Supplier Inc.
Expected Supplier Location: "BPNS1234567890ZZ"
Quantity: 99
Measurement Unit: pieces
Day: today
Demand Category: "Default"

Expected Result

The added Demand is successfully saved to the database and shown in the table.
The data from step 3 is shown in the supplier information table.

Step 7
Actions

Return to the Puris FOSS Supplier application.
Filter by Customer Site "BPNS4444444444XX"
Click "Refresh" to request updated data from the customer.
Refresh the page and re-add the filters to show the customer information table.
Compare the row Demand with the data you entered in Step 6. For detailed information click the respective cell in the table.

Expected Result
The data from step 6 is shown in the customer information table

Some hints from Release Management (@ther3sa) and Tractus-X Project Lead (@stephanbcbauer)

Status currently in Inbox. ⇾ Only features with status backlog are considered in open planning
Please add missing sections from the feature template, or fill them out
Please add assignee (overall responsible person who drives the feature)

Test Case: E2E Test_05: Use Dashboard as Customer and Supplier
Assigned Team(proposal){{}}: PURIS FOSS
E2E Test Description: ** A supplier updates his data in the dashboard, A customer also updates data in the dashboard. Then both parties update the partner-related data and get the updated information.
Needed Variables:
-Supplier Frontend URL
-Customer Frontend URL
Preconditions
-The Customer PURIS (Frontend, Backend, EDC) is running.
The Supplier PURIS (Frontend, Backend, EDC) is running.
Both partners are onboarded to the INT environment.
Step 1
Actions
Open the PURIS FOSS Supplier application.
Expected Result
The application redirects to the INT central IDP instance.
Step 2
Actions
Login with user and password.
Expected Result
User logged in successfully. The user sees at least the following views:
-Stock View
Supplier Dashboard
Step 3
Actions
Open Dashboard
Select Supplier Tab
Select Material Number "MNR-8101-ID146955.001"
Select Production Site "BPNS1234567890ZZ"
Update the value for Shipments by clicking the "+ Create Delivery" button.
In the resulting popup enter your delivery information.
Hit "save" to save your data in the puris database.
Repeat the same process for Planned Production
Keep the window open for step 7
Data
Delivery Information:
Partner: "Control Unit Creator Inc."
Destination: BPNS4444444444XX
Estimated Time of Departure: Today
Estimated Time of Arrival: Tomorrow
Tracking Number: 1Z9829WDE02128
Incoterm: "EXW"
Quantity: 37
Meaurement Unit: pieces
Customer Order Number: "C-Nbr-1"
Customer Oder Position: "PositionId-01"
Supplier Order Number: "S-Nbr-1"
Planned Production:
Estimated Time of Completion: Today at 18:00
Quantity: 99
Measurement Unit: pieces
Partner: "Control Unit Creator Inc."
Customer Order Number: "C-Nbr-1"
Customer Oder Position: "PositionId-01"
Supplier Order Number: "S-Nbr-1"
Expected Result
The inserted data is saved to the database and appears in the respective table cells
Step 4
Actions
Open the PURIS FOSS Customer application.
Expected Result
The application redirects to the INT central IDP instance.
Step 5
Actions
Login with user and password.
Expected Result
User logged in successfully. The user sees at least the following views:
Stock View
Supplier Dashboard
Step 6
Actions
Open Dashboard
Select Customer Tab
Select Material Number "MNR-7307-AU340474.002"
Select Production Site "BPNS4444444444XX"
Update the value for Material Demands by clicking the "+ Create Demand" button.
In the resulting popup enter your demand information.
Hit "save" to save your data in the puris database.
Select the Supplier Site "BPNS1234567890ZZ" from the Supplier Sites dropdown at the top of the page.
Click the "Refresh" button to trigger an EDC request for new data from your supplier.
Refresh the page and add the filters for Materialnumber, Site and Supplier Site again.
Compare the rows for delivery and planned Production with the data entered in step 3. Detailed Data is shown when the individual cells are clicked.
Data
Material Demand:
Partner: Semiconductor Supplier Inc.
Expected Supplier Location: "BPNS1234567890ZZ"
Quantity: 99
Measurement Unit: pieces
Day: today
Demand Category: "Default"
Expected Result
The added Demand is successfully saved to the database and shown in the table.
The data from step 3 is shown in the supplier information table.
Step 7
Actions
Return to the Puris FOSS Supplier application.
Filter by Customer Site "BPNS4444444444XX"
Click "Refresh" to request updated data from the customer.
Refresh the page and re-add the filters to show the customer information table.
Compare the row Demand with the data you entered in Step 6. For detailed information click the respective cell in the table.
Expected Result
The data from step 6 is shown in the customer information table.

Data

Took over into description and did some formatting


Passing data to insert() inside layout()

Demo structure:
/layouts
    main.php
/partials
    sidebar.php
index.php

I "extend" layouts/main.php from index.php, how do I change something like a heading inside sidebar.php from index.php?

Update: I'm currently passing data from index up to layouts/main & down to partials/sidebar in a similar fashion to the stacked layouts in the docs, which feels a bit like prop drilling. Wondering if that's the optimal way.

Hey!
I hope you were able to use plates in your project.
Here's an example of how I'm using it.
The home.php view calls the head.php file which is in the "html" folder in the root directory used by plates.
I'm just using $this->insert and $this->section
See the example code:
`
plates config
$templates = new Engine();
$templates->setDirectory($path);
return $templates->render($this->page, $this->templateData);
home.php
insert('_html/head', ['title' => 'page title' ]) ?>
insert('_html/head') ?>
head.php
section("content") ?>

e($title)?>
`


Test Issue created at Fri, 04 Jun 2021 12:32:44 GMT

Test issue body  Fri, 04 Jun 2021 12:32:44 GMT

Comment on issue at Fri, 04 Jun 2021 12:32:46 GMT


Initialization into Angular project

Describe the bug
Trying to add @adyen/adyen-web to my angular app and following the drop-in guide, but I get an error when initializing the component where it lives.
To Reproduce
Steps to reproduce the behavior:

In an Angular app install @ayden/ayden-web: npm i @ayden/ayden-web --save
In a component controller file have the following code:

// .component.ts
import AdyenCheckout from '@adyen/adyen-web';
import<EMAIL_ADDRESS>
...

const configuration = { ... } // valid configuration and apiKey for all I know
const checkout = new AdyenCheckout(this.configuration);
const dropin = checkout
        .create('dropin', { openFirstPaymentMethod: false })
        .mount('#dropin');

In the view that belong to the same component have:

On page load there is the following error:

ERROR Error: Component could not mount. Root node was not found.
    at e.t.mount (adyen.js:1)

Expected behavior
I would expect the component to mount successfully. I have read on https://docs.adyen.com/online-payments/components-web/ that "If you are using JavaScript frameworks such as Vue or React, make sure that you use references instead of selectors and that you don't re-render the DOM element." and I have tried to target the dom element in other ways, with a @ViewChild angular decorator + # notation in the view for example, but to no success and I didn't find an example or documentation that applies to angular.
Desktop (please complete the following information):

OS: Windows
Browser: Chrome
Version: latest

Hi @victorbadila,
Thanks for reaching out. It seems like the node where the component is trying to mount doesn't exist at the time mount() is called. I would suggest double checking that the mount() method is called after the view is fully rendered and that a reference is used instead of a selector to the DOM element. Hope this helps!

Hopefully this example will help too:
https://github.com/adyen-examples/adyen-angular-online-payments/blob/master/checkout/src/app/components/checkout/checkout.component.ts

Looks like it worked. Thanks!


Added FTP Provider and implemented in action-upload

Added FTP Provider with download and upload functions

Added implementation of ftp in "action-upload"

Hi,
The build failed because "@nexrender/provider-ftp": "^1.2.1" doesn't exist in npmjs.
https://registry.npmjs.org/@nexrender%2Fprovider-ftp
(My last commit)

yep, i see, dont worry about that


not support masking

I used：
encoder_input = ks.layers.Input(shape=(90,))
embed = Embedding(input_dim=598, output_dim=512, input_length=90, mask_zero=True)
encoder_inputs = embed(encoder_input)
……
I tried ‘’SequenceAttention‘’ and ‘’AttentionRNNWrapper‘’, then both shows"Layer does not support masking……"

hey,
I am getting same problem. Have you solved the problem?


Dockerfile for  python36-closure-container image

I am searching  to find the Dockrfile * of python36-closure-container* image from the link https://hub.docker.com/r/clipper/python36-closure-container/
but it doesn't exist there.
Where I find it?

@robi56 :
All the dockerfiles are here.


to_bitvec and related functions returning invalid values

Hello, if you run the below code you can see that while these should return the same value, the second instance returns [0x7, 0x80].
use bitvec::prelude::*;
assert_eq!(bitvec::bits![u8, Msb0;       0, 0, 0, 1, 1, 1, 0, 1].to_bitvec().into_vec(), vec![29]);
assert_eq!(bitvec::bits![u8, Msb0; 1, 1, 0, 0, 0, 1, 1, 1, 0, 1][2..].to_bitvec().into_vec(), vec![29]);

Is this an endianess problem?
let data: Vec<u8> = vec![0b0000_0000, 0b1111_1111];
let slice = data.view_bits::<Msb0>();
info!("{:04b}", slice[6..10].load::<u64>());

is printing 1100 instead of 0011.
I work around this with a loop (read until word boundary, shift subslice to the left, continue), but that means I have to do sign extension manually.
Bug or a feature?

Ran your numbers, in your case it does not look like an endianess problem, and rather like a generic "reads across word boundaries" problem. I guess what happens is

bitvec reads from the start position until the end of the first word (00_0111)

this value is zeroextended to 0000_0111 (aka 0x7) and appended to the output

bitvec reads the remaining bits from the second word (01)

this value is shifted by 6 to 0100_0000 (aka 0x80), because the bitvec ended 6 bits before the end of the current word, and the result is appended to the output

@myrrlyn could you clarify what the expected output is? I guess there must be tests covering reads across word boundaries, therefore this behaviour might be intended (?)

I have a similar problem, this code returns 2 instead of 4
use bitvec::prelude::*;

let bytes = [2, 0, 0, 0, 0, 0, 0, 0];
let (pos, length) = (6, 3);

let v = bytes.view_bits::<Msb0>();
let s = &v[pos..(pos + length)];
let i: u64 = s.load();

assert_eq!(4, i);

Any pointers on how to fix it? because in the Debug print the slice is correct with 3 elements

I think that the main issue here is that we expect the [..index] indexing work differently than it does internally and how it combines with vector conversion.
All cases mentioned here are related to indexing when the index range overlaps with two different bytes in memory.
In the original issue there is
let data = bitvec::bits![u8, Msb0; 1, 1, 0, 0, 0, 1, 1, 1, 0, 1];

If we look how this is presented in memory, it takes two bytes because of the defined u8 type and size of 10.
We can see the memory layout with data.domain() call, and it looks like
data.domain() = Domain::<*const u8, bitvec::order::Msb0>::Region {
    head: None,
    body: [
        199,
    ],
    tail: Some(
        PartialElement<*const u8, bitvec::order::Msb0> {
            elem: 64,
            mask: 11000000,
            head: 000,
            tail: 0010,
        },
    ),
}

The first byte (as in terms of body) is used completely (0b_1100_0111) which is the decimal number 199. There is no need for head.
Second byte (tail part) uses two bits and results to remaining (b0100_0000) in memory which is decimal number 64.
If we take a index range with [2..], it results into different memory layout as:
&data[2..].domain() = Domain::<*const u8, bitvec::order::Msb0>::Region {
    head: Some(
        PartialElement<*const u8, bitvec::order::Msb0> {
            elem: 7,
            mask: 00111111,
            head: 010,
            tail: 1000,
        },
    ),
    body: [],
    tail: Some(
        PartialElement<*const u8, bitvec::order::Msb0> {
            elem: 64,
            mask: 11000000,
            head: 000,
            tail: 0010,
        },
    ),
}
// or use bit_domain()

&data[2..].bit_domain() = BitDomain::<*const u8, bitvec::order::Msb0>::Region {
    head: BitSlice<u8, bitvec::order::Msb0> {
        addr: 0x0000600001e48010,
        head: 010,
        bits: 6,
    } [
        0,
        0,
        0,
        1,
        1,
        1,
    ],
    body: BitSlice<u8, bitvec::order::Msb0> {
        addr: 0x0000600001e48011,
        head: 000,
        bits: 0,
    } [],
    tail: BitSlice<u8, bitvec::order::Msb0> {
        addr: 0x0000600001e48011,
        head: 000,
        bits: 2,
    } [
        0,
        1,
    ],

New bitslice is constructed from two different parts - there isn't completely used memory byte anymore so body is empty. [2..] results on removing data from the body and there is a head now which represents the 0b_0000_0111 as two leading 1s are removed, and then replaced with zero padding to align byte width, this results to number 7.
Tail is still the same and remains as the same value. As a result, into_vec call results into [7, 64] array, because it creates u8 aligned vector based on the memory layout.
It also states in the docs:

Converts a bit-vector into a Vec of its underlying storage.

So this is intended behavior I guess.
We can get the expected vector from the above by calling .force_align() after to_bitvec() call which will make the contents of the bit-vector match its in-memory storage.
Now, if we would check the .bit_domain(), it would look like:
bitvec.bit_domain() = BitDomain::<*const u8, bitvec::order::Msb0>::Region {
    head: BitSlice<u8, bitvec::order::Msb0> {
        addr: 0x0000000000000001,
        head: 000,
        bits: 0,
    } [],
    body: BitSlice<u8, bitvec::order::Msb0> {
        addr: 0x000060000330c020,
        head: 000,
        bits: 8,
    } [
        0,
        0,
        1,
        0,
        1,
        1,
        0,
        1,
    ],
    tail: BitSlice<u8, bitvec::order::Msb0> {
        addr: 0x0000000000000001,
        head: 000,
        bits: 0,
    } [],
}

I am not sure if this is also related to load() usage, but at least in the case of @dns2utf8-novaziun using load_be() results to correct value. load() uses native endianness which is little for most computers these days.


The format for what's next section in cloud-controller.md is not right.

This is a Bug Report

Problem:
Thewhat's nextsection in the cloud-controller.md is not in right format.
Given as:

What's next
Cloud Controller Manager Administration has instructions on running and managing the cloud controller manager.
To upgrade a HA control plane to use the cloud controller manager, see Migrate Replicated Control Plane To Use Cloud Controller Manager.
Want to know how to implement your own cloud controller manager, or extend an existing project?

Proposed Solution:

What's next

Cloud Controller Manager Administration has instructions on running and managing the cloud controller manager.

To upgrade a HA control plane to use the cloud controller manager, see Migrate Replicated Control Plane To Use Cloud Controller Manager.

Want to know how to implement your own cloud controller manager, or extend an existing project?

Page to Update:
https://kubernetes.io/docs/concepts/architecture/cloud-controller/

/language en
/sig docs
/assign

What's next

Want to know how to implement your own cloud controller manager, or extend an existing project?
The cloud controller manager uses Go interfaces to allow implementations from any cloud to be plugged in. Specifically, it uses the CloudProvider interface defined in cloud.go from kubernetes/cloud-provider.
The implementation of the shared controllers highlighted in this document (Node, Route, and Service), and some scaffolding along with the shared cloudprovider interface, is part of the Kubernetes core. Implementations specific to cloud providers are outside the core of Kubernetes and implement the CloudProvider interface.
For more information about developing plugins, see Developing Cloud Controller Manager.

the content seems confusing as it does not mention how to implement your own cloud controller manager, or extend an existing project?
We can add more references or change the wording to direct links and briefly explain their cause.
I'd like to hear what the community think about this.

Raised a PR for the obvious change. I'll be open to make further changes if anyone has input regarding the content of section mentioned


Idea/Problem!

Hello! Mod is awesome, but!
I was using https://minecraft.tools/en/book.php
Overall i have 2 problem, site using "\" for coding book, but mod for creating book need only "".
It's using command block separators like " ' " and it's making error, but fixing this is fast by any repair tool in Json editor.
Can you change it for quality of life?

Another better idea would be to give us the ability to set the book you are currently holding the spawn book.
Say i use https://minecraft.tools/en/book.php to make a book, it generates a command to give me the book. now let me just write /spawnbook set or something to set the spawn book to the one i am currently holding in my hand.


Extract functions that are shared across experiments into a library

The first step can be the submission.

Already done, see npm-version


Align replace signatur with define

Codecov Report

Merging #32 (785e4cc) into master (7eeeb75) will decrease coverage by 0.14%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
- Coverage   89.68%   89.53%   -0.15%
==========================================
  Files          37       37
  Lines         601      602       +1
  Branches       55       55
==========================================
  Hits          539      539
- Misses         26       28       +2
+ Partials       36       35       -1

Impacted Files
Coverage Δ

packages/core/src/module/ModulePatch.ts
87.50% <25.00%> (-2.83%)
:arrow_down:

Continue to review full report at Codecov.

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


when sending push notification for android, I got MismatchSenderId error

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
-[ ] You've met the prerequisites.
-[ ] You're running the latest version of Parse Server.
-[ ] You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Environment Setup
Steps to reproduce
Logs/Trace

I have created GCM credentials and enabled Google Cloud Messaging in google cloud platform. I also added the push senderId and apiKey in Parse Server's index.js
var api = new ParseServer({
.
.
.
push: {
      android: {
          senderId: 'Project number',
          apiKey: 'XXXXXXXX'
      }
    }
});

when I test sending push using the following REST api call:
curl -X POST \
         -H "X-Parse-Application-Id: myAppId" \
         -H "X-Parse-Master-Key: foo" \
         -H "Content-Type: application/json" \
         -d '{
             "where": {
                 "deviceType": {
                     "$in": [
                         "android"
                         ]
                 }
             },
                 "data": {
                 }
         }' \
https://fast-badlands-XXXXX.herokuapp.com/parse/push

I saw this log:
GCM request and response {"request":{"params":{"priority":"normal","data":{"time":"2016-02-27T22:19:17.914Z","push_id":"PASML5ShpI","data":"{\"friendRequestUpdate\":0}"}}},"response":{"multicast_id":5176387894691562000,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"MismatchSenderId"}]}}
why does it return MismatchSenderId error?

Was this an installation migrated from parse.com?  Is that the senderId which was used to register this device?

How will installation affect  REST api call from command line? In my test, there are no installations migrated from parse.com. When I delete all the installations on mongodb and run the test push command, server logs shows the same error of MismatchSenderId.
It also logs Can not find sender for push type ios, {"where":{"deviceType":{"$in":["android"]}},"data":{}}
But I think it is unrelated as I didn't specify iOS push in index.js

Odd! I tested again and now push is successfully received. Nothing has changed in my code. I suspect something fishy was going on in GCM

I found the problem, I put
 <meta-data android:name="com.parse.push.gcm_sender_id"
                android:value="id:xxxxxxxxx" />

outside the   section in the AndroidManifest. The app still compiles and runs but I guess the sender_id is not used from the client?
When I move it to inside , push works.
@gfosco Thanks.


Autocrafting works once then breaks

Issue description:
I automated the crafting of crafters  in a normal way but it can only craft one item and then i have to remove all patterns for it to fix.
What happens:
Auto-crafting just stops
What you expected to happen:
Auto-crafting to continue
Steps to reproduce:

Place crafter
Added multi stage recipes
Clicked craft more than one
Watch video
https://youtu.be/NlT4vNr4yIA

Version (make sure you are on the latest version before reporting):

Minecraft: 1.12
Forge: <IP_ADDRESS>3
Refined Storage: 1.5.17

Does this issue occur on a server? [yes/no]
Unsure
###Game log
https://gist.github.com/NicosaurusRex99/9aee6333c901c98b56eacf3ecc62e1a4

Duplicate of #1357

oh soz i didnt see 1357


persistent nav missing on mobile

staging:

prod:

This guy seems to be the culprit. Is that safe to unhide @weerd?

Yep, sorry!


CB-20904: Disabled Python 3.8 for RT < 7.2.17 and CentOS 7

Tested from branch. Going to merge it, because currently this is a blocker for <IP_ADDRESS> and JDK11 opt-in and we need the new images tonight.


GUI

I am a golang dev and use flutter for GUI.
It can easily handle the needs of your app.
Go-flutter project alllows you to use flutter with golang.
Hi we tool is the thing you want
Is the output a video or an image sequence ?

Hi, both the input and output have to be image sequences at the moment (JPG/PNG). Feel free to fork this project and build a GUI, you can also take a look at my branch "create-gui". It's pretty far behind master but it basically contains an implementation in Nucular, you can use that as a reference if you want to.


Use Tokens instead of Tiles?

Apparently there's no way for players to add or manipulate Tiles right now, and Tiles don't, without extra mods, have any click-to-open functionality either. I think Tokens are the most natural option for nodes; they are characters by default, and can be extended with other non-character types such as items, locations, organizations, or whatever else might be in your r-map.
Edges should be a type in the Token layer, then, too, and should be made via tool under the Token menu.

Done.


Xml sampler

added xml sampler to sampler/slurper

Uh it feels as though this has a lot of overlap with a previous PR. Why not stack the PRs instead of making them separate? Is that not a thing?

Looks good, but comments from my previous review still apply to this one.


db: optimize blueprint search

This optimizes query in case no search is performed. In that case empty string is passed into the db function and the argument is %%. The change will help PostgreSQL optimizer to drop the rest of the where clause in order to quickly return results without any tablescan.
Refs: HMS-3308

Fixed the test.


form is loaded in $dirty state when used with moment object

Hello,
Here is the plunker forked from one of the example provided here:
http://plnkr.co/edit/YcPQNstLRsFxND4r3a7Z
I added a line showing the dirty state of the form at the very bottom.
This is a serious issue for me. Is this something to your knowledge? any workaround or fix for this?
Thank you.

Hi.
I admit it can be somehow an undesirable 'feature', but to be honest, I did not encounter this problem before. I have done a fast check and from what I see, even if the date is not set the form gets instantly dirty.
If you need a walkaround... I would simpy add this to your controller.
$timeout(function() {
  $scope.dateForm.$setPristine();
});

It works with a plunker: http://plnkr.co/edit/L1HIMU
But to truly address this problem I would need to first find what causes the dirty state. Especially, if the problem lays in the wrapper or in the library.

Problem lays within this line: https://github.com/atais/angular-eonasdan-datetimepicker/blob/master/dist/angular-eonasdan-datetimepicker.js#L29. When setting ngModel's view value, it becomes $dirty

Thanks @shustariov-andrey !
But well... it is a core line of this wrapper.
I can see there is a walkaround, fe. http://stackoverflow.com/questions/28242788/how-to-reset-custom-input-directive-and-its-parent-form-to-pristine but it seems quite dirty to me.
I would appreciate any ideas.

How about

I should start putting comments in that code :cry:
the reason i check for  !ngModel.$viewValue instead of ngModel.$viewValue === null is that if you pass undefined or false to ng-model it would pass this value to the datetimepicker.
And actually eonasdan-datetimepicker does not like that and it causes console errors. The only value it accept is moment or null (I think Date was good too).
I have actually done the above in previous version :wink:

Ok, need to debug it deeper in this case...

ok, here what works fine for me now:
            if (!_.isUndefined(ngModel.$viewValue) && !moment.isMoment(ngModel.$viewValue)) {
                ngModel.$setViewValue(moment(ngModel.$viewValue));
            }
            if (moment.isMoment(ngModel.$viewValue)) {
                dpElement.data('DateTimePicker').date(ngModel.$viewValue);
            }

@shustariov-andrey would you fork the repo and make a PR? I will test it and we can make a new version :+1: ?

ok, will do

Great! #21 fixed it.
Enjoy 0.3.9 available on bower & npm :smile: !


Framebuffer perf improvements

Mateversum currently isnt too performant on mobile GPUs such as the Oculus quest 2 and OnePlus Nord (my phone).
A decent amount of this can be attributed to the sampling cost of the cubemaps (can be mitigated by reducting them down to 512x512).
Another source is that we're rendering to a fp16 hdr framebuffer even if we're just immediately tonemapping it. Doing this is useful because it gives us a place to insert effects like bloom, but that's only really viable for discrete GPUs. So we should do the following:

On high perf GPUs, keep things as is.
on low perf GPUs when doing VR, tonemap in fragment shaders to the multiview framebuffer, then copy that over to the device framebuffer.
on low perf GPUs when not doing VR, tonemap in the fragment shader to the device framebuffer

This also gives us the advantage of having a better AR mode, as we would be able to render ontop of the camera view again!

Low perf GPUs when doing multiview AR (such as the hololens):
Clear multiview framebuffer to transparent, render, then blit in a texture to make sure we're doing alpha blending.

Implemented to some degree in https://github.com/expenses/mateversum/tree/better-framebuffer-perf-stuff. hololens stuff should work fine.

on low perf GPUs when doing VR, tonemap in fragment shaders to the multiview framebuffer, then copy that over to the device framebuffer.

Turns out we cant do normal framebuffer blits as a speed-up, because https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer doesn't let you set the array layer to use 🙃

Okay, I merged that branch. I don't think I can really improve framebuffer performance from its current state.


refactor(semantic): use Stack for function stack node ids

#7984  👈 (View in Graphite)
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 18, 1:38 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Update RAJA version constraints and expose OMP task option

Updates to RAJA Spack package after latest release + expose option for needed control in GitLab CI testing

@rhornung67 I will have a further look into this and approve asap. I want to see the test reliably passing.
Also, we appear to have the issue only with clang compilers. So would you agree that we will use this variant on only when sing clang in CI ?
You said you don't use that in RAJA, what did you mean ? I wouldn't want this to become the reason for untested code.

When I get things up and running on RAJA and RAJAPerf, I will adjust the specs we use to turn on OpenMP task for compilers and versions that it works for. We will fall back to another implementation for the others.
The issue only appears with clang13 and clang14 on lassen with the updated CI stuff. These builds and tests were passing on the develop branch. This is the part that bothers me, because I cannot reproduce the failures outside of GitLab CI, even when I run the build and test script with the Spack specs we use in CI.
The RAJAPerf kernel variants that seg fault have no RAJA code in them. That is, they are raw OpenMP, we call them base variants that we use for comparison.
Now I'm running into issues on azure pipelines running out of disk space. When it rains, it pours.

@adrienbernede hold off on merging this. I need to make a few more changes.


Display properties in the details of the panel

This uncomments the line so that result properties can be shown in the details of the panel.
See https://github.com/microsoft/sarif-vscode-extension/issues/400

What are the specific properties you are trying to display?
Just checking because often exists a SARIF construct better suited for the job. And when there isn't, it is useful feedback for the next version of SARIF. Properties are intended for exceptional cases.

What are the specific properties you are trying to display?
Just checking because there often exists a SARIF construct better suited for the job. And when there isn't, it is useful feedback for the next version of SARIF. Properties are intended for exceptional cases.

I see! I happen to be working with some SARIF results that have a lot of metadata, like associated names, statistics, etc. that don't seem suitable for the other SARIF Result fields. For me, it would be really useful to be able to see the PropertyBag in the panel so I don't have to dig through them.

@lin-ll Thanks for you patience! As it stands in this PR, the Property Bag items would look like this:

I would like to propose integrating these items more seamlessly like this:

I have the code for this in-hand. Thoughts? Would this fit your needs? Thanks!

@lin-ll Thanks for you patience! As it stands in this PR, the Property Bag items would look like this:

I would like to propose integrating these items more seamlessly like this:

I have the code for this in-hand. Thoughts? Would this fit your needs? Thanks!

@jeffersonking - that looks excellent and would definitely fit my needs. Thank you!

@lin-ll: Created #407 with the discussed changes. Will close this one in favor of that.


Question: How to pass multiple translation id's into $translate service replacing variables?

Hi there!
Generally I am passing mulitple translation id's as an array into the $translate service like this:
$translate([
    'myprofile.notification.clear_cache_progress',
    'myprofile.notification.clear_cache_success',
    'myprofile.notification.title.clear_cache_error',
    'myprofile.notification.body.clear_cache_error'
]).then(function (translations) {});

Now if I want to additionally pass a variable to be replaced to the $translate service, I'd do it like this for one translation id:
$translate('myprofile.send_feedback.email_subject', { os: os })
.then(function (translations) {});
```

So far, everything is fine.

However, I have not managed yet to find a way to pass an array of translation id's into the $translate service, some of them having a variable to be replaced. Nevertheless I firmly reckon that this is possible somehow.

Anyone having a hint how to accomplish passing multiple translation id's with some having a variable to be replaced?

@leschirmeur Just use the combination: $translate(array, params)


:book: Update bestpractices links

What kind of change does this PR introduce?
Update BestPractices links where they currently redirect.

[x] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
Old domain name bestpractices.coreinfrastructure.org are used in the BestPractices.
What is the new behavior (if this is a feature change)?**
New domain name www.bestpractices.dev are used in the BestPractices.

[ ] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes
NONE
Special notes for your reviewer
NONE
Does this PR introduce a user-facing change?
Update new domain name of Best Practices.

@fredgan can you please DCO the commit? These instructions come from the Details link of the DCO check/status.

To add your Signed-off-by line to every commit in this branch:
Ensure you have a local copy of your branch by checking out the pull request locally via command line.
In your local branch, run: git rebase HEAD~1 --signoff
Force push your changes to overwrite the branch: git push --force-with-lease origin fix_bestpractices_links

LGTM
DCO Bot is still complaining about a missing whitespace in the signoff name:
Expected "Fred Gan<EMAIL_ADDRESS>but got "FredGan<EMAIL_ADDRESS>Did you use the git rebase HEAD~1 --signoff command?

Fixed, thanks @spencerschrock @gabibguti


Flex columns don't adjust their size in response to autosizing

e.g. You have 2 columns:
[
  {field: 'foo', flex: 1},
  {field: 'bar'}
]

If upon autosize column bar becomes wider, the expected behaviour is for column foo to shrink. Instead, the grid starts scrolling horizontally. I believe this is a regression.
Upon sorting the grid, the flex column is recalculated.

This seems like a high priority item to fix.

@TomTirapani + @lbwexler - based on your recollection, would this be worth re-testing with the latest ag-grid? I.e. any chance that the regression noted in our comment here has been resolved by the library, and we might now be triggering an extra resize run?


How to force sign out a user to be able to re login with different account?

I'm submitting a...

[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Other... Please describe:

Expected Behavior

this.googleAction().showAccountLinkingCard(); doesn't show the login ui after my account is linked.
My question is, how to unlink my account so the login ui appears again?

Disabling and reenabling the Action should unlink the account. You can disable testing with a button on the top right side of the simulator. It's right next to the mute button.

@KaanKC Thanks for this. This is very helpful in development. How about in production? Do we have a facility to logout/unlink a user like when a user says, "Log me out"?

I don't think so.

I've done some digging, and it seems like this isn't possible currently. Will implement it as soon as this feature is supported by Google Assistant!


Use measure instead of measureInWindow to get screen coordinate

On android, when dragging, the item is placed around 50px below the touch point.
The reason is that: we use the measureInWindow which does not really return screencoordinate.

@golery : thanks for making this PR & fix. I've flipped it over to pageX & pageY because I believe measureInWindow's x/y are in screen coordinates, while measure is relative to the parent. LMK if that sounds right! (see my last commit in this PR to see the change I made).


fix(@angular/cli): Update README.md project generation text.

fix(@angular/cli): Update README.md project generation text.
<EMAIL_ADDRESS>looks for hypen(-) rather than the listed underscore(_).

#5813 with a corrected commit.

Is there anything else that needs to be done on my end for this? I didn't see anything else in the documentation.


Only one log type can be chosen

Currently only one log type can be chosen.
log_publishing_options {
    enabled                  = "${var.log_publishing_enabled }"
    log_type                 = "${var.log_publishing_log_type}"
    cloudwatch_log_group_arn = "${var.log_publishing_cloudwatch_log_group_arn}"
}

It would be useful if more than one and optionally all 3 types can be enabled at once.
Maybe this way?
log_publishing_options {
    enabled                  = "${var.log_publishing_index_enabled }"
    log_type                 = "INDEX_SLOW_LOGS"
    cloudwatch_log_group_arn = "${var.log_publishing_index_cloudwatch_log_group_arn}"
}

log_publishing_options {
    enabled                  = "${var.log_publishing_search_enabled }"
    log_type                 = "SEARCH_SLOW_LOGS"
    cloudwatch_log_group_arn = "${var.log_publishing_search_cloudwatch_log_group_arn}"
}

log_publishing_options {
    enabled                  = "${var.log_publishing_application_enabled }"
    log_type                 = "ES_APPLICATION_LOGS"
    cloudwatch_log_group_arn = "${var.log_publishing_application_cloudwatch_log_group_arn}"
}

@claaslisowski  thanks!!
it looks like a good addition.
we can take a look at it this week, or you can test and open a PR - we'll review it promptly

@aknysh,
I can create a PR from my fork.
Just the question of you want to have backwards compatibility?
Since there are no overlapping variables used the current log_publishing_options block could be appended at the end and would therefore overwrite the defaults false with true in case the old way is used.
Would look this way and works.

  log_publishing_options {
    enabled                  = "${var.log_publishing_index_enabled }"
    log_type                 = "INDEX_SLOW_LOGS"
    cloudwatch_log_group_arn = "${var.log_publishing_index_cloudwatch_log_group_arn}"
  }

  log_publishing_options {
    enabled                  = "${var.log_publishing_search_enabled }"
    log_type                 = "SEARCH_SLOW_LOGS"
    cloudwatch_log_group_arn = "${var.log_publishing_search_cloudwatch_log_group_arn}"
  }

  log_publishing_options {
    enabled                  = "${var.log_publishing_application_enabled }"
    log_type                 = "ES_APPLICATION_LOGS"
    cloudwatch_log_group_arn = "${var.log_publishing_application_cloudwatch_log_group_arn}"
  }

  log_publishing_options {
    enabled                  = "${var.log_publishing_enabled }"
    log_type                 = "${var.log_publishing_log_type}"
    cloudwatch_log_group_arn = "${var.log_publishing_cloudwatch_log_group_arn}"
 }

@claaslisowski
that should work.
also, we don't worry about backwards compatibility since we pin each module to a release everywhere we use it.
another way of doing it would be to provide a list of maps:
variable  log_publishing_options_list {
type = "list"
default = [
{
log_type                 = "INDEX_SLOW_LOGS"
cloudwatch_log_group_arn = "......."
},
{
log_type                 = "SEARCH_SLOW_LOGS"
cloudwatch_log_group_arn = "......."
},
{
log_type                 = "ES_APPLICATION_LOGS"
cloudwatch_log_group_arn = "......."
}
]
description = "List of maps for log publishing options"
}
so the user of the module would provide a complete list of maps.
log_publishing_options = "${var.log_publishing_options_list}"
@osterman which way do you think is better?

@aknysh I think the approach by @claaslisowski might be better here if the cloudwatch_log_group_arn can be the same.  The boolean enabled flag also makes it easier. But the lack of idempotency is unfortunate.
@claaslisowski can you see if the method @aknysh proposes provides idempotency.

@osterman ,
the solution from my first comment, without the backwards compatibility, was  idempotent for me.
Only the solution including backwards compat. lacked the idempotency.
But I also noticed some days ago similar issue like this
https://github.com/terraform-providers/terraform-provider-aws/issues/5752

@claaslisowski I'm okay with the first implementation then. Like @aknysh said, we're not concerned with backwards compatibility in pre-1.0 releases and we version pin everything for stability.
@aknysh thoughts? Okay to go with #1?


Add my project idea

You'll get the points in the next leaderboard update. Congrats on your submission

Thank you so much


Look out connector code concurrent execution with CTT

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Hello @v-sabiraj please look into this

Hello @v-sabiraj please look into this

@v-sabiraj please look into this

Hello @v-sabiraj waiting for your feddback

Hi @v-sabiraj, please provide your feedback. Thanks

Hello @v-sabiraj waiting for your updates

Hello @v-sabiraj waiting for your feedback

This PR has been closed as per author's confirmation.


Add logic for displaying messages using server side template rendering

[x] Add file structure for storing messages for any chat by his id separately.
[x] Add code for write/read information about chat messages.
[x] Add templates for display simple text messages without formatting

Time spent: 4h 16m 13.06.2019

Need to add:

Posting message using form pointed to /api/chat.postMessage with reloading whole page for display new messages
Creating and writing new messages file inside db/messages directory
Adding logic for display direct messages

Continue to work on ticket. Add form posting with message to channel

Now you can write DM + CHANNEL messages. Realization based on server-side rendering


remmina: 1.3.8 -> 1.3.9

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/remmina/versions.
meta.description for remmina is: '"Remote desktop client written in GTK"'.
meta.homepage for remmina is: '"https://gitlab.com/Remmina/Remmina"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

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

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

found 1.3.9 with grep in /nix/store/268jma31f1lmhjsfp0v1d7z6ynhpk3p2-remmina-1.3.9

directory tree listing: https://gist.github.com/93e65f562ad45c4274a9fab8733390d6

du listing: https://gist.github.com/04836b4b8f3b22f4ce6414eb40b9933c

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

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
remmina

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/268jma31f1lmhjsfp0v1d7z6ynhpk3p2-remmina-1.3.9 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A remmina https://github.com/r-ryantm/nixpkgs/archive/993264ac18b19957b79b9afec50c530f5c4ef945.tar.gz

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

cc @melsigl @ryantm for testing.

I tried this and it worked for RDP on NixOS.


install-chef-suse: Give a hint to the user when bootstrap wasn't run

While it isn't entirely clear to my why we separated bootstrap
from install, the error handling of missing bootstrap is suboptimal.
Detect the case that bootstrap failed prior trying to continue
with the installation, as it will never succeed and the error messages
are very hard to understand for the occassional user.

It looks like this may have broken restoration of backups...
https://github.com/crowbar/crowbar/pull/2377 is trying to fix this, but I guess it's not fully correct either based on the intent of this pull request.


add CI

Benchmarks are only built, not executed.
dependabot.yml will create PRs to update the versions of the actions in ci.yml.
actions/setup-haskell  will soon be deprecated, but the new haskell/actions/setup did not release a tagged version yet, so we depend on @main for now.

JFYI you can see the CI run for this PR in my fork: https://github.com/amesgen/hs-pcre2/actions/runs/413246272

I just noticed that caching is missing, will add in a moment.

This is all great.
The only reservation I have is that building benchmarks is at 7 minutes the significant majority of CI time.  Personally I think the time saved would be a bigger benefit.  I could be convinced otherwise though.

The only reservation I have is that building benchmarks is at 7 minutes the significant majority of CI time.

Yeah, caching should fix that for the most part. I could not get caching to work with stack on macOS (see here), so I just disabled benchmark building for stack entirely instead of using caching. See here for the now much faster CI run.

Put differently:

CI with no cache: https://github.com/amesgen/hs-pcre2/actions/runs/417354216
CI with cache: https://github.com/amesgen/hs-pcre2/runs/1542325552

Really appreciate the time you put into this and answering my questions, as well as your knowledge of cabal - mine is lacking.


[Fix fork] TransactionManager respects type argument dependencies

based on #7940

Are we sure that when the package becomes available, it is in the list of outputs sent to objects_committed()?

yes - we respect package dependencies most of the time, just not in the case of type arguments

Agree. I hope this can be verified with a unit test but up to you to decide.

        // If commit_certificate returns an error, tx_guard will be dropped and the certificate
        // will be persisted in the log for later recovery.
        let output_keys: Vec<_> = inner_temporary_store
            .written
            .iter()
            .map(|(_, ((id, seq, _), _, _))| ObjectKey(*id, *seq))
            .collect();

I'm pretty sure existing tests cover this case


email field is not validating in blade template

First of all, Thanks Sarthak for this multiauth system.
we fount a bug, while adding admin one can accidentally text which is not email. we don't know how it was happened, we are using chrome

.

Validations are there to check for email, no issue on package
how this happens??


Problem with internationalization of bottom navigation on docs page

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[ ] I have tried the npm run clear or yarn clear command.
[ ] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[x] I have read the console error message carefully (if applicable).

Description

In the first page with subpages, the internationalization of the parent page title displayed at the bottom does not display properly
Reproducible demo
No response
Steps to reproduce

Open the official link: https://docusaurus.io/zh-CN/docs/docs-introduction.
Slide to the bottom.
View the title of "Previous".

Expected behavior
Expected bottom navigation, normal display of internationalized title
Actual behavior

Your environment

Public source code:
Public site URL:
Docusaurus version used:
Environment name and version (e.g. Chrome 89, Node.js 16.4):
Operating system and version (e.g. Ubuntu 20.04.2 LTS):

Self-service

[ ] I'd be willing to fix this bug myself.

This is a known issue of i18n and generated index pages.
Let's track it here: https://github.com/facebook/docusaurus/issues/8996
This has also been discussed here: https://github.com/facebook/docusaurus/issues/10753
And a previous PR attempt: https://github.com/facebook/docusaurus/pull/8123


[QUESTION] Call to a member function input() on null

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
fast-MacBook-Pro ~ % uname -a && php -v && composer info | grep hyperf && php --ri swoole
Darwin fast-MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
PHP 7.3.33 (cli) (built: Dec 16 2021 10:18:12) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.33, Copyright (c) 1999-2018, by Zend Technologies
No dependencies installed. Try running composer install or update.
# Paste the result here.

Description:

Steps To Reproduce:
composer 安装的项目。安装完成执行 php bin/hyperf.php start 访问 http://localhost:9501/

执行 composer dump-autoload -o 并确认 cache_able 开关为 false
/switch-to question

我执行了 composer dump-autoload -o
并检查确认一下配置默认是false
'scan_cacheable' => env('SCAN_CACHEABLE', false), 默认是 flase
目前我的问题依旧还是没有解决。

composer create hyperf/biz-skeleton

composer create hyperf/biz-skeleton

是的,按照这个步骤我成功运行起来了。

composer create hyperf/biz-skeleton

我在文档中没有看到这个安装命令，请问他们有什么区别吗

hyperf/biz-skeleton is a skeleton project with some easy-to-use configurations, it's not much different from hyperf/hyperf-skeleton project.
In fact, there is still a problem with your configuration, it should be noted that env('SCAN_CACHEABLE', false) will take precedence read the value of the .env file, and if the project is running by Docker, it will also be set to true by default on the Dockerfile.


Undo and Redo

Inline icons for drawing controls with title info.

The button layout looks nice. I wish Undo and Redo would show as disabled somehow when you cannot undo or redo any further. Might be a broader problem as described here: https://github.com/melindamorang/blowyourfaceoff/issues/114#issuecomment-809058241
Anyway, this is neat and tidy and usable as it is. Guess I'll go ahead and merge this. Thanks for the undo/redo, Lui!


Change how to run command with exec backend (retry)

Sometimes, spawn_command ends before the thread is done, so wait it: https://github.com/serverspec/specinfra/commit/715bdd026b5e5e62ef57fa101924d64c9f9fbd17

Thanks!

Released as v2.36.17.

oops, I've missed that previous PR  doesn't wait threads... LGTM


Remove assets/images from repo, upload them to github directly instead

that way repo doesn't download 8MB of unused images
you can edit the .md on github.com and drag the images into it to upload to github's servers

Thanks for the info, didn't know it was possible to upload directly. Updated.


rjags

May need to add rjags as an import after Kevin updated CJS vignette. My first attempt at install package failed here.

There isn't anything in the CJS vignette that requires rjags. There are a couple functions from the postpack package, but that should get installed with telemetyr. Keep me posted about whether the vignette eventually builds or not.

Sounds like we've got this sorted, and the CJS vignette is building fine.


Issue with MAMnet and Truvari Collapse Parameter Optimization

Hi,
Recently, I've been using different SV caller software to evaluate their F1-scores. However, when using the MAMnet software, I couldn't get any results. Could you please suggest a solution for this issue?
Additionally, I have another question. When merging the SV results from multiple software tools using Truvari collapse, do you have any recommended parameters? I tried using the default parameters, but the F1-score was around 0.5.
HG002.HIFI_lra_MAMnet.vcf.gz

The provided VCF seems to be poorly formatted. All the REF and ALT columns have a dot ('.') value. A dot in the ALT field indicates a 'monomorphic reference' site i.e. there is no variant at this position, which are filtered by truvari. At minimum, the VCF entries need to be reformatted to include a REF anchor base of N and an ALT of the symbolic allele (e.g. ). See https://samtools.github.io/hts-specs/VCFv4.5.pdf for details.
Truvari collapse's default parameters are the recommended parameters as they work generally well in an average use-case. However, as the resolution and representation of variants can differ wildly between callers, the average use-case isn't necessarily the best fit for your experiment. You'll need to explore your variants and understand truvari's core comparison engine's matching parameters as well as the collapse specific parameters to create an optimized result.


Build error ffmpeg-next 7.0.1 pixel.rs

Hello, i have a trouble with compile project which use ffmpeg-next 7.0.1 dependency (fotema)
The build failed when build ffmpeg-next/src/util/format/pixel.rs with next error:
       not covered
    = note: the matched value is of type `sys::AVPixelFormat`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
    |
824 ~             AV_PIX_FMT_GBRAP14LE => Pixel::GBRAP14LE,
825 ~             sys::AVPixelFormat::AV_PIX_FMT_NV15 | sys::AVPixelFormat::AV_PIX_FMT_NV20NP => todo!(),
    |

For more information about this error, try `rustc --explain E0004`.
error: could not compile `ffmpeg-next` (lib) due to 1 previous error

at first glance, this file does not contain the necessary code about pix formats AV_PIX_FMT_NV15 and AV_PIX_FMT_NV20NP


Create LICENSE file

Propose a license file,  using ASL 2.0 license.
Background:
@howardjohn reached out to me that Istio project is interested in using code from this repo to improve Istio's resource validations.  Currently Istio CR validation is very simple and relies on validation webhook on server side to do thorough validation.

thanks!
On Mon, Oct 2, 2023, 12:12 PM Lin Sun @.***> wrote:

Propose a license file, using ASL 2.0 license.
Background:
@howardjohn https://github.com/howardjohn reached out to me that Istio
project is interested in using code from this repo to improve Istio's
resource validations. Currently Istio CR validation is very simple and
relies on validation webhook on server side to do thorough validation.
You can view, comment on, or merge this pull request online at:
https://github.com/solo-io/protoc-gen-openapi/pull/13
Commit Summary

25cfaea
https://github.com/solo-io/protoc-gen-openapi/pull/13/commits/25cfaeacddaf972a9fb58e492ceef4989e40b8b0
Create LICENSE file

File Changes
(1 file https://github.com/solo-io/protoc-gen-openapi/pull/13/files)

A LICENSE
https://github.com/solo-io/protoc-gen-openapi/pull/13/files#diff-c693279643b8cd5d248172d9c22cb7cf4ed163a3c98c8a3f69c2717edd3eacb7
(202)

Patch Links:

https://github.com/solo-io/protoc-gen-openapi/pull/13.patch
https://github.com/solo-io/protoc-gen-openapi/pull/13.diff

—
Reply to this email directly, view it on GitHub
https://github.com/solo-io/protoc-gen-openapi/pull/13, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXOIR2SUOSMU7GOFXO3X5MG2JAVCNFSM6AAAAAA5P36O66VHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDENBZHA2DGNQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

/skip-changelog


[Impeller] Gather detailed memory statistics via service protocol when running Vulkan.

Its possible to get detailed memory statistics of a running application when using Vulkan and have them be visualized offline.
The process of gathering the data is rather clumsy today as the engine needs to be patched to dump the JSON to logs and then get that scraped for visualization.
Create a service protocol extension to get detailed allocator information at at given point in time.

Closing as we already have some statistics and the vma data is not useful without more tagging.


K8s/upgrade to 1.2.4

Upgrade k8s to latest stable

[ ] Installs cleanly on a fresh build of most recent master branch
[ ] Upgrades cleanly from the most recent release
[ ] Updates documentation relevant to the changes

This actually won't work on existing clusters, but is anyone using k8s yet as it's not fully supported ?

We're using it on some internal clusters for a development effort.

Oh cool, so should the update be working like a rolling upgrade?

@siddharthist cool thanks


Add integration tests

These should be capybara tests against spec/dummy.
Be sure to test following configurations:

Turbolinks on/off
Fragment caching on/off

Fixed in #56.


Allowing ActionLinkButton to receive url as a parameter

Hi,
Is it possible to extend the ActionLinkButton extension and allow it to receive a URL.
for example Html.Bootstrap().ActionLinkButton("Text", URL)
Thanks,
Noam

There is already a helper for that:
@Html.Bootstrap().Link("Google", "www.google.com")

The Link does not have the attributes of ActionLinkButton. I cannot set the button style etc...

You are right. I'll add this tomorrow.

This is added. Please get latest.


First test of GitHub actions

First test of GitHub actions.
Fixes #107
To be merged once all feature of travis will be supported.
To be done:

[ ] Mardkown linting
[ ] Hugo building
[ ] deploy on PR merge

linter is having fun :)

You can see results at https://github.com/gwarf/documentation/actions
I'm a bit afraid by all those changes in fact :/ But it already took me quite some time...

Maybe pushing linted code would be already a good first step. I'm afraid other may start to change some stuff in the meantime...

markdownlint is quite more strict than mdl, it's a good thing, but it's also a pain :/

Deprecated by #125 that only enable some tests so that we can fix files gradually.


Unable to sync package

vale sync is unable to retrieve readability package
❯ vale --version
vale version 2.16.0
❯ cat ~/.vale.ini
StylesPath = .vale/styles
MinAlertLevel = suggestion

Packages = readability

[*]
BasedOnStyles = Vale, readability

❯ vale sync
Downloading packages [0/1] █     0% | 0sGet "readability": unsupported protocol scheme ""

The package name is actually "Readability" (capitalized). The docs have been updated to reflect this.


Provide end-user readable error messages in apps

Closing this issue because we need more specifics. This should be broken down to specific tasks when it becomes an issue.


Check failed: infer_complete The shape information of is not enough to get the shapes

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System:win10
Compiler:vs2013
Package used (Python/R/Scala/Julia):C++
MXNet version:apache-mxnet-src-0.11.rc1-incubating
Or if installed from source:yes
MXNet commit hash (git rev-parse HEAD):
If you are using python package, please provide
Python version and distribution:
If you are using R package, please provide
R sessionInfo():
Error Message:
[09:28:50] D:\YISA\PR\mxnet_cpu\apache-mxnet-src-0.11.rc1-incubating\dmlc-core\include\dmlc/logging.h:308: [09:28:50] D:\YISA\PR\mxnet_cpu\apache-mxnet-src-0.11.rc1-incubating\src\c_api\c_predict_api.cc:199: Check failed: infer_complete The shape information of is not enough to get the shapes
Minimum reproducible example
string prefix = "Inception1/cnn-ocr";
string symbol_file = prefix + "-symbol.json";
string params_file = prefix + "-0001.params";
int dev_type = 1; // 1:CPU, 2:GPU
int dev_id = 0;
mx_uint num_input = 1;
const char* input_keys[] = { "data" };
const mx_uint input_shape_indptr[] = { 0, 4 };
//const mx_uint input_shape_data[] = { 1, 3, kIMSIZE, kIMSIZE };
const mx_uint input_shape_data[] = { 1, 3, static_cast<mx_uint>(30), static_cast<mx_uint>(120) };//ocr
//const mx_uint input_shape_data[2] = { 1, static_cast<mx_uint>(30*120) };//ocr

// Read symbols file
string symbols = readAllBytes(symbol_file.c_str());

// Read params file
string strparams = readAllBytes(params_file.c_str());

// Create predictor
int status = MXPredCreate(symbols.c_str(),
	strparams.c_str(),
	strparams.size(),
	dev_type,
	dev_id,
	num_input,
	input_keys,
	input_shape_indptr,
	input_shape_data,
	&predictor);

Steps to reproduce
or if you are running standard examples, please provide the commands you have run that lead to the error.

What have you tried to solve it?

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
Also, do please check out our forum (and Chinese version) for general "how-to" questions.


<-fix + CONTRIBUT\O\R not searchable fix

According to https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html

< and > can’t be escaped at all. The only way to prevent them from attempting to create a range query is to remove them from the query string entirely.

Plus AND-OR-NOT updates.

It would be cool to see this PR merged and published on NPM

@lanetix please review this also