DirectSimulation result storage

DirectSimulation keeps its results in the DirectSimulation object, using @property methods to calculate several quantities from a few simplified internal structures.
Previously, there was no way to save those simplified internal structures. This adds two methods, an @property called results and a method called load_results, which put those internal structures into a dict and load from that dict.
I chose to do it this way, rather than by modifying the to_dict/from_dict, because this allows the user to store the simulation object before the results are calculated.
One question: load_results is currently a separate method. The other option would be to make it the setter of the results property. I'm not sure which makes more sense:
sim = DirectSimulation(...)
sim.load_results(results)
# which also allows
sim = DirectSimulation(...).load_results(results)

or
sim = DirectSimulation(...)
sim.results = results

I think I prefer the load_results version, but either would work. I would rather not do both, under the principle of "there should be one obvious way to do it."

Tests pass; ready for review.

Concerning the question of loading or using a setter. I like this better in this case. Setting a dict seems weird kind of. So this okay. I will merge this.


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Functor and Monad

Hii I am very confused about what is Functor and Monad and how they can be useful in coding. I will appreciate any information related to these 2 concepts! Thank you!

A Functor in programming is an abstraction that represents a type that can be mapped over. You can think of a Functor as any type that has a map method allowing you to apply a function to the contents of the container (like Optional, Stream, etc.), transforming the contents while maintaining the structure of the container.
For example:
Optional<String> maybeText = Optional.of("hello");

// Apply a function to the content of the Optional
Function<String, String> shout = s -> s.toUpperCase() + "!";
Optional<String> shoutedText = maybeText.map(shout);

shoutedText.ifPresent(System.out::println); // Outputs: HELLO!

Optional<String> is a container that might hold a String or be empty.
Using map, you apply the function shout to the content of maybeText.
The structure of Optional remains, but the content changes according to the function.
On the other hand, a Monad is an abstraction that deals with computation instead of values directly. It's a type of functor but with extra capabilities, typically having a flatMap method. This method allows for chaining operations where the result of one operation might affect the execution and type of the next operation. This is very useful for dealing with sequences of operations that include conditionality or complexity such as error handling and asynchronous computations.

you can refer to the 3 monad laws and 2 functor laws
3 monad laws:
Left identity law - Monad.of(x).flatMap(x -> f(x)) === f(x)
Right identity law - m.flatMap(x -> Monad.of(x)) === m
Associative Law - m.flatMap(x  -> f(x)).flatMap(y -> g(y)) === m.flatMap(x -> f(x).flatMap(y -> g(y)))
2 functor laws:
Identity law - funct.map(x -> x) === funct
Composition law - funct.map(x -> f(g(x))) === funct.map(g).map(f)
to put in general:

functors need to have map
monads are subset of functors, need to have flatMap and the unit method

hope this helps!

Functor:
A Functor is a type that implements a map function, which allows you to transform the values inside the Functor while preserving its structure. In simpler terms, a Functor is any data type that you can map a function over.
Functor wraps a value (or values) inside a context (such as a container) and provides a way to apply a function to the wrapped value(s) without altering the context.
Optional<Integer> optionalValue = Optional.of(5); Optional<Integer> mappedOptional = optionalValue.map(x -> x * 2);
In the above example, map is applied to the Optional Functor, transforming the wrapped value inside the Optional without changing the context (the fact that it's an Optional).
Monads:
A Monad is a Functor that also provides a way to chain computations together while handling potential failure or side effects. Monads ensure that each computation in the chain is executed in the Monad's context (for example, Optional.flatMap(x -> x) operation ensures that the computation inside the lambda function is executed within the context of the Optional Monad)
Monads extend the concept of Functors by adding sequencing and chaining capabilities. They ensure that computations happen in a specific order and handle any side effects or failures transparently (for example by capturing the exception).
Example: Optionals, Futures/Promises (what we learn like CompletableFuture) , and Streams in Java can all be considered Monads.
Optional<Integer> optionalValue = Optional.of(5); Optional<Integer> result = optionalValue.flatMap(x -> {     if (x > 0) {         return Optional.of(x * 2);     } else {         return Optional.empty();     } });
In the above example, flatMap is used to chain computations in the Optional Monad. It ensures that each computation happens within the context of the Optional, and it handles potential failure (by returning Optional.empty() when the condition is not met).
So overall, Functors help in writing cleaner, more expressive code by allowing you to apply functions to values in a context without worrying about the context itself.
Monads take it a step further by providing a way to sequence computations, handle failure or side effects, and maintain the context throughout the computation chain.

You can think of functors as types that provide a map method to transform the values they contain. Functors are useful for abstracting over different types of data structures and operations, allowing you to write generic and reusable code that operates on containers of values (e.g., lists, optionals, futures) without needing to know the specific implementation details of each container.
A monad is a type that provides a way to sequence and compose computations that involve side effects or context, while also providing facilities for error handling and control flow. They are particularly useful for handling asynchronous computations, error handling, stateful computations, and other scenarios where sequencing and composition of operations are important.

finals is over you can close this issue


Add Damerau-Levenshtein similarity matching

Add Damerau-Levenshtein similarity matching

is there any other distance function from rapidfuzz that should be added here?

is there any other distance function from rapidfuzz that should be added here?

Sorry I did not answer this before. Actually rapidfuzz implements almost all known edit distances/similarities out there but, generally speaking, they are either based on a subset of the edit operations used in the Damerau-Levenshtein distance or add little information to it.

is there any other distance function from rapidfuzz that should be added here?

What might be interesting is the weighted mixture of those distances/similarities, which rapidfuzz implements. This comes at the cost of having to tune the weights though.


Unable to find awsdeploy.exe

Windows Version: 10 x64
Visual Studio Version: 2019 Professional
AWS Toolkit for Visual Studio Version: <IP_ADDRESS>

After installing the toolkit for visual studio the awsdeploy tool is not in any of the default locations: C:\Program Files (x86)\AWS Tools\Deployment Tool\awsdeploy.exe or
C:\Program Files\AWS Tools\Deployment Tool\awsdeploy.exe
Where can I find it?

Hi @jesusmogollon , awsdeploy.exe is not packaged with the Toolkit for Visual Studio 2017/2019. What are you trying to accomplish?

I need to publish an AspNet MVC web application to Elastic Beanstalk, however, we need to compile all the razor views into a dll.
This option is not available in the configuration screens of the AWS Deployment Wizzard.
I figure the best way is to use Visual Studio Publish Wizard to create the WebDeploy zip file (and .pubxml file) and then use awsdeploy.exe to automate the upload to Elastic Beanstalk.
Is there a way to pass the .pubxml file to the AWS Wizzard?
Or do you recommend another way?

this is bad, where can we get awsdeploy.exe? I need to automate deployments via CI. Is the answer to buy an old version of visual studio so I can install the extension? thats super shitty

I can crack open the MSI and poke around, can you confirm this is the right exe?

I'm using that one as well, it is from an old installer, it feels very wrong to do this hack.

Hi all, I've recently just rebuilt my development workspace with VS 2019 and the AWS Toolkit for Visual Studio, and I can confirm that awsdeploy.exe is installed in the following location:
C:\Program Files (x86)\AWS Tools\Deployment Tool\awsdeploy.exe

However, a subsequent issue I've found is that one key component required to use this tool, namely the "Save configuration" option has been removed from the AWS Toolkit, as-of Version <IP_ADDRESS>, released 2020-06-23:
https://aws-vs-toolkit.s3.amazonaws.com/versioninfo.html

Removed the option to save Beanstalk configurations out to the old awsdeploy tool (awsdeploy.exe). This tool has been succeeded by the dotnet CLI tools package "Amazon.ElasticBeanstalk.Tools".

Note that this option to "save configuration" is still referenced in the official documentation:
https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-tool.html
Our company's web application is an ASP.NET MVC application running on .NET Framework 4.8. We have a build server that builds deployment packages and we deploy them with awsdeploy.exe. Therefore the "save configuration" component is a necessary part of this. I don't think we're doing anything out of the ordinary here?
Currently, everything is working, but I'm concerned that support may disappear, either deliberately or accidentally through erosion of features like "save configuration". I do have a new environment that I need to spin-up, so I guess I need to copy an existing configuration and manually edit it.
Any advice on what the next steps might be? I can see a few options:

Reinstate the "save configuration" feature
Update the documentation to remove reference to "save configuration", with alternative suggestions
Provide a clear example of how to use Amazon.ElasticBeanstalk.Tools to cover the use-case I've detailed above. I've tried my best to find one, but haven't found anything. Apologies if it does exist an I just missed it.

Thanks very much!

According to the following link the Standalone Deployment Tool options related to AWS CloudFormation deployments and incremental deployments to Elastic Beanstalk are obsolete in the current version and should not be used.
https://github.com/awsdocs/aws-toolkit-visual-studio-user-guide/blob/master/doc_source/deployment-tool.md#tkv-deployment-tool
Do you expect from the developers to use the Visual Studio wizard all the time when they want to publish to Elastic Beanstalk?
Am I missing something or is it currently really not possible to use the command line to do so?

According to the following link the Standalone Deployment Tool options related to AWS CloudFormation deployments and incremental deployments to Elastic Beanstalk are obsolete in the current version and should not be used.
https://github.com/awsdocs/aws-toolkit-visual-studio-user-guide/blob/master/doc_source/deployment-tool.md#tkv-deployment-tool
Do you expect from the developers to use the Visual Studio wizard all the time when they want to publish to Elastic Beanstalk?
Am I missing something or is it currently really not possible to use the command line to do so?

Using the Amazon.ElasticBeanstalk.Tools seems to be the way to go!
https://github.com/aws/aws-extensions-for-dotnet-cli

Using the Amazon.ElasticBeanstalk.Tools seems to be the way to go!
https://github.com/aws/aws-extensions-for-dotnet-cli

Hmm, looking at the docs for Amazon.ElasticBeanstalk.Tools, it suggests this would only work for ASP.NET Core apps? The dotnet eb deploy command is documented as

Deploys the ASP.NET Core application to a Elastic Beanstalk environment

So for traditional .NET Framework web applications, there is no option for standalone deployment? As @niklr pointed out, the standalone tool is marked as obsolete, and refers to the Deploying to Elastic Beanstalk page, which only details how to deploy using the wizard. Surely most commercial websites are deployed from a CI service, and the wizard is out of the question.
I'm very concerned that my .NET Framework web application will suddenly lose the ability to deploy. I'm genuinely not sure what I'm supposed to do, and would appreciate any help!

Hmm, looking at the docs for Amazon.ElasticBeanstalk.Tools, it suggests this would only work for ASP.NET Core apps? The dotnet eb deploy command is documented as

Deploys the ASP.NET Core application to a Elastic Beanstalk environment

So for traditional .NET Framework web applications, there is no option for standalone deployment? As @niklr pointed out, the standalone tool is marked as obsolete, and refers to the Deploying to Elastic Beanstalk page, which only details how to deploy using the wizard. Surely most commercial websites are deployed from a CI service, and the wizard is out of the question.
I'm very concerned that my .NET Framework web application will suddenly lose the ability to deploy. I'm genuinely not sure what I'm supposed to do, and would appreciate any help!

Just to follow-up on my previous comment, I've spent the past few hours looking into this and it seems there is another command-line tool, namely the EB CLI
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html
...which is able to perform deployments via the eb deploy command. Using this I was able to deploy a .zip package, so I would say it's a sufficient replacement for awsdeploy.exe for now.
It's not quite the "one-liner" that awsdeploy.exe is, since you need to init a directory and modify the config.yml file (source), but at least this way is not deprecated (although several versions appear to have been retired over the years).

Just to follow-up on my previous comment, I've spent the past few hours looking into this and it seems there is another command-line tool, namely the EB CLI
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html
...which is able to perform deployments via the eb deploy command. Using this I was able to deploy a .zip package, so I would say it's a sufficient replacement for awsdeploy.exe for now.
It's not quite the "one-liner" that awsdeploy.exe is, since you need to init a directory and modify the config.yml file (source), but at least this way is not deprecated (although several versions appear to have been retired over the years).

@NuclearFishin I'm in the same boat as you, trying to work out how to deploy .NET Framework to Elastic Beanstalk without having to use the GUI wizard. Are you saying that eb deploy works for .NET Framework even though it's not documented? Can you provide more information, such as the exact command you use, and how you create the .zip?

Hi @antgel, eb deploy definitely works as-described. I wouldn't say it's undocumented, it's an alternative that evolved separately from awsdeploy.exe, and appears to be the recommended way going forward. Happy to share my setup:
For a .NET Framework web app, the deploy artifact is a Web Deploy Package in the form of a .zip file. Your build server would produce this. A sample command might look like this:
> MSBuild “YourWebProject.csproj” /T:Package

In order to deploy, you first need to invoke eb init and follow the prompts to generate a config.yml for your target environment.
Once generated, you need to edit the file and specify the deploy artifact, eg:
deploy:
  artifact: YourWebDeployPackage.zip

Details on this step are available here.
Finally, to deploy, copy the WebDeployPackage.zip into the same folder as config.yml and invoke the deploy:
> eb deploy

Hope that helps! You will find all this stuff in the docs if you dig deep enough :) Good luck!


