Use base templates and blocks

I took a closer look at the generated HTML files when using this theme. I recognized that all files are not well-formed HTML  because the </html> end tag comes before the body tag (and the whole content of the webpage). The problem is that the head.html contains both the start and the end html tag. Every web page includes that file at the beginning and by that, has the end html tag before the actual content.
This PR solves this problem by using hugos base template feature . The _default/baseof.{html,pug} contains the general structure of all pages (except index.{html, pug}) and marks special areas with the block  function . All other templates only change those of these marked blocks of the base template they need to adapt by using the define  function.
This reduces duplicate code and makes it easier to customize the theme and add new layouts.

Excellent work. Thank you @mfg92 !


Support remote filesystems in spatial read_parquet and to_parquet

I'd like to use the to_parquet and read_parquet functions in datashader/spatial/points.py with a remote filesystem (in this particular case with s3) if possible. E.g. something like:
import datashader.spatial.points as dsp
storage_options = {"key": "...", "secret": "..."}
dsp.read_parquet("s3://bucket/file.parquet", storage_options=storage_options)

I'm happy to submit a PR, but first wanted to check if this type of functionality is in-scope for datashader.

Yes, it's in scope, and a PR would be very welcome.  However, it seems more general to change read_parquet to accept either a path (as now) or a file-like object, which should let it seamlessly support anything that can masquerade as a file. fsspec may be relevant in this context.
I'm not sure of the best way of writing such objects in a general way, but maybe fsspec handles that too?

