optimize figure bottom margin

Avoid multiple margin-bottom by p and figure, that result in too wide a bottom margin.

Thanks for the contribution @berlin2123, since there is no associated issue with this PR could you please add a screenshot of the before and after this change so we understand the rationale behind it?

before:

after:

seems like a reasonable change to make. Linter is failing; @berlin2123 can you try installing our pre-commit hook? It should auto-fix linter errors at commit time.

@gabalafou This seems reasonable, but a last check would be helpful. If you are happy with this and so is the CI, you can go ahead and merge.

I pushed a few tweaks:

I added an example to Images and Figures that demonstrates the changes in this PR
I moved the margin-top adjustment to the figcaption because I think that's where it more properly belongs. I believe the intent is to just add some whitespace between the image and the caption, not add more whitespace between every paragraph in the caption
Similarly I moved the margin-bottom adjustment to the last paragraph in the figcaption, since I don't think the intent was to reduce the margin between paragraphs but only to prevent the last paragraph's bottom margin from adding on to the figcaption's bottom margin

Before (figure example section)

After (figure example section)

@drammock could you give this another round of review?

@drammock, ah, good to know. I decided to remove the example because it's essentially already covered at the bottom of Kitchen Sink / Structural Elements.
That said, I think the figure section should probably also have an example like the one on the structural elements page. Would it be possible to make this change upstream?

Would it be possible to make this change upstream?

you'd have to propose the change at https://github.com/sphinx-themes/sphinx-themes.org
If you clearly explain the rationale for the change (as you typically do 👍🏻) I'm confident that @pradyunsg would merge it


Don't call asset bundles from preview

When running preview the browser is trying to fetch the asset bundles for each 3d model in the scene, this fetch always returns 404

This doesn't just fill up the console with noise, it likely also slows down the scene's loading as it waits for a response.
A simple scene where you can see this in action is this one:
https://github.com/decentraland-scenes/lazy-loading

no longer relevant


Encoding of cyrillic GET parameters (regression in 0.46)

Python 2.7, trouble appears only for real lambda (not for docker container).
I use Django application with simple search form. If I type 'тест' ('test') and submit form, url becomes /?q=тест for both <0.46 and 0.46, but for 0.46 value in form becomes ÑÐµÑÑ instead of 'тест' and search results will not be found.