Win Config

Hey, I’ve successfully resolved the issue with pytesseract on Windows! The problem was due to the application not being able to locate the pytesseract executable, which caused the loader to stop after a few seconds as it couldn’t extract the text.
I updated app.py by adding a check for the platform. If it detects Windows, it sets the path to the pytesseract executable.

Awesome!


Update update-packages.yml

:x: Build GuiStracini.Mandae 7.1.165 failed (commit https://github.com/guibranco/GuiStracini.Mandae/commit/134567a305 by @guibranco)

:white_check_mark: Build GuiStracini.Mandae 7.1.189 completed (commit https://github.com/guibranco/GuiStracini.Mandae/commit/27137dd04c by @guibranco)


feature: fix-exclude?

first: ruff is freakin amazing and incredibly helpful.  thank you for your work.
Apologies if this already exists and I missed it when searching:  I regularly use the --fix feature with pre-commit, but would like to be able to exclude certain rules from fixing, while still having them raise an error (for me to manually correct).
For example, I'd like F401 to be excluded from autocorrection.  I'm aware that I could do something like per-file-ignores = {"__init__.py" = ["F401"]} to avoid fixing it, but then it won't alert me to them either.
Is this possible?
thanks!

Having trouble with the name of this option. I think fix-exclude might be confusing because in the language of the configuration file, exclude already refers to files to omit. no-fix could be ok, but it's similar to --no-fix which is the command-line flag to force-disable all fixing.
I almost want dont-fix? But grammatically weird with the abbreviation. skip-fix?

fantastic! thank you!
That turn around time was rust-fast ;)

Let me know if that interface works for you! It's documented a bit in the https://github.com/charliermarsh/ruff/pull/811 summary. (We desperately need proper docs for all the configuration settings!)

yep, unfixable works fine for me.  will play after the release finishes building


OpenVDBLink -- Mathematica link documentation and logo

Logo url: https://www.openvdb.org/images/openvdblink_logo.png
Web documentation: https://www.openvdb.org/documentation/wolfram
Zipped notebook: https://www.openvdb.org/download/files/OpenVDBLink.nb.zip

I added a notes about this documentation in documentation/index.html and download/index.html.
The web documentation points to various (web optimized) pngs in the directory documentation/wolfram/img.

Closing -- creating a new branch with large files tracked with git-lfs.


Disable browser autocomplete in node search menu

Really tiny change -- just closes #445.

Thanks @fedarko! I don't chrome so I did know this was a thing. One quick comment, do you think we should add that to the empress-input css? That way this wont be an issue if we add more input boxes.

That's a good point -- looked it up and I don't think there's a way to disable the autocomplete stuff with CSS (https://stackoverflow.com/a/2186406/10730311), since the autocomplete property is defined in the HTML. I think the node search bar is the only text input that is used in Empress, so we should be safe for now, but maybe we could try using something like this solution in the future if we end up having many text inputs?

Okay, sounds good. Thanks @fedarko

Thanks @kwcantrell! :car:


Requests are no longer able errorable

There used to be a method to error a call
https://github.com/api3dao/airnode/blob/fd1fdf209ea22aba8b2bf980d4980011e850c955/packages/protocol/contracts/interfaces/IAirnode.sol#L119-L129
Now, the errorCode is returned in statusCode of fulfill:
https://github.com/api3dao/airnode/blob/696ebad7207b02ffba9b85f2bb57430425c7cd32/packages/protocol/contracts/interfaces/IAirnode.sol#L93-L105
All code about erroring needs to be removed. The node should try to call fulfill() and if that reverts, it should call fail() directly.

Just to confirm, is statusCode supposed to be 0 or null if no error happened?

0

If the request errored and has no response data to return, what should be used for the data argument here? The value shouldn't matter since the client should check statusCode first, but I still need to call the fulfill function with something.
Should I just use 0x0? I'm sure if this is a valid value yet though

Yes, 0x0 (or rather ethers.constants.HashZero) is fine


Sort by relationship always sorts by _id of related field even though name is rendered in admin UI

Expected behavior

When sorting by a relationship field, the sort should be alphabetical by the string that is actually rendered in the admin UI.
Actual/Current behavior

Currently the support appears to be alphabetical by the ObjectId.toString() value of the related document's _id property.
Steps to reproduce the actual/current behavior

Create two Lists and include a String name property on each.
Create relationship between one List and the other (many: false) and set defaultSort on the relationship owner to the property name of the relationship.
Create a number of documents for the related List with various name values.
Access the admin ui for that List and observe the sort.

Environment

Software
Version

Keystone
4.0.0-beta.5

Node
7.6.0

Did you ever figure this out?

I did not.

For anyone else stumbling here after a search: This issue seems to be so old that Keystone got rewritten in the meanwhile.
As far as I can tell, in Keystone v6, you can't sort by relations at all!


define what 'magic setup properly' means

@mattvenn for me this was using the zero2asic course part 0 installation; do you have a public link?

Actually, I tested it works within openlane docker; I'll refer to that.


Fix the bug for restoring data with duplicated page id

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/3594
Problem Summary:
https://github.com/pingcap/tiflash/issues/4872
https://github.com/pingcap/tiflash/issues/4849
We fix those two bugs with previous PRs, but those changes introduce new misbehavior for TiFlash. Find a better way to fix those bugs.
What is changed and how it works?
Fix reusing same page_id for different kind by:

Throw exception with error code == PS_DIR_APPLY_INVALID_STATUS when VersionedPageEntries:: createNewEntry/createNewExternal/createNewRef/createNewExternal/createNewRef run into invali state
When restoring edit run into exception with error code == PS_DIR_APPLY_INVALID_STATUS, then call GC on mvcc_directory  entries and run apply edit again

Other changes:

When restoring the storage pool for DeltaTree, get the max id for this ns_id by PageStorage->getMaxId
PageStorage->getMaxId now ignore the invisible id
Instead of meta_max_id, use PageEntry.isValid() to check whether page 1 is existed or not https://github.com/pingcap/tiflash/blob/3e46ac2a411560503abba977a37a5caa495e9bd2/dbms/src/Storages/DeltaMerge/DeltaMergeStore.cpp#L246-L247
Enable some tests that are disabled in the previous changes

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/rebuild

/run-all-tests

/run-all-tests

/run-all-tests

/merge

/merge

/merge

/run-integration-test

/merge

/rebuild

/run-integration-test


feat: Added new terminal reporter

Added verbose key
Added new terminal reporter based on jest-axe
Upgraded some dependencies
Updated README with updates
Fixes #95
Fixes #96

@abannach Can you check this?
I think there aren't breaking changes.

@abhinaba-ghosh ?

@abhinaba-ghosh Did you check this?

Thanks for the PR.
I will relaese a new version today.

This is available in v1.1.12
Cheers!


HMDTrackingTest: Misc fixes

Removes unused and broken point adjustment as it causes crashes and set camera type to orbit on enter

Thanks a bunch for all of these assorted fixes BTW! Much appreciated!


Update for bbox sql

Update to complete method for bbox using ST_MakeEnvelope.

@mkeller3
Thanks for the contribution! Unfortunately, the ST_MakeEnvelope function is not supported by all SQL backends. Spatialite for example does not seem to support it. But as far as I can see, it is easily implemented by something like:
rhs = f"ST_GeomFromText('POLYGON(({node.minx} {node.miny}, {node.minx} {node.maxy}, {node.maxx} {node.maxy}, {node.maxx} {node.miny}, {node.minx} {node.miny}))')"


PT_MULTI_SELECT is not supported

Already being discussed on https://github.com/MCMicS/jenkins-control-plugin/issues/240


Update to Readme

Updated project contacts and site screenshot. Screenshot now is of LGROW.

fixes #11


[Bug]: iOS - Incorrect error message "Email is not a valid email address" on Enter your email screen

Preconditions
Sign up for SORA Card
Steps to reproduce
I entered the address - at first there was an error that the address was incorrect and the Send link button was not available, then I entered the wrong address - the button is available (inadmissible), then I entered it correctly and the message was sent
Actual behavior
Incorrect error message "Email is not a valid email address" on Enter your email screen.

Expected behavior
The logic needs to be revised for "Email is not a valid email address" to understand exactly when we should receive this error message.
Environment
{"label"=>"Development"}
OS version
17.4.1
Additional context
Sora Dev 3.8.6 (2) version

it's still an actual task


Node 6 and node-sass causes gulp-sass to print a lot of errors

This has been reported in the upstream: https://github.com/sass/node-sass/issues/1484

Run npm update. We lock to ^3.4.2 which mean you get the latest 3.x node-sass. There are many identical closed issues. Please search before opening an issue.

Ah, indeed! I did search upstream, but not here! You might want to put it in the README if it comes up all the time. :-)