At least for string paths, fsspec can handle parsing file protocols (e.g. "s3://", "hdfs://", etc.) and providing the appropriate mechanism to open files (both local and remote). We should then be able to pass the necessary open function to fastparquet for it to read from / write to other filesystems (https://fastparquet.readthedocs.io/en/latest/filesystems.html)
I opened up an initial PR (ref https://github.com/pyviz/datashader/pull/818) which illustrates this approach. Perhaps we can move the conversation to that PR to see how we want to modify / update things.


The training speed is low on 1080Ti.

Training phase costs about 12 hrs on a single 1080ti.

Why did u say 'training should take about 1.5~2hrs on a Titan Xp GPU with 30 epochs'? 1080Ti should have  comparable training speed? But I the traning phase for 30 epochs costs about 12 hours... Can u help me. @StrangerZhang

Did you use the latest code with git pull.
Maybe data loading is slow, check your train_num_workers in config.py

Thanks, train_num_workers is set to 8. I changed some API to use the code under pytorch 0.3.1 env. Maybe this could have an impact on the traning speed?

Maybe, my pytorch version is 0.4.1, could you update your pytorch version, and train it again, if the speed is not like I say, let my know

ok, ill have a try

Did you use lmdb to load data? I changed my code recently in order to speed up the data loading speed

yes lmdb is used.


Content underneath a transparent window won't update when using filters.

Describe the bug
When backdrop-filter is applied on any element on a transparent window, the content underneath the window won't get updated unless the window is resized.
To Reproduce
Steps to reproduce the behavior:

Create a tauri app with transparent window mode.
Apply any backdrop-filter to the body element.
As you move the window, underneath content updates won't be reflected on the background.

Expected behavior
Content underneath should be updated without the need of css hacks.
Screenshots
The bug using backdrop-filter on the body element:
https://user-images.githubusercontent.com/1578018/115590809-613fc100-a29f-11eb-9203-40c42a0ea08e.mp4
Using a css animation hack:
[class*="filter-"] {
	animation-duration: 0.1s;
	animation-play-state: running;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.filter-blur { animation-name: blur; }
.filter-sepia { animation-name: sepia; }
.filter-invert { animation-name: invert; }

@keyframes blur { from, to { backdrop-filter: blur(16px); } }
@keyframes sepia { from, to { backdrop-filter: sepia(100%); } }
@keyframes invert { from, to { backdrop-filter: invert(100%); } }

https://user-images.githubusercontent.com/1578018/115591172-d1e6dd80-a29f-11eb-907c-8a32abe1c3e6.mp4
This isn't ideal and may cause battery drain problems and unnecessary renders.
Platform and Versions (please complete the following information):
OS: Mac OS, version 11.2.3 X64
Node: 15.13.0
NPM: 7.7.6
Yarn: 1.22.10
Rustc: 1.51.0

Closing it since it should be fixed by focus bug fix


increase accuracy

hello @bourdakos1
i want to make  simple ocr project
do i make ocr system with cloud annotation ???
how many images is require for every character (ocr) with high accuracy ??
is there config for increase accuracy in cloud annotation ???

You might be better off finding an open source ocr model. I think it would take a lot of work to train an ocr model from scratch

@bourdakos1
thank for response
i have 30 object for recognition
how improve accuracy ???

More data, try for 100 each


Only remove session after notifying subscribers

Fixes error on signOut.
Caused by session being set to null and then AuthCallback is called with currentSession!. (which signifies currentSession is not null)
Ref: https://github.com/supabase/gotrue-dart/blob/7e58474b444e7d9ea303d11dd058d07f68b3d781/lib/src/gotrue_client.dart#L300
This PR notifies listeners before removing the session.
Another approach would be, to make AuthCallback take a nullable session.

Hi @nstrelow, thank you for your bug report.

Another approach would be, to make AuthCallback take a nullable session.

yes, we should do this.
I implement the fix here. It also has new logic to ensure local session is removed on signOut


Improved support with existing webpack optimization plugins

Rewrote the compilation.plugin section to use optimize-modules.

Using optimize-modules ensures the plugin runs before standard webpack chunk optimization plugins like the CommonsChunkPlugin.

Based on https://github.com/webpack/webpack/blob/webpack-1/lib/Compilation.js#L495 (applyPlugins order of execution).

Added this.restartApplyPlugins(); to force webpack to re-execute optimization plugins once this plugin has executed.
Removed use and creation of manifest chunk. The plugin only creates the chunks the user has asked it to create.

Modified example to show how this plugin can be used in conjunction with a webpack CommonsChunkPlugin.

Example is rudimentary but does work.

Added an optimize-chunks compilation.plugin function to change chunks created by this plugin to initial=false if they are empty.

This can happen if this plugin is used in conjunction with CommonsChunkPlugin.
Without this: If CommonsChunkPlugin empties a chunk this plugin creates, a chunk file will still be generated because its chunk.initial value is true.

With or without the PR changes, this plugin still breaks down with the below configuration. In both instances, it appears there are circular dependency issues between the two new chunks. No matter what order you load them in, they will fail with error Cannot read property 'call' of undefined.
new SplitByPathPlugin([
      {
        name: 'angular2-vendors',
        path: path.join(__dirname, 'node_modules', '@angular')
      },
      {
        name: 'vendors',
        path: path.join(__dirname, 'node_modules')
      }
    ], {
      ignoreChunks: ['aem_components', 'polyfills']
    })

Sorry, I forgot I had this out here. After using this plugin for several months across multiple applications, I see the benefit of the manifest chunk. Although some of the changes may have been ideal, removing the manifest chuck was a bad idea on my part.


Cohere Partner Page Information

**NOTE: This is an issue template for new partner pages we are building. Existing partners can use them to submit information needed as we build out enhanced pages. New partners, please continue to use the process outlined here for the time being: https://opensearch.org/new-partner.html
Organization name
Cohere
Brief description of your business and what it does (50 words or less)
Cohere is the leading AI platform for enterprise. Its world-class AI is uniquely suited to the needs of business, unlocking unprecedented ease-of-use, accessibility, and data privacy. Cohere’s platform is cloud-agnostic, accessible through API as a managed service, and can be deployed on virtual private cloud (VPC) or on premise.
Name of your relevant product(s) or service for the OpenSearch audience
Connectors for third-party ML platforms in the form of an embedding model and a reranker model
What OpenSearch technologies do you specialize in
Search (Information Retrieval and Reranking)
Type of business
Product/Technology (Machine Learning Platform)
Home/main office location or address
171 John Street, Toronto, Ontario
How can people contact you (email and phone)
<EMAIL_ADDRESS>Regions you serve
Global
Industry specialization
business service, consumer services, education, energy and utilities, financial services, healthcare, media and entertainment, public sector, non-profit, software and technology
Logo

Additional image
Links
Semantic Search with Open Search and Cohere: A Comprehensive Demo
Using LLMs for Search with Dense Retrieval and Reranking
Rerank Product Announcement

@mahjongmen - Thank you, Elliott, for your submission.


[FEAT] Limit parallel tasks in remote parquet reader

Implement a parallelism cap on remote parquet tasks, and use compute runtime instead of rayon. Follow on from https://github.com/Eventual-Inc/Daft/pull/3310 which implemented it for local.
Benchmarks in comments below

Results of benchmarking/parquet/test_num_rowgroups.py via df.read_parquet, testing current main vs this PR.
Main:

This:

Overall, the new implementation is mostly faster. For example reading all columns in the 1RG file, it is 3.47s vs 4.87s


graph nodes inside sess.run() brackets should be garbage-collected

My input pipeline returns current epoch, and batch of images.
epoch,label_batch,image_batch  = my_input_pipeline(.....)
.....
Two examples:
sess.run(epoch[0],train_step_run)
gives 15 examples per second and RAM get filled over time very slowly.
 sess.run(epoch,train_step_run)
runs 100 examples per second and is stable.
It would be great to make sess.run brackets "special" so that some TF function within it does not construct an infinite graph.

Can you try
a = epoch[0]
sess.run(a,train_step_run)

From your description it sounds like sess.run(a) is slow and leaks memory, but sess.run([a]) doesn't, which indicates a bug

I did not explain myself right. sess.run([a]) and sess.run(a) are same in my example, just tested this. Creating
a = epoch[0]
sess.run(a,train_step_run)

also works fine. a is a tensor object.
The thing that would not work is:
sess.run(a[0])

Ah, right, a[0] adds a strided_slice op to the graph. It's the same problem if you did sess.run(a+b), every time you run it, an Add op is added.
The way to prevent these kinds of errors is to run tf.get_default_graph().finalize() before modifying the graph.
If you do learning through higher level frameworks like tf.slim or MonitoredSession or estimator, those  already modify the graph for you, but I guess it's a potential hazard if you stay in the low-level API

tf.get_default_graph().finalize() is indeed a good way to treat errors of this kind. Thank you for clarifications.

You must have implicitly or explicitly called tf.something after tf.get_default_graph().finalize(). Check out your error line


WIP: Replace nomachine with ood

Recommend puhti web interface instead of nomachine in several places in docs.

Based on a quick scan of the changes it looks good. I assume now nomachine is only mentioned in its own tutorial.

That's correct. I also left the Paraview and Visit apps-pages untouched because I'm unsure whether all the currently documented features would work in the web interface, e.g. running paraview on GPUs


Block pagination for new blocks

Your PR Server URL is https://near-explorer-frontend-pr-52.onrender.com.
Follow its progress at https://dashboard.render.com/web/srv-bl0ddvb60hn04ibd8q60.
Cheers,
The Render Team

Is it WIP?

Staled


[Core] Support for 100-continue flow

https://github.com/Azure/azure-sdk/issues/5787

Request will be costed and evaluated once archboard discussion for the linked issue has been completed.

Is this a duplicate of https://github.com/Azure/azure-sdk-for-net/issues/23957?  If so, it would be good to close one of them.

Apparently so.   Nice find!   Feel free to kill the one of your choice.  Neither seems to have any critical context.

After archboard discussions, this is not a feature that we currently plan on adding.   Closing out for now.


Anolis Resourcer Program has stopped working

Description:
Stopped working (wow thanks)
Problem signature:
Problem Event Name:	CLR20r3
Problem Signature 01:	resourcer.exe
Problem Signature 02:	0.9.3531.38736
Problem Signature 03:	4a9d92b4
Problem Signature 04:	mscorlib
Problem Signature 05:	<IP_ADDRESS>
Problem Signature 06:	530eec86
Problem Signature 07:	34a9
Problem Signature 08:	119
Problem Signature 09:	System.IO.DirectoryNotFound
OS Version:	6.1.76<IP_ADDRESS>.768.3
Locale ID:	1033
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Command line output:
bla bla bla
Update executable icon

*close program*
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Isaiah\AppData\Local\Anolis\Exceptions.log'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean
bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append)
   at Anolis.Resourcer.Program.Main(String[] args)
Error while updating the Windows icon.

This issue is old and I just reproduced it 1/5/2016 (first time I saw it)
build_and_package_the_demo_on_windows:
[copy] Copying 9 files to C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[unzip] Expanding: C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\node_modules.zip into C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[copy] Copying 1 file to C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[copy] Copying 1 file to C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[exec]         1 file(s) copied.
[exec]
[exec] ><EMAIL_ADDRESS>gulp C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages
[exec] > gulp
[exec]
[exec] [09:34:35] Using gulpfile C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\gulpFile.js
[exec] [09:34:35] Starting 'nw'...
[exec] [09:34:37] nw-builder Using v0.12.3
[exec] [09:34:37] nw-builder Create cache folder in C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\cache\0.12.3
[exec] [09:34:37] nw-builder Downloading: http://dl.nwjs.io/v0.12.3/nwjs-v0.12.3-win-x64.zip
[exec] [09:34:37] nw-builder Create cache folder in C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\cache\0.12.3
[exec] [09:34:37] nw-builder Downloading: http://dl.nwjs.io/v0.12.3/nwjs-v0.12.3-osx-x64.zip
[exec]
[exec]
[exec] [09:35:14] nw-builder Create release folder in C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\win64
[exec] [09:35:14] nw-builder Create release folder in C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\osx64
[exec] [09:35:17] nw-builder chmod 33206 on C:\views\NEXTGE~2\nxgui\NxGenWorkspace\build\CemGui\demoPackages\build\EMCUnityDemo\osx64\EMCUnityDemo.app\Contents\Resources\nw.ic
ns failed after copying, ignoring
[exec] [09:35:18] nw-builder Update win64 executable icon
[exec]
[exec] Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\kingc5\AppData\Local\Anolis\Exceptions.log'.
[exec]    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[exec]    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options,
SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
[exec]    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromPro
xy)
[exec]    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
[exec]    at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
[exec]    at System.IO.StreamWriter..ctor(String path, Boolean append)
[exec]    at Anolis.Resourcer.Program.Main(String[] args)
[exec] [09:35:26] nw-builder Error while updating the Windows icon.
[exec] [09:35:26] Finished 'nw' after 51 s
[exec] [09:35:26] Starting 'default'...
[exec] [09:35:26] Finished 'default' after 12 ╬╝s

Same problem

I don't think there's anything wrong with nw-builder's usage of winresourcer. I'll have to close this. More success might be had if it was reported to winresourcer, etc. Thanks anyway.


Add Telegram notifications

It could be a nice feature to receive a telegram message containing order details (and Core Number deviation etc) every time Corecito makes an order.

Info on how it could be done: https://www.geeksforgeeks.org/send-message-to-telegram-user-using-python/

Info on how it could be done: https://www.geeksforgeeks.org/send-message-to-telegram-user-using-python/


Regression: Section no longer importable from types in 1.4

Hello,
In 1.3.x you could (and we did...) write a line:
from dynamic_preferences.types import Section, StringPreference

In 1.4 or 1.4.1 this no longer works, one needs to write
from dynamic_preferences.preferences import Section
from dynamic_preferences.types import StringPreference

I've seen no reference to this on the change log.

Thanks for the bug report, this is indeed serious. It was removed acidentally in this commit: https://github.com/EliotBerriot/django-dynamic-preferences/commit/8125f50f1d130ebd01a82a9228ae8d3f73fce844#diff-a47816f7362053a57fe923b8bcd8b6e6L14
I'll submit a release with a fix this evening (EST).

Release 1.4.2 available on PyPi with a fix for this, sorry for the trouble!

Ah, I removed the imports since they were not being referenced. @EliotBerriot apologies for my error! I didn't know this was a behaviour of the app. Do you think it makes sense to add a test to ensure this behaviour is documented?

Wow. This was an impressively fast response. Thanks a bunch -- for the package as a whole, and for this in particular!


remove decision from state machine once state machine is completed

looks like we keep the decision state machine object in the workflow state and never remove them until the workflow state is evicted.

this was done in last release 0.6.0.


WI_comments_blackbox_test: Delete test entities after each test

Fixes https://github.com/fabric8-services/fabric8-wit/issues/2155

[test]

[test]

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2156   +/-   ##
=======================================
  Coverage   69.38%   69.38%
=======================================
  Files         165      165
  Lines       15274    15274
=======================================
  Hits        10598    10598
  Misses       3716     3716
  Partials      960      960

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 88b4ed9...0843c0c. Read the comment docs.


try workaround for memory issue on windows

What about the solution proposed here (working-directory option)?

this solution will requires to introduce it for all stages, use custom checkout stage and separate windows pipeline with duplication (or have if-statement  for windows for each stage), which can be hard to maintain in future... My solution is localized the most memory consuming part execution without requirement to isolate pipeline

Looks like it works!
But need prevent several additional instabilities


README.md: Use wordmark on the main README page

Preview: https://github.com/russellb/nexodus/tree/readme-logo


Create helper function for credential manifest output descriptors

this object will be heavy, I would suggest you put a helper struct here which has functions to find and return subset of output descriptors by credential scope. So that you can swap underlying memory store with cache in future with little effort.
Originally posted by @sudeshrshetty in https://github.com/trustbloc/adapter/pull/574#r791100399

&txnData
When we are persisting transaction data with the cred=scope parameter  Issuer ID is profile id here.  Since profile data object also have new type named as Issuer Id   Issuer ID identifies who is the issuer of the credential manifests being issued.  So it was sounding bit confusing to me.  Thats why i was thinking to rename IssuerID inside transaction to Profile ID.
But i do see its also being used for mapping between inviationID and issuer.

Rename it to IssuerProfileID to avoid confusion.


Revert method generics in packages/flutter/lib/src/http

We converted all code to use method generics in #7235, but
we shouldn't have touched the http folder since this code
is pulled from upstream.

@abarth @Hixie

LGTM but Travis is mad.  I think you missed one.


Wrong C++ highlighting

The bug is not complicated, but it appears in all Vims, such as gVim and Vim (Windows/Linux).
Screenshot

Old C standards don't allow it.  Does someone know what was the first when a comment before a preprocessor directive was allowed?

One more thing
This is also not working:
#include\
<bits/stdc++.h>
Offtopic
This editor of ideone handles preprocessors quite good.

I'll look into it https://github.com/vim-jp/vim-cpp/issues/41


Add homepage to pnpm workspace

I'm not sure why it wasn't part of the workspace before, maybe for deploy reasons?
I think it's better to wait for @aeplay review so he can give us some historical context.

@bensleveritt
The build in the CI is failing: https://github.com/gardencmp/jazz/actions/runs/11219737794/job/31186358715?pr=496

Sorry @bensleveritt I should document this somewhere but the homepage was a separate workspace on purpose, so you don't have to build it to build the packages - hope you didn't spend too much effort on it

Didn’t spend any time on it, but I raised it because ‘turbo build’ includes the homepage package, which fails the whole build of it hasn’t been installed yet


Design SQL for expanding support for searching mulitple types ( users, Workitems )

related to #395

Keep in mind it's only by luck that Users exists in the same DB as WorkItems right now.

@sbose78 what's the use case here?

I wonder if this really is covered by #439
User and WorkItems are two different types and do not need to be searched for in the same Query.

Hi @tsmaeder ,
The use case is that a generic search should return results off all objects in the system.
Example, in github when we search in the top search bar https://github.com/search?utf8=%E2%9C%93&q=almighty the left navigation bar shows number of results pertaining to each type .
So I was wondering if our sql query should also do the same.
We could definitely do this is separate queries, but that felt slightly inefficient to me.


Removed lines duplicated from virtualbox.sh causing unwanted removal of user installed software

These lines are actually part of script/vmware.sh and script/virtualbox.sh. In cleanup.sh they actually delete too much, in case somebody installed other software depending on them, such as additional Perl modules. This software will then be removed as well.
See also https://github.com/boxcutter/centos/pull/43 where a similar change was already merged.

@misheska thanks for merging #19. Could you please also consider this one here?


fix: full_url_for helper not found

[x] Others (Update, fix, translation, etc...)

Emergency fix after #1139 as full_url_for() couldn't be found.
Netlify and Travis CI both don't have the latest commit when using "hexojs/hexo"
This PR force them to install the latest commit (https://github.com/hexojs/hexo/commit/79bdc9548752acfba89b26dec2c532c9346a1380)
Related issue: https://github.com/hexojs/site/pull/1102

I'm bypassing review as this is an emergency fix.


Fixed a lot of up-to-date Gradle checks to speed up integration test …

…running
Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[x] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[x] Create/update unit or integration tests for verifying the changes made.

[x] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[x] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

another ./gradlew spotlessApply needed, but then ready.


Is there a way to save information in client side for teams apps?

In Microsoft Addins , there is office.context.roamingSettings to save information in client side. I need to know is there a way in teams also. I am creating a connector app and I do not want to show login UI in configuration page when user tries to configure connector all the time. I just want to show login UI only once and then need to have a way to save those information in client side.
Can some one help me to find solution for this?

@piyumi25, yes it is possible to save information. Once user logs in, using the auth token you can fetch the details of an user using Get UserGraph API

@piyumi25, yes it is possible to save information. Once user logs in, using the auth token you can fetch the details of an user using Get UserGraph API

@Mallipriya-MSFT  I am not using Azure authentication. I am using our own login page. So once user login to our website I need to save the userID in clientside and if user already logged in I do not want to show login UI when reconfiguring the connector

@piyumi25, you can use Azure blob storage or Azure storage table to save information.


[MNT] Clustering module 1.0 deprecations

Reference Issues/PRs
#1518

What does this implement/fix? Explain your changes.
This PR deprecates all the parameters and models for 1.0 release. Specifically it deprecates the following:

K-shapes (renamed to k-shape)
init_algorithm variable for kmeans (change to init)
clustering_algorithm parameter for deep learners (renamed to estimator)

Does your contribution introduce a new dependency? If yes, which one?

Any other comments?

PR checklist

For all contributions

[x] I've added myself to the list of contributors. Alternatively, you can use the @all-contributors bot to do this for you.
[x] The PR title starts with either [ENH], [MNT], [DOC], [BUG], [REF], [DEP] or [GOV] indicating whether the PR topic is related to enhancement, maintenance, documentation, bugs, refactoring, deprecation or governance.

For new estimators and functions

[x] I've added the estimator to the online API documentation.
[x] (OPTIONAL) I've added myself as a __maintainer__ at the top of relevant files and want to be contacted regarding its maintenance. Unmaintained files may be removed. This is for the full file, and you should not add yourself if you are just making minor changes or do not want to help maintain its contents.

For developers with write access

[x] (OPTIONAL) I've updated aeon's CODEOWNERS to receive notifications about future changes to these files.

thanks Chris for taking care of this, however i think its best if we wait for the rest of the deep clustering prs to get in and make the deprecating changes here, if thats okay with you

btw @chrisholder n_clusters and clustering_params are also to deprecate in deep leaening (look at the warning you removed in base class)


Bump smali && baksmali version to 2.2.1

Whoops didn't notice this was tagged to wrong branch. Can you re-make the PR against master branch?


Added MATCH Clause Implementation to AGE CLI

INSTRUCTIONS
Use PostgreSQL 15 to run AGE CLI.
Create a new directory and clone this repo in it.
Open a terminal with this directory.
Run the following commands:
-> cd age.
-> export PATH="/bin:$PATH"
-> export PGDATA="path to postgresql15>/bin"
-> export USE_PGXS=TRUE
-> flex -b -Cfe -p -p -o ‘cypher.c’ cypher.l
-> bison -d cypher.y
->make
Start Postgres Server and create a database.)
From the terminal in 'age' directory, Start AGECLI using
./agesql demo
where demo is the db name.
EXAMPLE QUERY

(Remember to hit a backslash '' followed by 'Return' Key before writing queries.)

Outdated


[CI] Add win32.txt dictionary to github actions spell checker step

Description of the new feature / enhancement
I've been adding a bunch of win32 p/invoke calls to Mouse Jump recently and one of the pain points was adding all of the win32 parameter types and names to the spell checker, which I couldn't easily test locally so had to poke-and-hope a commit and patch it after the build failed:

One of the suggestions in the error message is to add a predefined custom dictionary:
      with:
        extra_dictionaries:
          cspell:win32/src/win32.txt

I've compared this dictionary against the custom "expect.txt" and there are about 940 "words" that could be removed from "expect.txt" if the "win32.txt" custom dictionary were adopted:
$win32 = (Invoke-WebRequest "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20220816/dictionaries/win32/src/win32.txt").Content.Split("`n")

$expect = Get-Content "C:\src\github\mikeclayton\PowerToys\.github\actions\spell-check\expect.txt";

$overlap = $expect | where-object { $win32 -contains $_ }

$overlap.Length
# 938

This would nearly halve the size of expect.txt (currently 2300 entries) and make it easier to add new win32 p/invoke calls without having to massage the dictionary...
I'm happy to take this on and send a PR if you think it's worth doing and you want to assign it to me...
Scenario when this would be used?
Simplify CI build process and make it easier to add new win32 p/invoke calls without having to touch the dictionary.
Supporting information
No response

@jsoref would this be as easy as doing that single line above?
https://github.com/microsoft/PowerToys/blob/8f8ac3498f5b66ef24ab4ab244848b27356c270d/.github/workflows/spelling2.yml (yes i know i'm a smidge wrong on the file path)
      with:
        extra_dictionaries:
          cspell:win32/src/win32.txt

Yes. You'll want to add it in one PR, merge, and then it'll clean out things at the next opportunity.
Be warned, the cpp.txt dictionary has lots of typos, I've stopped advertising it in prerelease. I can't remember how typo-ridden win32 is.

Indeed the next version of check-spelling will stop advertising the win32 dictionary as well: https://github.com/check-spelling/check-spelling/wiki/Removed-Dictionaries#v0022
Sample typos in win32 (Aa..Ad)
accessibility
https://github.com/check-spelling/cspell-dicts/blob/f4dfc8661fb8f70eca0009e76dfba18d91bc661a/dictionaries/win32/src/win32.txt#L156
https://github.com/check-spelling/cspell-dicts/blob/f4dfc8661fb8f70eca0009e76dfba18d91bc661a/dictionaries/win32/src/win32.txt#L2207
activation
https://github.com/check-spelling/cspell-dicts/blob/f4dfc8661fb8f70eca0009e76dfba18d91bc661a/dictionaries/win32/src/win32.txt#L2236
Adapater
https://github.com/check-spelling/cspell-dicts/blob/f4dfc8661fb8f70eca0009e76dfba18d91bc661a/dictionaries/win32/src/win32.txt#L2251
(I stopped here, this was an alphabetical skim of sorts)
Comparing with cpp
For perspective, the cpp dictionary https://github.com/check-spelling/cspell-dicts/blob/f4dfc8661fb8f70eca0009e76dfba18d91bc661a/dictionaries/cpp/dict/cpp.txt has 22k items (including many typos). And I've effectively given up tracing them down https://docs.google.com/spreadsheets/d/1awTIDeCgLKvJ2n8sYdRrPTjrMvxUr-F57E7fUF-ywnM/edit#gid=0 (just the as had too many typos to deal w/). For a small number of typos in a dictionary, when I have the patience, I'll make a PR to remove them from the upstream cspell.
By comparison, the w32 dictionary https://github.com/check-spelling/cspell-dicts/blob/f4dfc8661fb8f70eca0009e76dfba18d91bc661a/dictionaries/win32/src/win32.txt#L2251 is 55k large (including many typos). As I haven't had the energy to prune cpp, I've decided to stop advertising both.

That said, if someone were to clean out either or both of those dictionaries, I'd be more than happy to restore them to suggestions 😄


Missing Content-Type: application/json header for WASM target

I am running into an issue with my WASM target (dioxus web framwork) where when using the .json() method on the RequestBuilder I understand that the content type header is being implicitly set but I keep getting a 400 Bad Request error because the Header isn't actually being set for the request.

That seems weird. Looking through the code in https://github.com/seanmonstar/reqwest/tree/master/src/wasm, it sure does look like the header is set. There's a function to merge headers from the client defaults (do you set any defaults?). And then the internal async fn fetch sets them on the js_sys type.
If you wanted to try to debug, I'd check either a breakpoint there, or insert some logs there and recompile.

Yeah not sure why this itself isn't having the header set.
I created a separate non-wasm minimal example and the request works just fine.

Hm.... In https://github.com/rustwasm/wasm-bindgen/issues/1135, one commenter said "It looks like RequestInit with no-cors ignores all headers." Is that the issue?

Aha, that is indeed it. Here's my trail:
Fetch Request.mode:

no-cors
Prevents the method from being anything other than HEAD, GET or POST, and the headers from being anything other than simple headers.

Where the simple headers states:

content-type
If [value] is not "application/x-www-form-urlencoded", "multipart/form-data", or "text/plain", then return false.

that's unfortunate. Our server has a no-cors policy in place and without the fetch_cors_no_header() method attached to the request I still get a CORS error :(


[FEATURE] Supporting more than 4 tools by multi-tools agent ?

From what I can see, it seems to be capped at 4 tools for multi-tools agent. Is it due to a technical limitation ?

I'm not aware of the 4 tools limitation, is there any indication to say that its capped at 4?


fix gcc 9.1 -Wdeprecated-copy warnings by splitting dual-mode constructor into separate copy constructor and converting constructor

Part 3 fixes for https://github.com/intel/tbb/issues/161

Thank you for the patch. Unfortunately, we cannot accept the patch "as is" because it relies on C++11 and will not work with pre-C++11. In any case, we have already been working on the issue and the issue will be fixed the issue in one of the future releases.

Sorry - did not realize C++03 is supported


http: Allow upper bounding lifetime of downstream connections

Description:
We use envoy as user-facing edge proxy behind lvs/ipvs.
During the restart of the envoy proxy connections tend to migrate to other processes.
This leads to cascading load imbalance (the last process to restart has most connections, typically several times more than in steady mode).
Does it make sense to add configuration option to HTTP Connection Manager to gracefully drain a connection after certain timeout since connection establishment? (Similar to idle timeout)

Sounds like you're asking for a "max connection age" or "max requests" features for http connection manager.
You could also look at using the hot restart mechanism to avoid shutting down listeners. There may periodically be versions of Envoy that cannot be upgraded with hot-restart, though.

Sounds like you're asking for a "max connection age" or "max requests" features for http connection manager.
Yes, "max connection age" sounds right.

You could also look at using the hot restart mechanism to avoid shutting down listeners. There may periodically be versions of Envoy that cannot be upgraded with hot-restart, though.
Even with hot restart we'll see imbalance for nodes being allocated/rebooted.

You could also look at using the hot restart mechanism to avoid shutting down listeners. There may periodically be versions of Envoy that cannot be upgraded with hot-restart, though.

We're using SO_REUSEPORT-based graceful deploy logic, it has exactly the same properties in regard of traffic imbalance as hot restart.


[Scheduled Maintenance] Site down for Maintenance

Additional context
various updates and hardware upgrade

taking longer than planned, will update when finished

maintenance complete for now, will need more downtime later on


Update main branch name to "main"

Here is the link I had followed when renaming branch names: https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx

Done.


Sparse/Quantization Aware Training for YOLOv10

Is your feature request related to a problem? Please describe.
Need to reduce model size of YOLOv10 while maintaining performance.
Describe the solution you'd like
Sparse and Quantization Aware Training for YOLOv10. Maintain sparsity while training and quantizing to 8 bits. I just need some idea how to go about implementing. If I'm able to make it work, I'll open a PR.
Describe alternatives you've considered
I have been looking at the YOLOv8 recipes by SpareML. While these have given me a lot of ideas, I'm not sure which layers to quantize and prune.
Additional context
I'm also unsure what type of sparsification algorithm sparseml uses at the backend? is it the rigged lottery?

Hi @yoloyash YOLOv10 is not currrently on our roadmap but starting from the YOLOv8 example should put you in a great spot.  Targeting the Convolutional layers (inputs and weights only) is a good place to start and also skipping the initial conv/predictors should help with accuracy

@bfineran thank you so much for the reply! I think is enough to get me started. If you have any other suggestions, please let me know!

Hi @yoloyash
Looks like you are set for now! Please re-open the thread if you want to continue the conversation. And if you enjoy these repos, don't forget to give us a star if you haven't already, thanks! We appreciate your support!
Jeannie / Neural Magic

Hi @jeanniefinks thank you!
@bfineran I am trying to follow the guide of sparse-transfer learning yolov8 on the VOC dataset from the coco-pruned model. I have followed the exact same recipe here but my results are not even close to the ones mentioned. The onnx model provided is 26mb in size, while the one I get from training using the provided recipe is 33mb. Additionally, quantizing the model also increased the latency of the model by a lot (for both GPU and CPU) and for both backends (onnxruntime and deepsparse).
Another doubt I had is, the input to the model given in the above Sparsezoo link expects a float32 input, while the model I got from training required uint8/int8. I think I might be missing a few steps, can you help out please?


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.4.290",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fd2400dd4f1b8bd7a309b1b424d9e0d188151b01"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "fd2400dd4f1b8bd7a309b1b424d9e0d188151b01",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: mdiobus: Fix memory leak in __mdiobus_register\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.4.290 by commit fd2400dd4f1b8bd7a309b1b424d9e0d188151b01. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001922


Remove outdated tools; fix links

I noticed that some links were broken. This could mean that the website has changed or that the project got removed from the web. In any case, we should remove the unavailable tools and fix the broken links.
For the failing links, check out the tools in https://github.com/analysis-tools-dev/static-analysis/tree/master/data/tools and fix the links there. For removed projects, simply delete the entire YAML file in the same folder.
Pull requests welcome!
Errors in README.md

[404] https://mangothecat.github.io/goodpractice | Failed: Network error: Not Found
Error: R] https://coala.io/ | Failed: Network error: error sending request for url (https://coala.io/)
[404] https://bitbucket.org/yanniss/doop | Failed: Network error: Not Found
Error: R] https://ruby.sadi.st/Flog.html | Failed: Network error: error sending request for url (https://ruby.sadi.st/Flog.html)
Error: R] https://pycodequ.al/ | Failed: Network error: error sending request for url (https://pycodequ.al/)
[404] https://www.synopsys.com/software-integrity/security-testing/static-analysis-sast.html | Failed: Network error: Not Found
Error: R] https://ruby.sadi.st/Flay.html | Failed: Network error: error sending request for url (https://ruby.sadi.st/Flay.html)
Error: R] https://www.exakat.io/ | Failed: Network error: error sending request for url (https://www.exakat.io/)
[TIMEOUT] https://packj.dev/ | Timeout
[403] https://www.whitehatsec.com/platform/static-application-security-testing | Failed: Network error: Forbidden
Error: R] https://nitpick-ci.com/ | Failed: Network error: error sending request for url (https://nitpick-ci.com/)
Error: R] https://www.lunasec.io/ | Failed: Network error: error sending request for url (https://www.lunasec.io/)
[TIMEOUT] https://www.qualys.com/apps/container-security | Timeout
[404] http://oclint.org/ | Failed: Network error: Not Found
Error: R] http://code.yorickpeterse.com/ruby-lint/latest | Failed: Network error: error sending request for url (http://code.yorickpeterse.com/ruby-lint/latest)
Error: R] https://coala.io/languages | Failed: Network error: error sending request for url (https://coala.io/languages)
[404] http://tools.android.com/tips/lint | Failed: Network error: Not Found