Confirmed. Only on new zappa versions :(


Multiple approval rules

Support for #388.

Codecov Report

Merging #435 (abfe349) into main (278f535) will decrease coverage by 44.93%.
The diff coverage is 29.49%.

Additional details and impacted files

@@             Coverage Diff             @@
##             main     #435       +/-   ##
===========================================
- Coverage   86.93%   42.00%   -44.94%
===========================================
  Files          65       68        +3
  Lines        2258     2338       +80
===========================================
- Hits         1963      982      -981
- Misses        295     1356     +1061

Impacted Files
Coverage Δ

gitlabform/gitlab/branches.py
22.80% <0.00%> (-65.91%)
:arrow_down:

gitlabform/gitlab/projects.py
23.71% <ø> (-50.91%)
:arrow_down:

...orm/processors/project/merge_requests_processor.py
26.82% <0.00%> (-65.86%)
:arrow_down:

...labform/gitlab/project_merge_requests_approvals.py
20.00% <20.00%> (ø)

gitlabform/processors/defining_keys.py
51.47% <20.00%> (-20.59%)
:arrow_down:

gitlabform/configuration/transform.py
66.37% <27.27%> (-26.65%)
:arrow_down:

gitlabform/gitlab/core.py
31.11% <50.00%> (-63.55%)
:arrow_down:

...orm/processors/project/merge_requests_approvals.py
80.00% <80.00%> (ø)

...rocessors/project/merge_requests_approval_rules.py
83.33% <83.33%> (ø)

gitlabform/gitlab/__init__.py
100.00% <100.00%> (ø)

... and 57 more


City tagged as State

Here's an address: SYRACUSE HANCOCK INTERNATIONAL AIRPORT, 1000 COL EILEEN COLLINS BOULEVARD , SYRACUSE 13212
Expected result: Syracuse gets tagged as the PlaceName
Actual Result:
(OrderedDict([('Recipient', 'SYRACUSE HANCOCK INTERNATIONAL AIRPORT'), ('AddressNumber', '1000'), ('StreetName', 'COL EILEEN COLLINS'), ('StreetNamePostType', 'BOULEVARD'), ('StateName', 'SYRACUSE'), ('ZipCode', '13212')]), 'Street Address')
That said, adding in a state (e.g. "NY) in between "SYRACUSE" and "13212" results in a correct parsing; I'm not sure if this address is malformed, or if this is an address that the model should be trained to recognize correctly. I don't have more examples on hand, but if this is something that should be within the reach of the tag feature, then I'm happy to find more examples to train on. (If so, how many examples should I try and find?)

Would it help to add a STATES array (and appropriate related code) similarly to DIRECTIONS and STREET_NAMES?


Metadata editor incorrectly expands ampersands (&)

It appears ampersands are inappropriately expanded when used in the Series field of the metadata editor.
I discovered this when trying to set the name field of a Yotsuba&! manga.  It allows this input without issue -- but I discovered the output books (and indeed the edited, input book files) have the name Yotsuba&!.  It appears the metadata format is XML based; maybe this is related?
Anyway, this behavior seems to apply anytime an ampersand (&) is used at all, not just in proximity to an exclamation mark (!).

After more testing, this seems unrelated to XML.  When saveXML is called with new data present in self.rawdata, the incorrect expansion is already there.  If I manually crush it by deleting the string amp;, everything works as expected.
Maybe this is from QT someplace?

Tried with the qt6 build above still expanding the amp

bug is still not fixed in 5.6.5

Following this up to add that apostrophes also expand for me in case that is useful information. Also it's not just in the title but in the epub itself. The content.opf, nav.html, and toc.ncx all have this error. So far it' is only apostrophes and ampersands I have seen, forward slash and other punctuation seems to be unaffected.

Still not fixed in 6.3.1. Both ampersands and apostrophes.


Model fine tuning example

Hi,
Thanks for making the model public! I would like to fine-tune the model for a downstream task, however in your colab model you only make inference using the pre-trained model, without any fine tuning it seems. Could you advise me on the best way to go about finetuning with this model? provide an example script?
Thanks so much.

Hi @wjs20, thanks for your interest! Yes, the ESM model is a subclass of nn.Module, so you can just use it as a component inside another torch model. We don't provide any examples fine-tuning the model, but there are many generic pytorch tutorials that can show how to do this, for example this one from Huggingface.
Hope this helps! I'm closing out the issue, but please let us know if you have any additional questions.

Thanks for the advice joshin5. I will have a go!


ci errs with Julia nightly

Freshly crated package following the template user guide (https://juliaci.github.io/PkgTemplates.jl/stable/user/).
Pushed to github and ci fails with traceback :
ERROR: LoadError: Failed to precompile LibGit2 [76f85450-5226-5b5a-8eaa-529ad045b433] to "/home/runner/.julia/compiled/v1.11/LibGit2/jl_q0Y6dO".

the error seems associated with v1.11 (I am using Julia v1.9).

See https://discourse.julialang.org/t/why-do-packages-run-continuous-integration-tests-on-julia-nightly/101208.
Decided to comment nightly on CI for testing for now. If needed can always uncomment it.


Kill process

Thanks for your useful package.
I’m using firebase to my app. Using firebase emulators:start in derry command.
scripts:
emulator:
- firebase emulator:start
This process is running while Sigterm is receive by Ctrl+C.
When kill derry process by Ctrl+C, child did not receive Sigterm and run while …

i imagine if we aren't going to get heredoc support, likely won't get signal capture, looks like it just threads this off as a shelled command to run, captures response and sends to output.

Ok let’s try :(


Misleading title

The title of this article, and the "Quickstarts / Query / R" entry in the index, suggests that this article shows how to access Azure SQL Database from R, but it does not. It should be titled "Microsoft ML Service (R)" instead.
A separate article showing how to connect to Azure SQL database from the R command line, titled R, would be welcome.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2b3d97c5-10b1-5264-ad9e-d260c8391b08
Version Independent ID: ee99a22b-142b-8b22-e4f6-e84c523c9a9f
Content: Use R to query Azure SQL Database - Azure SQL Database Machine Learning Services (preview)
Content Source: articles/sql-database/sql-database-connect-query-r.md
Service: sql-database
Sub-service: machine-learning
GitHub Login: @garyericson
Microsoft Alias: garye

@revodavid Thank you for your feedback. We will investigate it and get back to you soon.

@garyericson  Hi Gary, could we make a change for the title? Thank you.

I've changed the title, description, and H1. I want to leave the TOC alone since the focus in this section is using different languages and it would make the TOC title too long.

The PR for this is 83373 (-pr repo).

@garyericson Thank you.
@revodavid We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Open Source Promotion Plan (OSPP) 2021

This issue is a master issue to track the progress and result of Open Source Promotion Plan (OSPP) 2021

Rust SDK for Vineyard (@linlih)

#273

Go SDK for vineyard (@Sijie-L)

#228

Vineyard + Prometheus: made monitoring easy (@univerone)

#275
#276

Integration with machine learning frameworks (@chaitravi-ce)

#280

vineyard-ctl: a command-line tool to inspect and operate the objects in vineyard cluster (@Rohan-cod)

#291

Complex data types support in Vineyard C++/Python SDK (@beiluo97)

#236
#248

Improve the jemalloc-based allocator implementation (@peilii)

#289

We thanks all for your contribution to the Vineyard project!

Close as we are torwards the OSPP 2022.


Add Runtime Metadata to Operations

This PR moves some code from this PR to this repo.
We add a GetRuntimeMetadata method to ICallables that contains metadata to be used by the ExecutionPathTracer in that the iqsharp repo. The reason for moving the logic over here is to prevent circular dependencies between repos and to increase the modularity of defining custom RuntimeMetadata for each operation.
The default RuntimeMetadata is defined in Operations.cs, and any custom logic is overridden in the operation's specific namespace.
Tests are added that test the output of GetRuntimeMetadata of each of the custom logic we defined.

There was a weird Github bug where my changes weren't showing after merging master in. I tried rebasing onto master instead but again, the changes weren't showing up on this PR specifically. Turns out this is a known bug for years and the solution involved having to switch the base branches.


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #80.
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #80

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.


Add OperatorSpillContext

What problem does this PR solve?
Issue Number: ref #7738
Problem Summary:
What is changed and how it works?
Code refine for #7738, the basic idea is to add OperatorSpillContext, and in the future, all OperatorSpillContext will be registered to some place(like MPPQueryTaskSet), in runtime, it will be used to automatically trigger spill if needed.
This pr

Add top level class OperatorSpillContext
Add AggSpillContext/SortSpillContext/HashJoinSpillContext
Adopt current agg/sort/join spill with SpillContext

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

/run-all-tests

/run-all-tests

/run-all-tests

/run-unit-test

/run-unit-test

/run-unit-test

/run-all-tests

/run-unit-test

/rebuild

/run-integration-test

/rebuild

/run-integration-test

/hold

/run-all-tests

/hold cancel

/run-all-tests


Changed and added files according to Telegram Updated Repo

We still have doubts regarding the usage and importing of scraping api key. Also this version does version is not yet updated with openai. We are facing trouble in replicating what is shown in the video.
But we have kept all of the code similar to telegram.

Merging as is to unblock integration into kubeflow pipelines. Please test this and send follow up PRs ASAP.

Make sure requirements.txt is up to date


Uni-directional ManyToOne/OneToOne repeated in Entity to same Target throws fatal DBAL exception

Re-report here by request

[x] I was not able to find an open or closed issue matching what I'm seeing.

I hope this is the place to open this issue instead of in Doctrine. Not sure though, please advise.
Code to reproduce the issue

Use Doctrine

Have 2 Entity objects: Company & Location

Multiple associations exist from Company to Location, but 1 per property (see code)

Associations are uni-directional

One of associations is required (nullable=false), else they're the same but for the name

Additional config (probably not relevant)

zf-hal > metadata_map > Company::class > max_depth = 3 -> added
doctrine-hydrator > CompanyHydrator > strategies > locations = CollectionLink::class -> added
zf-content-validation > Company\\Controller > input_filter = CompanyFieldsetInputFilter::class -> modified
zf-input-filter -> removed (replaced by class in zf-content-validation)

class Company

/**
 * @var Location
 * @ORM\ManyToOne(targetEntity="Location", cascade={"persist", "remove"})
 *  // Or -> \OneToOne(targetEntity="Location", cascade={"persist", "remove"})
 * @ORM\JoinColumn(name="main_location_id", referencedColumnName="id", nullable=false)
 */
protected $mainLocation;

/**
 * @var Location
 * @ORM\ManyToOne(targetEntity="Location", cascade={"persist", "remove"})
 *  // Or -> \OneToOne(targetEntity="Location", cascade={"persist", "remove"})
 * @ORM\JoinColumn(name="billing_location_id", referencedColumnName="id", nullable=true)
 */
protected $billingLocation;

Demo POST data
{
   "name":"New Farm",
   "mainLocation":{
   	"name": "The home",
   	"address": "All the way down the drive 33, 12345, FarmVille"
   },
   "billingLocation":{
   	"name": "The barn",
   	"address": "Beyond the house 22, 12345, FarmVille"
   }
}

Expected results
I expected that I must provide the mainLocation property with a new Location object and optionally do the same for billingLocation.
Actual results
With or without billingLocation (not required) in the test data above, but with the required mainLocation, the error below appears.
{
    "trace": [
        {
            "file": "C:\\xampp\\htdocs\\api\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\DBALException.php",
            "line": 184,
            "function": "convertException",
            "class": "Doctrine\\DBAL\\Driver\\AbstractMySQLDriver",
            "type": "->",
            "args": [
                "An exception occurred while executing 'INSERT INTO companies (name, main_location_id, billing_location_id) VALUES (?, ?, ?)' with params [\"New Farm\", null, null]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'main_location_id' cannot be null",
                {
                    "errorInfo": [
                        "23000",
                        1048,
                        "Column 'main_location_id' cannot be null"
                    ],

If I make mainLocation nullable (nullable=true) OR remove the other references to Location, this setup works.

Now I've traced this into the UnitOfWork where I found that it tries to create the Company without first creating the Location object(s). As such, they "don't exist for real". They do in memory and they are persisted, just not flushed prior to Company, thus have no ID, inspecting the $entity variable confirms this.

Any help to point in a right direction or provide a solution would be greatly appreciated. I've been bashing this issue for 2 days straight now.

Additional information:
Just tried to hydrate database with data fixtures and got the same problem with updated entities:

Company#primaryContact (type: Contact - required)
Company#technicalContact (type: Contact)

Because it's starting to be a real issue, I've created Zend Skeleton application project and created a self-contained module, whose only function is to create a Company with 2 contacts (like above).
This does not present the same problem, leading me to believe the issue must really be on the Apigility side of things.
314.zip
To test with project, just unpack where you host your projects and run:

composer install
./vendor/bin/doctrine-module orm:schema-tool:drop --full-database -f && ./vendor/bin/doctrine-module orm:schema-tool:update -f

Then visit the project with relative url /bug.
All code for this test is contained in the Bug module (apart from Bug module loading).

I think you are talking about circular references:
https://github.com/zfcampus/zf-hal/blob/master/src/Plugin/Hal.php#L680-L683
You have an issue because you are not using a hydrator on one of the two referenced entities.
user > address > user > address
In this example the address does not need the user so the reference to user should be filtered out using a hydrator filter.  Event better you should use an EntityLink hydrator strategy.

@TomHAnderson Was your comment meant for this ticket?
I do not have a User Entity in the report or the example send in the zip file.

If it is related to this ticket, both Location Entities are annotated the exact same way on the Company Entity (see initial report above). Also, with the relations being uni-directional (also in the provided example code), a circular reference is not possible. So it's got to be something else ;-)

@rkeet I've tried to run your attached code. I can't run composer install because I got the exception:
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.

  [UnexpectedValueException]
  Link constraint in __ROOT__ requires > php should be a string, got array (array (
  ))

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

so I run composer update and it's fine.
There are my packages installed:
$ composer show
container-interop/container-interop          1.2.0   Promoting the interoperability of container objects (DIC, SL, etc.)
doctrine/annotations                         v1.6.0  Docblock Annotations Parser
doctrine/cache                               v1.8.0  Caching library offering an object-oriented API for many cache backends
doctrine/collections                         v1.5.0  Collections Abstraction library
doctrine/common                              v2.10.0 PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, ...
doctrine/dbal                                v2.8.0  Database Abstraction Layer
doctrine/doctrine-module                     1.2.0   Zend Framework Module that provides Doctrine basic functionality required for ORM and ODM modules
doctrine/doctrine-orm-module                 1.1.8   Zend Framework Module that provides Doctrine ORM functionality
doctrine/event-manager                       v1.0.0  Doctrine Event Manager component
doctrine/inflector                           v1.3.0  Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                        1.1.0   A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                               v1.0.1  Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/orm                                 v2.6.3  Object-Relational-Mapper for PHP
doctrine/persistence                         v1.1.0  The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.
doctrine/reflection                          v1.0.0  Doctrine Reflection component
psr/cache                                    1.0.1   Common interface for caching libraries
psr/container                                1.0.0   Common Container Interface (PHP FIG PSR-11)
psr/log                                      1.1.0   Common interface for logging libraries
psr/simple-cache                             1.0.1   Common interfaces for simple caching
symfony/console                              v3.4.19 Symfony Console Component
symfony/debug                                v4.2.0  Symfony Debug Component
symfony/polyfill-mbstring                    v1.10.0 Symfony polyfill for the Mbstring extension
zendframework/zend-authentication            2.6.0   provides an API for authentication and includes concrete authentication adapters for common use case scenarios
zendframework/zend-cache                     2.8.2   Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output
zendframework/zend-code                      3.3.1   provides facilities to generate arbitrary code using an object oriented interface
zendframework/zend-component-installer       1.1.1   Composer plugin for automating component registration in zend-mvc and Expressive applications
zendframework/zend-config                    3.2.0   provides a nested object property based user interface for accessing this configuration data within application code
zendframework/zend-di                        2.6.1
zendframework/zend-escaper                   2.6.0   Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs
zendframework/zend-eventmanager              3.2.1   Trigger and listen to events within a PHP application
zendframework/zend-filter                    2.8.0   provides a set of commonly needed data filters
zendframework/zend-form                      2.12.0  Validate and display simple and complex forms, casting forms to business objects and vice versa
zendframework/zend-http                      2.8.2   Provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests
zendframework/zend-hydrator                  2.4.1   Serialize objects to arrays, and vice versa
zendframework/zend-i18n                      2.9.0   Provide translations for your application, and filter and validate internationalized values
zendframework/zend-inputfilter               2.8.2   Normalize and validate input sets from the web, APIs, the CLI, and more, including files
zendframework/zend-loader                    2.6.0   Autoloading and plugin loading strategies
zendframework/zend-modulemanager             2.8.2   Modular application system for zend-mvc applications
zendframework/zend-mvc                       3.1.1   Zend Framework's event-driven MVC layer, including MVC Applications, Controllers, and Plugins
zendframework/zend-mvc-form                  1.0.0   Metapackage with all requirements needed to use zend-form with zend-mvc.
zendframework/zend-mvc-i18n                  1.1.0   Integration between zend-mvc and zend-i18n
zendframework/zend-mvc-plugin-fileprg        1.1.0   Post/Redirect/Get plugin with file upload handling for zend-mvc controllers
zendframework/zend-mvc-plugin-flashmessenger 1.1.0   Plugin for creating and exposing flash messages via zend-mvc controllers
zendframework/zend-mvc-plugin-identity       1.1.0   Plugin for retrieving the current authenticated identity within zend-mvc controllers
zendframework/zend-mvc-plugin-prg            1.1.0   Post/Redirect/Get plugin for zend-mvc controllers
zendframework/zend-mvc-plugins               1.0.1   Collection of all stable zend-mvc plugins served via separate packages.
zendframework/zend-paginator                 2.8.1   zend-paginator is a flexible component for paginating collections of data and presenting that data to users.
zendframework/zend-router                    3.2.0   Flexible routing system for HTTP and console applications
zendframework/zend-servicemanager            3.3.2   Factory-Driven Dependency Injection Container
zendframework/zend-servicemanager-di         1.2.0   zend-di integration for zend-servicemanager
zendframework/zend-session                   2.8.5   manage and preserve session data, a logical complement of cookie data, across multiple page requests by the same client
zendframework/zend-stdlib                    3.2.1   SPL extensions, array utilities, error handlers, and more
zendframework/zend-uri                       2.6.1   A component that aids in manipulating and validating » Uniform Resource Identifiers (URIs)
zendframework/zend-validator                 2.10.2  provides a set of commonly needed validators
zendframework/zend-view                      2.10.0  provides a system of helpers, output filters, and variable escaping
zfcampus/zf-development-mode                 3.2.0   Zend Framework development mode script

and when I open /bug this is what I can see:

Can you confirm that the bug is still present with the latest repositories? Maybe it was fixed in some dependent library - or I am doing something wrong?


Clean up tracing databag in v3

Enhancement Proposal
In tracing v2, we made several choices about the structure of the databag. Provider side exposes:
- host - used to build internal URL. Doesn't contain the scheme
- receivers - list of supported receivers with their ports
- external_url - when ingress is there, it's the ingressed URL, it contains the scheme
- internal_scheme - optional, used in combination with host (and receivers) to build the path. Can be either 'http' or 'https'

This structure has its quirks as we wanted to keep as backwards compatible as possible:

there's a difference between building tracing URL for ingressed and non-ingressed scenario, causing unnecessary complexity in tracing.get_endpoint logic
we have fields that are conditional

We could do one of the following:
Option 1:

the databag contains only receivers. Each receiver contains a full URL, with scheme and port (however without the exact API path - some instrumentation libraries add it themselves). If Tempo is behind ingress, it is the ingressed URL, otherwise the internal one. This means that in all relations (regardless if they're in-model or not), if ingress is there, it is the only advertised option to pass traces.

Option 2:

the databag contains receivers like it does now, but there are external_url and internal_url fields, both containing scheme. get_endpoint then appends port number and URL that belongs to the right protocol.

todo: determine if we can drop v1 (does cos-lite stable charms still use it?) or we need BC with v1 and v2
todo: update charm-relation-interfaces

decision: so long as nobody's using it

we can drop v1 and v2 support
push v3 charm lib to cos-lite and release on stable
release tempo v3 to stable

let's see if we can keep the changes contained to the interface and keep the charm-facing API the same, so we don't have to bump the charm lib major, but only the interface.


FileDialog "Open many" inconsistent "Open" Button behavior

Master branch
x11
Mode: "Open many"

Should it always allow folders?

Where is that dialog? You should be more specific on where the problem is :) also, is it expected to load folders or not in that case?

@alex9099 Looks like the problem is that the enabledness of the "Open" button is different whether the file or the folder is selected first, even though the set of selected items is the same.

I think the idea of "Open many" is to allow only Files and no Folders.
I was looking for a way to open many Files and Folders but this is another issue.

@raymoo @AlexHolly yeah, i understood that, what i mean is, where does this problem appear? Where can you select multiple files in godot? (maybe i'm just being dumb and it is right in front of my eyes :D)

I am not sure if it's possible in the editor since it uses the "EditorFileFialog". My case is in Game and uses the "FileDialog" like the issue topic describes.

Looks like the signal "cell_selected" is not fired on second selected item (multiselect).
extends Tree

func _ready():
	var root = create_item()
	set_hide_root(true)
	set_select_mode(SELECT_MULTI)
	set_size(Vector2(200,200))
	var child1 = create_item(root)
	var child2 = create_item(root)
	var child3 = create_item(root)
	child1.set_text(0, "Subchild1")
	child2.set_text(0, "Subchild2")
	child3.set_text(0, "Subchild3")

	connect("cell_selected", self, "_on_Tree_cell_selected")
	connect("multi_selected", self, "_on_Tree_multi_selected")

func _on_Tree_cell_selected():
	print("Select: " + str(get_selected().get_text(0)))

func _on_Tree_multi_selected(item, column, selected):
	print("MultiSelect: " + str(item.get_text(0)))

https://github.com/godotengine/godot/blob/master/scene/gui/file_dialog.cpp#L892
https://github.com/godotengine/godot/blob/master/scene/gui/file_dialog.cpp#L282


Update RCTModalHostViewManager to export the currect propery type

Summary
Fix the issue Component 'RCTModalHostView' re-registered bubbling event 'topDismiss' as a direct event
the export type onDismiss of RCTModalHostView does not match the property type,
Property:
@property (nonatomic, copy) RCTBubblingEventBlock onDismiss;
Export:
RCT_EXPORT_VIEW_PROPERTY(onDismiss, RCTDirectEventBlock)
Changelog
[General] [Fixed] - Update RCTModalHostViewManager to export the currect propery type
Test Plan
Build with RN 0.66 with no warning

Hi! Instead of changing RCT_EXPORT_VIEW_PROPERTY in RCTModalHostViewManager.m, can you change the @property from RCTBubblingEventBlock to RCTDirectEventBlock in RCTModalHostView.h? Does that also solve the error you're seeing?
RCTDirectEventBlock is for a block that is called once. e.g. onComplete
RCTBubblingEventBlock is for blocks that are called multiple times. e.g. onChange.

@p-sun , The package i mentioned is @merryjs/photo-viewer, https://github.com/merryjs/photo-viewer


Fix bug when associative array is passed

The convert... methods will trigger whenever there are assetConverters available. This error triggers whevener JS files are specified with options; to take advantage of the attributes of the

Will re-open after built properly following the CONTRIBUTING guidelines. This was done off the whim on the GitHub VSCode Web Editor. Didn't really know how to run the tests there.

Will re-open after built properly following the CONTRIBUTING guidelines. This was done off the whim on the GitHub VSCode Web Editor. Didn't really know how to run the tests there.


Doesnt seem to work?

Hey, recently installed the VSCode extension and all worked fine. But since a couple of days the code doesnt get formatted even though the extension is enabled and .sqf file type is specified. Other sqf language support extensions work just fine. Is this a known issue or maybe just on my side? Any potential troubleshooting for this?

Could you clarify what do you mean with "formatted"? Formatting is usually the process of identing the code, removing spaces, etc. If you meant what this extension does, then there is a bug ^^
Are you on windows or linux (just so I can try to reproduce it)

hey, I am unable to get this to work even after a full reinstall. fresh installation, open an sqf file and when I mouse over a var it says loading.
when I run the reset server action it stops working all together.

I unfortunately cannot reproduce this, neither on windows nor linux. :/


configparser removes comments from config files

When ananas closes, it writes the running bots' current configuration information into the indicated config file. However, this appears to have the undesired result of removing any comments that were in the original configuration file.
This means, among other things, that you can't simply comment out the configuration of a bot you temporarily don't want to run.
Is there a way to change this so that configparser.ConfigParser preserves the comments in the original file?

Although I'm not a dev, here's my 2¢
ConfigParser can't do it and it's a lot of work (see https://groups.google.com/forum/#!topic/comp.lang.python/ElamPZoOjbI)
There is a library called ConfigObj (http://www.voidspace.org.uk/python/configobj.html) but it hasn't been updated in 8 years.
Honestly, it's probably better to move off the INI based format and use something else. The config stuff should be more loosely coupled anyway, in my opinion.

The ini format doesn't change that often, if python's file API hasn't changed in the last 8 years it shouldn't matter if the library's old.
That said I like INI style config files because they're dead simple. I'm open to the bot supporting other file types (json and yaml come to mind as examples of other formats that could map fairly cleanly to the current system) but it'll have to be clear how they map to concepts in the current system.

also if you follow through the link chain on their page, it goes to this github repo which was updated 23 days ago: https://github.com/DiffSK/configobj

Went ahead and added a depend on this library so that comments are preserved. If any of y'all want other config formats, open another issue and we can discuss it further.


Add styles for breadcrumbs component

Fixes issue #56

Brings in rockarch.org breadcrumb styles.
Changes rockarch.org style class names and color names
Uses variable for font-weight.
Removes context-specific margin-bottom value that adds space around the component.
Adds comments to better document CSS blocks.

I was a little unsure how to approach the .breadcrumbs ol styles that specify responsive changes depending on screen size. Currently, rockarch.org is the only one of our sites that uses breadcrumbs, but I'm not sure that those should be baked into the component. Perhaps this is something to consider later on in relation to issue #4 .

I was a little unsure how to approach the .breadcrumbs ol styles that specify responsive changes depending on screen size. Currently, rockarch.org is the only one of our sites that uses breadcrumbs, but I'm not sure that those should be baked into the component. Perhaps this is something to consider later on in relation to issue #4 .

I also feel like these styles don't belong in the component - they're really layout-specific.
Thinking about this, I'm wondering if we should completely do away with the notion of styled wrapping nav, and instead put the breadcrumbs class on the ol itself. I think the full-width layout stuff and background color are probably not universal, and should be considered part of a layout container that the breadcrumbs component sits in. How does that sound?

Thinking about this, I'm wondering if we should completely do away with the notion of styled wrapping nav, and instead put the breadcrumbs class on the ol itself. I think the full-width layout stuff and background color are probably not universal, and should be considered part of a layout container that the breadcrumbs component sits in. How does that sound?

Yeah, that approach makes a lot of sense to me. We might actually consider creating a container component in the future.


Missing default server declaration for SSL returning 503

In our configuration nginx-proxy adds SSL to non secured multiple containers. Our domain is configured, so that it allows subdomains. The problem is, that entering non existing url, which means not mapped to any container, is returning the server from the first SSL declaration, which is the normal nginx behaviour. This causes many problems, when users makes mistakes in the URL and nginx-proxy is returning normal, invalid page instead of 503. This problem does not exist for HTTP URLs, because nginx-proxy contains default declaration returning 503 for them.
Currently we have to append this declaration to the config generated by nginx-proxy:
server {
        listen 443 ssl default_server;
        server_name _; # This is just an invalid value which will never trigger on a real hostname.
        return 503;
        ssl_certificate /etc/nginx/certs/default.crt;
        ssl_certificate_key /etc/nginx/certs/default.key;
}

which is very similar to the default config provided for HTTP servers.
It would be good if you could fix this issue internally in the nginx-proxy.

That config is already in the default template: https://github.com/jwilder/nginx-proxy/blob/master/nginx.tmpl#L153-L162
Are you configuring SSL as described here: https://github.com/jwilder/nginx-proxy#how-ssl-support-works
Is this not working?

The config you mentioned is going to prevent from accessing https://existing.com when there is only http://existing.com mapping, but it's not going to prevent from accessing https://non-existing.com. Currently in the last case nginx-proxy is going to return the first SSL mapping from the config.
The config I provided in my issue was based on: https://github.com/jwilder/nginx-proxy/blob/master/nginx.tmpl#L34-L38, which is preventing from accessing http://non-existing.com.

@jwilder, is my explanation clear? I can provide you with further details if you need.

Thankyou @montgomery1944 for this ticket and your workaround. I found your example to be clear and accurate, and the solution appears to work perfectly.
@jwilder I believe you simply need to replace {{ $host }}; with _; in nginx.tmpl in order for this fix to work as required.

It seems that this issue was fixed in master branch.


Timeout games after finished instead of created

Updated to only look at finishedAt time (which should cover wins, concedes, and leaves) and not disconnects.


sdk / extension version strategy

Managing compatibility between the SDKs and the Extension is brittle. There is currently not a defined relationship between the SDKs version and the extension version. They should all follow semver, and we can use semver to define the compatibility between them. e.g. Python SDK 1.1.0 must be compatible with Extension version 1.0.0. Some things that should be implemented:

changes to the Extension trigger tests on the SDKs
any SDK changes should be run on the latest version of the Extension
SDKs should have some sort of compatibility check with the environment they execute against and give feedback to user. e.g. running python 0.0.1 against Extension 2.0.0 should raise something useful to the user.

when we reach 1.0 in the extension, all client will also release 1.0
then, we maintain a map of the required version of client to extension. clients will contain validation checks within their library.


Setup prettier

Adds prettier with eslint compatible config. All runs on precommit hook.

Eslint is currently turned off as there are numerous proptype issues. I am going to close this PR until we make it green (first).


Add rake task for extracting statistics

Today we were asked by the SMT for statistics on how many selections of each option were made for each question.  This involved writing either database queries, or using the Rails console.
Here I have added a basic rake task to output these statistics for a specified day.
Rake task is invoked using (for yesterday's data):
rake statistics:form_responses
For a specified day's data:
rake statistics:form_responses["2020-04-13"]
The format of the data output is (this information is mocked example data, and not representative of real form submissions):
What do you need to find help with because of coronavirus?
 - Feeling unsafe: 4
 - Getting food: 2
 - Going in to work: 1
 - Having somewhere to live: 1
 - I’m not sure: 1
 - Mental health and wellbeing: 1
 - Paying bills: 8

Do you need urgent medical help?
 - No: 13

Do you feel safe where you live?
 - No: 2
 - Yes: 1
 - Yes, but I’m concerned about the safety of someone else: 1

I think we could do a bit more in the database layer here, with something like
select
  form_response->'get_food',
  count(*)
from form_responses
group by
  form_response->'get_food';

e.g. in staging:
+------------+---------+
| ?column?   | count   |
|------------+---------|
| <null>     | 59      |
| "No"       | 150     |
| "Not sure" | 8       |
| "Yes"      | 25      |
+------------+---------+

I'm not sure how to active-recordify that, or if there's something elegant we could do to query all the top level keys at once.

Thanks Richard, that's a much more elegant solution.  I've taken your query and used ActiveRecord to obtain the count values.  I wasn't able to reduce the query to only one, I think we'll still need to query for each question independently.


Unexpected status code returned from negotiate: 401 Unauthorized.

        String url = "https://example.service.signalr.net/client/?hub=myHub";
        HubConnection hubConnection = HubConnectionBuilder.create(url)
                .withAccessTokenProvider(Single.defer(() -> {
                    return Single.just("5WZFiYkGOAtqj/asdassdasddfg123dsfv1egrBcAc=");
                })).build();

        hubConnection.start().blockingAwait();

        hubConnection.on("Send", (message) -> {
        }, String.class);

        hubConnection.send("Send", "Hello form java");

i am working on azure signalr services but when i am going to connect response get against the request it says unauthorized but i don't know why token is correct.

Usually when connecting to the SignalR service your client points to the server and is redirected automatically to connect to the service.
You can see some of the details of how this works at: https://docs.microsoft.com/azure/azure-signalr/signalr-concept-internals#client-connections
Is there a reason you're trying to connect directly to the service?

i just want to communicate with the web that is why i am connecting to the server but i unable to connect to server or web that redirect me to the azure signalR service.
what i can do please give me code hint that i helps me to connect.

Change the url to your server instead of the service. So something like "https://www.aspnetcoreserver/myHub".
And make sure the access token you're passing is valid and expected by your web server.
A 401 means that you're not authorized and that makes sense in your case because the Azure SignalR Service won't know about a random access token unless it produced it and gave it to you. (And it hasn't expired).

HubConnection hubConnection = HubConnectionBuilder.create("http://testchat.testmyapp.com/ChatHub")
.withAccessTokenProvider(Single.defer(() -> {
// Your logic here.
return Single.just("abcdefghijklmnopqrstuvwxyz");
}))
.build();
        hubConnection.start();
        Thread.sleep(5000);
        hubConnection.send("Send", (Object) new String[]{"name", "success"});

Now i am getting this The 'send' method cannot be called if the connection is not active

You're not waiting on hubConnection.start() and it's probably failing with an error.

Closing this as we haven't heard from you and generally close issues with no response after some time. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue to investigate further!


Duplicate entry '425919356283650049' for key 'PRIMARY'

Error in decentralized deployment

Closed for no response anymore.


Streamline pointer events

From David in https://github.com/USGS-VIZLAB/water-use-15/issues/97#issuecomment-378413238:
Looks like we reload a category whenever the button is hovered over, even if that category is already loaded. Same with the mouseout. There should be a check there to see if the category is already loaded.
And there seems to be mouse-in/mouse-out happening when you click on a category, not sure that should be happening. I would think it is less snappy since it is loading the new circles twice.
Might we also want to add a very small delay to deciding to load a new category, so just incidentally dragging the cursor over the buttons doesn't trigger category changes? Although if the category changes get snappier this might not be an issue.
Lindsay says:
that's a good idea....Here's an example for click vs double click and I think that's pretty much what we would use for mouseover vs click. We should also handle mouseout differently if it's been clicked. No need to revert the category.
https://github.com/almende/vis/issues/203#issuecomment-48481501

Tasks 1 and 2 are done. I'm OK punting on task 3, which may or may not be important as we improve the load time.


chore(protocol): improve protocol documentation

@d1onys1us @adaki2004 let me know if you feel these new comments generated/improved by ChatGPT are better or worse.
If so, we can also improve comments for Bridge/Vaults later.

@d1onys1us could you approve this PR so I can merge it, then you can merge yours into main later?


WIP test_network_utp

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)

As replaced by PR https://github.com/maidsafe/crust/pull/442


[Feature Request][MongoDB] - add index on "name" field for "sessions" colleciton

[Feature Request][MongoDB] - add index on "name" field for "sessions" colleciton

Fixed in 2024.8.1


Documentation: Move pics order in each step

As I was using the tool I found myself needing to move pics up and down within each step.
child of #3

this will be fixed with #118

so #118 deletes pictures, although does that mean you also want a way to drag/drop pictures and change the order they appear in? That would definitely be tricker (but not impossible)

merge into #227


fix: Great scrollbar issue

PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #9067

Needs QA check

@kodadot/qa-guild please review

Needs Design check

@exezbcz please review

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Screenshot 📸

[ ] My fix has changed something on UI;

Got the normal modal working but the problem persisted when going to the mobile version , haven't had the time to recheck


TypeError: Cannot read properties of null (reading 'textContent')

Description
Getting TypeError: Cannot read properties of null (reading 'textContent') error after consecutive reloading.
This error originate from this code JSON.parse(document.getElementById('__NEXT_DATA__').textContent) in node_modules/next/dist/client/index.js
May be it's something to do with async await on _document file.
If I remove csp related from _document file it'll work just fine.
Screenshot

Step to reproduce

Goes to https://next-safe-middleware.vercel.app/
Open developer console
Press F5(Refresh) 3 times (It not limited to refresh 3 times, sometime after consecutive loading we'll get this error but refresh 3 times is the most reliable way to reproduce this.
You will get TypeError: Cannot read properties of null (reading 'textContent') error
From here javascript won't work

I am having the same problem with my next app but only on Edge.
I can only repeat @pipech https://next-safe-middleware.vercel.app/ failure on Edge as well so I think its a browser specific issue.
Its not on every load but most loads.
Due to this failure its failing to run any useEffects on any components so the whole site fails.
I remove CSP in the _document it goes away too.
Any one got any ideas on this one yet?

This issue seems to be Chromium-specific. It reproduces 90%+ of time when I emulate slow connection (50 kbps). Firefox works fine
It's somehow related to the way scripts are being loaded

Now I hit this issue.
I can reproduce following procedure.

Do Hard reload with chrome dev tool turn off.
Open Chrome dev tool.
Do soft reload, and I can get this issue.

FYI, When I tired turn off React dev tool extension, this issue is gone in my environment.
But some my colleague cannot reproduce this issue, I struggling...

Did anyone find a fix for this?


[Master] Fixes #3047 by introducing a exponential backoff for unresponsive hosts.

Also a couple of metrics are introduced to have better insights.

99% there :)

@kolloch separate commit with your suggestions - hopefully easy to review.
If ok I will squash the commits.

Nice, looks good! Squash and I'll merge.
I noticed #3109 by reviewing this. It would be nice if you could follow up with this.

@meichstedt  This Fix should also go into 0.13.1 and 0.14.1


Proposal: NimbleOptions.derive_struct and into option.

A big quality of life improvement for our usage of NimbleOptions would be the following:

The ability to derive a documented struct from options.
The ability to validate "into" a struct.
The ability to specify the into option for nested keyword lists

An example would be something like:
defmodule Discombobulator do
  require NimbleOptions

  @whirligig_schema [...]

  NimbleOptions.define_struct(WhirligigOptions, @whirligig_schema)

  @schema [
    times: [
      type "How many times to frobulate"
    ],
    distance: [
      type: "How far to reticulate the splines"
    ],
    whirligigs: [
      type: :keyword,
      schema: @whirligig_schema,
      into: WhirligigOptions
    ]
  ]

  NimbleOptions.define_struct(Options, @schema)

  def discombobulate(opts) do
    case NimbleOptions.validate(opts, @schema, into: Options) do
      {:ok, %Options{}} -> ...
      {:error, error} -> ...
   end
  end
end

The benefit of having options specified as a struct is that you don't need to traverse the options list many times to lookup keys (small but tangible for options validated/accessed often), and you can get editor/language server hints on your options.
I think we could get a lot of the benefits without #1, where we require that the structs be hand written, but then you do end up needing to duplicate the keys and do up the typespecs yourself, that kind of thing.
Thoughts?

@zachdaniel we're really trying hard to keep this nimble, so let's see if there's a way around this. My first instinct is:
@schema [
  times: ...,
  distance: ...
]

defstruct Keyword.keys(@schema)

def discombo(opts) do
  opts |> NimbleOptions.validate!() |> then(&struct!(__MODULE__, &1))
end

Would something like this work? The only downside with this is that you still do two passes over the kw list, one for validating and another one in struct!/2, but my experience is that you validate once (or rarely) and access many times. Thoughts?
end

Yep! I was pretty sure you'd prefer not to have the struct derivation bit 😆 I can also do that in my own helper if I want. I think it works well enough to do it that way. I'm wondering if there is a way to use the type spec tooling to define the type spec for the struct as well. It gets problematic with nested schemas, i.e I'd need to delete the nested structs, and then define a separate struct/typespec for that struct.

I think the into option would be pretty lightweight, though. You could provide a map, struct or keyword list. Has many uses, but is simple in operation and to understand. i.e
.validate(..., into: existing_opts)

It gets problematic with nested schemas

Yes this is one of my main reasons to avoid adding this, because it's something we then might need to support in the library too if we accept define_struct/2.
:into might be okay, but then again, struct/2 already does that, so I’m not sure we're adding much value?

@zachdaniel btw, in a library as big and complex as Ash, I'd lean on rolling out your own option-validation thing. nimble_options is really really tiny, you could just copy the source into Ash and go from there 😄

Our work with nimble_options is primarily done through spark: https://hex.pm/packages/spark So that is where we would end up doing this, with a module like Spark.Options.
Part of our goals for 2024 is to make sure that we are contributing as much as possible to the libraries we use and to the Elixir ecosystem, so I wanted to check here before I did exactly that :)

@zachdaniel oh yeah don't get me wrong this was a good discussion and we absolutely appreciate the suggestion 🙃


Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Executing: /tmp/apt-key-gpghome.7L3MDmqoQB/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 gpg: CRC error; 69B924 - 6C9712 gpg: read_block: read error: Invalid keyring gpg: Total number processed: 0 The command '/bin/sh -c apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' returned a non-zero code: 2

i am building vxros2build and it seems it could be errors on private keys, building stop at step 6. In that case it means it doesn't build everything. If i run the last layer built it prints humble as $ROS_DISTRO at least
Step 6/16 : RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
 ---> Running in 1c0195ef43d7
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.7L3MDmqoQB/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: CRC error; 69B924 - 6C9712
gpg: read_block: read error: Invalid keyring
gpg: Total number processed: 0
The command '/bin/sh -c apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' returned a non-zero code: 2

Hi @razr ,
it's me again, i've found in https://answers.ros.org/question/398460/how-to-add-a-pubkey/ that this solution might be old? i've changed with RUN  apt update &&  apt install curl gnupg lsb-release && curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg as suggested in the official guide

hi again @razr,
Solved many "problems" (i've followed all your instructions) and got this result on distlib module:

cd /work/build/colcon/colcon_ws; \
./src/colcon-core/bin/colcon build --merge-install --install-base=/wrsdk/vxsdk/host/x86_64-linux --paths src/*
Traceback (most recent call last):
  File "/work/build/colcon/colcon_ws/./src/colcon-core/bin/colcon", line 57, in <module>
    from colcon_core.package_augmentation.python \
  File "/work/build/colcon/colcon_ws/src/colcon-core/colcon_core/package_augmentation/python.py", line 11, in <module>
    from distlib.util import parse_requirement
ModuleNotFoundError: No module named 'distlib'
make[1]: *** [Makefile:65: colcon.build] Error 1
make[1]: Leaving directory '/work/pkg/colcon'
make: *** [Makefile:22: all] Error 1
wruser@b64a95a9e5d9:/work$

I'm not sure what you mean by "Solved many problems"
Did you successfully build vxros2build:humble docker image?
There are two Guthub actions, that you can use as a reference

docker-build

builds both docker images and downloads vxros2build:humble as an artifact

vxworks-ros2-build

makes a complete build cycle (docker images, ROS2 VxWorks build
creates and downloads a ros2.img

Yes i've built the images and inside /work i did:

 make distclean
make

Following errors reported in the initial comment. (echo $ROS_DISTRO printed humble as specificied in docker file).
I'll follow your suggests and use first method, but then to install the image in VWorks7 what should i do?
Thank for your support @razr,
Enrico


Stack continously fails to create

Got this error:
An error occurred (InvalidArgument) when calling the PutBucketNotificationConfiguration operation: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type.
Have no clue what this means but I think its not able to create the s3 events on that bucket. The bucket aleady exists. This CFN template has an input parameter for a bucket on s3 for alb logging - I give that but this thing doesn't work.

Look at the events you already have on this bucket and look at the related S3 documentation

Notification configurations that use Filter cannot define filtering rules with overlapping prefixes, overlapping suffixes, or prefix and suffix overlapping. The following sections have examples of valid notification configurations with object key name filtering and examples of notification configurations that are invalid because of prefix/suffix overlapping.

Ref: https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html

? The only event I have for this bucket is to stream to an existing Lambda function for ObjectCreate (All). I dont understand the problem here.

Your event must have an empty prefix to trigger for ObjectCreate (All). You can't have 2 events with overlapping prefixes so you have a conflict. If you do need the overlap you have to modify the deployed architecture to fan out the event and filter the message elsewhere. This can be done many ways:

trigger a Lambda function that filters then routes to the appropriate Lambda target
trigger SNS instead and subscribe your 2 lambda functions to it
trigger SNS but use the new event filtering (https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) to subscribe the Lambda functions only to events they care about

IMHO aws-waf-security-automations is a sample implementation and can't really be used as-is. It has many implementation flaws and limitations (some of which are inherited from the WAF itself like limited CIDR support and no support for rule groups). Hopefully it will evolve over time and be restructured into nested templates that are easier to maintain but in its current state it is difficult to merge any change you need with fixes added to the main branch. It is however a great start and provides the basics for a good implementation.

My error

LambdaWAFBadBotParserFunction
1  validation error detected: Value '%%BUCKET_NAME%%-eu-west-1' at  'code.s3Bucket' failed to satisfy constraint: Member must satisfy  regular expression pattern: ^[0-9A-Za-z.-_]*(?<!.)$

We've just pushed a new version. Custom resource now was broken down into small resources and the error messages were reviewed to help you troubleshoot access log bucket configuration problems.
https://github.com/awslabs/aws-waf-security-automations/blob/c7b25b4f9005469f1606e8da19c9704268f0697a/source/custom-resource/custom-resource.py#L50
Thanks!


img download fails for intel edison

Downloading Device OS [===================     ] 80% eta 4m11s
Z_DATA_ERROR: invalid distance too far back

Closing since this definitely looks like a network issue.


Use on demand provisioning for Dynamo instead of autoscaling

Description of changes:
DynamoDb on demand capacity is a much better fit for this use case where most of the time there is zero activity and the rest is short bursts.
I am pretty sure this saves money over paying for provisioned throughput, bringing the cost of the solution well into the free tiers for normal cases.
As you see from the diff it also saves ~340 lines of cloudfromation.
I have been running like this for a couple of days with no issues.
--
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi,
Fully agree, it saves many lines of code and in most common situation costs as well. In our upcoming 1.2 release we already made the changes to switch from auto scaling to on demand provisioning. This version is in preview and we hope to get it soon released through our internal process.

Hi @arieleeuw,
Thanks for sharing, it would be nice if your management understood that it is not cool to do open source development behind closed doors, since it leads to duplicate effort for the community.
If anybody is going to install this before the new release, I would still recommend that they pick up this patch, since it probably saves some money.

1.2 has this


LSTMTrainerTest.DeterminismTest fails on Ubuntu 18.04 clang++-9

See log file for details.
clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
=============================================================
   tesseract 5.0.0-alpha-20201231: unittest/test-suite.log
=============================================================

# TOTAL: 61
# PASS:  60
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

[INFO]  Setup network:2-D-2-layer-lstm
[INFO]  Trainer error rate = 98.258
[INFO]  Setup network:2-D-2-layer-lstm
[INFO]  Trainer error rate = 98.5422
lstm_test.cc:125: Failure
Expected equality of these values:
  lstm_2d_err_a
    Which is: 98.258034
  lstm_2d_err_b
    Which is: 98.542221
lstm_test.cc:126: Failure
Expected equality of these values:
  act_error_a
    Which is: 40.553001
  act_error_b
    Which is: 40.597
lstm_test.cc:127: Failure
Expected equality of these values:
  char_error_a
    Which is: 101.561
  char_error_b
    Which is: 101.648
2 Percent improvement time=797, best error was 100 @ 0

It passes on Ubuntu20.04 when built with clang++10 and on both Ubuntu-18,04 and 20.04 with g++.

See https://github.com/tesseract-ocr/tesseract/runs/1758617327?check_suite_focus=true#step:12:431

See https://github.com/tesseract-ocr/tesseract/runs/1758617327?check_suite_focus=true#step:12:431

Should I tag this as wontfix and close, because it happens only for a certain os and compiler combo?

Should I tag this as wontfix and close, because it happens only for a certain os and compiler combo?

Shree, if the failure will occur in a later clang version please reopen this issue.


Pin ipython

Summary
ipython 8.13 dropped python 3.8 support and causes CI in Qiskit Optimization breakage. See https://github.com/Qiskit/qiskit-optimization/pull/500
This PR pins ipython version and should prevent potential problems.
See also https://github.com/ipython/ipython/pull/14023

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.86%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2539

Relevant Lines:
2764

💛  - Coveralls


🐛 [firebase_analytics] Update package version on firebase_analytics/pubspec.yaml

Bug report
The firebase_analytics code was updated, included docs, but the package version on firebase_analytics/pubspec.yaml wasn't. Now the docs are out of sync with a version available on pub.dev.
Could you update the package version to publish the git repository code version on pub.dev?
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.1 at /Users/shonorio/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (7 weeks ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/shonorio/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /usr/bin/java

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (2 available)
    • iPhone 11 (mobile) • 4ED41F03-7C0D-47A8-9A80-535FF8E0A205 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 95.0.4638.69

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.14.2
Flutter SDK 2.5.1
personal 1.0.0+1

dependencies:
- authentication 0.0.1 [flutter bambam i18n core]
- core 0.0.1 [flutter flutter_modular]
- firebase_analytics 8.3.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta]
- firebase_core 1.8.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- i18n 0.0.1 [flutter flutter_localizations intl]

dev dependencies:
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.8.1 [collection meta]
- bambam 0.0.1 [flutter core]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.15.0
- fake_async 1.2.0 [clock collection]
- firebase 9.0.2 [http http_parser js]
- firebase_analytics_platform_interface 2.0.1 [flutter meta]
- firebase_analytics_web 0.3.0+1 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_modular 4.2.0 [flutter_modular_annotations triple modular_core meta flutter]
- flutter_modular_annotations 0.0.2 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- http 0.13.4 [async http_parser meta path]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- js 0.6.3
- lints 1.0.1
- matcher 0.12.10 [stack_trace]
- meta 1.7.0
- modular_core 1.2.0 [characters meta modular_interfaces]
- modular_interfaces 1.0.4
- path 1.8.0
- plugin_platform_interface 2.0.2 [meta]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- triple 1.3.3 [meta async]
- typed_data 1.3.0 [collection]
- vector_math 2.1.0

@shonorio
The version listed in the plugin's master version of repo points to 8.3.4 matching with the one listed in pub.dev, or am I missing anything ?

@darshankawar ahh, ok, the new version is on prerelease.


release

setting script for auto release. config all git action and testing. then automate release application with version.

Fixed https://github.com/klogic/awesome-calculator/releases/tag/v1.0.10


base image should disable download progress bar

Hi, build logs like
https://hub.docker.com/r/bioconductor/devel_metabolomics2/builds/bohdubxhqdbrqffkjcjsyti/
become difficult to grasp due to excessive noise from download progress bar.
It would be great if there was a global option deactivating that in the base image.
biocLite() uses download.file(). According to ?download.file a progress bar is shown
when in interactive mode. Can be disabled with quiet = TRUE. Yours, Steffen
Yours, Steffen

Why not just disable this in your metabolomics2 docker?  You can add quiet=TRUE to your call in src/metabolomics/install.R.in


Instead of copying character to clipboard, enter it directly

Will be possible once I finish aelve/fake-type.


Add colored background to simulation results

White for 0% probability, red for 100% probability.
Experimental Codepen demonstrating background color. This uses HSL background colors, varying the L value between 50% and 100% for fully red and fully white, respectively. Don't bother trying to use the mix-blend-mode for greater contrast, I couldn't get it to work.

// percentage is of type number - is a decimal between 0 and 1
function percentageToHSL(percentage) {
  const hValue = "0";
  const sValue = "100%";

  const percentagePoints = 100 * percentage;

  // fully white: L=100%
  // fully red: L=50%

  // units: percentage points
  const lDeduction = 0.5 * percentagePoints;

  // units: percentage points
  const rawLValue = 100 - lDeduction;

  const lValue = rawLValue.toFixed(0)

  const hslStr = `hsl(${hValue}, ${sValue}, ${lValue}%)`
  // console.log(hslStr)
  return hslStr;
}


(fix) - select value not set

This is not the ideal fix yet, but it shows what @marvinhagemeister sais, the diffing of props going first makes the value unset.
This solution is not ideal but I don't know what is changed will continue working on it but will leave this as a draft so it can be referenced from the issue to see this works.
I assume this happens because preact strips properties from the native html element and puts them into props, that way we lose the native working of value. Should we propagate value to the native element when it is a select? Slowly discovering the internals so pardon the naive solution atm
EDIT: tried changing to this in diffProps:
else if (name==='value' && isSelect) {
  console.log('setting', name, value);
  dom.setAttribute(name, value);
}

Turns out I was on the wrong track with that one, so it's really the children that have to be evaluated.
Fixes https://github.com/developit/preact/issues/1392

I haven't quite figured out yet why just those two tests are failing but I am getting there.

Coverage decreased (-0.1%) to 99.865% when pulling 48c2594fbddd8d54c825507c8d84e6a8ce03a9ec on JoviDeCroock:fix/select_value_ignored into 8042857c05f65d3078e4786d9030be4951c69104 on developit:master.

This line: https://github.com/developit/preact/pull/1397/files#diff-44070032789f10581d1b70740a2aaacfR271
Is probably redundant now, no?

@JoviDeCroock This is awesome 👍💯 Only had one minor golf idea, but apart from that it's ready to be merged imo 🎉

It includes your PR remark now @marvinhagemeister, still curious about the hydration though.


Keep reporting Kelvin value when adaptive lighting is off

I have scenarios in which I don’t want adaptive lighting to control the temperature of my lights so I disable the adaptive lighting button. The only downside it has is that it doesn’t only stop from controlling the lights but also reporting the kelvin state, which in some cases I’d like to have continuously.
Another solution would be that the integration is allowed to disable brightness / color / sleep at the same time, while adaptive lighting is on, so I can keep adaptive lighting on (brightness and sleep are always disabled in my use case). Now the app doesn’t seem to handle this to well.

Extra info:
This is the error I get in the logging when Adaptice lighting is on, but color/brightness/sleep is off and I turn on a light manually.

This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/adaptive_lighting/switch.py:1217
Integration: Adaptive Lighting
First occurred: 22 May 2021, 11:53:08 (194 occurrences)
Last logged: 10:13:00
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/adaptive_lighting/switch.py", line 1217, in turn_on_off_event_listener
entity_ids = cv.ensure_list_csv(service_data[ATTR_ENTITY_ID])
KeyError: 'entity_id'

I do this via a Default AL instance and don't have any lights controlled by it.

You mean you have multiple AL versions running? Can you elaborate on that? How can I do that? :)

Oh man, I feel pretty stupid.. I was thinking way to complicated (installing the integration twice or something like that) but I found out! Thanks for pointing me in that direction 🙏🏼

Yep, the beauty of this add-on is in multiple instances per unique set of inputs! Cheers! You might close or mark as solution so the developer isn't tracking anymore.


fix(date): call onChange with a null value when the date input is cle…

…ared
Related issue
Reference to the issue
close #1002
Description of the issue
The date input call the onChange prop even when the "clear" native behavior is clicked. The component will send a null value.
Person(s) for reviewing proposed changes
@lilian-delouvy
Important
Before creating a pull request run unit tests
$ npm test

# watch for changes
$ npm test -- --watch

# For a specific file (e.g., in packages/context/__tests__/command.test.js)
$ npm test -- --watch packages/action

Correction mergée au sein de cette PR : https://github.com/AxaFrance/react-toolkit/pull/1173


Add a takeout shell command

Added

Adds a takeout shell {service} command to get a shell inside any container started with Takeout
Fixes the CouchDB not starting. Looks like we now need to pass a user and password config
Fixes the EventStoreDB. The flags that were passed no longer work
Fixes OpenSearch not starting, the security plugin should be disabled by default

closes #348

I've tested it with all the supported containers.

@mattstauffer ready for review again!


rxros: 0.1.0-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rxros to 0.1.0-1:

upstream repository: https://github.com/rosin-project/rxros.git
release repository: https://github.com/rosin-project/rxros-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.8.0
previous version for package: null

rxros
* First release of RxROS.
* Contributors: Henrik Larsen, gavanderhoorn

rxros_tf
* First release of RxROS TF.
* Contributors: Henrik Larsen, gavanderhoorn

@henrik7264 @wasowski: FYI.

Super friendly ping.

Related: #22248.

Thanks.


Upgrade to nan v2.0.5

most changes applied via:
https://gist.github.com/thlorenz/7e9d8ad15566c99fd116
minor manual fixes applied
heap_snapshot.cc: worked around fact that GetUid and GetTitle were
removed from v8-profiler API
heap_profiler.cc: fixed call to TakeHeapSnapshot to no longer pass a
title
using Nan::Persistent instead of v8::Persistent
removing HandleScope from NAN_METHOD`s since they are provided in that
case already

I was able to build directly with node 3.x (integrated v8-profiler source files and used _linkedBinding).
Testing with node-gyp has mixed results.
I'm running: node-pre-gyp reinstall --build-from-source
But with iojs 3.1 I get:
gyp http GET http://nodejs.org/dist/v3.1.0/node-v3.1.0.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ETIMEDOUT <IP_ADDRESS>:80

Maybe I'll try that part later if this is a server issue (not sure).
Similarly for iojs 2.5:
gyp http GET http://nodejs.org/dist/v2.5.0/node-v2.5.0.tar.gz
gyp http 404 http://nodejs.org/dist/v2.5.0/node-v2.5.0.tar.gz
gyp WARN install got an error, rolling back install

With older nodes it at least starts building, but complains about Set method signature, i.e.:
../src/cpu_profiler.cc:80:27: error: no matching member function for call to 'Set'
    info.GetReturnValue().Set(Profile::New(profile));

Hoping for some nan expert like @rvagg or @kkoopa to lend some advice.

Noticing failing tests on travis for older nodes and saw  node-pre-gyp install --fallback-to-build trick to properly run node-gyp.
Will have a look to fix those as soon as I get a chance.

This compiles and tests fine directly against iojs 3.1, but I can't get any to work with node-gyp.
I'm running: node-pre-gyp reinstall --build-from-source
But with iojs 3.1 I get:
gyp: /Users/thlorenz/.node-gyp/3.1.0/common.gypi not found (cwd: /Volumes/d/dev/v8-profiler) while reading includes of binding.gyp while trying to load binding.gyp
gyp

With older nodes it at least starts building, but complains about Set method signature, i.e.:
../src/cpu_profiler.cc:80:27: error: no matching member function for call to 'Set'
    info.GetReturnValue().Set(Profile::New(profile));

Hoping for some nan expert like @rvagg or @ kkoopa to lend some advice.

Please update also .travis.yml and appveyor.yml you can get actual versions from v-debug project

Done (basically just updated the matrix).

Closing in favor of #71 which includes the changes here plus some fixes on top of them to make it really work for all nodes.


chore(semantic release): update config for beta release

This PR solves the following problem**.
This PR adds support for semantic future releases .
Each push to the Beta Branch will trigger the release workflow and check if there is a new release to create. When a release is created, it is tagged as "pre-release". It gets a name like: v2.0.0-beta.1.
Two things still need to be done to create the first beta release:

[ ] rename "v3" to "beta"
[ ] create a commit with a "BREAKING CHANGE" message in it (to trigger the first release)

How to test this PR**.
Not really testable.

I think this is a great idea Felix 🎉 the one thing where I think a little different is that I don’t think we should push to a beta branch, unless one of us explicitly needs to test a pre-release version; if we need to test the packaged calendar, we can merge into the beta branch. But I don’t think that will be the case for every change on the v3 branch :) does that sound OK to you?


trailing commas play badly with clap builder patterns

In this code https://github.com/sourcefrog/conserve/blob/d20687ab5f0e9cd607185e889857e8cd124d106a/src/bin/conserve.rs#L143 for example
                .subcommand(
                    SubCommand::with_name("block")
                        .about("Debug blockdir")
                        .subcommand(
                            SubCommand::with_name("list")
                                .about("List hashes of all blocks in the blockdir")
                                .arg(Arg::with_name("archive").required(true)),
                        )
                        .subcommand(
                            SubCommand::with_name("referenced")
                                .about("List hashes of all blocks referenced by an index")
                                .arg(Arg::with_name("archive").required(true)),
                        ),

There's an outer call to .subcommand() which takes a single parameter made from the SubCommand builder pattern. rustfmt always wants to add a trailing comma, I guess on the principle that I might add another parameter to subcommand() later (which isn't actually possible.)
I guess ideally it would know this is a chain of builder-style function calls, not a list...

This is correct behaviour - we always use trailing commas when arguments cover multiple lines.


refactor: simplify _match

The checks are the same for arg, dtype and uop.

This class would be simpler if these three would have signatures like Optional[Set[DType]], set with 1 element if only one.

can you do a [run_process_replay] in your head commit to check kernels haven't changed?

Replaced by https://github.com/tinygrad/tinygrad/pull/4876


Pack Uri is not work

Describe the bug
The LottieView is not support the pack uri like "pack://siteoforigin,,,/Resources/Lottie/xxx.json".I got blank by this way.
To Reproduce
Steps to reproduce the behavior:

Load the lottieview
The lottieview show blank window

Do we have any update on this? Don't want to expose the json

There are several methods that you could use like SetAnimationAsync or SetAnimationFromJsonAsync to load the file content directly for the moment the pack uri is not supported

Yes. That's what I did
        ``` c#

string imagePath = "[Pack URI]";
StreamResourceInfo imageInfo = System.Windows.Application.GetResourceStream(new Uri(imagePath));
StreamReader sr = new StreamReader(imageInfo.Stream);
var animationJson = sr.ReadToEnd();
sr.Close();
await LottieAnimationView.SetAnimationFromJsonAsync(animationJson, "Spinner");

Any ETA on when it will be supported?

Regards,
Ajay


add import prop @ FileMigrationProvider.

Hey :wave:
This PR allows passing an optional custom import function @ FileMigrationProvider.
e.g. this would allow consumers to pass a function that uses tsImport by tsx to import TS files without the need to precompile them when using Node.js or a similar JavaScript runtime that doesn't have built-in TS file support.
Also adds onDiscarded optional prop, so external tooling can warn users about files that were ignored by the migration provider.
Also extracts file extension check to a protected method - can be overridden to only support TS files by an extending class.
Also adds cjs & cts support.
These changes were inspired by https://github.com/kysely-org/kysely-ctl/blob/main/src/kysely/ts-file-migration-provider.mts , a custom provider implementation in kysely-ctl that only works with TS migration files, on all runtimes.

This would help so much!


Fix API route

Add /API/ for the routes and set the version in the config file

Fix api route #15


snowflake_share doesn't fetch correctly the accounts linked to a share when more than 3 shares

Provider Version
0.25.34
Terraform Version
1.0.3
Describe the bug
snowflake_share doesn't fetch correctly the accounts linked to a share when more than 3 shares
ie :
I have a share "my_share" with 4 accounts (ACCOUNT_1, ACCOUNT_2, ACCOUNT_3, ACCOUNT_4)
terraform state show snowflake_share.my_share

will return something like
resource "snowflake_share" "my_share" {
    accounts = [
        "ACCOUNT_1",
        "ACCOUNT_2",
        "ACCOUNT_3",
        "... (4 TOTAL)",
    ]
...
}

Here we can see that the 4th account is not displayed, instead of the id we have a ...(4 TOTAL) string
Expected behavior
I expect the output to be something like
resource "snowflake_share" "my_share" {
    accounts = [
        "ACCOUNT_1",
        "ACCOUNT_2",
        "ACCOUNT_3",
        "ACCOUNT_4",
    ]
...
}

Code samples and commands
see previous sections
Additional context
In addition to the miss leading output, I think it can have some bad impacts in the synchronization between the terraform state and the 'real' state of snowflake...
The issue might come from the usage of the column to, displayed in the output of the show shares snowflake command.
I had a reply from Snowflake team concerning that

The behavior that you encounter where the 4th (or greater) account in a share's "to" field is not shown is actually a product limitation at the moment, and thus, it is expected behavior. This behavior is documented in the following article:
https://docs.snowflake.com/en/sql-reference/sql/show-shares.html
"The maximum number of accounts displayed in this column is three; however, there is no hard limit on the number of accounts that can be added to a share."

It's possible to get all the accounts from the UI
ie : in the snowsight UI, Data -> Private Sharings -> Shared By My Account, then clicking on a share will list all the account
But for now, I don't know how to access that list in SQL, with snowflake's commands.

Hi, any update on that ?

Me too, I'm having the same issue and I'm running 0.70.0

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.


allow demangling to be disabled

I use compiler explorer to investigate how a range of compilers handle certain code patterns, and one of the things I care about is how they mangle names. Applying a demangler to the assembly output therefore makes the stock Compiler Explorer installation useless to me for this purpose (especially because demangling is lossy).

Thanks! This is a duplicate of #285 but definitely underlines how important this should be. We'll prioritise accordingly.

In case you missed it; we fixed #285 and the update's been pushed to the live site. Thanks again for reporting it!


level 24 stop waves

When I'm playing the 24th level, waves get stuck and no ennemies arrive anymore.
Happened to me once wave 3,  few times wave 4 and once wave 5
I have to return to the menu and resume and the waves start again.

I have had the same problem (next wave doesn't start), with the same workaround (return to me u, the "resume play") in multiple level, and I'm only at level 8.

I was not able to reproduce this. Maybe this has been fixed meanwhile "by accident". If the problem persists, please re-open an issue.


Remove duplicated words

Remove duplicated words in below files:

aws/efs/README.md
snapshot/doc/volume-snapshotting-proposal.md

/assign @wongma7

/lgtm
/approve
thank you

/approve


在unsupervised_TU中出现了bug

Hi @HeSasa,
Probably you need to setup the environment consistent with that in https://github.com/Shen-Lab/GraphCL/tree/master/unsupervised_TU.

Name                    Version
binutils_impl_linux-64    2.36.1
binutils_linux-64         2.36
ca-certificates           2021.10.8
certifi                   2021.10.8
cycler                    0.10.0
decorator                 4.4.2
gcc_impl_linux-64         11.2.0
gcc_linux-64              11.2.0
joblib                    1.1.0
kernel-headers_linux-64   2.6.32
kiwisolver                1.3.1
ld_impl_linux-64          2.36.1
libgcc-devel_linux-64     11.2.0
libgcc-ng                 11.2.0
libgomp                   11.2.0
libsanitizer              11.2.0
libstdcxx-ng              11.2.0
libzlib                   1.2.11
markupsafe                2.0.1
matplotlib                3.3.4
numpy                     1.19.5
openssl                   1.0.2u
pip                       21.3
pyparsing                 2.4.7
python                    3.6.2
python-dateutil           2.8.2
python_abi                3.6
pytz                      2021.3
pyyaml                    5.4.1
rdflib                    5.0.0
readline                  6.2
requests                  2.26.0
scikit-learn              0.24.2
scipy                     1.5.4
seaborn                   0.11.2
setuptools                49.6.0
six                       1.16.0
sqlite                    3.13.0
sysroot_linux-64          2.12
threadpoolctl             3.0.0
tk                        8.5.18
torch                     1.6.0
torch-geometric           2.0.1
torch-scatter             2.0.6
torch-sparse              0.6.9
torchvision               0.7.0
tqdm                      4.62.3
urllib3                   1.26.7
wheel                     0.37.0
xz                        5.2.5
yacs                      0.1.8
zlib                      1.2.11
This is may  environment, and I run "./go.sh 2 TEXT random2".

@HeSasa
Can you run the script in https://github.com/fanyun-sun/InfoGraph/tree/master/unsupervised? Our code base is built on it so wondering whether you can successfully run this.

Hi! I got the same problem. How did you solve it?

Replace line188 and 209 "for key in self.data.keys:" with "for key in self.slices.keys():" in aug.py. For me, this problem can avoided. @ZsZsZs25

Thanks a lot! I'll try it!

@Niuchx Thank you very much!


Write code documentation for backend (final code)

User story

As a developer
I need documented code
So that I easily understand what the code should do

Acceptance criteria

[ ] Javadoc is written for all classes and functions

Definition of done

[ ]     Approved by product owner
[ ]     Code has been peer reviewed and approved
[ ]     No syntax or runtime errors emerged
[ ]     Code has to be included in the release candidate

Redundant


Keep specs up for both phases of kq

Currently def specs only stay up for first phase. Would be nice if it would stay up for both.

Is this still an issue? Based on how the code for this plugin reads now, I don't believe it is.

I confirmed ingame this is no longer a bug, the special counter is not removed after the grounded form dies, but is removed after the flying phase dies.


Java version detected as 0

$ javac -version
javac 11.0.3
$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.3+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.3+7, mixed mode)

From bin/checkconf:
    "$JAVAC_EXE" -version 2> javac.ver
    JAVAC_REAL_VERSION=`cat javac.ver | grep "javac" | head -1 | awk '{ print $2 }'`
    JAVAC_VERSION=`echo $JAVAC_REAL_VERSION | awk -F'.' '{ print $1"."$2 }' | sed -e 's;\.;0;g'`
    rm -f javac.ver

Using 2> redirects standard error only, resulting in an empty file, leading to a version number of 0, which is less than 106.
Workaround:
Change 2> to &> and it will work for both stderr and stdout.
sed -i 's/version 2> /version \&> /' bin/checkconf

Dear Deve,
Thank you for your comment. I really appreciate your suggestion. We will test this case and consider your workaround if it is required.
With best regards,
Vivek K Pandey
Solutions Architect
ADLINK Technology, SAT


Factor out booster building process, run haskell pyk proofs on booster too

This PR factors out the booster building process to amke it easier to use the booster for normal haskell proofs too.
In particular:

Several fields of Foundry are added to so we aren't recomputing them in multiple places, including Foundry.digest_file, Foundry.kompiled, Foundry.main_file, and Foundry.llvm_library.
A new KompileTarget called HASKELL_BOOSTER is added.
kevm_kompile is updated to handle KompileTarget.HASKELL_BOOSTER directly, compiling both the LLVM shared library and the haskell backend definition in parallel for that option.
The foundry_kompile command is updated to use this new logic for compiling the booster, removing the special logic for calling kompile twice there. By default we just kompile both backends every time, even if we're not using the booster.
We enable kompiling with the booster on normal haskell builds with kevm kompile --target booster. Similarly, we enable kevm prove --use-booster ....
The normal haskell proofs that work with the pyk RPC prover are also run with the haskell booster, and are enabled on CI.
The mcd proofs are updated to be compiled correctly with LLVM library mode, and a list of tests that are failing with the booster is added.

CI checks need to be updated prior to merge.


tryAggregate fails when there's an error decoding.

I'm trying to get a list of tokens for a user's wallet, and there's a contract that is likely malformed. The blockchain call works, but when multicall tries to decode with the ABI (symbol, balanceOf, name, decimals, totalSupply) it fails w/ a data out of bounds error:
Error: data out-of-bounds (length=0, offset=32, code=BUFFER_OVERRUN, version=abi/5.5.0)
If we just wrapped the ABI decode portion of multicall.js with a try/catch, we could still get the expected behavior of aggregation despite what happens during calls to the network and decoding.
Here's the token (it's a Uniswap v2 LP token):
https://etherscan.io/token/0xfb072e4dE3719E84503b3fB303173Dd6D29aB472#readContract
When I call the same methods manually they work

Yoo sorry been on holiday and thanks for rains the issue… can you dump a working example here so I can quickly recreate without constructing myself. A general try catch on the decode probably won’t make sense for every situation so before I do anything like that would like to test the way it fails out.

https://github.com/joshstevens19/ethereum-multicall/pull/32

will be deployed later today


[Docs] Document RAG context docs with dotpropmt

I tried to attach docs retrieved via a retriever to a dotprompt-managed prompt:
    const itineraryPrompt = ai.prompt('itinerary');
    const { text } = await itineraryPrompt(
      {
        search_query: search_query,
      },
       { docs }
    );

and the docs did not attach to the rendered prompt sent to the model.
I was generally following the advice at https://firebase.google.com/docs/genkit/rag, but there was no dotprompt-specific example.  I tried several configurations, and none of them rendered the docs, so I switched to an inline prompt as shown in the documentation, but this is less than ideal.  I'd like to see this example on both the RAG and dotprompt pages.

We are having this same issue - we have no idea how we're supposed to include context in the docs or how to use messages when using dotprompt, as there are no suggestions in the documentation, and they don't get added to the rendered prompt. Seems like maybe the messages issue was fixed in a later release, but the formats issue https://github.com/firebase/genkit/issues/1481 prevents us from upgrading.


Trailing whitespaces not stripped

If we run mistune with HTMLRenderer, and if the input contains trailing whitespace in some lines, then they should automatically be stripped and handled. Currently mistune crashes with list index out of bounds error.

It was fixed by https://github.com/lepture/mistune/commit/f9be399b4871ee7f15f55fcba280a58bd65d13b2
I'll make a new release soon.

v2.0.0a3 was released


Cache aliases to speed up subsequent calls and add support to Fish functions

@nvbn What do you think?

Thanks!


Display tokens that an account has issued in the "Assets" tab

Example: https://livenet.xrpl.org/accounts/rJ1adrpGS3xsnQMb9Cw54tWJVFPuSdZHK/assets
This account has issued CNY, which shows up in the currency toggle but not in the list of issued tokens it holds.
This should be resolved by either showing the currencies it has issued or by displaying the currencies it has issued elsewhere.

@julian78780  ping: There is already a ticket for the issue that we recently discussed.


Failed starting Clojure REPL with (cl-no-applicable-method map-into (("right-margin" 80)) hash-table)

What did you expect to happen?
I expected the Clojure REPL to start.
What actually happened?
This error occurs:
[nREPL] Starting server via /usr/local/bin/lein update-in :dependencies conj \[nrepl/nrepl\ \"0.9.0-beta2\"\] -- update-in :plugins conj \[refactor-nrepl/refactor-nrepl\ \"2.5.1\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.26.0\"\] -- repl :headless :host localhost
[nREPL] server started on 54225
[nREPL] Establishing direct connection to localhost:54225 ...
[nREPL] Direct connection to localhost:54225 established
error in process filter: condition-case: Error in a Doom startup hook: nrepl-connected-hook, cider--connected-handler, (cl-no-applicable-method map-into (("right-margin" 80)) hash-table)
error in process filter: Error in a Doom startup hook: nrepl-connected-hook, cider--connected-handler, (cl-no-applicable-method map-into (("right-margin" 80)) hash-table)

Where the key bit is:
(cl-no-applicable-method map-into (("right-margin" 80)) hash-table)

The REPL seems to be running as a process but Emacs fails to connect to it. The REPL buffer comes up but it doesn't get a prompt, just the help info.
Describe your attempts to resolve the issue
Pinning map.el as shown here fixes the issue: https://github.com/clojure-emacs/cider/issues/3029
Steps to reproduce
Open a clojure project, run cider-jack-in, watch it explode.
System Information
https://gist.github.com/corasaurus-hex/ba221bc0e10e1263ff777b4f4bb6c33c

To summarize: this issue is caused by a breaking change to the built-in map.el library on Emacs HEAD. This was fixed yesterday (Sep 30) in https://github.com/emacs-mirror/emacs/commit/fa92b040c6738de7278605cadeace0c5380a0814#diff-e2aadb776098a00d60447b016004e2321d908600dda301609371e9b10678f7fd.
Since this is an issue with Emacs 28 on HEAD, and not with Cider, I'm inclined to wait this out and allow it to resolve itself. I'll keep this open for at least a month in the meantime.

The workaround for this (as mentioned) is:
;; add to ~/.doom.d/packages.el
(package! map :pin "bb50dbaafc0f71743bd9ffd5784258a9fd682c20")

Then run doom sync -u and restart Emacs.

I was encountering a similar error when I tried to cider-connect to a local nrepl-server:
condition-case: Error in a Doom startup hook: nrepl-connected-hook, cider--connected-handler, (cl-no-applicable-method map-into (("nrepl.middleware.print/stream?" "1")) (hash-table :test equal))

Pinning map worked for me! (after I restarted Emacs)

I was getting this error as well:
Error (nrepl-connected-hook): Error running hook "cider--connected-handler" because: (cl-no-applicable-method map-into ((nrepl.middleware.print/stream? 1)) (hash-table :test equal))

like @tjefferson08, pinning map worked for me.

Now that 28.1 is out and stable, is this still an issue?

I can't recreate this issue anymore. I'm not pinning any packages in ~/.doom.d/packages.el either.
generated    May 04, 2022 09:12:13
system       MacOS 12.1 Darwin 21.2.0 arm64 ns
emacs        28.1 ~/.emacs.d/ -> ~/.emacs.d/
doom         3.0.0-dev HEAD -> master f51a2cdd3 2022-04-18 18:14:16 +0200 ~/.doom.d/ -> ~/.doom.d/
shell        /bin/zsh
features     ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB
traits       gui server-running envvar-file
modules      :completion company helm :ui doom doom-quit (&nopath fill-column) hl-todo indent-guides modeline nav-flash neotree ophints (popup +all +defaults) unicode vc-gutter window-select workspaces :checkers grammar syntax (spell +flyspell +aspell) :editor god file-templates fold format lispy multiple-cursors rotate-text snippets :emacs (dired +icons) electric undo vc :term eshell shell :tools debugger docker editorconfig eval gist (lookup +docsets) lsp (magit +forge) make pass pdf terraform :lang (clojure +lsp) data emacs-lisp (javascript +lsp) (markdown +grip) (org +brain +dragndrop +gnuplot +ipython +pandoc +pomodoro +present) plantuml rest (scheme +racket) sh web (yaml +lsp) :app calendar :config (default +bindings +smartparens)
packages     (chess) (cider-eval-sexp-fu) (clipmon) (edit-server) (esup) (eval-sexp-fu) (feature-mode) (ghub) (god-mode) (helm-ls-git) (highlight-sexp) (k8s-mode) (kubernetes) (magit-delta) (nov) (powershell) (flycheck-joker :disable t) (org-superstar :disable t) (forge :disable t)