Provide (beginner friendly) advice on config files

Summary
It took me a while to figure out where to put config directives (i.e. Webdrivers.cache_time to prevent that warning). I'm fairly new to System Tests and I still have lots to learn about Rails in general but I think a minor tweak to the README would have helped me immensely.
Debug Info
At first I created a webdrivers.rb initialiser. It worked but I realised it will also be loaded in Prod and Dev, not just Test.
I then moved it to config/environments/test.rb. That worked too but I realised I only really need it when I run System Tests (which Rails doesn't do all the time by default).
Finally I moved it into test/application_system_test_case.rb which makes the most sense to me (but still might not be ideal).
Expected Behavior
Helpful information near the top of the README. Perhaps with examples for the most common test frameworks and then some general advice after that.
Actual Behavior
There is no info about this in the README.

I had a go at this myself in PR https://github.com/titusfortner/webdrivers/pull/136 but I'm not 100% confident on the advice I gave.

Thanks for this and for pointing me to that article, there are a couple things that I need to comment on there.
Realize that not everyone using webdrivers is also using rails, so I can't speak to any rails specific needs for initializing, but it should go in whatever file gets required before executing tests, regardless of your environment.
@twalpole is there anything rails specific that is needed here? Should we suggest spec_helper or test_helper files?

I don't really think anything is needed here. Realistically anyone who is actually needing to add any webdrivers configuration (the cache warning should be gone if you're using the latest release) should already understand where test configurations belong in their specific project.

Respectfully, I disagree. Even a beginner may need to set up a proxy or want to adjust the logger level, both of which require configuring Webdrivers.
I now realise my instructions were a little bit too specific (given how many different ways this gem might get used) but @titusfortner said it much better than I did:

it should go in whatever file gets required before executing tests

Those eleven words in the README won't impact those who should alredy understand but I think they would have pointed me in the right direction and saved me 10-15 minutes of ~Googling~ DuckDuckGo-ing and experimentation.

Yes, but this is a "how does Ruby work" question, not a "how does webdrivers work." Hopefully your searching had


Ampli Doc Header Update

Dev Docs PR
Description
Standardize the 2 Bata SDK docs header:
TS Node
TS RN
Headers:
SDK description
Ampli Example Apps
Itly Deprecated warning
Beta SDK not supported warning ( RN & Node)
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[x] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[x] My documentation follows the style guidelines of this project.
[x] I previewed my documentation on a local server using mkdocs serve.
[x] Running mkdocs serve didn't generate any failures.
[x] I have performed a self-review of my own documentation.

@amplitude-dev-docs
@caseyamp

@bohan-amplitude I need these changes for Ampli v2 docs. Merging.


SAMZA-1089: Enable YarnJob and ClientHelper to kill a job by name rather than YARN ApplicationID

Missed a couple files in the previous commit to enable YarnJob to kill and get status of a Job based on the job name rather than the YARN ApplicationName.
These changes have been manually verified in a Yarn cluster at LI.

@xinyuiscool you should have some familiarity with these changes. They're a direct copy from the prototype.


Fix: quart fix

Fixes issue https://github.com/owasp-dep-scan/dep-scan/issues/368

output generated for flask main branch:
depscan.html.json


Changing "Code"

halloo, how would i change the "Code" or Playing "Code" and is there way to change picture in the rpc

having same confusion, it explains the variable to change, but not where or how to change it

You can change the vscord.app.name option


Store experiments in contexts

The main change is to associate experiments with contexts (as values). Enabling or disabling an experiment creates a new context.
Most code has context plumbed through correctly, so adopting it wasn't too hard. The bulk of the updates are to tests.
But now that experiments is not a "global variable", we can parallelise more tests!

This is ready, if anyone wants to poke at it.


Namespace all django settings

SOURCE and APPLICATION_TAGS are very generic. Please update all settings to use the WF_ prefix.

I now see that perhaps those are actually settings, but referenced within the settings file. In that case, conventions is that they be lowercase, so consider this a request to update the usage documentation.

APPLICATION_TAGS is actually used in WavefrontMiddleware:
self.application_tags = self.get_conf('APPLICATION_TAGS')
So would make sense to prefix it.

Thanks for reporting this. We created internal ticket to track/address this issue.


Remove not needed entries in assembly.xml

needed?

those files are removed which seems to break the jar.

but i see we have a directory like META-INF/resources/resources/... where we have those files, that path seems weird to me.

@ivy-cst i think we have duplicate files? i dont remember if this is needed or if we did something wrong

Thanks for analyzing. Yes we just have duplicated files. Could/should be improved.


Migrate to Null Safety

Chore
Describe the chore
Migrate to null safety
Additional context
I can do the migration, just need to have the null-safe versions of postgrest-dart, realtime-dart and gotrue to be published to pub.dev.
@phamhieu

Hi @TimWhiting postgrest-dart, realtime-dart and gotrue-dart are published to latest version with null-safety support.

this is really amazing , keep up the good work ,
please Migrate to null-safety
I will make sure to spread supabase among all the devs i know ..
good luck

It's migrated, just need to be published

deployed! I'm so sorry for dragging this version deployment.


Support for Read Only Cache / Configurable Cache Saving

Version
actions/cache@v2

Description
We have a repository with multiple workflows that could benefit from shared caching across all of them. We would like to avoid trying to create and conditionalize one large workflow.
e.g. caching the download of all Go Modules:
# Workflow 1
name: Code Checks