Hi, I'd like to work on this issue

Sure, thanks! Go ahead and send pull requests. Take a look into the contributing guidelines to get an overview: https://github.com/analysis-tools-dev/static-analysis/blob/master/CONTRIBUTING.md


Prisma Client From Trait QueryError to rspc::Error not working

Error:  the trait From<QueryError> is not implemented for rspc::Error, which is required by `QueryError: Into<>_
I see that in prisma-client-rust error.rs has the trait for, but when tryint to use it does not work
#[cfg(feature = "rspc")]
impl From<QueryError> for rspc::Error {
    fn from(err: QueryError) -> Self {
        rspc::Error::with_cause(
            rspc::ErrorCode::InternalServerError,
            "Internal server error occurred while completing database operation!".into(),
            err,
        )
    }
}

cargo.toml
prisma-client-rust = { git = "https://github.com/Brendonovich/prisma-client-rust", tag = "0.6.11", features = [
	"mysql",
	"rspc",
	"migrations",
	"specta",
], default-features = false }
prisma-client-rust-cli = { git = "https://github.com/Brendonovich/prisma-client-rust", tag = "0.6.11", features = [
	"mysql",
	"rspc",
	"migrations",
	"specta",
], default-features = false }

rspc = { git = "https://github.com/oscartbeaumont/rspc", tag = 'v0.2.0' }
rspc-axum = { git = "https://github.com/oscartbeaumont/rspc", tag = "v0.2.0", features = [
	"ws",
] }

src/main.rs
  let client_api_routes = rspc::Router::<PrismaClient>::new().mutation("/create", |t| {
        t(|ctx, input: prisma::client::Data| async move {
            let ans = ctx
                .client()
                .create(
                    "Name".to_string(),
                    "1234567".to_string(),
                    "/menu".to_string(),
                    vec![],
                )
                .exec()
                .await;
            let get_error_for_test = ans.unwrap_err();
            let into: rspc::Error = get_error_for_test.into();
        })
    });

I suspect the issue is here to due to your projects rspc and PCR's rspc version not matching as Rust types across crate versions are treated as being discrete.
You could try:
rspc = "0.2.0"
rspc-axum = { git = "https://github.com/oscartbeaumont/rspc", tag = "v0.2.0", features = [
	"ws",
] }

# I am fairly sure these patches apply to dependencies too (which you want for the `rspc` dependency in PCR)
# Be aware this needs to go in your workspaces `Cargo.toml` if your using a Cargo workspace.
[patch.crates-io]
rspc = { git = "https://github.com/oscartbeaumont/rspc", tag = 'v0.2.0' }

Alternatively you might have to fork PCR and change the rspc import to match your one (or just use the crates.io release of rspc which should be fine).


What container runtime would you like to pick?

A brief list of options:

runc -- a few requires, it's not easy to run containers
atomic -- requires python and has a lot of dependencies
cri-o -- work in progress
docker -- 'de facto' standard, fast release-cycle, complex software

During today's meeting we basically agreed to include runc in platform, with the possibility of dropping a container runtime entirely later on.
The reason is it is the only long-term stable runtime we have. The rest is either incomplete, is being developed at a too fast pace or is not available on all architectures. For these reasons, they're not suitable for platform and should be shipped in separate modules.

Addressed in ea9cce7.


Performance impact on GUI update time even with the window closed

Describe the Bug
I found that in my game the GUI update was suddenly pretty high. By accident I found that this was caused by which tab of LTN manager is opened.
I have a lot of stations, so when all those are listed the time gets pretty high, and I expect that. However, the time used remains high when the LTN manager window is closed.
I'm not sure if this is something that can be fixed on the mod level or if it's a factorio modding API limitation. As a workaround. I now know to always go back to a less intensive tab if I want to keep my performance.
To Reproduce

Open LTN manager window on a save with a lot of stations.
Go to stations tab and show all stations
Observe GUI update
CLose LTN manager window
Observe GUI update(it stays about the same)
Do the same for another tab with less elements(or filter the stations tab)

Be certain to reproduce the issue on the same save file that you upload.
Screenshot of my own observations
These observations were made in an SE+K2 save with 951 stations, and 166 trains spread over 8 surfaces.

I've nosed around in the source, and I see closing the window sets visible to false. This might be the cause of the continuing processing load.
Some mods I've seen use the destroy() and build() methods, and I think using this this might improve performance while the window is closed. I understand a change like that encompasses a significant refactor.

little workaround:
Open LTN manager window, Go to stations tab and filter only one station. Performance will be better.


Exposing mutable wrapped class methods

Hello,
In the Point example, how would one continue to expose the set_x method to Ruby?
Cheers!

There's a full example in the examples/ directory, it'd look like:
class.define_method("x=", method!(MutPoint::set_x, 1))?;

then from Ruby you'd use it like:
point = Point.new(1, 2)
point.x    #=> 1
point.x = 3
point.x    #=> 3


Add prebid version to ad-server call

Type of change

[ ] Bugfix
[x] Feature
[ ] New bidder adapter
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Does this change affect user-facing APIs or examples documented on http://prebid.org?
[ ] Other

Description of change
Add prebid version to ad-server call

Looks good to me, approved.

LGTM


Timestamp support

Adding optional parameter :timestamp: for both YouTube and Vimeo
videos.
Fixes https://github.com/sphinx-contrib/youtube/issues/17

Hmm the youtube part doesn't seem to work actually. I was fooled by YouTube since it caches the last time I viewed the video. Tested in incognito mode and it seems to ignore timestamping. Gonna close this for now until I can figure something out.

Fixed, need to use "start" instead of "t".

I'm considering utilising this extension in https://github.com/PyTorchLightning/pytorch-lightning/pull/7688. Any updates on this PR?

I'm currently working on another project but I plan on getting back to this some time next week.

Good catch. Fixed

@dham bumping.


variant-ringed-primary not working in intellisense

Current Behavior
When using VSCode with the Tailwind Intellisense and PostCSS language support add-ons, variant-ringed-primary is missing from intellisense.
Notably, variant-filled-primary is not suffering the same fate.
There may be other cases, but I have not found them. If I encounter any more, I will update this issue.
Expected Behavior
variant-ringed-primary and variant-filled-primary have the same experience in intellisense.
Steps To Reproduce
No response
Link to Reproduction / Stackblitz
No response
More Information
First mentioned in Discord support chat, where a core maintainer was able to reproduce the issue and subsequently asked to open this issue.
https://discord.com/channels/1003691521280856084/1116435442510872709/1116444096924491819

Thanks for raising this issue!
Just for future reference, here's a list of variants that do appear in our intellisense:

And here's a list of variants that do not appear in our intellisense plugin:
variant-outline-primary
variant-outline-secondary
variant-outline-tertiary
variant-outline-success
variant-outline-warning
variant-outline-error
variant-outline
variant-outline-surface

variant-filled-tertiary
variant-filled-success
variant-filled-warning
variant-filled-error

variant-ringed
variant-ringed-primary
variant-ringed-secondary
variant-ringed-tertiary
variant-ringed-success
variant-ringed-warning
variant-ringed-error
variant-ringed-surface

variant-ghost-primary
variant-ghost-secondary
variant-ghost-tertiary
variant-ghost-success
variant-ghost-warning
variant-ghost-error

variant-soft-primary
variant-soft-secondary
variant-soft-tertiary
variant-soft-success
variant-soft-warning
variant-soft-error

variant-glass-primary
variant-glass-secondary
variant-glass-tertiary
variant-glass-success
variant-glass-warning
variant-glass-error
variant-glass-surface
variant-glass

variant-gradient-primary-secondary
variant-gradient-secondary-tertiary
variant-gradient-tertiary-primary
variant-gradient-secondary-primary
variant-gradient-tertiary-secondary
variant-gradient-primary-tertiary
variant-gradient-success-warning
variant-gradient-warning-error
variant-gradient-error-success
variant-gradient-warning-success
variant-gradient-error-warning
variant-gradient-success-error

I noticed this happens in other classes like btn-lg btn-xl among others. And as said by  @t-lock, there may be others.
I changed the package.json from "@skeletonlabs/skeleton": "^1.7.1"  to "@skeletonlabs/skeleton": "1.5.1" and intellisense is working again.
When changing to "@skeletonlabs/skeleton": "1.6.0" or greater the problem happens again

Thanks for the extra info @LucasGabrielBravo
@AdrianGonz97 @niktek 1.6 would have been the introduction of the monorepo - do we think this might be related?

@endigo9740 Yup! I know exactly what happened. My refactor of the plugin has fixed this so this should be resolved soon.


Create radosgw key on mon host

Instead of copying the bootstrap key to the rgw host, create the key on
the first mon host and just copy over the resulting key. The bootstrap
key basically gives full permissions to create keys on the cluster and
should be tightly secured and not be on a rgw host which might be
directly connected to the Internet.
If the pools are created by the Ansible playbook, the key permissions are
restricted to just allow the operations needed for radosgw and do not
allow pool manipulation.
Signed-off-by: Gaudenz Steinlin<EMAIL_ADDRESS>

@guits Is there a problem with using the CI for draft PRs? I actually made this a draft because I wanted to run the CI tests. I now made some changes to fix the tests which were failing and would like to recheck. Otherwise I would have to see how I can run the checks locally.

@guits Is there a problem with using the CI for draft PRs? I actually made this a draft because I wanted to run the CI tests. I now made some changes to fix the tests which were failing and would like to recheck. Otherwise I would have to see how I can run the checks locally.

Hi @gaudenz sorry for the late response,
yes, there was a couple of issues with the CI (like almost all job failing because of the infra), even though I still see some failures here, that should be fixed now


Configure models through class kwargs

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this feature/change is needed
[x] After submitting this, I commit to one of:

Look through open issues and helped at least one other person
Hit the "watch" button on this repo to receive notifications and I commit to help at least 2 people that ask questions in the future
Implement a Pull Request for a confirmed bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":

             pydantic version: 1.6.1
            pydantic compiled: True
                 install path: /Users/rocky/.local/share/virtualenvs/superapp-search-hVQXXu_u/lib/python3.8/site-packages/pydantic
               python version: 3.8.7 (v3.8.7:6503f05dd5, Dec 21 2020, 12:45:15)  [Clang 6.0 (clang-600.0.57)]
                     platform: macOS-10.16-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

Feature Request
Allow to configure models through class kwargs, allowing more elegant and compact code
from pydantic import BaseModel

class Model(BaseModel, alias_generator=str.upper):
    foo: int
    bar: int

==
class Model(BaseModel)
    foo: int
    bar: int

    class Config:
        alias_generator = str.upper

Will be happy to implement this myself, once feature request is accepted.

I saw this the other day on typed dicts, which python versions support this?
I'm keen if the implementation isn't too complicated.

It's supported in 3.6+ for sure. Great, I'll make a PR soon then!


How to create the cluster in kube and whats the command

This is a Bug Report

Problem:
Proposed Solution:
Page to Update:
https://kubernetes.io/...

I don't understand your requirement. Can you describe it in detail? Add a page about creating a k8s cluster?

/triage needs-information

/close
This doesn't seem to be describing a defect nor requesting a feature.


Is it possible to programmatically change the constance value?

It's a question.
Is it possible to modify the value programatically without using the admin interface?

Yes
from constance import config

def set_value(key, value):
    """
    update settings
    :param key
    :param value
    :return: None
    """
    setattr(config, key, value)

def get_value(key):
    """
    get settings
    :param key
    :return: value
    """
    return getattr(config, key)

usage:
set_value('site_name', )
get_value('site_name') # should be 'this is demo'


Add DataFlows, define egress and ingress on Systems and PrivacyDeclarations

Closes #83
Code Changes

[x] Define egress and ingress FidesKeys on PrivacyDeclarations
[x] Define the DataFlow resource model, and the companion FlowableResources Enum
[x] Define egress and ingress DataFlows on System resources
[x] Validate that any PrivacyDeclarations applied to a given System only reference egress and ingress FidesKeys that are also defined in that System's egress and ingress DataFlows, respectively
[x] Fix some broken stuff

Steps to Confirm

[ ] Run the tests (they should pass)

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
[x] Documentation Updated
[x] Issue Requirements are Met
[ ] ~Relevant Follow-Up Issues Created~
[x] Update CHANGELOG.md

Kubernetes agrees its ingresses

Created #86 to track the removal of PrivacyDeclaration.dataset_references and System.system_dependencies. It should be addressed once a release is created with the changes on this PR.


Bump spreadsheet version to 2.2.2

https://docs.google.com/document/d/1iwTFoCS8lOIWWm-ZzcMZ_mPHgA8tHVVA3yhKY23gDu8/edit#
Fixes: 756

I don't see any additions to the changelog Google doc.


Declare drivers as optionalDependencies (Fix #3059)

Fix #3059
This is a simpler approach using optionalDependencies.
It's already supported by npm, and yarn --pnp is happy with it.

So what does yarn --pnp does in this case? pack all the optional drivers to .pnp.js ? I asked those questions in  #3059 because I really would like to know what actually happens :)

I PR'd this to be more explicit about the changes involved. Also that made me actually check what was happening in practice, as you asked.
The problem with optionalDependencies is that npm or yarn (even in --prod mode) try to install all of them and don't fail if they can't.
That's why the "peerDependencies" + "peerDependenciesMeta" was implemented by yarn: it silence the warnings about uninstallable peer dependencies, and do both the job of not installing the modules that are not already installed, and properly setup .pnp.js with the peerDependencies that are actually available.

Please don't merge this PR, it's work in progress.

The problem with peerDependenciesMeta is that it's not supported by npm, and there is no sign showing it will be soon. However missing peerDependencies only shows warnings, not failures, and i think most npm users just use them as hints when something goes wrong.

@kapouer Is this PR still work in progress? And if yes, what are the blockers?

It can be merged, however it might make npm users yell about the warnings.

Wondering if this could get merged.  I'd like to migrate a project to using Yarn PnP, and I'd love to be able to use it without forking this project.

Update: https://github.com/npm/cli/pull/224 now peerDependenciesMeta is supported by npm !

Woohoo!
Not sure that declaring drivers as peerDependencies is correct approach, though, because it contradicts the original intent of peerDependencies: stating dependencies that consumer of the library is supposed to satisfy.

Wait, peerDependenciesMeta actually solves that. Then it's OK to merge, after driver versions are brought up-to-date

Done. I supposed no new driver has been added since march 2019.

Thanks!

@jthn Released in 0.20.1

It's supported but still prints a WARNing.
If that's okay, it'd be safer to keep it that way until npm is fixed: It's a freshly deployed feature there, it might have been rolled back for any other reason.
I've notified upstream (in https://github.com/npm/cli/pull/224) just in case.


Simplify detectors watch command

We currently split the Netlify Dev watch command into settings.command (the binary) and settings.args (the arguments array). Splitting those is usually done to escape whitespaces and delimitate tokens between the command and the arguments. However, in our case, it does not make much sense considering the watch command can only be either:

npm run scriptName
some framework-specific hardcoded string like hugo server -w, just never includes whitespaces in our frameworks

This also prevents us from potentially spawning the watch command in a subshell (like Bash), which prevents users from using shell features like variable expansion or globbing in their dev.command.
Finally, splitting those makes the code logic more complicated.
This PR merges those into a single settings.watchCommand instead.
It also simplifies some logic which was first passing npm as the watch command, then later on transforming it to npm run, by passing it as npm run directly instead.

Closing this in favor of doing it as a part of https://github.com/netlify/cli/issues/1495.
@ehmicky please let me know if you think otherwise


How i can set dynamic data on dropdown

We can use this array
let data = [{
value: 'English',
}, {
value: 'Hindi',
},
];
and i want to decode this array on drop down
let data = [{
id:'6'
name: 'English',
}, {
id:'7'
name: 'Hindi',
},
];
Please help if someone know how i can set dynamic data on drop-down

kishanverma26 you can't do that. You need 'value' key in your data object otherwise data will not show in dropdown. I mean you can't use other other key's in your object except 'value' key.

Then this dropdown is useless

please use :
valueExtractor ={({id})=>id} // this one extract the value from your data
labelExtractor ={({name})=>name} //this one extracts the label
note "id" and "name" depends on ur data model i just used kish' example model

how to implement if there is no key as 'value' in Data array object, please provide an example


optimize the buildah options

There are general options for cmds could be put into the engine. Instead of initialize one for every command.
And this could help to fix redefine problem.
@VinceCui @kakaZhou719 FYI.

Codecov Report
Base: 18.39% // Head: 18.39% // No change to project coverage :thumbsup:

Coverage data is based on head (16e7379) compared to base (4c7c364).
Patch has no changes to coverable lines.

:exclamation: Current head 16e7379 differs from pull request most recent head dcad318. Consider uploading reports for the commit dcad318 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1716   +/-   ##
=======================================
  Coverage   18.39%   18.39%
=======================================
  Files          66       66
  Lines        5359     5359
=======================================
  Hits          986      986
  Misses       4247     4247
  Partials      126      126

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

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


Fixes

Pin the version of react-addons-test-utils to 0.14.5 to avoid conflicts during npm install.
Apply style normalization to stuff inside .auth0-lock.

:+1: LGTM


Make 'wfb' failing to split still report E1513, fix CI failures

Problem: may not be clear why failing to split causes an :Xdo command to abort if 'wfb' is set.
Solution: do not return immediately if win_split fails, so E1513 is still given. Expect both errors in the test.
A follow up to my comment here; hopefully this is OK. :+1:
Also fix the failures from testing test_winfixbuf on the CI. (Don't mind the one flaky test_normal.vim failure :innocent:)

thank you!

oh yes, thanks for that


Update superset "numexpr 2.8.4" dependency in docker image of superset 3.1.0/3.1.1 because of CVE-2023-39631

Bug description
The docker inspector marks the image of superset 3.1.0 with a finding of numexpr 2.8.4

https://scout.docker.com/vulnerabilities/id/CVE-2023-39631?s=pypa&n=numexpr&t=pypi&vr==2.8.4&utm_source=desktop&utm_medium=ExternalLink
CVSS SCORE = 9.8

How to reproduce the bug
download image 3.1.0
open in docker inspector
Screenshots/recordings
No response
Superset version
3.1.0
3.1.1
Python version
3.9
Node version
16
Browser
Chrome
Additional context
3.0.3 is NOT affected by this

Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

closing issue, pull request is merged with the update


Company/Careers subpage PL

There should be a heading above the contact form that says "Aplikuj Teraz!" like on the existing website, instead of "Otwieramy nową filię w Osiu!!".
An entire section describing a recruitment opening for another branch and two job offers assigned to that branch is missing.

All confirmed


[QUERY] How to migrate from com.microsoft.azure.datalake.store.* for ADLS Gen1?

Query/Question
Our team is involved in migrating from com.microsoft.azure.datalake.store.* to a new Azure SDK library since this will become deprecated soon. We use both Gen1 and Gen2 datalake, so I was wondering if there is a single maven dependency that we can use to replace the deprecated library. As far as I understood from the docs, we can use azure-storage-file-datalake  for ADLS Gen2, but for Gen1 this library wouldn't work.
Why is this not a Bug or a feature Request?
We aim to better understand if Gen1 is deprecated itself (if we need to use only ADLS Gen2 from now on).
Setup (please complete the following information if applicable):

OS: macOS
IDE: IntelliJ
Library/Libraries: com.microsoft.azure:azure-data-lake-store-sdk, com.azure:azure-storage-file-datalake

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Query Added
[x] Setup information Added

Hi @mihaimusat
Thanks for reaching out! I'd recommend upgrading the azure-storage-file-datalake dependency to the latest one. Our current latest version is 12.15.0:
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/storage/azure-storage-file-datalake/GEN1_GEN2_MAPPING.md
And as for Gen1 to Gen2 migration, this document will be helpful in mapping out the methods used between both Gens,
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/storage/azure-storage-file-datalake/GEN1_GEN2_MAPPING.md
Let me know if this helps or if you have any additional questions!

Hi @ibrahimrabab !
Thanks for your response! I would have one more question: do you know when Gen1 datalake will become officially deprecated? This would help us understand when we need to stop provisioning Gen1 datalakes to our clients and start the migration to Gen2.

@mihaimusat
DataLake Gen 1 is planned to be deprecated by June 29, 2024 (listed here: https://github.com/azure-deprecation/dashboard/issues/137).
I will go ahead and close this issue, but please feel free to reach out with any additional questions! 😄


plist command: Info.plist template

Related: https://github.com/SwiftGen/SwiftGen/pull/288

Implemented by https://github.com/SwiftGen/SwiftGen/pull/379.


[1.12.2] Crash when entering a world

Mod Version:
DynamicSurroundings-1.12.2-<IP_ADDRESS>BETA
OreLib-1.12.2-<IP_ADDRESS>BETA
MC 1.12.2
Forge Version:
Forge 2805
Link to crash log (if applicable):
https://paste.dimdev.org/enizevalik.mccrash
Description:
I disabled a lot of Quark stuff and then I restarted my MC and want to enter the world. :/

Did you disable any blocks that would be present in your world?

Yes, but I don't placed them into my world.

Same here.
Cant connect to my exist world.

I don't know if this is related but ill post it here. (Hi OreCruncher long time, awesome to see this mod flourish!)
Updated to DynamicSurroundings-1.12.2-<IP_ADDRESS>BETA.jar, Reverting back to see if it still exist.

[20:05:05] [main/ERROR] [FML]: Exception caught during firing event net.minecraftforge.client.event.sound.SoundSetupEvent@3caf37be: java.lang.NoClassDefFoundError: Could not initialize class org.orecruncher.dsurround.client.sound.SoundEngine 	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_383_SoundEngine_configureSound_SoundSetupEvent.invoke(.dynamic) ~[?:?] 	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?] 	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?] 	at net.minecraft.client.audio.SoundManager.<init>(SoundManager.java:79) [chm.class:?] 	at net.minecraft.client.audio.SoundHandler.<init>(SoundHandler.java:63) [cho.class:?] 	at net.minecraft.client.Minecraft.displayInitErrorScreen(Minecraft.java:4002) [bib.class:?] 	at net.minecraft.client.Minecraft.run(Minecraft.java:3933) [bib.class:?] 	at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] 	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] 	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] 	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] 	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] [20:05:05] [main/ERROR] [FML]: Index: 1 Listeners: [20:05:05] [main/ERROR] [FML]: 0: LOWEST [20:05:05] [main/ERROR] [FML]: 1: ASM: class org.orecruncher.dsurround.client.sound.SoundEngine configureSound(Lnet/minecraftforge/client/event/sound/SoundSetupEvent;)V [20:05:05] [main/ERROR] [minecraft/Minecraft]: An uncaught exception occured while displaying the init error screen, making normal report instead java.lang.NoClassDefFoundError: Could not initialize class org.orecruncher.dsurround.client.sound.SoundEngine 	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_383_SoundEngine_configureSound_SoundSetupEvent.invoke(.dynamic) ~[?:?] 	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?] 	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?] 	at net.minecraft.client.audio.SoundManager.<init>(SoundManager.java:79) ~[chm.class:?] 	at net.minecraft.client.audio.SoundHandler.<init>(SoundHandler.java:63) ~[cho.class:?] 	at net.minecraft.client.Minecraft.displayInitErrorScreen(Minecraft.java:4002) [bib.class:?] 	at net.minecraft.client.Minecraft.run(Minecraft.java:3933) [bib.class:?] 	at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] 	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] 	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] 	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] 	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] 	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] [20:05:05] [main/FATAL] [VanillaFix]: Minecraft ran into a problem! Report saved to: C:\Users\O13SC3N3\Desktop\MultiMC\instances\A0.1.6a (ReWork)\.minecraft\crash-reports\crash-2019-01-04_20.05.05-client.txt

@O13SC3N3 Howdy!  Did you have a dsurround.cfg from a previous version, like 3.4.x or earlier?

@agentwolf88 Did you disable Quark blocks like @TheSnowyChickens, or was this a simple drop in a new JAR and start up a world?

@OreCruncher Removed the Config from previous version. Forge 2768, just Single Player

OK.  Can you update to Forge 2779+?  Reason is that I discovered a piece of code that is dependent on that version and I don't have any dependency enforcement. :\

OK. Can you update to Forge 2779+? Reason is that I discovered a piece of code that is dependent on that version and I don't have any dependency enforcement. :\

Ill try it m8. Been a few years been working/scripting my next modpack.  I thought about 2779, just wasnt ready to break more mods/configs hehe.
Ill set up a 2779 environment for my pack, and see how it goes. Thanks man!

@TheSnowyChickens Using MultiMC I created a pack based on the mods listed in your crash log.  The config files are at defaults.  I was not able to repro the problem.  Can you zip up your config directory and paste a link?  I want to drop into my instance to see if I can replicate based on what you disabled.

Yes I can do this via Curse / Twitch Launcher function. @OreCruncher
But I still worked on the configs, so its maybe not the state from the crash. (but very similar)
Pixl Pack-1.0.zip

So far I am still not able to repro using the configs/scripts in the ZIP and with MultiMC. grumbles  If you can reliably repro the problem would you mind testing out a "fix" based on what I think may be going on?  It would require updating OreLib as well (latest posted on CurseForge).

I made a JAR.  You will need the latest OreLib from CurseForge, and Forge has to be 2779+.

I updated today your lib to the newest version and yesterday forge to 2806.

OK - you should be able to drop the test JAR in.  Make sure you disable the previous version (rename it, delete it, etc.)

One moment, my English is not the best: You want the I enter my old corrupted World with the test version, right?

Correct.

Then we have a problem: This corrupted world was a new void world with nothing in it, so I deleted them after the crash.
So please try it with @O13SC3N3  xD

@TheSnowyChickens No worries.  Been there myself. :)

@agentwolf88 tried out the test JAR and it addressed the issue.  From the client log provided there were 151,977 block states when Minecraft finished loading.  However, when DS detected the missing data on a block state and reconfigured there were 144,699 blockstates.  This means that 7278 blockstates disappeared after block registration was completed.  Go figure.  In a nutshell what I thought was happening is happening, and my changes will address the problem.  I will be pushing an update in the next day or so with the fix.

thx for info. keep up the good work.

Ty


"RuntimeError Unknown frame type" using lumberjack input

(This issue was originally filed by @OverlordAlex at https://github.com/elastic/logstash/issues/1488)

Using a lumberjack input, logstash (v1.4.2) crashes with the above runtime error (frame type 49). The crash is happening fairly regularly: on average, it crashes after receiving 5-15k events, which is about 20-30 seconds running time
This error is very similar to https://logstash.jira.com/browse/LOGSTASH-1851
The error reported on the lumberjack side is

Read error looking for ack: EOF

Stack trace from logstash:
RuntimeError: Unknown frame type: 49
header (...)/logstash-1.4.2/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.20/lib/lumberjack/server.rb:142
feed at (...)/logstash-1.4.2/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.20/lib/lumberjack/server.rb:93
run at (...)/logstash-1.4.2/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.20/lib/lumberjack/server.rb:220
run at (...)/logstash-1.4.2/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.20/lib/lumberjack/server.rb:59

The lumberjack input wont crash on unhandled exception, since 1.0.4


[UI] AWS EC2 Template: Expose Metadata Options fields

Need UI fields for the EC2 Instance Metadata Options based on two new flags introduced to the nodeDriver:

Label Name
Field
Input
Default

Expose Endpoint for Accessing Instance Metadata
httpEndpoint
enabled or disabled
enabled

Use HTTP Tokens for Instance Metadata Requests
httpTokens
required or optional
optional

These should be introduced under the Instance Options section.

When selected, right value is set on the node.

Default value seen on the UI is Http endpoint: Enabled and HTTP tokens: Optional


docs: streamline the contributing process for newcomers

Description
Streamline the contributing process for newcomers.
Changes Made

add links to creating a Discord app and enabling privileged intents
add linting instructions

Related Issues
N/A
Additional Notes
N/A

You should cherry-pick the commits to exclude the ephemeral message commit as that's in another PR

You should cherry-pick the commits to exclude the ephemeral message commit as that's in another PR

yeah i messed up the branching lol woops

Another way of doing it is resetting the branch (do not use --hard flag) to remove the last N commits and then commit the file you want. Then force push.

Another way of doing it is resetting the branch (do not use --hard flag) to remove the last N commits and then commit the file you want. Then force push.

yeah ik i couldn't be bothered but i guess that makes a cleaner history

The commits will be squashed when merging this PR so don't worry about it this time round.


trying to fix build issues with the pr 1374

Issue #, if available:
#1374
Description of changes:
Description of how you validated changes:
Checklist:

[ ] Write/update tests
[ ] make pr passes
[ ] Update documentation
[ ] Verify transformed template deploys and application functions as expected
[ ] Add/update example to examples/2016-10-31

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

Codecov Report

Merging #1489 into develop will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #1489      +/-   ##
==========================================
- Coverage    94.15%   94.1%   -0.06%
==========================================
  Files           78      78
  Lines         4789    4900     +111
  Branches       967     988      +21
==========================================
+ Hits          4509    4611     +102
- Misses         130     134       +4
- Partials       150     155       +5

Impacted Files
Coverage Δ

samtranslator/model/api/http_api_generator.py
92.21% <0%> (-0.99%)
:arrow_down:

samtranslator/plugins/globals/globals.py
99.05% <0%> (ø)
:arrow_up:

samtranslator/model/sam_resources.py
94.29% <0%> (+0.09%)
:arrow_up:

samtranslator/model/apigatewayv2.py
94.73% <0%> (+0.98%)
:arrow_up:

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 c5221fc...99522f2. Read the comment docs.


Add checkout creation to README

Fixes #69

I send my bitcoin wallet xapo has my blockchain between the portfolio and after a few seconds automatically transfer is another green address I do not know how I get my money lost little thank you


More details

I would like to know more details about this kernel-Transformer. Has there been a paper published on this?

No, this is recurrently just a rough idea, it works very similarly as Swin Transformer, but with some added details in representation and flexibility of architecture.


[GitHub issue][Update auth aad sso]

Minor edit

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/authentication/auth-aad-sso.md
93
18
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit da4c897:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/authentication/auth-aad-sso.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix CI after the image-rs repo merging

https://github.com/confidential-containers/guest-components/pull/163
https://github.com/confidential-containers/guest-components/pull/175


Prevent reloading pages when tapping same-page anchors

This is a port of https://github.com/turbolinks/turbolinks/pull/285 to resolve https://github.com/turbolinks/turbolinks/issues/75, https://github.com/turbolinks/turbolinks/issues/214, and https://github.com/turbolinks/turbolinks/issues/192
The Problem
Clicking on a link which references an anchor on the current page issues an unnecessary request. This can cause problems when linking to content which is lazily loaded (see https://agile-reef-88023.herokuapp.com/posts/1), as well as with analytics and skip links. Disabling Turbo completely on those links prevents the request, but because the view is not cached, this approach breaks the Back button.
The Solution
This PR detects whether the visit is to an anchor on the same page, and if so, prevents the request. It takes a snapshot and performs the scroll, bypassing any rendering and turbo:load triggering. A similar flow handles restorations to same-page anchors. Correct focusing is achieved by temporarily adding tabindex=-1 and calling focus on the target.
The focus test still seems to fail. I'm beginning to think that simulating pressing tab doesn't do anything?
A final note: the Turbolinks version of this PR performed the same-page check in the session (née controller). This allowed the native adapters to check for same-page anchors and handle accordingly. The session is not so accessible from the Visit, so I'd welcome some tips on how to solve this (or whether it's even necessary now?).

https://github.com/hotwired/turbo/pull/125/commits/e4bee01255f5e1b65fb6319e15a997831f06b65a is a bit of a test cheat, and I'm not proud of it!
Temporarily setting tabindex=-1, calling focus() then unsetting tabindex, unfocusses the element (in Chrome). However, the position in the tab sequence seems to be maintained, therefore tabbing will focus the next element as expected. If the element already has a tabindex (as I have added in https://github.com/hotwired/turbo/pull/125/commits/e4bee01255f5e1b65fb6319e15a997831f06b65a), it will maintain focus, and so we can test that the element is successfully focussed after navigating to it.
I hope that makes sense!?

https://github.com/hotwired/turbo/pull/125/commits/e4bee01255f5e1b65fb6319e15a997831f06b65a is a bit of a test cheat, and I'm not proud of it!
Temporarily setting tabindex=-1, calling focus() then unsetting tabindex, unfocusses the element (in Chrome). However, the position in the tab sequence seems to be maintained, therefore tabbing will focus the next element as expected. If the element already has a tabindex (as I have added in https://github.com/hotwired/turbo/pull/125/commits/e4bee01255f5e1b65fb6319e15a997831f06b65a), it will maintain focus, and so we can test that the element is successfully focussed after navigating to it.
I hope that makes sense!?

Thanks so much for this @seanpdoyle. Do you know if there's a plan to get this branch merged into main? I'd love to see this fix become part of the library.


optical flow testing

@yzcjtr
hello ,i want to ask one more question ,when i test optical flow in testing process. As your constructions:
python kitti_eval/generate_multiview_extension.py --dataset_dir=/path/to/data_scene_flow_multiview/ --calib_dir=/path/to/data_scene_flow_calib/ --dump_root=/path/to/formatted/testdata/ --cam_id=02 --seq_length=3
where can i download the data_scene_flow_calib files --calib_dir=/path/to/data_scene_flow_calib
i search it in raw_data_KITTI ,KITTI_flow_2015_dataset and multi-view_extension dataset ,but i get nothing,can you provide me the download link?or do i misunderstanding your constructions?
thank you very much!

it's very kind of you to help me so much !


Update docs to reference included delay effect

The current docs either don't tell where the delay effect is coming from or import it from 'somewhere'. Since delay is included by default in redux-saga we should update the docs to clear this up.
Some docs (recipes) which include an inline example of a delay effect haven't been amended.

thanks


undefined input variable

Describe the issue
It looks like when converting a class to json (Map<String, dynamic) library knows only defined and null. There is an undefined state  that most GraphQL clients implement somehow.
To Reproduce (MUST BE PROVIDED)
Let's say we have a mutation input object with two nullable variables: status & description. This is how object is created and transformed into json:
runMutation(UpdateOrderArguments(
  id: state.order.id,
  update: UpdateOrderInput(status: OrderStatus.canceled)).toJson())

The toJson() will create a Map with description being set to null and this will lead to unexpected behavior because the server will assume that we want to set the description to null. In UpdateOrderInput, description argument wasn't passed so the resulted Map shouldn't have description at all.
I think the default behavior for null fields should be undefined. For passing actual nulls a wrapped object allowing null being passed can be created. This is how Apollo has done this in their Kotlin client for example. As far as i see it the current design can lead to lots of unexpected bugs/behaviors with a simple api change.
Expected behavior
Only converts the passed arguments not all of them.
device / execution context
Behavior is same on all environments.
additional context

What backend are you trying to use? Apollo Server v3

additional notes
Did you struggle to understand the docs or examples, or dislike the current api?

This should be implemented by the serialiser you're using. If we implement this on the client framework we'll not be able to express null and undefined behaviour.

To elaborate a bit on the response.
Currently, you can express the null and undefined behavior with the maps
{"description": null} // set to null
{} // description is undefined

Variables and input objects are all maps and the library intentionally does not generate any serializers for these. Thus, you'll need to make sure that your serializers generate the correct type of map.  If you're using GraphQL codegen, you can strip null fields from input types: https://pub.dev/packages/graphql_codegen#strip-null-from-input-serializers.

Thanks, you are right about this requires to be fixed from the generator or serializer library side. For a moment i forgot that these two packages are separate. sorry.


Added '-NoStorage' to add-clusternode cmdlet - fixed issue #4

Added the '-NoStorage' switch to ensure that disks do not automatically get added to the cluster when adding nodes.

Hi @JasonMorgan, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@JasonMorgan, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Can you add a simple unit test that verifies that when this function is called that the -NoStorage switch is used?  It is required that you provide adequate test coverage for the code you change. Contribution Guidelines -Adding test coverage for DSC resources
Suggestion: Base the tests on the Unit tests Template
You'll need to mock Add-clusternode with a parameterfilter
Then assert-mockcalled
And here is a real life example test from a DSC resource

So you don't actually have any tests for the resource yet.  Do you want me to create them?
I can do that but this PR was just to fix the obvious problem with xFailoverCluster.  I'd be happy to do another PR to add tests to the module, it just seems like the 2 issues are logically separate.

@JasonMorgan I understand there are no existing tests and it's unfortunate the original author(s) didn't provide them, but in order to keep the project quality up we have set the following  Contribution Guidelines about Adding test coverage for DSC resources,   which require a minimum level of test coverage for any change.  Including this language:

It is required that you provide adequate coverage for the code you change.

I believe this would be satisfied if you either:

provided a PR with general tests before this PR, then updated or add a test in this PR to ensure this change does not regress
provide a one or more tests in this PR that ensures that this change does not regress.

@JasonMorgan Please follow up with tests.  I'm going to merge this before it has a conflict and there is no real logic change here.
Thanks


feat: digest input as a hex string rather than bytes

Fixes #6
$ ape console --network arbitrum
WARNING: Connecting Geth plugin to non-Geth client 'nitro'.

In [1]: tx = networks.provider.get_receipt('0x1c38688523bf47921fef5551451fefa6e2e5d77991ea674d572f02d72dda4dc7')

In [2]: tx.data.hex()
Out[2]: '2e1a7d4d00000000000000000000000000000000000000000000000008e70535946b0a24'

LGTM, going to see if I have access to approve the github action checks.

data is HexBytes in the TransactionAPI
If we are trying to change its data type, it should probably happen at the API level, no?
Or am I misunderstanding something?

But perhaps the TransactionAPI could handle this situation in a validator.


make website look good on mobile

Hey there. This website currently doesn't display well on mobile devices. I'd like to work on fixing this issue under hacktoberfest. Thanks

Alright would get started on it. Please add the hacktoberfest label to the issue so it counts as an hacktoberfest contribution. Thanks

Alright would get started on it. Please add the hacktoberfest label to the issue so it counts as an hacktoberfest contribution. Thanks

Yes will surely add don't worry about it.
And will also add the necessary labels on your PR once made and it passes through the reviews
Thanks for the contribution

Alright that's fine.
You're welcome


[DO NOT MERGE] Openshift 1.9.7 bump

This PR bumps kube-state-metrics to the latest 1.9.x release.
We are in the process of also releasing an alpha version of kube-state-metrics 2.0, we would prefer to use 2.0 as 4.6 will be supported for some time and we would prefer if we didn't have to maintain an non-current major version of kube-state-metrics.
Should we not manage to release a 2.0 alpha release, then we will move ahead with this PR. Opening this already to run tests etc. already so all we would need to do is merge this PR.
(you can already /lgtm though to make things faster should we need to merge this)
/hold
@openshift/openshift-team-monitoring

/hold
/approve

nice, thank you!
:crossed_fingers: for the 2.0 release of kube-state-metrics

/lgtm

/retest

/retest

/hold cancel
Unlikely that at this point 2.0-alpha will make it in time.

/cherry-pick release-4.5

So what was the failure 🤔


Added options for installation with yarn

There is probably a way to adapt the instructions about making a plugin using yarn in the workflow instead of npm but I haven't played around with plugins.

Thank you for adding doc. Looks helpful because I'm not yarn user.


Unexpected Block_line.list_of_string output

When using function list_of_string, I've found out that it copies whole string into a first node:
utop # Block_line.list_of_string "a\nb\nc\n";;
- : Block_line.t list =
[("a\nb\nc\n", <abstr>); ("b", <abstr>); ("c", <abstr>); ("", <abstr>)]

I'd expect result to be [("a", <abstr>); ("b", <abstr>); ("c", <abstr>); ("", <abstr>)]. It would be consistent with implementation of tight_list_of_string:
utop # Block_line.tight_list_of_string "a\nb\nc\n";;
- : Block_line.tight list =
[("", ("a", <abstr>)); ("", ("b", <abstr>)); ("", ("c", <abstr>));
 ("", ("", <abstr>))]

My suggestion didn't work, switched back to your initial proposal in b20bdae5dbf3a4b50e1

Release on the way https://github.com/ocaml/opam-repository/pull/23781


Use Pixel Streaming Plugin from 4.27 in Unreal 5.2

Hi! In Azure you used Unreal 4.27 Pixel Streaming Signalling Server... so, if I export in unreal 5.2, my app si not compatible with the signalling server, and that makes a lot of troubles with the auto-generated infrastructure in Azure...
My idea is find a way to use the 4.27 plugin in my Unreal 5.2...
This is posible?
I tried but an Include is old, so I changed to the same in 5.2 version. After that I suppose it's failing because a plugin with the same name already exist...
If you can help me, I will appreciate!

Hi @lcdlv

In Azure you used Unreal 4.27 Pixel Streaming Signalling Server

The Azure team maintains what is on Azure, not us. I believe they need to upgrade what they ship to be compatible with the latest PSInfra.

My idea is find a way to use the 4.27 plugin in my Unreal 5.2... This is posible?

No, not really. There have been significant changes to UE codebase between 4.27 and 5.2, simply putting the 4.27 version of the Pixel Streaming plugin into UE 5.2 would result in many compilation issues that would have to be resolved due to underlying API changes (especially due to the changes in rendering and WebRTC between those versions). You could attempt this backport and try to modify it to use the correct calls but it is not something we have any bandwidth to assist with.
My recommendation would be to reach out to the Azure team and aks them to upgrade their offering to work with the latest PSInfra.


Update dependencies to make it compatible with Laravel9

Description
Update psr/simple-cache, pragmarx/countries and pragmarx/coollection dependencies.
Also remove composer.lock and update travis config file.
Motivation and context
Laravel 9.x requires symfony/var-dumper ^6.0  and voku/portable-ascii ^2.0.
This is part of some updates on multiple pragmarx packages which aren't compatible with Laravel9 yet, this helps fixing that.
See

https://github.com/antonioribeiro/countries/pull/193
https://github.com/antonioribeiro/coollection/pull/14
https://github.com/antonioribeiro/ia-str/pull/5
https://github.com/antonioribeiro/ia-collection/pull/11
https://github.com/antonioribeiro/ia-arr/pull/4

Hi guys, any idea when this PR will merged ? Thanks in advance

@antonioribeiro Hi! Can you consider merge these PR,  starting with

https://github.com/antonioribeiro/ia-str/pull/5
https://github.com/antonioribeiro/ia-collection/pull/11
https://github.com/antonioribeiro/ia-arr/pull/4

Thank you

Description
Update psr/simple-cache, pragmarx/countries and pragmarx/coollection dependencies. Also remove composer.lock and update travis config file.
Motivation and context
Laravel 9.x requires symfony/var-dumper ^6.0 and voku/portable-ascii ^2.0. This is part of some updates on multiple pragmarx packages which aren't compatible with Laravel9 yet, this helps fixing that.
See

Update pragmarx/coollection dependency to make it compatible with Laravel9 countries#193
Update dependencies to make it compatible with Laravel9 coollection#14
Update voku/portable-ascii to support Laravel 9 ia-str#5
Update symfony/var-dumper dependency to support Laravel 9 ia-collection#11
Update symfony/var-dumper dependency to support Laravel 9 ia-arr#4

please do you know how I could make it work on laravel 9


Styles cleaning, spacing adjustment, adding effects on the sheet, global calibration

Spacing adjustment,
Cleaning dependencies between sheets
New style for stats
More visual effect on character sheet
Balance item, gear, weapon, armor sheet

Please when you create Css don't dublicate attribue it's don't help uniformisation

Thanks for the PR Mandaar! I like a lot of these changes, particularly the item sheet layout adjustments.
Unfortunately I need a few steps from you to make this mergeable with the current dev branch...
Could you separate out the commits so that there is just one or two changes per commit (maybe split by sheet that you're restyling)? It's harder to review when everything is mixed together. An old esrin-dev merge commit also seems to have slipped into the PR - can you remove that, and rebase your commits against dev?
Thanks!

I can choose the commit in the dev branch, it's very simple.
But I don't understand why you want to cut the commit? I can but it is a whole indeed all the files become interdependent and we avoid a lot of repeating code.
In this case a commit is much easier to integrate, but you can do scss by scss. That's what you want, right?