on:
  push:
    branches:
      - master
  pull_request:
    paths:
      - go.sum
      - src/**

jobs:
  go_mod_download:
    name: go mod download
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-go@v2
      with:
        go-version: "1.14"
    - uses: actions/cache@v2
      id: cache-go-pkg-mod
      with:
        path: ~/go/pkg/mod
        key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
    - if: steps.cache-go-pkg-mod.outputs.cache-hit != 'true' || steps.cache-go-pkg-mod.outcome == 'failure'
      run: go mod download
  # ... much more ...

# Workflow 2

name: CHANGELOG Checks
on:
  push:
    branches:
      - master
  pull_request:
    paths:
      - CHANGELOG.md

jobs:
  misspell:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: "1.14"
      - uses: actions/cache@v2
        with:
          path: ~/go/pkg/mod
          key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
      - run: go install github.com/client9/misspell/cmd/misspell
      - run: misspell -error -source text CHANGELOG.md

Currently there can be race conditions between these workflows, where the first one that completes will save the cache, while other jobs will see the post-action hit on the cache key and prevent overwriting it. If the latter workflow completes first, the Go Modules download would contain only the download of the Go Modules relevant to the installed package, rather than all Go Modules for the project.
As a simple workaround, we could run the go mod download in every workflow:
jobs:
  misspell:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: "1.14"
      - uses: actions/cache@v2
        with:
          path: ~/go/pkg/mod
          key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
      - run: |
          go mod download
          go install github.com/client9/misspell/cmd/misspell
      - run: misspell -error -source text CHANGELOG.md

This could needlessly waste time/bandwidth, fail for unrelated networking reasons, and seems easy to miss though.
As a more complex workaround, we could add the go_mod_download job to every workflow:
jobs:
  go_mod_download:
    name: go mod download
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-go@v2
      with:
        go-version: "1.14"
    - uses: actions/cache@v2
      id: cache-go-pkg-mod
      with:
        path: ~/go/pkg/mod
        key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
    - if: steps.cache-go-pkg-mod.outputs.cache-hit != 'true' || steps.cache-go-pkg-mod.outcome == 'failure'
      run: go mod download
  misspell:
    needs: [go_mod_download]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: "1.14"
      - uses: actions/cache@v2
        with:
          path: ~/go/pkg/mod
          key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
      - run: go install github.com/client9/misspell/cmd/misspell
      - run: misspell -error -source text CHANGELOG.md

But this feels like a lot of overhead and maintenance for each workflow. It would be great if we could tell this action to skip the post save action, effectively making the cache best effort and read-only, while preventing it from missing contents.
Proposals
Adding a read-only input:
jobs:
  misspell:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: "1.14"
      - uses: actions/cache@v2
        with:
          path: ~/go/pkg/mod
          key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
          read-only: true
      - run: go install github.com/client9/misspell/cmd/misspell
      - run: misspell -error -source text CHANGELOG.md

Or maybe adding a save input (see references for why this may be beneficial):
jobs:
  misspell:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: "1.14"
      - uses: actions/cache@v2
        with:
          path: ~/go/pkg/mod
          key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
          save: never # or "always", defaults to current "when missing"
      - run: go install github.com/client9/misspell/cmd/misspell
      - run: misspell -error -source text CHANGELOG.md

Thank you for the consideration! Please reach out if I'm missing something and this is already possible or if this would be acceptable as an enhancement.
References

Configurable save cache on failure: https://github.com/actions/cache/issues/92
Enable caching of dependencies even if builds fail with post-if modifier: https://github.com/actions/cache/issues/165

Upvote! My use case is a giant gradle cache - 1.5GB out of the 5GB per-repo limit. Gradle caches are good about only updating what's not matching, so a 90% cache is better than a complete cache miss.
And because I could have more than 2 PRs at a time, I would like the cache to be read-write by my default branch (main) and PRs would only attempt to restore the cache, not save it. The proposals above would both easily implement my use-case.

The "read-only" portion of this feature request appears to be very similar to these other two issues - https://github.com/actions/cache/issues/350 and https://github.com/actions/cache/issues/210.
It would be good to have a solution to this problem.

Commenting to keep open -- I still believe this feature would be very helpful.

Upvote! My use case is a giant gradle cache - 1.5GB out of the 5GB per-repo limit. Gradle caches are good about only updating what's not matching, so a 90% cache is better than a complete cache miss.
And because I could have more than 2 PRs at a time, I would like the cache to be read-write by my default branch (main) and PRs would only attempt to restore the cache, not save it. The proposals above would both easily implement my use-case.

I ran into the same thing, for a giant maven build, where we would prefer not to save cache entries outside of master builds, while retaining the ability to restore a cache on the PR builds.

Hey all, 👋🏽
We have created a discussion with a proposal that we feel will solve this problem, do let us know your feedback, thanks 😊

We have released two new actions restore action that does the job of only restoring the cache, and save action that does the job of only saving the cache.
We believe you can achieve the desired state by using these two actions individually in your workflows.
Closing the issue. Feel free to reopen if need be.


update gen_binding.py gen TS op where; cast cond to BoolInt8

Updated dependencies (namely ESLint/related Typescript reps); additionally, spent time debugging the failing where tests, which led me to identify that Flashlight expects parameter cond to have dtype::b8; accordingly, updated gen_binding.py so that the generated typescript where methods both check if cond.dtype === dtype.BoolInt8, calling cond = cond.astype(dtype.BoolInt8) to convert if the type is inaccurate.

The following where tests still throw a C++ Exception:

broadcasts 2D Tensor shapes
broadcasts 3D Tensor shapes

It's possible that while Tensorflow.js (what I based the where unit tests on) supports broadcasting the shape, that Flashlight doesn't.


Amplify Console deployment failure: Failed to get profile: Profile configuration is missing for: amplify-XXXXX

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d3vym5isdd5k4u
Region
us-east-2
Amplify Console feature
Backend builds
Describe the bug
I am no longer able to deploy updates to my app as the deployment is failing at the build step with error: Failed to get profile: Profile configuration is missing for: amplify-XXXX.
This appears to be caused by a conflict between a local-aws-info.json file that was inadvertently uploaded to our repository some months back. This now appears to cause a build error, as when deploying via the console, it is looking for that specific profile and cannot find it (it's on my local).
Expected behavior
I would expect when deploying my application via the Amplify Console and through our CI/CD pipeline, that it would ignore the local-aws-info.json and instead use the backend service role (as normal) to deploy changes to my application.
Reproduction steps
Merge code into repository synced up for CI/CD in Amplify Console, including the local-aws-info.json in to the repo and try to deploy via the Amplify Console.
Build Settings
version: 1
backend:
  phases:
    build:
      commands:
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - npm install
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist/brave-app
    files:
      - '**/*'
  cache:

Additional information
No response

Please remove the local-aws-info.json from your repo .

Yes, I actually figured this out already. I am not sure how the file even got uploaded to our repo but even so, I would think that if I were deploying a change through our CI/CD pipeline and the amplify console, it would ignore this and why I opened the ticket to begin with.

Please remove the local-aws-info.json from your repo .

I was dealing with a different problem yesterday, for hours the backend wasn't being deployed because it was asking me for credentials (in the aws backend deployment console), tried everything, and today this post make me notice that I was committing local configuration, that thing should be documented somewhere like:
"Every time you have any problems with the deploy, check if you are committing files that are listed on .gitignore"

Feel free to re-open if issue persists, thanks!


Update sequelize database usage

This PR aims to change the Sequelize set up to use a connection string from an env to allow for postgres connection. Additionally removed the sqlite db

totally acceptable


[Design] Always Visible Labels on Data Buttons

Users have noted that it can be difficult to know what a data button is for once it has data. They have asked if we would consider adding labels that are always visible.
-- Seth

Maybe this means we are using those buttons too much. @AmyRickwartz @prutherford what do yall think?

I have come up with three options for this. You can also inspect these in the figma file under PROJECTS > Project Detail View.
Option A

Option B

Option C

@CarsonF What do you think? @sethmcknight Would it be a good idea to run these past the people who where commenting about this issue when beta testing?
I think the distinction between label and information is more clear on Options 1 & 3. Option 2 seems like and easy fix, but I don't know if its as easily readable as the other two...but it does work.

@AmyRickwartz I personally like Option 2, but yes we should probably run these past some of the beta testers.
@CarsonF Do you have any thoughts on which of these would be best?

The labels on 2 seem to be the most consistent with our other labels in the app.
Something else to think about though is if the field is unreadable then we "gray out" the entire button. So this would also hide the label on 2 and 3. Having a hard time getting a screenshot for yall, but it's just like the loading boxes without the pulse effect.

Seth ok with taking recommendation and moving forward.

Going with option 2

Ok, I just talked with Patrick and he is thinking Option C actually looks the most UX-y and easy to read and also looks like our log in boxes. So let's go with option C. I'll clean up the figma file tomorrow so you can look at it @CarsonF .


fix code warnings and errors

About this change—what it does

fixes code warnings and errors
there's going to be a bunch of clean up PRs, I will add a changelog entry for it with the last PR

Why this way

to improve code quality

Pls fix unit tests we we merge this one


Restructure TS Client V3

Summary
Restructure and rewrite part of the v3 SDK to fix some serious issues encountered by the customers when using the SDK.
Completed Tasks

[x] Rewrite authentication middleware logic
[x] Rewrite the concurrent middleware and httpMiddleware logic
[x] Restructure tests to conform with new changes

Associated customer issues

SUPPORT-28651
SUPPORT-28467
#761

Good job! 🚀


feat(render): deprecate renderIntoDocument and make it the default

What: deprecate renderIntoDocument and make it the default

Why: Closes #116

How:

Code refactor
My son is waiting for me... Otherwise I'd be more informative.

Checklist:

[x] Documentation
[x] Tests
[x] Ready to be merged
[ ] Added myself to contributors table N/A

cc @hnordt @sompylasar

The README needs to be updated. I can do it if you want.

What part? This PR makes major updates to the README.

@kentcdodds nevermind, it's there, I didn't see.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I saw you removed the cleanup: VoidFunction, but the unmount: VoidFunction is still there in the index.d.ts TypeScript definition file, without a visible definition of the VoidFunction type – where does this type come from?

where does this type come from?

No idea 🤷♂

@kentcdodds this is amazing! happy to see renderIntoDocument become the default render

Wow this is great @kentcdodds ! 👍


OpenXmlElement.CreateXmlReader: Prevent XmlConvertingReaderFactory from using a disposed TextReader

OpenXmlElement.CreateXmlReader: Prevent XmlConvertingReaderFactory from using a disposed TextReader.

/azp run

@twsouthwick I added a test that shows the problem I encountered, and confirms the fix.

Is there anything else I can help with to get this merged?

/azp run

@sorensenmatias I've been pretty busy and so the delay is on me here. Once the tests pass, this can be merged in. Thanks for the contribution!

/azp run

Thanks @twsouthwick. I am not sure I completely follow though, is there a problem with the tests currently?

Yeah - we have warnings as error on, and there's a style warning that's getting flagged

/azp run

I've pushed a fix for it (needed to add a copyright)

Thanks. I fixed one more warning regarding UTF8 BOM.

/azp run


add audacity

adding audacity 2.1.1 instead of having it in versions and it is 2.1.0 in versions.

Nope: #12972

@scribblemaniac is absolutely right. We can't accept this, but still thank you for your contribution.


Rearranged folder structure of the contributors site

Fixes: #316
Changes:

moved events/community-meeting.md to community/community-meeting.md
moved events/meet-our-contributors.md to community/meet-our-contributors.md
moved events/office-hours.md to community/office-hours.md
moved events/past-events/2020 to events/2020
moved events/past-events/2021 to events/2021
created folder events/2022/_index.md  and moved events/kcseu to events/2022/kcseu

screenshot of rearranged folders

screenshots of website
/community

/events

More changes:
We do NOT need _index.md pages under each year (i.e. events/2022/_index.md).
We DO need a new _index.md page under the main events folder (i.e. events/_index.md).   This page should have a tabular listing of current and past events.
The latter could be added in a later pull request, but if so this PR shouldn't fix the issue.

We do probably need an _index.md in each year to have the weight in the frontmatter, otherwise the oldest year will always be at the top instead of the most recent year =/

Bob: oh, point, comment fixed.

/lgtm

/remove-hold


Paying companies who won't engage with OC

Who is your user?
Collective admin
What are they trying to achieve?
Pay someone who won't or can't submit an expense on Open Collective, often a big company with their own payment procedures who doesn't care about our processes.
Examples:

Collective gets product or service from Big Co, who sends a payable invoice but will not submit it on the platform or respond to an expense invitation
Collective has to pay something by credit card but Host is in a country without Stripe issuing (like NZ) so it's set up on the Host's own card and then we have to represent the expense on OC

How are they currently doing this?
Got a case like this for OCF right now and we're blocked because even if the Collective admin creates a profile for the company without their involvement (which is already a little sketchy but we do in various cases), the system will trigger the tax form requirement and we'll be blocked again, because weird as it is to operate an OC profile for a company you don't work for, it's even weirder to submit a tax form for them.
Got another case like this for OCNZ where a regular expense can only be paid by credit card and we can't offer VCs here, so it's on the Host's card, but when we go to create the expense we have to operate the company org profile ourselves and it feels wrong. Maybe the proper method would be to select the Collective itself as the payee, but this is not the solution our current UX naturally leads you to. It makes more sense to try to name the payee so it shows up in a way that makes sense in your budget.
Related issues
This is related to #6021 because if we start requiring verification that someone actually works for a company to operate a profile for it, we'll be even more blocked. People create orgs to be expense payees, but next time another Collective does the same thing we get a proliferation of duplicate profiles.
How well understood is this problem?

[x] Surfacing: if you feel this is a seed of an idea that needs to be researched.
[ ] Understanding: if you've done some research and feel it is already well understood and ready for shaping.
[ ] Shaping:  if you feel a solution is clearly defined and can be made into a pitch (read more about shaping)
[ ] Pitching: if you feel that it is ready to be presented for prioritisation (read more about pitching)

What's the relationship with https://github.com/opencollective/opencollective/issues/5894 and https://github.com/opencollective/opencollective/issues/5894#issuecomment-1233117915 ?

Ahhh yes it's the same issue, thanks I forgot about that


Explore IoT device working with 5G

This would involve bypassing the mobile phone altogether (whether by using the WiFi hotspot or using Bluetooth to connect to an app). It might be a more powerful approach. Prometeo has access to a Spanish telecom lab to validate.

This has now shifted to a discussion of how the tethered phone, rather than the IoT device, leverages 5G.

This might be transparent for now. Would be interesting to see how we leverage this in the next version.


Retrieval Tasks Evaluation

I have noticed that only input data are released in the test set of retrieval tasks.
So what steps should I take if I want to evaluate my own model in this task without the corresponding answer?
May I use the execEval engine to check if the retrieved candidates can pass the unit test?
I would really appreciate it if you could answer this.

No need to use the ExecEval. We will release the gold labels for the retrieval corpus. Our lead author was not available during the final submission. To mitigate the errors, we decided to not release the retrieval gold data. We will release the data shortly. In the meantime, if you need it urgently, please reach out via email.

Hello, have the gold labels of the nl_code retrieval dataset been released?


chore: auto publish to google play track

Change settings to see about auto publishing to internal test track.

This is based on your previous changes?


body-soft-max-line-length exception

This rule should not break the build if the offending line exceeds 64 chars because it uses a commit hash at the end.
Testcase:
GrpcService: fix some logging nits

These mistakes were made in 45faeca2f0e7c9c5545f54fb3fcc815f52b8a7cf.

Testcase that should still break the build (because line is longer than 64 chars before the commit hash):
GrpcService: fix some logging nits

These mistakes were made in this GrpcService's RunIntoMeService commit: 45faeca2f0e7c9c5545f54fb3fcc815f52b8a7cf.

@webwarrior-ws please work on this issue if you are taskless.

@realmarv I think @webwarrior-ws got stuck with this task, I don't remember his reasoning. Please pair with him on it after he's done with his NLitecoin low-prio task.


Added a simple querying DSL

I made a simple querying SQL for my own use with Gorp, and maybe others might find it useful. It has no external dependencies and returns a SQL string. If you are interested I will add comments and usage examples etc. as required

This is definitly intersting :+1:
There is some overlapping with other tools such as gorq (extension for gorp) and squirrel. So we should also consider adding support for one of those. For now I'm post-phoning this PR to v2.1 (see #270).


Fix PprofHTTPServerListener in mainnet and testnet presets

Motivation
#5854 did not update the presets, breaking default pprof listen address on mainnet and testnet
Description
Apply the proper default for PprofHTTPServerListener to mainnet and testnet presets
Test Plan
Checked that the profiler started listening

I don't think it's worth adding to CHANGELOG, though.

Ok removed CHANGELOG entry

bors merge

bors merge


Game End

Obviously Lycaon needs to be running for something, we need a way for him to win.

After a set amount of time (say 4 minutes) of Lycaon Surviving, we can say Lycaon has won
A last strip representing Tartarus could spawn,  is a place where Zeus has no power and cannot enter.
Celebration message and buttons to replay spawn.

This has been achieved, after a set amount of time settable in GameManager an EndArea will spawn, if Lycaon jumps into it a victory message is displayed and the main menu is reloaded.

Done


jay doesn't create its own cache directory

Installing Jay on a fresh install and then running it yields:
Error: ENOENT: no such file or directory, open '/Users/peter/Library/Caches/jay-repl-nodejs/history'
    at Object.openSync (fs.js:447:3)
    at Object.createHistorian (/usr/local/lib/node_modules/jay-repl/dist/history.js:12:41)

mkdir /Users/peter/Library/Caches/jay-repl-nodejs resolved the situation, but I assume this should be happening without my intervention.

This should be as simple as ensuring the directory exists before attempting to touch history here.
export function createHistorian(filePath: string) {
	ensureDir(path.dirname(filePath))
	fs.closeSync(fs.openSync(filePath, 'a')) // Touch the history file
	// ...
}

function ensureDir(path: string) {
	if (!fs.existsSync(path)) {
		fs.mkdirSync(path, { recursive: true })
	}
}

You can get a more robust and backwards-compatible ensureDir from https://www.npmjs.com/package/fs-extra.

fixed in 0.2.1, thanks for the report!


Fixed bug in rendering related to Comment blocks

Fixes #1126
The issue was that as Comment takes strings as inputs and outputs strings, dish.get(op.inputType) was removing the HTML formatting from the table. To fix this I have avoided this call if the operation is a Comment, and also the one that sets the output type after it completes, as the output of a Comment block should be whatever the input was.
This fixes the given bug but it might be better to simply not execute comment blocks at all and treat them as if they are disabled.

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

Thanks for submitting this. I like the idea of treating Comment ops as disabled more, since it is a much simpler and more elegant solution. I have implemented it in 041c899. Thanks for the suggestion.


Dual Contouring LOD

This is the sibling PR of this : https://github.com/webaverse/app-wasm/pull/50

This looks good, and I would like to merge this, but two problems:

Needs WASM rebuild (the upstream needs a rebuild too)
app-wasm is floating incompatible changes with app right now, since that is used in https://github.com/webaverse/app/tree/z-targeting, a PR which contains a lot of other things and is not easily broken up. So that means this PR is probably waiting behind that branch


不支持中文

Hello, I am a Chinese, English is not good, when in use, I found that the @API in the use of Chinese tags, the page can not be launched api.

在2.6.1版本中发现这个问题

I think this is a duplicate of https://github.com/swagger-api/swagger-ui/issues/2708
Basically the issue is that swagger-ui doesnt support unicode (chinese characters) in tags.


Should we also release to modrinth?

I see the modrinth release ticket was closed. Does this mean that our GitHub release strategy was deemed to be good enough and no modrinth release should be made?
https://github.com/telvarost/AnnoyanceFix-StationAPI/issues/9

I say yes, put it on modrinth. I should probably start putting my b1.7.3 mods on modrinth too, but since minediver is starting to, we prolly should too

I agree. I must've not been thinking straight when closing #9. I'll open that issue and close this one.


Port Halo2 to C++

In the thirdparty repo, add a new project called HyperPlonkPlus.  This will first be a port of HyperPlonk from Rust to C++. Rust source code is here: https://github.com/EspressoSystems/hyperplonk.
It's acceptable to use ChatGPT4 to help port the code, but be careful, it is wrong sometimes.
Plus part will be added as another issue, which allows for look up tables in the Plonk system in general.
Third party has most cryptographic systems you need, but if there are missing systems, please refer to the Aztec Protocol and this library and extract any needed code into our thirdparty library. https://github.com/AztecProtocol/barretenberg

Turns out Nova + Plonk + plookup is probably the best.


Don't show "NaN days ago"

Needs repro.

This may manifest differently now that we're using moment.js. If it crops up again, we can use that repro to investigate a fix. Closing for now.

I still see this with moment.js, e.g. on https://github.com/mono/mono/pull/2372:

I looked with the debugger and timestamp in content.js:370 is "20.12.2015 11:46:14" (i.e. a localized string instead of English, afaik Jenkins uses the browser's language by default) so it can't parse it.
Did you think about using the Jenkins API instead of scraping the HTML ?

I made a PR that fixes the issue: https://github.com/dpoeschl/StashPop/issues/68


additionalProperties value not being inherited from definitions.

Hey there,
Full disclosure: I'm trying to get my first big project spec'd out in blaze, so it's definitely possible I'm doing this wrong.  However, I'm not seeing additionalProperties be passed down from a definition.
Here's a stripped down rules.yml to illustrate
schema:
    definitions:
        user:
            type: object
            additionalProperties: false
            properties:
                first_name: {type: string}

    type: object
    properties:
        users:
            type: object
            additionalProperties: false
            $userid:
                type: object
                additionalProperties: false
                properties:
                    profile: {$ref: "#/definitions/user" }

            examples:
                - {"123": {"profile": {first_name: "Sally"}}}
            nonexamples:
                - {"123": {"profile": {first_name: "Sally", "bonus_data": "some"}}}

access:
    -   location:   "/"
        read:       true
        write:      false

I'd expect this to pass, but instead, I get:
error line 23:19
{ '123': { profile: { first_name: 'Sally', bonus_data: 'some' } } }
nonexample erroneously passed

Do I have this formatted incorrectly / have wrong assumptions?  Or is there a bug lurking?
Many thanks!

Yeah I have replicated. I will look into it, thanks for reporting!

OK fixed for 0.0.28, was trickier than expected, it was that the definition was not visible to the non-example runner. As the absence of type information makes the node just general JSON, the profile element became untyped and accepts anything (imagine replacing the {$ref} with just {})
Annoying bug, thanks a lot of finding it. If its any consolation to generated code was fine, it was just the test runner whose environment was not setup properly with respect to $ref variables.

Great, thanks for the quick turnaround - will install in the AM and give it a go!

Working great - thanks again!


Cesium Image Layer Synchronizer

Our previous image layer synchronizer was a hack in the sense that it only supported KML Ground Overlay layers.
This addition should support any image layer generically, including ground overlays, heatmap rasters, and others.
Caveats (open to suggestions):

This isn't perfect if the source is changing its image at a high speed (i.e. with the timeline). It can attempt to render an item that the underlying source has already cleaned up because it lags a bit.
I also couldn't figure out anything to support layer opacity (at least in Cesium itself)

There are a few projection issues here:

Heatmaps don't work in 3D mode in projections other than 4326. They don't work on master either, but I'm hoping that's an easy fix.
GroundOverlays don't work in 2D mode in projections other than 4326. This was an existing bug, but it seems your changes do make them work in 3D mode in other projections. It looks like the KML parser needs to transform the extent it provides to the layer/source when creating the ground overlay. Again, existing problem but hopefully easy to address.

I propose addressing the KML Ground Overlay since it is just a matter of putting the given extent in the correct projection. The heatmap has other projection issues that are already fixed on my heatmap-performance branch.

Sounds good. No reason to address it twice.

Had a quick look. Layers which can generate their rasters in different projections (such as heatmap), we can support. However, KML GroundOverlays are given in EPSG:4326. As long as enableReprojection is false in config, we should not show that image in any other projection except the one in which it is originally given.
Currently, this just means that the layer does not show. We need to give a message stating that the image is in a different projection. We can do that either by triggering a projection switch when the layer is added (I prefer this since it is consistent), or by doing something a little less intrusive.

Should we investigate raster reprojection in 2D mode (not here, just in general)? Openlayers has client-side reprojection examples for TileWMS, XYZ, Image, etc layers. I don't like triggering a projection switch for this case because any vector data in the KML can and will be transformed automatically. Unless nothing in the added layer can be viewed in the current projection, I don't think we should switch.

Upon even further inspection, the KML Ground Overlay implementation is incomplete. We don't support the <rotation> tag on the <LatLonBox>, so even if we can display it (CORS for 3D, etc.), it is probably wrong. This was likely skipped because OpenLayers does not support rotation on ol.Image (and image sources and layers). However, it is very doable to simply draw the rotated image to an intermediate canvas and then pass that in.
Also, the spec does not define a projection for the image, which potentially makes us violate the enableReprojection setting, which is intended to keep all imagery in the view in the same projection (customer rule). While a ground overlay does not have to be imagery (could be transparent overlays), the projection still matters for proper pixel transforms.
I vote we make a separate issue for it since it is turning into a can of worms. I can move the heatmap PR somewhere public and use that as the major test for this if you like.

Sounds like there are too many issues with GroundOverlay to creep into this issue. I'll second creating a new one.

@wallw-bits This needs a rebase. The camera change can be skipped (I pulled it into the Cesium plugin refactor), and the image synchronizer changes need updated with the new plugin.cesium namespace.

Closed in favor of #644


[Property delegates] Sure synthesized PatternBindingDecl static when needed

Fixes rdar://problem/50201019.

@swift-ci please smoke test and merge

@swift-ci please smoke test Linux


fix toXml

[This message is created by hyperf-bot]
[APPROVAL NOTIFIER] This pull-request is APPROVED
This pull-request has been approved by: Reasno huangzhhui


Do not hide the "To the Top of the Page" button beneath the footer

1 - Describe the bug
When you scroll down the page, the round button in the lower right corner of the screen hides behind the footer.
For example: https://sbuttons.github.io/sbuttons/documentation.html#base
2 - Expected behavior of what should have happened (if applicable)
This button should remain on top of any other elements and sections on the page.
3 - Screenshots (if applicable)

4 - Additional notes
It looks like the z-index property needs to be adjusted.

I can do this. Assign me.

@kushagra-shukla Thanks for your willingness to help out, but you seem too experienced for this issue  :)
https://github.com/sButtons/sbuttons/blob/master/CONTRIBUTING.md#important-notes

Issues that have the label first-timers-only is made for beginners who have contributed to less than 5 repositories. This is a way to help people who are new to open source and contributing.

Issues that have the label first-timers-only is made for beginners who have contributed to less than 5 repositories.
Thanks for your willingness to help out, but you seem too experienced for this issue :)

I have only worked on my projects or group projects and haven't really done any open source contribution 😄. This seemed quick and easy. Sorry I saw your comment after I did my PR. Should I close this PR?

@kushagra-shukla Thanks for your efforts! We will be glad if you can help with any other tasks!

I can take this up. Assign me.

I can pick this up. Assign me.

Hihi, I was wondering if this could be my first contribution? I've never done open source before, so I might ask a bit more questions 😅

Yes @Fogeinator you can work on it and if you have any questions you can always ask

Thanks!! Btw, I was told not to edit the main.css file - which one should I update instead? 😅


Error 500 (Internal Server Error) when filtering records

I'm experiencing a rather strange error, at the moment everything works very well, but I've noticed the following problem: when I try to search for a record in the search field, I sometimes receive the error: 500 (Internal Server Error). this happens at the time of writing a filter quickly, I know it sounds weird but that's what happens, it also happens to me to erase the word completely, I understand that when I am writing the word to filter an ajax request is being made, I imagine that there lies the problem, in addition to receiving this error 500 in the console, I receive this annoying alert from javascript: DataTables warning: table id = example - Ajax error. For more information about this error, please see http://datatables.net/tn/7. Is there a way to control this?

Hello yajra, and thank you so much for this datatables! The same thing happens to me, everything works fine, but if I filter text too fast it shows a 500 error.

The Log message:
[2020-06-21 10:15:28] production.ERROR: No application encryption key has been specified. {"exception":"[object] (RuntimeException(code: 0): No application encryption key has been specified. at D:\laragon\www\exlibris\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:44)
[stacktrace]
I don't understand :/


Resource Request for BrainHack School Purposes

Title
BrainHack School project to do some freesurfer analysis on 3D MRI structural images
Is this a new project?
yes
People involved and contact details (including email address!)
<EMAIL_ADDRESS>(@Andjelaaaa)
Project Description

What are you doing, for whom, and why?
This project consists of running an automated script for freesurfer analysis on 3D brain data for the BrainHack School happening this summer 2022.

Link to project repository/sources
https://github.com/Andjelaaaa/dimitrijevic_project
What resources do you require?
Virtual Machines, Object Storage, GPU resources, HPC
Anything else?
If this could be approved quickly that would be great! Thanks in advance,
Andjela Dimitrijevic

done

Dear @Andjelaaaa
It sounds like our project www.Neurodesk.org could be useful for your application? It contains freesurfer and all tools required for such an analysis.
you can test it out here: https://play.neurodesk.org/v2/gh/neurodesk/jupyter-neurodesktop-image/main?urlpath=neurodesktop
If you like to run your own Neurodesk server, I described this as part of the docker setup:
https://brainhack.org/brainhack_cloud/docs/docker/
and the setup is described in detail here:
https://www.neurodesk.org/docs/neurodesktop/getting-started/cloud/

Hi,
Thank you so much! I’ll have a look tomorrow. If I have any questions, I’ll follow up with you.
Thanks again,
Andjela Dimitrijevic

On Jul 26, 2022, at 6:43 PM, Steffen Bollmann @.***> wrote:

Dear @Andjelaaaa
It sounds like our project www.Neurodesk.org could be useful for your application? It contains freesurfer and all tools required for such an analysis.
you can test it out here: https://play.neurodesk.org/v2/gh/neurodesk/jupyter-neurodesktop-image/main?urlpath=neurodesktop
If you like to run your own Neurodesk server, I described this as part of the docker setup:
https://brainhack.org/brainhack_cloud/docs/docker/
and the setup is described in detail here:
https://www.neurodesk.org/docs/neurodesktop/getting-started/cloud/
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Hi,
I tried testing out the neurodesk which you sent me and there's a license issue. Do I need to add another license file as indicated ? Here is the shown error message below

Dear @Andjelaaaa,
Correct - as described in my response to your other issue:
You need to request a license file and set it up.
This is described in our FAQ as well: https://www.neurodesk.org/docs/faq/#freeview-720-crashes-when-i-open-files
When you run:
echo<EMAIL_ADDRESS>> 21029
>  *Cqyn12sqTCxo
>  FSxgcvGkNR59Y" >> ~/.license

export FS_LICENSE=~/.license

then
ml freesurfer/7.2.0

everything should work perfectly.
Can you test this and let know if this works?
Kind regards
Steffen

This project is now closed and all resources on the Oracle Cloud will be deleted within the next few days.


Add brew package

For MacOS users, a brew package would be a great way to install things so they don't need to worry about dependencies.

Notes

To add a Python dependency see here

I'm going to add this as sihm => :python so it will just pull from the latest PyPI if not already installed.

To add package dependencies see here (also, this just has the general way to build the formulae).
This whole thing will be packages as a single *.rb file that users can download and install with brew install sihm.rb.

This is tested and works. I'm not sure tab completion files are being installed correctly, but willing to sort that out in another issue if need be.


It does not work with CLLocationCoordinate2D

always get nil value. is there any suggestion?

For String, Date it works fine.

Just try to use Any and print the type of the object. I think it's most probably NSValue wrapping your CLLocationCoordinate2D.


ios 15 信息流广告出现错误，导致程序闪退

1.简述问题
ios 15 信息流广告出现错误，导致程序闪退
2021-11-18 11:02:23.221334+0800 Runner[4333:443567] [Process] 0x1178ccf00 - [PID=4350] WebProcessProxy::didClose: (web process 0 crash)
2021-11-18 11:02:23.221372+0800 Runner[4333:443567] [Process] 0x1178ccf00 - [PID=4350] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=3
2021-11-18 11:02:23.221499+0800 Runner[4333:443567] [ProcessSuspension] 0x1178fa100 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID is invalid
2021-11-18 11:02:23.222870+0800 Runner[4333:444707] [ProcessSuspension] 0x1178fa100 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
2021-11-18 11:02:23.223112+0800 Runner[4333:443567] [Process] 0x13ea18218 - [pageProxyID=22, webPageID=23, PID=4350] WebPageProxy::processDidTerminate: (pid 4350), reason 3
2021-11-18 11:02:23.226424+0800 Runner[4333:443567] [Loading] 0x13ea18218 - [pageProxyID=22, webPageID=23, PID=4350] WebPageProxy::dispatchProcessDidTerminate: reason=3
2021-11-18 11:02:23.232562+0800 Runner[4333:443567] [Process] 0x1178ccc00 - [PID=4349] WebProcessProxy::didClose: (web process 0 crash)
2021-11-18 11:02:23.232642+0800 Runner[4333:443567] [Process] 0x1178ccc00 - [PID=4349] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=3
2021-11-18 11:02:23.232900+0800 Runner[4333:443567] [ProcessSuspension] 0x1178fa160 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID is invalid
2021-11-18 11:02:23.233286+0800 Runner[4333:443567] [Process] 0x13e995018 - [pageProxyID=17, webPageID=18, PID=4349] WebPageProxy::processDidTerminate: (pid 4349), reason 3
2021-11-18 11:02:23.234015+0800 Runner[4333:443567] [Loading] 0x13e995018 - [pageProxyID=17, webPageID=18, PID=4349] WebPageProxy::dispatchProcessDidTerminate: reason=3
2021-11-18 11:02:23.234619+0800 Runner[4333:443567] [Process] 0x1178652c0 - NetworkProcessProxy::didClose (Network Process 0 crash)
2021-11-18 11:02:23.235201+0800 Runner[4333:443567] [Process] 0x1178cc900 - [PID=4347] WebProcessProxy::didClose: (web process 0 crash)
2021-11-18 11:02:23.235681+0800 Runner[4333:443567] [Process] 0x1178cc900 - [PID=4347] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=3
2021-11-18 11:02:23.235899+0800 Runner[4333:443567] [ProcessSuspension] 0x1178fa1c0 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID is invalid
2021-11-18 11:02:23.236196+0800 Runner[4333:443567] [Process] 0x140824018 - [pageProxyID=5, webPageID=6, PID=4347] WebPageProxy::processDidTerminate: (pid 4347), reason 3
2021-11-18 11:02:23.239715+0800 Runner[4333:444707] [ProcessSuspension] 0x1178fa160 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
2021-11-18 11:02:23.239766+0800 Runner[4333:444707] [ProcessSuspension] 0x1178fa1c0 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
2021-11-18 11:02:23.244547+0800 Runner[4333:443567] [Loading] 0x140824018 - [pageProxyID=5, webPageID=6, PID=4347] WebPageProxy::dispatchProcessDidTerminate: reason=3
2021-11-18 11:02:23.244574+0800 Runner[4333:443567] [Process] 0x140824018 - [pageProxyID=5, webPageID=6, PID=4347] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
2021-11-18 11:02:23.286531+0800 Runner[4333:444447] flutter: loadAds [5419919472,<PHONE_NUMBER>]
2021-11-18 11:02:26.471913+0800 Runner[4333:443567] [Process] 0x1178660d0 - NetworkProcessProxy::didClose (Network Process 0 crash)
2021-11-18 11:02:26.473563+0800 Runner[4333:443567] [Process] 0x1178cd800 - [PID=4352] WebProcessProxy::didClose: (web process 4352 crash)
2021-11-18 11:02:26.473609+0800 Runner[4333:443567] [Process] 0x1178cd800 - [PID=4352] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=3
2021-11-18 11:02:26.473657+0800 Runner[4333:443567] [ProcessSuspension] 0x1178fa460 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID is invalid
2021-11-18 11:02:26.474052+0800 Runner[4333:443567] [Process] 0x13e9aba18 - [pageProxyID=36, webPageID=37, PID=4352] WebPageProxy::processDidTerminate: (pid 4352), reason 3
2021-11-18 11:02:26.474733+0800 Runner[4333:443567] [Loading] 0x13e9aba18 - [pageProxyID=36, webPageID=37, PID=4352] WebPageProxy::dispatchProcessDidTerminate: reason=3
2021-11-18 11:02:26.474956+0800 Runner[4333:444440] [ProcessSuspension] 0x1178fa460 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
2021-11-18 11:02:26.493576+0800 Runner[4333:443567] [Process] 0x1178cd500 - [PID=4351] WebProcessProxy::didClose: (web process 0 crash)
2021-11-18 11:02:26.493632+0800 Runner[4333:443567] [Process] 0x1178cd500 - [PID=4351] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=3
2021-11-18 11:02:26.493667+0800 Runner[4333:443567] [ProcessSuspension] 0x1178fa4c0 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID is invalid
2021-11-18 11:02:26.493736+0800 Runner[4333:443567] [Process] 0x13e947018 - [pageProxyID=31, webPageID=32, PID=4351] WebPageProxy::processDidTerminate: (pid 4351), reason 3
2021-11-18 11:02:26.494503+0800 Runner[4333:443567] [Loading] 0x13e947018 - [pageProxyID=31, webPageID=32, PID=4351] WebPageProxy::dispatchProcessDidTerminate: reason=3
2021-11-18 11:02:26.494756+0800 Runner[4333:444440] [ProcessSuspension] 0x1178fa4c0 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
2.重现步骤
3.期望结果
广告有显示，但是滑动list就闪退了
4.SDK版本:

flutter: 2.2.2
dart:2.13.3
pangle_flutter:1.4.7
android:
iOS:15

额外信息
无

看日志有点像WKWebView关闭时没有释放完资源导致的，我在develop分支提交一个修复，你再试试可好？


Re-enable check-spelling using v0.0.19

Signed-off-by: Josh Soref<EMAIL_ADDRESS>

(Sorry about the early PR, I was trying to target my fork...)

The keptn team decided to not use the check-spelling GH action anymore.
Closing this.


Fix error message when table doesn't exist

Fixes https://github.com/liquidata-inc/dolt/issues/275.

Thanks for the PR. We'll look at this today :-)


[Feature Request] Pod Anti-Affinity

Tell us about your request
Support auto-scaling based on pod anti-affinity
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
A lot of the popular helm charts (e.g. Elasticsearch, Kafka, PostgreSQL) has pod anti-affinity baked in. Currently if I try to deploy one of those helm charts, karpenter does not scale up with the following message:
2022-02-09T22:20:06.877Z	DEBUG	controller.selection	Ignoring pod, pod anti-affinity is not supported	{"commit": "df57892", "pod": "default/elasticsearch-master-0"}
2022-02-09T22:20:06.930Z	DEBUG	controller.selection	Ignoring pod, pod anti-affinity is not supported	{"commit": "df57892", "pod": "default/elasticsearch-master-1"}
2022-02-09T22:20:06.965Z	DEBUG	controller.selection	Ignoring pod, pod anti-affinity is not supported	{"commit": "df57892", "pod": "default/elasticsearch-master-2"}

Is there a workaround until this feature is supported?
Also, it would be good to update the docs since it currently mentions: "Evaluating scheduling constraints (resource requests, nodeselectors, affinities, tolerations, and topology spread constraints) requested by the pods" .

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Hi Yitaek, we are definitely working on  pod anti-affinity. There is an existing thread #942 on pod anti-affinity and we should merge the discussion threads together. Please keep an eye on that thread. Closing this one for redundancy. Please reopen it if not redundent.


Optimize rendering of paths table

The paths table has some relatively complex html/css to render due to the colored boxes around each node, the text truncating, the edge arrows, etc. Combined with the fact that the paths table can be hundreds of entries long, just the rendering step alone for the paths table takes quite a bit of time.
It might be good to look into ways I can simplify the rendering somehow to make it faster.

I just noticed that actually production building the project drastically decreases the render lag as opposed to running it in test local server mode. Still is worth looking into rendering optimizations though.


CLOUDP-245960: pkg/controller/atlasdatafederation: remove eventhandler

EventHandlerWithDelete invokes AtlasDataFederationReconciler.Delete in order to remove connection secrets if an
AtlasDataFederation resource is deleted: https://github.com/mongodb/mongodb-atlas-kubernetes/blob/6fb32b11ec9228d600aad82698af357089e125ce/pkg/controller/atlasdatafederation/datafederation_controller.go#L229
The problem is that it is not guaranteed this event will ever be emitted. The following scenario will leave orphaned connection secrets in the cluster:

Stop the Operator
Remove a AtlasDataFederation resource
Start the Operator

In the scenario above the Delete event method will never be invoked, leaving orphaned data federation secrets.
This fixes it by refactoring it to use finalizers instead which is immune to intermittent operator failures.
All Submissions:

[ ] Have you signed our CLA?
[ ] Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
[ ] Update docs/release-notes/release-notes-template.md if your changes should be included in the release notes for the next release.

Looks like linter job has failed. Can be fixed with make fix-lint


Update documentation of DataFormatVecPermute operation

Resolves #53157
cc @bixia1

Fixes invalid shape in the example.
Updated description of supported inputs.

Once this updated documentation is reviewed, should I generate wrappers.go and tf_generated_ops.td?

@rohan100jain  Can you please review this PR ? Thank you!

Do you want to update wrappers.go and tf_generated_ops.td and then the PR description here?

Once this updated documentation is reviewed, should I generate wrappers.go and tf_generated_ops.td?

@bixia I meant this as a question, not a todo item. It seems to me that:

wrappers.go, according to its  history, is updated by an automated job every week or so.
tf_generated_ops.td might be generated by a script that isn't public? I didn't find any build target or script that updated the file and this StackOverflow answer suggests there is such a script but it isn't open source.


Fix typo on scrollWindowToBody

Follow up for PR https://github.com/medology/flexiblemink/issues/297
For the scrollWindowToBody method:

Fix typo on $$scrollHorizontal, should be $scrollHorizontal

QA - Local
nothing for me to verify w/ behat
updating to deploy & test
https://github.com/Medology/stdcheck.com/issues/9107


Roll Packages from bb5a25815cae to d681e4e404e8 (15 revisions)

https://github.com/flutter/packages/compare/bb5a25815cae...d681e4e404e8
2024-11-11<EMAIL_ADDRESS>[file_selector] Fix Linux cancel regression (flutter/packages#8051)
2024-11-09<EMAIL_ADDRESS>[shared_preferences] Fix confusing language in README (flutter/packages#8049)
2024-11-08<EMAIL_ADDRESS>Use dependabot multi-directory configuration for Android example gradle updates (flutter/packages#8036)
2024-11-08<EMAIL_ADDRESS>[animations] Remove .flutter-plugins reference from example app (flutter/packages#8002)
2024-11-08<EMAIL_ADDRESS>Group dependabot github-action update PRs, delete dead docker updates (flutter/packages#8044)
2024-11-08<EMAIL_ADDRESS>[vector_graphics_compiler] fix-null-exception (flutter/packages#8006)
2024-11-08<EMAIL_ADDRESS>[tools] Format Dart per-package (flutter/packages#8043)
2024-11-08<EMAIL_ADDRESS>[various] Update example app minSdkVersions (flutter/packages#8035)
2024-11-07<EMAIL_ADDRESS>[go_router] Activate leak testing (flutter/packages#7546)
2024-11-07<EMAIL_ADDRESS>[in_app_purchase_storekit] Add restore purchases and receipts (flutter/packages#7964)
2024-11-07<EMAIL_ADDRESS>[interactive_media_ads] Adds remaining methods for internal wrapper of the Android native BaseManager (flutter/packages#7943)
2024-11-07<EMAIL_ADDRESS>[google_sign_in/google_identity_services] Clear-up documentation of callbacks in various APIs and uses of those APIs (flutter/packages#8029)
2024-11-07<EMAIL_ADDRESS>[flutter_svg] wasm compatibility (flutter/packages#8014)
2024-11-06<EMAIL_ADDRESS>Applied Gradle Plugins Declaratively for Multiple Plugin Example Apps (Part 2) (flutter/packages#8019)
2024-11-06<EMAIL_ADDRESS>Roll Flutter from 29d40f7f6826 to 73546b3b71a7 (20 revisions) (flutter/packages#8028)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Can I use tabular  multi instance?

Yes, you can use multiple instances on the same template without any problems.
For example if you define:
TabularTables.Instance1 = new Tabular.Table({...})
TabularTables.Instance2 = new Tabular.Table({...})

You can then use them on template:
{{> tabular table=TabularTables.Instance1}}
{{> tabular table=TabularTables.Instance2}}

In some cases you need to use the same collection in both instances and it will work fine. However you can't use the same instance on the same template, because the tables will use the same collection subscription.

Thank you.
I tried to use "multiple instance of the template".
Is there a easy way to clone Tabular.Table structure? (without copy&paste)

Not sure if it helps, but you can try something like: https://lodash.com/docs#cloneDeep

Thanks anyway.

Hi guys
@aldeed  Any example to create dynamic instances with the same template?
Thanks in advance, Nicholls


Make election benchmarks more memory-aware

Related to https://github.com/paritytech/substrate/issues/9285
For now I added two new benchmarks. They can only be executed in isolation, and if they work, then it is good news.

/benchmark pallet pallet_election_provider_multi_phase

/benchmark pallet pallet_election_provider_multi_phase

/benchmark runtime pallet pallet_election_provider_multi_phase

/benchmark runtime pallet pallet_election_provider_multi_phase

the changes look okay, but i worry that all of this will be forgotten until it bites us again

given that the onchain limits are storage item and this is not, relying on this benchmark to set the boundaries of heap-safety will have to be manual.
Before setting any value to polkadot, we should re-run these benchmarks with the new numbers to get insight.
I think this, next to westend being populated more than polkadot, is as good as it gets for now.

bot merge

bot merge

bot merge

bot merge


Clarification on gamma and lambda

Hi Qi Qian,
I like your paper, especially the elegant derivation part. Can I have some clarifications on gamma and lambda:
From my understanding, gamma and lambda can also be viewed as the temperature in SoftMax, which controls how concentrated/spread of intra-class similarity and inter-class similarity. I noticed that you let gamma to be 0.1, and 1/lambda to be 0.2. Which means you want intra-class similarly distribution to be very concentrated, and inter-class similarity distribution to be relatively a little bit smoother, is my understanding correct? Also do you require gamma and 1/lambda to be less than 1 to give a low temperature to avoid over-smoothing?
Thanks!

Hi, thank you for your interest. We actually have lambda=20, which means a large margin between each classes and a smooth distribution within each class. Those parameters are usually set to be small for discrimination.

Ok thanks for your reply


Refactor row_sum() and column_sum() to cover more cases.

Currently the methods for row_sum and column_sum are tied up with the
code for statistical tests.  This means that to perform a row_sum or
column_sum requires the scalar type to inherit general field properties
and be SupersetOf to make quantities such as the mean value make
sense.  Consequently, row_sum() won't work on integer matricies.
This patch refactors the code to make the only requirement that the
scalar type be an additive monoid.  This is a more sensible requirement
for implemeting row and column sums.  As part of the refactoring, the
generic code for column and row wise folding has been separated from
the statistics code.

I have updated the commit as per review.


Change servicePath for file upload with parent

The Google API returns a 400 error when files are uploaded to the default service path, but only when a parent folder is specified. The error message says: Uploads must be sent to the upload URL. This error can be resolved by prepending upload/ to the service path URL.

I just submitted the CLA.

I checked the build failure. Here is what it says:
PHP Fatal error:  Cannot redeclare class Google_Service_SQLAdmin_OperationError in /home/travis/build/google/google-api-php-client/src/Google/Service/SQLAdmin.php on line 2740
I did not make any changes to this file, so there must be a pre-existing bug in this release.

This is a good idea, but the Drive class is generated so your change would get overwritten unfortunately :(. Could you open an issue with how you are doing the upload at the moment, there may be a fix we can do elsewhere in the library to resolve this more generally.


Removing creeping expiry behavior

It's an old flaw that keeps items in cache if accessed (wrong behavior); this is a breaking change which will receive a new major version.
Fixes #48, #47.

Thank you very much!


'/products' route - should be ended in / (slash)

The index of products should use a route with / at the end.
@router.get("/products", status_code=status.HTTP_200_OK)
 ...

Hello @barreraalexander
Thank you for your work.
Once you deliver a fix, please update the status here (text only). Our testing team will close it if the patch is validated.
TY!

Duly noted!

Validated. Closing!
ty @barreraalexander


Change distances to be "6+ feet"

I have gotten the feedback multiple times from folks that when they see ">6 feet" as an option (on the spreadsheet or the website) they think that if they are about 6 feet, they aren't allowed to use that category. They think they need to be like 7 feet or more. I wonder if we changed it to "6+ feet" instead if that would be clearer for users. What do you think? (I've got this on my checklist of things to consider before launching the new spreadsheet)

I think "6+ feet" is a little easier for the public to understand;  think of someone that has been out of school for a while and is working in an non-technical field, relational operators might be something they have to actively recall.

@IWalkInLA I'd love your input on the pull request: #585
Thanks!


Fix client IP in webserver logs

The client IP is the webserver logs is always <IP_ADDRESS> because it's logging the IP of the reverse proxy container, not the contents of the HTTP_X_FORWARDED_FOR  header,

WIP: https://github.com/RopeWiki/app/pull/64

Don't think this is needed. The reverse proxy logs are the better place to get an idea of what's happening. The webserver logging the local IP is fine really.


Uploaded PDF, but I saw another PDF instead

Hello -
I made a few attempts earlier today, but the PDFs I uploaded were not rendering. Instead, I may have seen someone else's uploaded PDF.
Here's an example: https://signdocs.herokuapp.com/#/documents/7643a4d1-9291-40a0-bab9-957069f01647/prepare
After trying again just now, my PDFs appear to be uploading fine. But it appears there is some issue w/ a newly uploaded file taking precedence.

Hi Mike, I appreciate you reaching out. This project has been stale for awhile, I'm familiar with the bug but haven't had time to sort it out. If you're feeling investigative, I'd invite you to fork the repo and attempt a fix!