[BUG] Recent versions no longer set audit data when saving multiple entities with partition keys

Describe the bug
There seems to be a regression between 3.18 and 3.42. I believe it also exists in the latest 5.x version.
In 3.18, SimpleCosmosRepository.saveAll():
public <S extends T> Iterable<S> saveAll(Iterable<S> entities) {
        Assert.notNull(entities, "Iterable entities should not be null");

        final List<S> savedEntities = new ArrayList<>();
        entities.forEach(entity -> {
            final S savedEntity = this.save(entity);
            savedEntities.add(savedEntity);
        });

        return savedEntities;
    }

By calling save() on each entity of the Iterable passed, any auditing information was filled in (ie, @CreatedBy, @LastModifiedBy, etc).
But in 3.48:
public <S extends T> Iterable<S> saveAll(Iterable<S> entities) {
        Assert.notNull(entities, "Iterable entities should not be null");

        if (information.getPartitionKeyFieldName() != null) {
            return operation.insertAll(this.information, entities);
        } else {
            final List<S> savedEntities = new ArrayList<>();
            entities.forEach(entity -> {
                final S savedEntity = this.save(entity);
                savedEntities.add(savedEntity);
            });

            return savedEntities;
        }
    }

If there's a partition key, operation.insertAll(this.information, entities) does not add auditing information.
To Reproduce
See https://github.com/Blackbaud-JasonBodnar/cosmos-sql-bug/blob/v5.x/src/test/groovy/com/example/cosmossqlbug/TestEntityRepositorySpec.groovy#L28
Code Snippet
public <S extends T> Iterable<S> saveAll(Iterable<S> entities) {
        Assert.notNull(entities, "Iterable entities should not be null");

        if (information.getPartitionKeyFieldName() != null) {
            return operation.insertAll(this.information, entities);
        } else {
            final List<S> savedEntities = new ArrayList<>();
            entities.forEach(entity -> {
                final S savedEntity = this.save(entity);
                savedEntities.add(savedEntity);
            });

            return savedEntities;
        }
    }

Expected behavior
Any annotated fields will be populated with audit data.
Setup (please complete the following information):

Library/Libraries: com.azure:azure-spring-data-cosmos:3.42.0
Java version: 17
Frameworks: Springboot

Additional context
Originally reported when trying to find a solution for https://github.com/Azure/azure-sdk-for-java/issues/38691 but it should be its own bug.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

thanks @Blackbaud-JasonBodnar for creating this issue. @trande4884 can you please work on it? Seems like related to our bulk implementation for saveAll().
Similar issue might be happening for deleteAll() and findAll as well if we have bulk implementations for those as well.

@kushagraThapar , @trande4884 : Any updates on this bug?


Fix compiler warnings in HTML5 platform

Fix warnings that fastcomp clang 6.0.1 reports with -Wall in files in platform/javascript.

Thanks!

Now that Godot 3.1 has been released, we don't plan to cherry-pick new features and enhancements to the 3.0 branch, unless there is very strong support in favor of it. Removing cherrypick label for 3.0.


Inconsistent option help style between our command line tools.

dnst command help uses lowercase single words to document command line options, while dnsi uses SNAKE_CASE.
One of our older more mature Rust products, Routinator, also uses the lowercase single word option style.
We should decide if we want consistency and if so with what? With our own Rust tools? With our earlier non-Rust tools? With other tools in the ecosystem?
Switching to lowercase single word option style for dnsi would at least make dnsi, dnst and routinator consistent with each other, but I note that even our RPKI tooling is not consistent as rtrtr uses UPPERCASE single word option style while krill and krillcuse lowercase single word option style (with the exception of URI).

Historical Unix seems to be single word in lowercase. Unbound has only one option with an argument and it is listed as a lowercase word. NSD has plenty of options with arguments. In some cases a hyphen is used as in 'server-count'.


Error in building using the release or from source - build failure

Describe the bug
An error is encountered in building from source or the release. Spark version 3.4.3, JDK 22.0.1, Apple Silicon

Steps to reproduce
Followed the installation instructions - https://datafusion.apache.org/comet/user-guide/installation.html
Expected behavior
No response
Additional context
No response

Spark 3.4 only supports Java 8, 11, and 17. Could you try with 17?

Thanks! that worked, might be helpful to update the documentation.


build curl failed

with Windows 7 SP1
C:\work\develop\vcpkg>.\vcpkg.exe install curl
The following packages will be built and installed:
    curl[core,ssl]:x86-windows
Starting package 1/1: curl:x86-windows
Building package curl[core,ssl]:x86-windows...
-- Using cached C:/work/develop/vcpkg/downloads/curl-curl-curl-7_61_0.tar.gz
-- Using source at C:/work/develop/vcpkg/buildtrees/curl/src/url-7_61_0-ab3bc84432
-- Configuring x86-windows
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:175 (message):
    Command failed: C:/Program Files/CMake/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;-v;-j1
    Working Directory: C:/work/develop/vcpkg/buildtrees/curl/x86-windows-dbg
    See logs for more information:
      C:\work\develop\vcpkg\buildtrees\curl\install-x86-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/curl/portfile.cmake:90 (vcpkg_install_cmake)
  scripts/ports.cmake:71 (include)

Error: Building package curl:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: curl:x86-windows
  Vcpkg version: 0.0.113-nohash

Additionally, attach any relevant sections from the log files above.

and install-x86-windows-dbg-out.log:
   Creating library lib\libcurl-d_imp.lib and object lib\libcurl-d_imp.exp
openssl.c.obj : error LNK2019: unresolved external symbol _sk_num referenced in function _cert_stuff
openssl.c.obj : error LNK2019: unresolved external symbol _sk_value referenced in function _verifyhost
openssl.c.obj : error LNK2019: unresolved external symbol _sk_pop_free referenced in function _cert_stuff
openssl.c.obj : error LNK2019: unresolved external symbol _sk_pop referenced in function _cert_stuff
openssl.c.obj : error LNK2019: unresolved external symbol _SSLeay referenced in function _ossl_connect_common
openssl.c.obj : error LNK2019: unresolved external symbol _EVP_MD_CTX_create referenced in function _ossl_connect_common
openssl.c.obj : error LNK2019: unresolved external symbol _EVP_MD_CTX_destroy referenced in function _ossl_connect_common
openssl.c.obj : error LNK2019: unresolved external symbol _OPENSSL_add_all_algorithms_noconf referenced in function _x509_name_oneline
openssl.c.obj : error LNK2019: unresolved external symbol _EVP_cleanup referenced in function _x509_name_oneline
openssl.c.obj : error LNK2019: unresolved external symbol _SSL_load_error_strings referenced in function _x509_name_oneline
openssl.c.obj : error LNK2019: unresolved external symbol _SSLv3_client_method referenced in function _ossl_connect_step1
openssl.c.obj : error LNK2019: unresolved external symbol _SSLv23_client_method referenced in function _ossl_connect_step1
openssl.c.obj : error LNK2019: unresolved external symbol _SSL_library_init referenced in function _x509_name_oneline
openssl.c.obj : error LNK2019: unresolved external symbol _SSL_COMP_free_compression_methods referenced in function _x509_name_oneline
openssl.c.obj : error LNK2019: unresolved external symbol _CONF_modules_free referenced in function _x509_name_oneline
openssl.c.obj : error LNK2019: unresolved external symbol _ERR_free_strings referenced in function _x509_name_oneline
lib\libcurl-d.dll : fatal error LNK1120: 16 unresolved externals
ninja: build stopped: subcommand failed.

full log attach
      C:\work\develop\vcpkg\buildtrees\curl\install-x86-windows-dbg-out.log

install-x86-windows-dbg-out.log

seems same as #4189, use wrong openssl path

Remove env variable OPENSSL_CONF, OPENSSL_INC and OPENSSL_LIB, but it still use the wrong openssl libraries, I don't want to remove my previous openssl version.

@morris-stock
these libraries do not have the necessary functions referenced by link
C:\work\develop\openssl\win32\lib\VC\libssl32MDd.lib C:\work\develop\openssl\win32\lib\VC\libcrypto32MDd.lib

Probably should add option in FindOpenSSL.cmake to use alternative version of OpenSSL. Close it now.


Fix groovy multivariable declaration

What's changed?

When parsing multivariable declarations now takes into account that no traditional identifier is available for any variable after the first
What's your motivation?

https://github.com/openrewrite/rewrite/issues/4748

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

@timtebeek @jevanlingen @sambsnyd @knutwannheden
Have you considered any alternatives or workarounds?

Any additional context

The Groovy AST returns multivariable declarations as separate DeclarationExpressions within a block. Therefore we cannot easily map them to J.VariableDeclarations
Checklist

[x] I've added unit tests to cover both positive and negative cases
[x] I've read and applied the recipe conventions and best practices
[x] I've used the IntelliJ IDEA auto-formatter on affected files

Saving others a click with the failures seen: https://ge.openrewrite.org/s/nr7naekjegaas/tests/overview?outcome=FAILED
wildcardWithUpperBound()
diamondOperator()
singleVariableDeclarationStaticallyTyped()
wildcardWithLowerBound()
genericMaps()
First one fails with
org.opentest4j.AssertionFailedError: [When parsing and printing the source code back to text without modifications, the printed source didn't match the original source code. This means there is a bug in the parser implementation itself. Please open an issue to report this, providing a sample of the code that generated this error for "file.groovy":

diff --git a/file.groovy b/file.groovy
index 3861186..ac7fbf9 100644
--- a/file.groovy
+++ b/file.groovy
@@ -1 +1 @@
-List<? extends String> l
\ No newline at end of file
+List<?< extends String> l
\ No newline at end of file

expected: "List<? extends String> l"
 but was: "List<?< extends String> l"

I simplified a little too far, reverted that partially and now they work (locally)

One remaining failure it seems in org.openrewrite.groovy.tree.AssignmentTest/simpleWithFinal()
java.lang.AssertionError: Source file was parsed into an LST that contains non-whitespace characters in its whitespace. This is indicative of a bug in the parser.
final~~(non-whitespace)~~> def <~~x = "s"

I think we should be able to proceed with this. Is it difficult to solve this without the MultiVariable marker?

I haven't looked into it too much yet but I'd imagine somewhere after this block: https://github.com/openrewrite/rewrite/blob/d4494909e99fbcad0e884a0f5b418bfac532d74f/rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyParserVisitor.java#L203-L214 we have the required context to sweep consecutive VariableDeclarations together


Can't update application with app-only permissions

I obtained a token as an application using app-only scopes. The token has required permissions:
aud: "https://graph.windows.net/",
roles: [
  "Directory.Read.All",
  "Directory.ReadWrite.All",
  "Application.ReadWrite.OwnedBy",
  "Application.ReadWrite.All"
 ],

Then I tried to set replyUrls for this application. However, the following request failed with 403:
	_, err = appclient.Patch(*app.ObjectID, graphrbac.ApplicationUpdateParameters{
		ReplyUrls: &replyUrls,
	})

I understand that this problem doesn't relate directly to Go SDK but I can't find another place to ask.

In general, please post questions about Azure AD (Graph) to Stackoverflow, with tags of [azure-active-directory] and [microsoftgraph].  That's the best place to get help on Azure AD, Azure AD Graph, and Microsoft Graph.

Closing this issue since stack overflow is the best place to send questions about AAD.


goog.string.trim remove BOM too.

I see that the code uses:
return str.replace(/^[\s\xa0]+|[\s\xa0]+$/g, '');
shouldn't we remove the BOM too as they are useless in utf-8:
return str.replace(/^[\s\uFEFF\u00A0]+|[\s\uFEFF\u00A0]+$/g, '');

Seems reasonable enough at first glance. I'm having trouble finding useful references describing potential issues stripping BOM. If you want to create a PR, we can test it out internally.

This issue is being closed as a preparation step before archiving the repository.  See the README for more detail.


Exception will be thrown when an unexceptional order is created.

The order's container_subtype_id is null, e.g. order_id is 97.

Loading type is 1.

It could cause this issue that the long duration of getting container subtypes' data through AJAX is longer than the one of saving order.

The problem had been improved, however is going to be verified in the online system.

We've selected an alternative solution, get rid of ajax for getting container subtype.


TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.

I am trying to use the library in SolidStart. I keep on getting this error:
(home).tsx:13 TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
    at getComputedStyle (floating-ui.utils.dom.mjs?v=ec75b833:72:29)
    at isOverflowElement (floating-ui.utils.dom.mjs?v=ec75b833:40:7)
    at getOverflowAncestors (floating-ui.utils.dom.mjs?v=ec75b833:123:55)
    at Object.autoUpdate [as whileElementsMounted] (floating-ui.dom.mjs?v=ec75b833:526:75)
    at Object.fn (index.mjs?v=ec75b833:71:33)
    at runComputation (chunk-RPEO2QY4.js?v=ec75b833:707:22)
    at updateComputation (chunk-RPEO2QY4.js?v=ec75b833:689:3)
    at runTop (chunk-RPEO2QY4.js?v=ec75b833:798:7)
    at runUserEffects (chunk-RPEO2QY4.js?v=ec75b833:907:36)
    at chunk-RPEO2QY4.js?v=ec75b833:865:34

I also had this. Seems like, after a lot of debugging, this is being caused because the ref is set before the element is actually inserted into the DOM which causes floating-ui to not find its parent's computed styles.

I also had this. Seems like, after a lot of debugging, this is being caused because the ref is set before the element is actually inserted into the DOM which causes floating-ui to not find its parent's computed styles.

Could you fix it? @gabrielmfern

@itsyoboieltr Here's a link for the support thread on Discord that others from the community helped me in fixing it
https://discord.com/channels/722131463138705510/1215409288030330972

@itsyoboieltr Here's a link for the support thread on Discord that others from the community helped me in fixing it
https://discord.com/channels/722131463138705510/1215409288030330972

I can't open this link, can you show me the code to let me known how to fix it?

@beoxgame it's a bit of a long thread, the error might have a lot of causes, but in my situation it was my code rendering twice due to a bundler of mine. You need Discord installed for the link to work, it was inside of Solid's Discord server.

@beoxgame it's a bit of a long thread, the error might have a lot of causes, but in my situation it was my code rendering twice due to a bundler of mine. You need Discord installed for the link to work, it was inside of Solid's Discord server.

thx, after joined solid's channel, the link is working fine.


[webportal] Update token API

Coverage remained the same at 34.484% when pulling 04ca510cfe29f82bbea7673d3868d3a7f3e24904 on yiyi/webportal_update_token_api into c4f2e23958939d771873692ceb50ef1e3e7125cc on master.


[BUG] PerfManager and NotificationManager are not exported in AISKU

PerfManager and NotificationManager are not exported in AISKU

OS/Browser:
SDK Version [e.g. 22]: 2.5.8

What is AISKU?

To answer your question
AISKU = Application Insights Stock Keeping Unit (SKU)
Where we have the SKU's as a default collection of components, which is what is also uploaded to the CDN as ai.2.min.js etc.

Closing as 2.5.9 is now completely deployed to NPM and all CDN ednpoints


CollisionObject2D _input_event don't emitted then scene has a canvas layer node

Godot version:

3.2.3.stable
OS/device including version:

GLES2, Ubuntu 20.04 LTS
Issue description:

See title.
Steps to reproduce:

Create some scene with CollisionObject2D with pickable option.
Add CanvasLayer and some Controls as childs.
Create script that print something to console when _input_event emitted and attach to scene at first step.
Run project and try click the CollisionObject2D. Nothing in console.

Minimal reproduction project:

Del Me.zip

Closing, because, as explained by @Zireael07 and @YeldhamDev, this is by design.
If you don't want the Control to intercept the mouse events, you can disable it through the mouse_filter property.


Create new logo

At this moment Camellia has customized ugly logo taken somewhere from Internet. The project needs new authentic and qualitative logo.
Its requirements:

It should be SVG.
Should look good at lowest resolution 16x16 (as favicon) and up to 512x512.
May be colored, but it should also look good if filled with only white or only black colors.

Logo will be used as favicon, as extension icon, somewhere in Camellia interface and in promo materials.
I have no skills and ideas to create such logo, so I am looking for someone who has ideas and who can help.

@idlist created a new icon ❤
Closing the issue.


Improve Coding Style

The goal of this PR is to improve the code quality by respecting the PSR and YODA style.

I see your good intentions in this, but I will not merge it.  Makes no more sense to use them everywhere. Only use them in edge cases, when you can't really say which type the argument will be.


documentation missing for minimum setup

I included Openlayers in my homepage 12 years ago. I didn't need to install anything, or put any files on my website. I only included:

That's it. A few lines on my web page, and the map was in.
Now, when I open www.openlayers.org and click the "Quick Start" link, I get to read that "The development setup uses Node (14 or higher) and requires that you have git installed." That's strange. Do I need the development setup? If not, why is it mentioned on the "quick start" page? A "quick start" page is supposed to be for dummies, not for contributors to the openlayers project who need git to exchange latest file versions with other developers.
The next line says: "The easiest way to start building a project with OpenLayers is to run npm create ol-app". This is where I get lost. I have no idea what npm is. Why isn't that explained? Why do I need to do this? How can that be the "easiest way"? Why can't I just include

@fkv1 Sorry you're having trouble getting started with OpenLayers. The Web development and JavaScript world has changed a lot in the past 12 years, and our quick start guide reflects these changes. However, it is still possible to do what you describe, but it is not an ideal setup for a production website:
<!DOCTYPE html>

    <title>OpenLayers Map</title>
    <link rel="stylesheet"<EMAIL_ADDRESS>

Now to figure out namespaces like ol.layer.Tile, just go to the API docs of the desired component, and look for the line that says import TileLayer from 'ol/layer/Tile.js'; Then your namespace will be the / replaces with ., and without the .js extension. So ol.layer.Tile.
Please understand that the target audience for our quick start guide are JavaScript developers, who probably would not be amused when we address them as "NodeJS nerds" like you suggest. However, if you'd like to see the above instructions on the web site, feel free to create a pull request that adds a "Using the full build" section on https://github.com/openlayers/openlayers/blob/main/site/src/doc/quickstart.md.


Minor Fixes

Minor fixes for permalink and also for some of  the fixups from the previous live review.


CI/CD: Doxygen documentation generation

CI/CD: Continuous integration, continuous deployment.
In /docs, each person uses doxygen to build a bunch of HTML files. What if, we build a server (we have a website where anyone can go to) that builds and displays the HTML files? Then, folks don't have to install doxygen and build locally themselves and they just go to that website.
Furthermore, we can demand the server to rebuild the diagrams everytime a commit to main is detected.
This is advanced CI/CD stuff, proceed if you want to really learn about build systems and how to open source code!

Things to look into

Github actions
Are there deployment (giving a server computer HTML files that the server computer hosts and displays) options from Github? If not, look into netlify, it has nice CI/CD set up with Github

Some potential helpers:
https://github.com/GDC-WM/2DGame2021/actions/new
https://stackoverflow.com/questions/61142433/automatic-c-documentation-generation-on-gitlab-project-using-doxygen


Pass query params on redirect non login user to login page

What this PR does / why we need it:
Before
https://user-images.githubusercontent.com/32532742/138022668-22584019-bac7-4091-96e2-3fd19e55d850.mp4
After
https://user-images.githubusercontent.com/32532742/138022704-229d599c-f11a-4ee4-a91a-3767f916d4a2.mp4
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Nice
/lgtm

Great!
/approve


Macro inside join.

Hi, I have a issue that I don't be sure if it is a bug or not...
I have this code, legacy from rails, that works:
def lasts_of(parent, ids) do
  from c in Comment,
  join: r in fragment("select *, rank() over (PARTITION by commentable_id, commentable_type order by id desc) as rank from comments where commentable_type = ? and commentable_id = ANY(?)", ^parent, ^ids),
  where: r.rank <= 4,
  order_by: [asc: c.commentable_id, asc: r.rank]
end

When I try to convert this join to a macro, I receive a strange error:
# macro, on another module
defmacro by_rank(parent, ids) do
  quote do
    fragment(
      "select *, rank() over (PARTITION by commentable_id, commentable_type order by id desc) as rank from comments where commentable_type = ? and commentable_id = ANY(?)",
      unquote(parent), unquote(ids)
    )
  end
end

# on my model
def lasts_of(parent, ids) do
  from c in Comment,
  join: r in by_rank(^parent, ^ids),
  where: r.rank <= 4,
  order_by: [asc: c.commentable_id, asc: r.rank]
end

When I try to compile it, I receve this error:
== Compilation error on file web/models/comment.ex ==
** (Ecto.Query.CompileError) malformed join `by_rank(^parent, ^ids)` in query expression
    lib/ecto/query.ex:467: Ecto.Query.from/5
    expanding macro: Ecto.Query.from/2
    web/models/comment.ex:39: MyApp.Comment.lasts_of2/3
    (elixir) lib/kernel/parallel_compiler.ex:116: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1

is this expected behavior? I can use other macros in "where"  with no issue...

wow, that was fast... thanks a lot!


"Hit" report should reflect "Remove from hit list" in the HTML

Removed stuff should be grayed out.

Done


Empty nav__title

Hey. I am using minimal-mistakes "4.16.4".
Please tell me if the behavior of jekyll-toc has been fixed in new versions?
I mean, if the table of contents is empty, then you don't need to output an empty nav__title.

I know that I can just turn off the toc: true option, but it would be very convenient to specify in _config.yml so that toc: true is always present, but if it is empty, then do not show it.
Is it possible?
I like Minimal Mistakes more and more ;)

Just a quick note: You can always specify toc: false in the front matter of individual pages, which will override the "global" setting in _config.yml.

it would be very convenient to specify in _config.yml so that toc: true is always present

You can use Jekyll's front matter defaults setting to configure toc; true for all. Then as @iBug suggested on the pages you want it disabled add toc: false.

Ok, I know this, I thought that you can not automatically show an empty nav__title if there are no subheadings

Doesn't work that way. The nav title doesn't know if the page has subheadings or not that are used by jekyll-toc. Unfortunately you need to manually turn it on or off.


How to create a new RAG

I am new to aichat. Would very much appreciate your inputs about how to add an embedding model for using the RAG in aichat. Many thanks!

.rag <name>

https://github.com/sigoden/aichat/wiki/RAG-Guide

For those stumbling into this from the future: you need to provide two asterixes in order to input the wildcard. I.e., you want to add all files from /folder, then you need to input /folder/** when building the RAG.


ibverbs layer does not provide 16 byte alignment

Original issue: https://charm.cs.illinois.edu/redmine/issues/461

If using ibverbs, chunkheader and other headers following it are not 16 bytes aligned.

Original date: 2014-04-10 22:48:07

Lukasz has put in a fix in gerrit for it http://charm.cs.uiuc.edu/gerrit/#/c/167/
This fixes the issues for all but one case - when the requested allocation is < 120 bytes. Internal ibverbs pools starts at 120 bytes resulting in 8 byte alignment only.

Original date: 2014-04-15 23:36:15

Fixed up the small message case and the case of standalone runs (that don't use the pool, because they don't need registered memory).

Original author: Lukasz Wesolowski
Original date: 2014-04-27 22:49:22

As reported by Phil, alignment test is now passing in ibverbs for both large and small messages. Closing the issue.


Updated Release

###Description of Issue/Question
Release update coming? Over 5 years now??
Did you follow the steps from https://github.com/napalm-automation/napalm#faq

[x] Yes
[ ] No

It looks like there was at least one beneficial update merged in. Can this get updated to Pypi?

@awlx Are you willing to do this?
If not do you care if @jvanderaa does this?
Regards, Kirk

I am pretty low on time at the moment sadly and don't use Fortios napalm myself anymore. So would be better if someone does it who can actually test and maintain.

I don't have much experience with Fortinet in general, I've done some. But I can help keep things progressing.

looks like the main dependency is no longer maintained:
https://github.com/spotify/pyfg

Yeah, that looks like there needs to be some major rework on this to get working.


how do I update "T_MAX_CALCULATION" and  "T_MAX_OUTPUT" ?

I am trying to build a model, however for each model point set, the T_MAX_CALCULATION" is calculated from the model point. Any idea on how to achieve this?
e.g main = ModelPointSet(data=pd.DataFrame(
{
'id': [1, 2, 3],
'x':[400,455,500],
'y':[4,5,7]
}
))
for id==1, T_MAX_CALCULATION,T_MAX_OUTPUT=x+y
.Thank you

Hi @DanielBayo ,
these two settings (T_MAX_CALCULATION and T_MAX_OUTPUT) are constant across all model points.
If you need shorter calculation for certain model points,  you can incorporate this logic into the model.
For example:
model.py
@variable()
def foo(t):
    if t > main.get("x") + main.get("y"):
        return 0
    else:
        pass # your logic here

Hope this helps!

@zchmielewska. Thank you, it does. Thanks for the help.

.


Get-PSRule does not specify the cause of the error

Powershell version 5.1 , Windows 10 1803
PSRule version 0.7.0
With this wrong rule file:
$Path='C:\temp'
$File='Test.Rule.ps1'
@'
Rule {}
'@ >"$Path\$File"

cd $path
get-psrule

I get an exception (it is correct):
get-psrule : Impossible de lier l'argument au paramètre « Name », car il s'agit d'une chaîne vide.
Au caractère Ligne:1 : 1
+ get-psrule
+ ~~~~~~~~~~
    + CategoryInfo          : InvalidData : (:) [Get-PSRule], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Get-PSRule

But as beginner I dont known if the error is raised by the cmdlet Get-PSRule or one rule file.
$error[0].exception.CommandInvocation|select *

MyCommand             : New-RuleDefinition
BoundParameters       : {}
UnboundArguments      : {}
ScriptLineNumber      : 1
OffsetInLine          : 1
HistoryId             : 1
ScriptName            : C:\temp\Test.Rule.ps1
Line                  : Rule {}

PositionMessage       : Au caractère C:\temp\Test.Rule.ps1:1 : 1
                        + Rule {}
                        + ~~~~~~~
PSScriptRoot          : C:\temp
PSCommandPath         : C:\temp\Test.Rule.ps1
InvocationName        : Rule
PipelineLength        : 1
PipelinePosition      : 1
ExpectingInput        : False
CommandOrigin         : Internal
DisplayScriptPosition :

Same remark here:
cd ..\PSRule-master\tests\PSRule.Tests
get-psrule
get-psrule : Impossible d’appeler une méthode dans une expression Null.
Au caractère Ligne:1 : 1
+ get-psrule
+ ~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (:) [Get-PSRule], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull,Get-PSRule

AVERTISSEMENT : Script warning message
Should fail

RuleName                            Synopsis                                  ModuleName
--------                            --------                                  ----------
M1.Rule1                            This is the default
M1.Rule2                            This is the default
...

The file 'FromFileWithException.Rule.ps1' raise this exception, But I do not know.
May be add a specific exception with the rule file name into the error message.
I have two question related to this case

A rule file can contains code outside a Rule block?
The rule file is invoked to retrieve a rule object, so there is no AST analysis of the rules code?

@LaurentDardenne Thanks for the feedback again.
The first issue is related to the rule not having a name i.e.
rule 'rulename' {
  # conditions go here
}

Each rule must have a unique name.

[ ] Improve exceptions for invalid rules.

The second exception is designed to fail.
To answer your questions:

Yes rule files can contain code outside of the rule block, there are a number of reasons why you might want to do this currently, although the long term plan is to provide alternatives.
Currently AST analysis is not feasible while code outside of rule blocks in still required for certain scenarios.

For example, you can write a helper function such as here.

@LaurentDardenne hope that helps.

Yes Thanks.

Yes rule files can contain code outside of the rule block, there are a number of reasons why you might want to do this currently, although the long term plan is to provide alternatives.

In my opinion the fact that Get-PSrule executes the code of the rules found can have an edge effect in the caller. Am I wrong?

@LaurentDardenne Each call of Invoke-PSRule or Get-PSRule is executed in a separate runspace. So code included in rules can't contaminate environment the caller. Configuration and output is proxied in and out of the runspace by PSRule as required.
After execution is complete the runspace is cleaned up and a new runspace is used for the next execution.
So for all intents and purposes there isn't any edge effect on the caller, because they are isolated from each other.

Thank you, I was wrong :-)


fix issues with parsing .ssa subtitles

Hi! I've fixes issues with parsing real complex .ass subtitles.

@adracea please review the code.


Remove maven plugin (deprecated by gradle)

Use base plugin for clean task
Signed-off-by: liach<EMAIL_ADDRESS>

It would be really nice to merge this, since Gradle < 6 doesn't work with Java 13.


Eject Webpack to Root App

Make in project root a webpack config.
must has a function that call the builder code, like this:
nullstackWebpack({ Options })

random note: still thinking if i should do this or not, once people start using custom webpack plugins I would be locked in place and would be impossible to create a custom replacement. What is the best usage for this besides support for prisma?

random note: still thinking if i should do this or not, once people start using custom webpack plugins I would be locked in place and would be impossible to create a custom replacement. What is the best usage for this besides support for prisma?

I believe that if created a specific bundler for Nullstack, it might not be necessary.

Thanks for building this @GuiDevloper


compare files of different length

I really like this package! Thanks for your hard work!
What I wish it could do: when one file is longer (has more lines) than the other, that it doesn't stop but append all the missing lines to the output (either as being new (+) or old (-) )

You can use compared event to detect end of file, see parameters here:  https://github.com/niiknow/text-file-diff/blob/master/src/index.ts#L104
const lfd = new TextFileDiff({
  skipHeader: argv.skipHeader
});

lfd.on('compared', (line1, line2, cmpar, lineReader1, lineReader2) => {
  if (lineReader1.eof > -1 || lineReader2.eof > -1) {
      // do something such as exit program, etc...
  }
});

@noogen am kinda in the same boat, can u plz elaborate how to actually use that ?
for example, lets say the first-stream lines count is 40, while the second stream lines count is 50, how do u get the diff ?

@ctf0 I don't understand, it already doing that.  Have you tried it?  Elaborate more on what are you really expect it to do?
Even better, look at the unit tests.   Fork, upload your 2 files, write unit tests and elaborate on what you're expecting it to do.  Do the real Test Driven Development (TDD) approach.

oh, my bad, i got it totally wrong, thanks again


Possible issue with alignment: Text-align center

Unles I am missing somethign (probably yes), I am encountering a slight problem that is weird. When using text-align center, all objects are centered as expected (image in this case), but when the bounding box is made smaller, the image does not keep the centered alignment. There is overflow: hidden and that is what I want. But I want the image to remain centered, even though I'll be lossing parts of it on the sides.
When I align that image to the right, it works as expected, and it is anchored to the right, same to the left.

The end result that I am looking for when resizing is this:

but I get this:

<!DOCTYPE html>

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Test</title>

		TOP CONTENT

    <button data-all-clear class="span-two">0</button>
    <button data-delete>1</button>
    <button data-operation>2</button>
    <button data-number>3</button>
    <button data-number>

4

</button>
    <button data-number>

</button>
    <button data-operation>6</button>
    <button data-number>7</button>
    <button data-number>8</button>
    <button data-number>9</button>
    <button data-operation>10</button>
    <button data-number>1</button>
    <button data-number>12</button>
    <button data-number>13</button>
    <button data-operation>14</button>
    <button data-number>15</button>
    <button data-number>16</button>
    <button data-equals>17</button>

Unles I am missing somethign (probably yes)

Why "probably" ?
Try this:

        <title>Test</title>

       <button></button>

See: https://www.w3.org/Style/Examples/007/center.en.html

Interesting. I have, for a longtime, used text-transform: translate to center things. But I stoped using it long time ago because it would made contents blurry randomly (specially in chrome), due to lack of rounding of pixel values and things looked off, and "cheap". In sciter this is not a problem?

As a note, I usually did it with Flex alignment:
 display: flex;  justify-content: center;  align-items: center;

In sciter this is not a problem?

For text that's also a problem as transform usually prevents ClearType text.
In Sciter we use horizontal-align:center; for that purpose:

        <title>Test</title>

       <button></button>

Before asking here I looked for something similar to "horizontal-align" here:
https://sciter.com/docs/content/css/cssmap.html
But horizontal-align seems not to be listed.
Is there any other sciter-css reference besides that link?

Is there any other sciter-css reference besides that link?

It is coming


Clustering Markers

Hey,
Thanks for this great plugin.
I would really appreciate if you can help me in clustering the markers inside layerGroup.
I search over internet but nothing worked well.
so will be glad if you can help me out in this.
also is there any way that i can put a play button on map and on click event slider starts moving till the end.
Thanks,
Jay

Hi,
Regarding the clustering: Do you have any specific questions?
Play button: https://github.com/dwilhelm89/LeafletSlider/issues/40
Kind regards,
Dennis

Thanks for your early response.
Yes, I want to show clustered markers based on slider.
As slider moves forward.. my markers increases so i want those in clustered format.
Regards,
Jay

For Example:
http://ghybs.github.io/Leaflet.MarkerCluster.LayerSupport/examples/mcgLayerSupport-leafletslider.html
It is based on you slider, but I cant figure out how its done.

Did you check the Github instructions of their plugin: https://github.com/ghybs/Leaflet.MarkerCluster.LayerSupport

yes i did.
But after doing it my slider wont show up.

You might be better off asking on their repository. I haven't used the MarkerCluster plugin.


Update text ellipsis algorithm to try removing more than a character …

…at once so that it runs faster.
Fixes #12011

Linting issue and ready to go :-)


InteractionModelEngine::OnWriteRequest aborts exchange contexts if a handler cannot be found.  An abort will fail to send an MRP ack; this does not seem like the right behavior.

When there is no available write handler, should we send the status report to client, should we abort or close exchange context? @yufengwangca @bzbarsky-apple if we call  apExchangeContext->Close() , can an MRP ack be sent? Is that MRP ack necessary?
Do we also need to send status report to client?
CHIP_ERROR InteractionModelEngine::OnWriteRequest(Messaging::ExchangeContext * apExchangeContext,
const PacketHeader & aPacketHeader, const PayloadHeader & aPayloadHeader,
System::PacketBufferHandle && aPayload)
{
CHIP_ERROR err = CHIP_NO_ERROR;
ChipLogDetail(DataManagement, "Receive Write request");

for (auto & writeHandler : mWriteHandlers)
{
    if (writeHandler.IsFree())
    {
        err = writeHandler.Init(mpDelegate);
        SuccessOrExit(err);
        err               = writeHandler.OnWriteRequest(apExchangeContext, std::move(aPayload));
        apExchangeContext = nullptr;
        break;
    }
}

exit:
ChipLogFunctError(err);
if (nullptr != apExchangeContext)
{
    apExchangeContext->Abort();
}
return err;

}

if we call apExchangeContext->Close() , can an MRP ack be sent?

Yes.

Is that MRP ack necessary?

Yes, unless you want the client to just resend the write request packet...

Do we also need to send status report to client?

I think that's the right action: respond with the "busy" general status code or something and let the client decide how they want to handle it.

This has been fixed: we now respond with a BUSY status,


Inventory removeItem crashes game. (2 Bugs in one)

This is split into 2 bugs, because the fix for Bug 1 causes Bug 2.
BUG 1
Description
The game crashes when removing at item from the inventory (with a count of 1) when there is an empty spot before it.
How To Reproduce
Steps to reproduce the behaviour:

add spawnTestItems in the create method of spaceGameArea.
Run the game.
Consume the corn in item slot 2 by pressing R while its selected.
hoe the ground and plant the seeds in item slot 7 (or any slot that comes after slot 2)
game crash.

Expected Behaviour
Item is removed from inventory with no game breaking crash.
Screenshots
This is from step 3

This is from step 4 moments before crash.

Additional Context
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "java.util.HashMap.get(Object)" is null
	at com.csse3200.game.components.player.InventoryComponent.removeItem(InventoryComponent.java:427)

Fix
This occurs because there is no null pointer check when iterating through the inventory positions (line 427 in InventoryComponent).
The fix is to check if the current item is null, if true continue. BUT This introduces a new bug...
BUG 2
Description
For the removeItem function the for loop is using the size of the itemPlace map which does not take into account when the player has empty slots in the inventory and allows the player to have infinite items if the item is at an index that exceeds the size of the itemPlace map (very confusing).
How To Reproduce

add spawnTestItems in the create method of spaceGameArea.
Run the game.
Consume the corn in item slot 2 by pressing R while its selected.
hoe the ground and plant the seeds in item slot 7 (or any slot that comes after slot 2). You can now plant infinite seeds!!! :)

Expected Behaviour
Item is removed from inventory.
Screenshots
This is from step 1

This is from step 4.

Fix
Use max inventory size instead of using itemPlace size.

It appears that Bug 1 has already been fixed by team 8, but Bug 2 still persists.


[Unticketed] Trigger KickAlpha

Beta is very close to being deployed with new CI environment settings. Trigger alpha to ensure its' also not blocked in any way.

Checks all pass, expediting merge to help speed up fixes on deploying from ios-private


Look into compressing assets

We should look into compressing assets, perhaps something like this:
https://github.com/theforeman/foreman/blob/develop/config/webpack.config.js#L133

So this would make sense if we were intent on serving compressed versions of assets with Content-Encoding, but this work will be more than adding the webpack plugin, need to reconfigure the way the apache server offers up the sui... a discussion that should include mo than sui peeps
related...
https://stackoverflow.com/questions/11641923/transfer-encoding-gzip-vs-content-encoding-gzip#11664307
@ohadlevy @Fryguy, thoughts?

@ohadlevy @Fryguy, what do you all think?


PostgreSQL statements don't include schema and lack quotes for tables

It seems like the SQL statements generated for Postgres lack some information to be runnable just from copy/pasting.
For example, I currently get the following generated statements to set DEFAULT values:
Let's transition Prisma 1's @default's to default values backed by the database. Run the following SQL command against your database:

  ALTER TABLE User ALTER COLUMN role SET DEFAULT 'CUSTOMER';
  ALTER TABLE Post ALTER COLUMN published SET DEFAULT FALSE;

However, this statement doesn't work e.g. when using a client like Postico for two reasons:

It lacks the schema namespace for the User and Post tables
It lacks quotes around the table names that tell Postgres to not ignore the casing

Assuming my schema is called default$default, then the same SQL statements need to looks as follows:
ALTER TABLE default$default."User" ALTER COLUMN role SET DEFAULT 'CUSTOMER';
ALTER TABLE default$default."Post" ALTER COLUMN published SET DEFAULT FALSE;

To be safe, we could also add quotes around the schema names because some users might have uppercase letters in there too:
ALTER TABLE "default$default"."User" ALTER COLUMN role SET DEFAULT 'CUSTOMER';
ALTER TABLE "default$default"."Post" ALTER COLUMN published SET DEFAULT FALSE;

Same for column names:
ALTER TABLE Post ALTER COLUMN createdAt SET DEFAULT CURRENT_TIMESTAMP;

should be:
ALTER TABLE "default$default"."Post" ALTER COLUMN "createdAt" SET DEFAULT CURRENT_TIMESTAMP;

should be fixed in tmp-prisma-upgrade

Indeed ❤


Mixed approach for agent

Is it possible use a mixed approach between self-hosted and MS-hosted agent ?
Context:

the Release ( CD - continuous delivery ) is managed by the MS-Hosted agent, using the classic pipeline interface.
the Pipeline ( CI - continuous integration ) is managed by the self-hosted agent

Thanks

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

ID: c09c1b4b-fe93-9c4e-32d7-055c88eb902d
Version Independent ID: 020f1e59-284e-439f-2cab-d12bdb807a87
Content: Azure Pipelines Agents - Azure Pipelines
Content Source: docs/pipelines/agents/agents.md
Product: devops
Technology: devops-cicd-agents
GitHub Login: @steved0x
Microsoft Alias: sdanie

@kallsu - This sounds like a product question. You should probably check with the dev team. To make sure it gets in front of the right people, please submit your product question here.


Fixed #468

What does this PR?
Where should the reviewer start?
Steps to reproduce
Issue number
Fixed #468
Screenshots/Video

@ue updated


Distribute apiport command-line tool via Windows App Store

so we get the benefit of secure update delivery mechanism.

Looks like making ApiPort client tool .NET core version to use global tools will address the same issue.

using #668 to track the issue.


Referencing images is still either broken or very inconsistent (css + html)

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[x] serve
[x] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
Unknown
Description
When referencing images, there is wild mix of broken or inconsistent behaviour through ng serve, ng test and ng build. Especially when images are referenced from css files and when the intention is running the deployed app from a subdirectory.
It is also trivially to reproduce.
I tried to follow up on all of those changes with how urls are treated but the varying mix up of broken behaviour is noteworthy.
🔬 Minimal Reproduction

Init project with ng new image-test --style css --strict
Select No for routing
Save the following image into the src/assets folder: https://angular.io/assets/images/logos/angular/angular.png
Replace app.component.html with this:

Sample. TWO images should be displayed

Insert into app.component.css the following style:

.the-image
{
    width: 200px;
    height: 200px;
    background: url('../assets/angular.png') no-repeat;
}

Depending of the type of path in the css file you get very different results. The scenario above:

ng serve -> works
ng build --base-href '/image-test/' -> angular.png is now placed in two locations at dist/image-test and in dist/image-test/assets
ng test -> karma dies hard. Starts chrome, chokes and dies. See error section.

If one start to mix up paths you get into different hells. I tried absolute paths in css, e.g. /assets/angular.png, but beside a configuration that I have to do so that karma does not choke on this, I was unable to figure out, how to run such an app from a subfolder, because during ng build all absolute css paths are untouched and 404 on a webserver when serving from /image-test/ because the paths point to /assets/angular.png which is 404, the file is rather located at /image-test/assets/angular.png
🔥 Exception or Error

ng build --base-href '/image-test/' -> angular.png is now placed in two locations at the top level and in assets. Why do I need doubling the resources?

ng test -> karma chokes and dies with this exception:

22 12 2020 10:24:24.449:ERROR [karma-server]: UnhandledRejection: Cannot read property 'range' of undefined
22 12 2020 10:24:24.449:ERROR [karma-server]: TypeError: Cannot read property 'range' of undefined
    at handleRangeHeaders (d:\image-test\node_modules\webpack-dev-middleware\lib\util.js:131:21)
    at processRequest (d:\image-test\node_modules\webpack-dev-middleware\lib\middleware.js:98:19)
    at ready (d:\image-test\node_modules\webpack-dev-middleware\lib\util.js:53:12)
    at handleRequest (d:\image-test\node_modules\webpack-dev-middleware\lib\util.js:182:5)
    at d:\image-test\node_modules\webpack-dev-middleware\lib\middleware.js:64:7
    at new Promise (<anonymous>)
    at middleware (d:\image-test\node_modules\webpack-dev-middleware\lib\middleware.js:63:12)
    at d:\image-test\node_modules\@angular-devkit\build-angular\src\webpack\plugins\karma.js:288:13
    at call (d:\image-test\node_modules\connect\index.js:239:7)
    at next (d:\image-test\node_modules\connect\index.js:183:5)
    at d:\image-test\node_modules\karma\lib\web-server.js:24:9
    at call (d:\image-test\node_modules\connect\index.js:239:7)
    at next (d:\image-test\node_modules\connect\index.js:183:5)
    at nullProxy (d:\image-test\node_modules\karma\lib\middleware\proxy.js:86:52)
    at call (d:\image-test\node_modules\connect\index.js:239:7)
    at next (d:\image-test\node_modules\connect\index.js:183:5)```

When I comment out only the css part and add this snippet to karma.conf.js
 proxies: {
      '/assets/': '/base/src/assets/',
    },
    files: [
      { pattern: './src/assets/**', watched: false, included: false, nocache: false, served: true }
    ],

I could run ng test, with broken styles but at least with some images (the image referenced from html will work).
Using relative paths I was unable to make ng test run, but maybe I am just lacking some more configuration
🌍 Your Environment

Angular CLI: 11.0.5
Node: 14.15.2
OS: win32 x64

Angular: 11.0.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1100.5
@angular-devkit/build-angular   0.1100.5
@angular-devkit/core            11.0.5
@angular-devkit/schematics      11.0.5
@schematics/angular             11.0.5
@schematics/update              0.1100.5
rxjs                            6.6.3
typescript                      4.0.5

Anything else relevant?
Developing on windows 10 x64 (1903)
Maybe relevant: The css url background: url('../assets/angular.png') is compacted to angular.png during ng serve. Regardless how deep I nest the png file into assets, even when I move the file deeper and reference it via background: url('../assets/many/levels/deep/angular.png'), ng serve will still fetch /angular.png which is probably why karma cannot handle it properly as well.

Hi @Seikilos,
Thanks for the detailed reported.
The above mentioned inconsistencies are actually expected. Let me explain why, by answering your questions.

inconsistent behaviour through ng serve, ng test and ng build.

There shouldn't be any inconsistencies between these pipelines as resources are handled in the same way.

ng build --base-href '/image-test/' -> angular.png is now placed in two locations at the top level and in assets. Why do I need doubling the resources?

Relative resources which are referenced in CSS files are fingerprinted (hashed), flattened and copied automatically. This however doesn't applied to resources referenced in the HTML templates (See: https://github.com/angular/angular-cli/issues/3415 and https://github.com/angular/angular-cli/issues/3415#issuecomment-515157794).
If you are referencing a resources using relative paths in a CSS files, you'd need to copy this via the assets option.

ng test -> karma chokes and dies with this exception:

This shouldn't happening, and in fact I am not able to replicate this on a new project. Maybe it's caused by some custom Karma configuration?
⠋ Generating browser application bundles...04 01 2021 09:27:12.818:WARN [karma]: No captured browser, open http://localhost:9876/
04 01 2021 09:27:12.822:INFO [karma-server]: Karma v5.2.3 server started at http://localhost:9876/
04 01 2021 09:27:12.822:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
04 01 2021 09:27:12.824:INFO [launcher]: Starting browser Chrome
✔ Browser application bundle generation complete.
04 01 2021 09:27:15.588:WARN [karma]: No captured browser, open http://localhost:9876/
04 01 2021 09:27:15.649:INFO [Chrome 87.0.4280.88 (Mac OS 11.0.0)]: Connected on socket M4Y-P2_0ThewJfvhAAAA with id 64291346
Chrome 87.0.4280.88 (Mac OS 11.0.0): Executed 1 of 1 SUCCESS (0.047 secs / 0.032 secs)
TOTAL: 1 SUCCESS

Hi @Seikilos,
Thanks for the detailed reported.
The above mentioned inconsistencies are actually expected. Let me explain why, by answering your questions.

inconsistent behaviour through ng serve, ng test and ng build.

There shouldn't be any inconsistencies between these pipelines as resources are handled in the same way.

ng build --base-href '/image-test/' -> angular.png is now placed in two locations at the top level and in assets. Why do I need doubling the resources?

Relative resources which are referenced in CSS files are fingerprinted (hashed), flattened and copied automatically. This however doesn't applied to resources referenced in the HTML templates (See: https://github.com/angular/angular-cli/issues/3415 and https://github.com/angular/angular-cli/issues/3415#issuecomment-515157794).
If you are referencing a resources using relative paths in a CSS files, you'd need to copy this via the assets option.

ng test -> karma chokes and dies with this exception:

This shouldn't happening, and in fact I am not able to replicate this on a new project. Maybe it's caused by some custom Karma configuration?
⠋ Generating browser application bundles...04 01 2021 09:27:12.818:WARN [karma]: No captured browser, open http://localhost:9876/
04 01 2021 09:27:12.822:INFO [karma-server]: Karma v5.2.3 server started at http://localhost:9876/
04 01 2021 09:27:12.822:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
04 01 2021 09:27:12.824:INFO [launcher]: Starting browser Chrome
✔ Browser application bundle generation complete.
04 01 2021 09:27:15.588:WARN [karma]: No captured browser, open http://localhost:9876/
04 01 2021 09:27:15.649:INFO [Chrome 87.0.4280.88 (Mac OS 11.0.0)]: Connected on socket M4Y-P2_0ThewJfvhAAAA with id 64291346
Chrome 87.0.4280.88 (Mac OS 11.0.0): Executed 1 of 1 SUCCESS (0.047 secs / 0.032 secs)
TOTAL: 1 SUCCESS

Hi @alan-agius4,
I would create a github repo and reproduce the issue with karma again if that helps. Afaik my karma is vanilla as I have never used it before 🤷

Hi @alan-agius4,
I would create a github repo and reproduce the issue with karma again if that helps. Afaik my karma is vanilla as I have never used it before 🤷

@alan-agius4 I guess I can skip creating a repo. I pinned the issue. Its the  @angular-devkit/build-angular package.
When I explicitly set it in packages.json to "@angular-devkit/build-angular": "0.1100.6" everything is nice. but
"@angular-devkit/build-angular": "0.1100.5", leads to karma's demise.
I guess it has been either coincidently fixed or someone fixed it without knowing this ticket existed 😄
One minor clarification of my post: The asset I referenced in the sample is copied to top-level of the build result. Is this intended? I know other people over at stackoverflow were also irritated by this.

@alan-agius4 I guess I can skip creating a repo. I pinned the issue. Its the  @angular-devkit/build-angular package.
When I explicitly set it in packages.json to "@angular-devkit/build-angular": "0.1100.6" everything is nice. but
"@angular-devkit/build-angular": "0.1100.5", leads to karma's demise.
I guess it has been either coincidently fixed or someone fixed it without knowing this ticket existed 😄
One minor clarification of my post: The asset I referenced in the sample is copied to top-level of the build result. Is this intended? I know other people over at stackoverflow were also irritated by this.

@Seikilos, glad to hear it was fixed.
The default behaviour is indeed to emit the assets in the top level directory. To emit the resources in a separate directory you need to use the resourcesOutputPath option.
See: https://angular.io/cli/build

@Seikilos, glad to hear it was fixed.
The default behaviour is indeed to emit the assets in the top level directory. To emit the resources in a separate directory you need to use the resourcesOutputPath option.
See: https://angular.io/cli/build


Do not try to delete a global handle with the local handles APIs

Motivation:
The code introduced as part of https://github.com/netty/netty/issues/13480 contained a bug which could crash the JVM. This only manifested in JDK21+ as earlier versions did not contain the related assert.
Modifications:
Remove left-over call that could crash the JVM
Result:
Correct code that also works on JDK21

Related openjdk discussion https://mail.openjdk.org/pipermail/hotspot-gc-dev/2023-September/043696.html

Sorry, something that I should have seen in code review.

No worries... I somehow missed this as well


Apply a contextual type to empty arrays

Some design notes at https://github.com/microsoft/TypeScript/issues/51853#issuecomment-1347549028
We'll need to discuss this test in particular: https://github.com/microsoft/TypeScript/compare/main...RyanCavanaugh:ctEmptyArrayRetry?expand=1#diff-143cc97a4709c639aa96ddd0c9cac92f3b8a11b104eb5611e0b83c145fdb571a ; I believe the contextual type providing logic is effectively wrong in this case and will try to make a demonstration of such.
Fixes #51853

@typescript-bot test this
@typescript-bot test top100
@typescript-bot user test this
@typescript-bot user test tsserver
@typescript-bot test tsserver top100
@typescript-bot run dt
@typescript-bot perf test this

@typescript-bot pack this


[Bug]: If you do not have the permission to change a table, the change statement is executed in an anonymous block, and the change statement is displayed incorrectly

ODC version
ODC 432
OB version
If you do not have the permission to change a table, the change statement is executed in an anonymous block, and the change statement is displayed incorrectly
What happened?
If you do not have the permission to change the table, the change statement is executed in the anonymous block, and the message "Failed to run request abort" is displayed.

What did you expect to happen?
If you do not have the permission to change the table, you should get the same result as if you run the SQL window when you execute the SQL change in an anonymous block

How can we reproduce it (as minimally and precisely as possible)?
If you do not have the permission to change the table, the change statement is executed in the anonymous block, and the message "Failed to run request abort" is displayed.
Anything else we need to know?
No response

Fixed In Commit a22e48e5c4656ac2c26fb6af70c9d6c1f7d77471
------
畅晚
Wed Sep 4 09:54:36 2024 +0800

pass


Allow customizing the work namespace name

(edited)
Given environment variable WORK_NAMESPACE the "work" namespace can be named differently. Follows the same principle of implementing this via KEP function for Kustomize and replacing the values in a shell script and using the replacements Kustomization.

Botched something in the rebase, should be okay now.

Something is off, need to investigate

Something is off, need to investigate

Must be something in the code I built on top of this... tests look good.


[FLINK-32670] Annotate interfaces that inherit from SourceFunction as deprecated

This is a trivial change that marks sub-interfaces of SourceFunction as @Deprecated and adjusts an example to fix the strict deprecation complier check failure.

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

Thanks @leonardBang , I addressed your commends.
I rolled up the last [tmp] commit into the previous one, as proposed.

Thanks @afedulov for the update, lgtm, but the compile failed, please check it

@flinkbot run azure

CI is green now.


Android Intent

Cool idea from Slack, opening issue so it doesn't get lost:

btw, just curious: ever thought of lovr 'intents' ?
iirc in android manifest-files, you can define certain url-patterns which the app can respond to.
Imagine clicking an url (http://github.com/username/someapp/project.lovr.zip) inside oculus browser, which would then launch the zip in the lovr app (because of the http.*/lovr.zip pattern)

Matching the .lovr extension might be preferred though.

Oculus currently doesn't support intent filters


Missing binds in ORDER BY

Version
1.10.0
What happened?
:wave:  Experimenting with sqlc and conditional order by's aren't generating the code for mysql as I'd expect.  Didn't see any matching issues - hopefully I didn't miss one.
As you can see by the example below, the mysql generated code skips the sqlc.arg(sort_column) bind.
As an alternate example, here's postgres working as expected
Relevant log output
No response
Database schema
-- Example queries for sqlc
CREATE TABLE authors (
  id   BIGINT PRIMARY KEY,
  name text      NOT NULL,
  bio  text
);

SQL queries
-- name: ListAuthors :many
SELECT * FROM authors
WHERE id > sqlc.arg(min_id)
ORDER BY CASE WHEN sqlc.arg(sort_column) = 'name' THEN name END;

Configuration
{
  "version": "1",
  "packages": [
    {
      "path": "db",
      "engine": "mysql",
      "schema": "query.sql",
      "queries": "query.sql"
    }
  ]
}

Playground URL
https://play.sqlc.dev/p/4d6a51438a52ec0067279884c6327f14e1c2e50d3057591178c44e438f926385
What operating system are you using?
No response
What database engines are you using?
MySQL
What type of code are you generating?
Go

Thanks for the bug report. I believe this and #1195 are caused by the same issue, but I'll keep both open until they're fixed.


qemux86 for dunfell branch

In my work practice I got task, set compatible this machine qemux86 for dunfell version.
All works fine.

Hi @Vladimir-Dragunov,
Thank you for your contribution. Sounds good to me to merge the QEMUx86 in the dunfell branch. @ejoerns should we proceed with merging it?
Thanks,
Leon

@Vladimir-Dragunov In how far does this differ from the version in master? This is just a dump. Please either add a slightly descriptive commit message (with signed-of-by) or just cherry-pick the original patches. The commit does not even describe the source of the changes which is probably master. This will make it hard to say later if we have to backport anything.

Ok, sounds good.
Can I describe changes in comments?
Sorry, I did really dumb move where just copypaste qemux86 from master branch in dunfell and changing it without commiting changes in git :C

Ok, sounds good. Can I describe changes in comments?

A commit message can be a short book.

Sorry, I did really dumb move where just copypaste qemux86 from master branch in dunfell and changing it without commiting changes in git :C

This is not really how FOSS-quality software development works :smirk:
Maybe at cherry-pick the patches to get a copy of the original content and then copy your state over it. This should at least produce a commit describing the differences. Then we may see how to proceed.


Use image processor

To merge when https://github.com/assemblee-virtuelle/semapps/pull/1059 is available

Done here: https://github.com/assemblee-virtuelle/archipelago/pull/98


Prisma Migrate not working with local postgres database but with docker postgres

Hi Prisma Team! Prisma Migrate just crashed.
Versions

Name
Version

Platform
debian-openssl-1.1.x

Node
v14.15.4

Prisma CLI
2.15.0

Binary
e51dc3b5a9ee790a07104bec1c9477d51740fe54

Error
Error: Error in migration engine.
Reason: [/root/.cargo/git/checkouts/quaint-9f01e008b9a89c14/2d8c9c7/src/connector/postgres/error.rs:138:29] index out of bounds: the len is 1 but the index is 1

Please create an issue in the migrate repo with
your `schema.prisma` and the prisma command you tried to use 🙏:
https://github.com/prisma/prisma/issues/new

I followed the getting started guide (https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch-typescript-postgres) and got the error above when running the mentioned command npx prisma migrate dev --name init --preview-feature.
This occured when using a fresh postgres database on my local computer. I tried the same using a postgres docker container (created with docker run --name prisma-test -e POSTGRES_PASSWORD=postgres -p 5433:5432 -d postgres:11), which worked. For the tests I only exchanged the connection url in the .env file. I used version 11 of postgresql for both the local and the docker test.

Hi @sdoering01 , thanks for reporting this! I am pretty sure this is a duplicate of https://github.com/prisma/prisma/issues/4606, it's a known problem we are working on, let's track progress on a fix there.

Hi @sdoering01 , thanks for reporting this! I am pretty sure this is a duplicate of https://github.com/prisma/prisma/issues/4606, it's a known problem we are working on, let's track progress on a fix there.

Ok, I searched the internet before too, but thought that it would be nice to know that it works with a postgres docker container. Will mention it in the other issue. Thanks

Ok, I searched the internet before too, but thought that it would be nice to know that it works with a postgres docker container. Will mention it in the other issue. Thanks


Error when combined Batch operation with persisted query

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When I configured my project to work with persisted query and operation batch both at the same time, the request failed.
The expected response of this query must be the response of persisted query if has been persisted or an error response  when it hasn't
[{
    "errors": [
        {
            "message": "PersistedQueryNotFound",
            "extensions": {
                "code": "HC0020"
            }
        }
    ]
},{
    "errors": [
        {
            "message": "PersistedQueryNotFound",
            "extensions": {
                "code": "HC0020"
            }
        }
    ]
},{//data of query that was already persisted}
,...]

Steps to reproduce

Make a batch query with multiple persisted queryids and without query definition. eg

[
{"operationName":"MyProfile","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"2fa3cab6acbe4ad09fbf16faddd6db5ffcf4ad03173966775b971ceeb9ca704f"}}},
{"operationName":"getAudiences","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"7747363f36e24eb75cfa8ac4be37db47467b593dab6c02982eacec71b5b777a4"}}},
{"operationName":"getCountAdminUsers","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"cd811f502b0b96889fbe426dee3bc4d31c78a9ab9b1ee84e5ce1f2834c4c2c54"}}},
{"operationName":"getAdminUsers","variables":{"first":1},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"c39836aefa4960d6601f03053b425dcc1d127682ab2352e8f629f30d50b75ad3"}}},
{"operationName":"getFooterMenu","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"c3c4febf4771d0fb31dc1931aa8cd9ea300e20dac58fad05d02eafb7df15d5f9"}}}
]

Relevant log output
[
    {
        "errors": [
            {
                "message": "Unexpected Execution Error",
                "extensions": {
                    "message": "Object reference not set to an instance of an object.",
                    "stackTrace": "   at HotChocolate.Execution.Batching.BatchExecutor.BatchExecutorEnumerable.ExecuteNextAsync(IReadOnlyQueryRequest request, CancellationToken cancellationToken)"
                }
            }
        ]
    }
]

Additional Context?
I realized the problem is on these lines  because a Query prop was expected, but it is null.
I modified the code and verified query prop has a value before continue
if (request.Query != null || request.QueryId == null)
{
    DocumentNode document = request.Query is QueryDocument d
        ? d.Document
        : Utf8GraphQLParser.Parse(request.Query!.AsSpan());

    OperationDefinitionNode operation =
        document.GetOperation(request.OperationName);

    if (document != _previous)
    {
        _fragments = document.GetFragments();
        _visitationMap.Initialize(_fragments);
    }

    operation.Accept(
        _visitor,
        _visitationMap,
        _ => VisitorAction.Continue);

    _previous = document;
    document = RewriteDocument(operation);
    operation = (OperationDefinitionNode)document.Definitions[0];
    IReadOnlyDictionary<string, object?>? variableValues =
        MergeVariables(request.VariableValues, operation);

    request = QueryRequestBuilder.From(request)
        .SetQuery(document)
        .SetVariableValues(variableValues)
        .AddExportedVariables(_exportedVariables)
        .SetQueryId(null) // TODO ... should we create a name here?
        .SetQueryHash(null)
        .Create();
}
else
{
    request = QueryRequestBuilder.From(request)

        .SetVariableValues(request.VariableValues)
        .AddExportedVariables(_exportedVariables)
        .SetQueryId(request.QueryId)
        .SetQueryHash(null)
        .Create();
}

return (IReadOnlyQueryResult)await _requestExecutor.ExecuteAsync(
    request, cancellationToken)
    .ConfigureAwait(false);

and change this line for the following
 if (result.Data is null && result.Errors is null)
{
    break;
}

and it works as expected.
I thought to make a PR, but i'm not sure if the first if...else statement afected something else.
Thank for you help.
Product
Hot Chocolate
Version
12.11.1

I came across this issue in 12.9.0

I think this might be dupe of #2987

I am currently working on this, I hope to have the modifications ready within a week

Can this fix be merged soon? We rely exclusively on persisted queries and batching would give us a major performance increase.
Also, a big thanks to the Hot Chocolate dev team and community. It is an outstanding piece of software.

This is now fixed


Only Opens Dialer with number

It does not initiates call by default, it launches dialer with number.
Is there any way to make a call directly?

I did it by creating new function inside flutter_phone_state.dart
and call it instead of _openTelLink
Future _makeDirectCall(String number) async {
if (number == null) {
return CallStartResult.invalidInput;
}
if ( await FlutterPhoneDirectCaller.callNumber(number)) {
return (await FlutterPhoneDirectCaller.callNumber(number))
? CallStartResult.success
: CallStartResult.failed;
} else {
return CallStartResult.unsupported;
}
}


Enable Airnode re-deployment/update with Terraform

Description
Due to Terraform keeping the state in the S3 bucket every deployer deploy run starts with creation of S3 bucket and DynamoDB table (for state locks). Unfortunatelly Terraform throws an error when trying to create already created DynamoDB table. Checking for already existing bucket and table (since we're already using aws-sdk for removal anyway) should fix the issue.

Resolved as part of #333, closing.


Idea: NoNewlinesBetweenPropertiesFixer

Now that https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4746 is merged, code that previously looked like:
final class SomeSubscriber
{
    /**
     * @var RefundRepository
     */
    private RefundRepository $refundRepository;

    /**
     * @var CommandBus
     */
    private CommandBus $commandBus;

    /**
     * @var EventBus
     */
    private EventBus $eventBus;

    public function __construct()
    {
       // Do something
    }
}

will be changed to:
final class SomeSubscriber
{
    private RefundRepository $refundRepository;

    private CommandBus $commandBus;

    private EventBus $eventBus;

    public function __construct()
    {
       // Do something
    }
}

But I really want it to be changed to:
final class SomeSubscriber
{
    private RefundRepository $refundRepository;
    private CommandBus $commandBus;
    private EventBus $eventBus;

    public function __construct()
    {
       // Do something
    }
}

@SpacePossum Is this already supported? If not, could or should this be added to an existing fixer like NoExtraBlankLinesFixer?
If I get some input on what the best place is, I will create the PR for it 😊

Closing as #4875 was merged.


fix RTL issue with MUI Pagination Back and Left Icons

material-react-table version
"material-react-table": "1.2.8"
Describe the bug and the steps to reproduce it
hi ,
When using the table in persian  lang(RTL theme) , the  arrow icons are displayed in reverse
Your Minimal, Reproducible Example - Sandbox (Recommended) or code snippets
fix icons in RTL mode
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No response
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

yes , i did ,localization is okay .but i want to change  Arrow Right Icon and Arrow Left Icon  in pagination next and back page ?
How can  do it ?

@mm0hammadi Would you be interested in contributing your persian lang locale translations? I'd like to debug this, but also we can add Persian as a built-in language for this library.

@mm0hammadi If you ever have time and see this, would you be able to tell me how a right to left table should look like?
On my docs site, it looks like this

But would you expect the columns to be in the opposite direction? Are the headers and their buttons supposed to be reversed?
I can eventually make all these fixes in the library.

thats okay but there are some style issue :

The placeholder text must be center or right.
generally, the texts should be from right to left, for example, the text of columns  ,headers and rows and the text of filters.
The actions column can be on the right side.
I can change the  of all icons except pagination icons.i could not do it .

thank you

Did you add in your own styles to accomplish that? Or did the MaterialReactTable just work like that in your app?

@mm0hammadi  Did you add in your own styles to accomplish that? Or did the MaterialReactTable just work like that in your app?

yes, i added some style like this :

    muiTableContainerProps={{
          sx: {
            backgroundColor: background,
            borderRadius: '15px'
          }
        }}
        muiBottomToolbarProps={{
          sx: {
            height: '50px',
            backgroundColor: background,
            borderRadius: '15px'
          }
        }}

@mm0hammadi I guess I meant to ask whether or not you were adding in flex-reverse on your own or not to make everything right to left like in your screenshots, or if that was happening automatically for you.

no ,it was happening automatically for me

This is a solution:
<MaterialReactTable
    columns={columns}
    data={data}
    muiTablePaginationProps={{
      backIconButtonProps: {
        style: { transform: 'rotate(180deg)' },
      },
      nextIconButtonProps: {
        style: { transform: 'rotate(180deg)' },
      },
    }}
  />

It may get added to the library internally, though this seems more to be a bug with Mui's own TablePagination component.


Implement Password Encryption in User Model.

Implement the setPasswordAttribute method in the User model to securely hash user passwords before storing them in the database using Hash::make().

Create a setPasswordAttribute method in the User model.

Use Hash::make() inside the mutator to hash the password before saving it to the database.

👍


Sync support if possible

Since doobie.ConnectionIO just can provide summon[Sync[ConnectionIO]], so I can't simply use cats-effect-cps in ConnectionIO. Is there any support if possible?

In Scala 2 it is simply impossible, due to the constraints required to create a Dispatcher which is required to interop with the async/await mechanism built in the Scala 2 compiler.
In Scala 3 it'd be possible. The Scala 3 implementation is built on top of dotty-cps-async, which has different abstractions that you can tap into, one that can be virtually implemented for any monadic construct

Can confirm that fixing that todo would make a lot of this functionality usable with Sync, but only on Scala 3. The way the Scala 2 stuff is done outright requires Async, as Oli noted.

Thanks a lot! Coincidentally, our current requirements are based on scala3.

Coincidentally, our current requirements are based on scala3.

Then you're in luck! Unfortunately, I don't really have the time to work on resolving this right now, but I would try to review and merge pull requests if you're interested in diving in! It's not a particularly complex change. If you're interested, jump to the TODO Oli linked above. Right now, we just do a single big instance that requires Async and provides everything. However, CpsConcurrentEffectMonad actually extends less powerful instances which could, themselves, be materialized using less powerful typeclasses (such as Concurrent or MonadCancel or even Monad). What needs to happen is for the cps object to extend LowPriorityInstances1, which extends LowPriorityInstances2, etc etc as far as you need to go, with each one containing a successively less powerful instance (e.g. maybe LowPriorityInstances1 materializes a less powerful Cps typeclass based on Concurrent, while LowPriorityInstances2 materializes a still-less-powerful one based on Spawn, and LowPriorityInstances3 an even less powerful one based on MonadCancel, etc etc). You can use inheritance to eliminate duplication between instances. This isn't the greatest example, but you can get an idea of how this works by looking at how the monad transformer instances are implemented in Cats Effect (note the inheritance): https://github.com/typelevel/cats-effect/blob/series/3.x/kernel/shared/src/main/scala/cats/effect/kernel/Async.scala#L259 Another source of inspiration that's a bit more directly applicable can be found in my old shims project: https://github.com/djspiewak/shims/blob/master/core/src/main/scala/shims/conversions/monad.scala#L373
Make sure to write some tests which show that we can use limited forms of the syntactic transformation given weaker constraints in scope!

Thank you for the detailed guidance! After solving the health problem, I think I can have a try.


Private security group is not deleted when destroying owning VM

Go to VM list
Choose any VM with private SG, check its private SG name
Click on "destroy" for any VM
Approve VM destroying (with expunge)
Go to Firewall - Private SG

Expected result: private SG of destroyed VM is not in the list
Actual result: private SG of destroyed VM is in the list
Connected feature ID:

firewall_private_vm_display
vm_destroy
vm_expunge

@ksendart
Tested on: ksendart/913-private-sg


[Bug] Armor runes not working

Hi there!
When building my new character I realized that the armor runes doesn't work anymore. If selecting a potency rune, they still show up the new select field for property rune, but doesn't calculate the new value of the armor nor do they provide the AC or RR bonus to character sheet.
Tried this in several environments and I'm sure that this worked in former versions, so I assume this is a bug.
Foundry v9 (269)
PF2e v<IP_ADDRESS>47
(all other modules deactivated)

As of current PF2e System version, Armor runes do not alter the price or Item level.
For the AC, make sure that the armor is Invested.
Armor not invested:

Armor invested:


refactor(extras.ui): simplify neo-tree related logic in edgy extra

Refactor neo-tree related logic
What is this PR for?
Simplification of neo-tree related logic in edgy.lua
Does this PR fix an existing issue?
No, but it may prevent future issues with edgy if neo-tree source configuration changes.
Checklist

[x] I've read the CONTRIBUTING guidelines.

Thanks!


Game freezes on entering newly created world

Minecraft version
1.20.1
Farmer's Delight version
2.0.16
Fabric Loader version
0.15.9
Fabric API version
0.92.0
Description
See reproduction steps.
Steps to reproduce

Enter the game, create a new world
Error screen. Saying there are errors on the resources between the server and client, then returns me to the server selection screen, even though I'm trying to create a singleplayer world
Open the saves folder and I see the world actually got created, but it's not shown in the world list
Retry creating another new world
Game freezes while loading, printing the crash report to the log

Mod list
https://mclo.gs/tEdY5Sk
Logs
Crash report: https://mclo.gs/prrJ2h9
The problem only happened when I updated Tectonic, More Delight, Every Compat and Farmer's Delight Refabricated this morning, and though I can't see the crash log any related to FD-R, it's the only mod of the four that has Porting Lib, which was mentioned by the log, embedded. I'm no pro so I can only report it here.
Minimal instance

[ ] I have tested this on a minimal instance

Performance and shader mods

[X] I am using performance or shader mods

Hi, I am unable to reproduce with just the mods you've mentioned. I'm unsure what could be going on...

I'd suggest trying to either update Farmer's Delight Refabricated to 2.1.0 when it releases, or update PortingLib.

Crash fixed using 2.1.0. closing the issue


Removes empty fields in the Board Config before being saved

Avoids saving empty form fields into the board config object.

Closed to clean MRs


Blend modes are not displaying well

Hi there,
I have a problem when trying to display an animation that uses blend modes. The intention of this is to change in the future the base color of the robot and then show highlights, middle tones and shadows as the same way between several colors.
I read through bodymovin wikis and find that blend modes are supported.
What am I doing wrong?
robot.txt

I think I found a solution and it is by using blend modes as parameter of the shape layer and not of the contents of that shape layer itself.

Yes, blendmode on content of shape layers is not supported yet

Any ETA of blend mode :D ?

@SVN7H Coming on the next release for the svg renderer.

@lewandowskid hi, can you share a simple example of the issue to try to fix it?


Text selection handles are missplaced on any rotated text

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

add any kind of selection widget (for example a SelectionArea)
add some widgets below that contains text
you can see the text selection handles being correctly placed on any straight text
you'll see the handles getting missplaced when this text is rotated

Expected results
Handles are correctly placed, as the highlight is
Actual results
The handles are missplaced
Code sample
Code sample
void main() => runApp(const MaterialApp(home: Sample()));

class Sample extends StatelessWidget {
  const Sample({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SelectionArea(
        selectionControls: cupertinoTextSelectionControls,
        child: const Stack(
          children: [
            SampleTextBox('This is a normal text', position: Offset(100, 100), angle: 0),
            SampleTextBox('This is a rotated text', position: Offset(50, 200), angle: 20),
          ],
        ),
      ),
    );
  }
}

class SampleTextBox extends StatelessWidget {
  const SampleTextBox(
    this.text, {
    super.key,
    required this.position,
    required this.angle,
  });

  final String text;
  final Offset position;
  final double angle;

  @override
  Widget build(BuildContext context) {
    return Positioned(
      top: position.dy,
      left: position.dx,
      child: Transform.rotate(
        angle: angle,
        child: Container(
          color: Colors.green.withOpacity(0.5),
          padding: const EdgeInsets.all(8),
          child: Text(text, style: const TextStyle(color: Colors.white)),
        ),
      ),
    );
  }
}

Screenshots or Video

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.0.1 22A400 darwin-arm64, locale en-ES)
    • Flutter version 3.10.1 on channel stable at /Users/----/src/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3d8effc68 (9 days ago), 2023-05-16 17:59:05 -0700
    • Engine revision b4fb11214d
    • Dart version 3.0.1
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/----/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/----/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.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
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

[✓] VS Code (version 1.79.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • iPhone de Carlos (mobile)           • ----            • ios            • iOS 16.4.1 20E252
    • iPhone SE (3rd generation) (mobile) • ---- • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4
      (simulator)
    • macOS (desktop)                     • macos                                • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

I am able to reproduce this issue on the latest master and stable channels. The issue occurs on both Android and iOS. Since web and macOS don't show cursor on Text selection, unable to determine cursor placement on those platforms.
  flutter doctor -v
[✓] Flutter (Channel master, 3.11.0-2.0.pre.55, on macOS 13.3 22E252 darwin-arm64, locale en-NG)
    • Flutter version 3.11.0-2.0.pre.55 on channel master at /Users/dammya/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 835b892d7f (2 weeks ago), 2023-05-07 01:30:22 +0530
    • Engine revision 23f730efbf
    • Dart version 3.1.0 (build 3.1.0-83.0.dev)
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/dammya/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/dammya/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.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
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.78.0)
    • VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (5 available)
    • sdk gphone arm64 (mobile)  • emulator-5554                            • android-arm64  • Android 11 (API 30) (emulator)
    • Damilola’s iPhone (mobile) • 71c843fa5f3dec767999f36224653c0faa78660e • ios            • iOS 16.4 20E247
    • iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                    • darwin-arm64   • macOS 13.3 22E252 darwin-arm64
    • Chrome (web)               • chrome                                   • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3 22E252 darwin-arm64, locale
    en-NG)
    • Flutter version 3.10.2 on channel stable at /Users/dammya/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (29 hours ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/dammya/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/dammya/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.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
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.78.0)
    • VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile)  • emulator-5554                        •
      android-arm64  • Android 11 (API 30) (emulator)
    • iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-arm64   • macOS 13.3 22E252 darwin-arm64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Does CompositedTransformTarget not work with rotation maybe?  Just a thought.  This is probably fixable though.

I have never heard of that 😅 I will investigate, but anyway I think it should prolly be an out of the box behavior
@justinmc

Thanks for taking a look, keep me posted.
LayerLinks are used to link the RenderEditable in the field:
https://github.com/flutter/flutter/blob/513ff44bce174e7e5efe1afbfc9757aca969ce63/packages/flutter/lib/src/rendering/editable.dart#L2476
to the handle in an Overlay:
https://github.com/flutter/flutter/blob/513ff44bce174e7e5efe1afbfc9757aca969ce63/packages/flutter/lib/src/widgets/text_selection.dart#L1472

Just tried adding a CompositedTransformTarget with the layerlink on top of the container and right below the transform and it actually works, thanks @justinmc
Altough I still feel like this shouldn't be the approach, (?)


Rename json to rapidjson

see: https://github.com/c4games/engine-x/commit/40cb06820119b954c7c107850923f5a4e56539d0


Master merge for #915

#915

@swift-ci please test

I am wondering if we should have a test case for this bug fix. I'll check if the HTTPServer.swift can be extended to simply reflect back the request headers for an incoming request.

@swizzlr It will be great if we can have a test on these lines (feel free to use this code, if needed):
https://github.com/pushkarnk/swift-corelibs-foundation/commit/2b1e93ba10b7f512ffaf6577f9612aa8a08d44e5

@swift-ci please test

@swift-ci please test

Unrelated failure. Let me try one more time.
@swift-ci please test

Same compiler crash again. May be we should wait?
Failing Tests (1):
    Swift(linux-x86_64) :: compiler_crashers/28719-currentconstraintsolverarena-no-constraint-solver-active.swift

@pushkarnk Well, this crash doesn't have anything to do with this PR, right?

Yes, but it can't be merged without the CI tests passing :( Let me try again.
@swift-ci please test and merge

@swift-ci please test and merge

Compiler engineers, right?


Property to allow codegen of either element range indexes or path range indexes, per entity type

Two new properties are introduced, on each entity type,
path-range-index  (JSON pathRangeIndex)
and
element-range-index (JSON elementRangeIndex)
path-range-index is equivalent to backward compat range-index, which we will deprecate.

There is some intersection between this task and support for namespaces in XML.

Made significant progress on this issue today, along with namespace support #122 .
Implemented and tests passing for XML/JSON entity types, database properties generation and search options generation.
So the portions of #122 that do not have to do with range indexes are still remaining.

Almost complete, will deliver PR by Monday.

Started testing. Filed a bug, #317

Added tests that will be in PR later today

Task complete. Added tests are running fine. Shipping the task.


search_users Error

search_users (Missing or invalid url parameter, code 47) Error
Hi,
I'm facing with a TweepyError coming from this lines of code:
try:
    twapi = tweepy.API(auth,retry_count=10,retry_delay=60,retry_errors=['104','47'],
                                   wait_on_rate_limit=True,wait_on_rate_limit_notify=True)
    users_stream = twapi.search_users(q=users_loginname_list)
except tweepy.error.TweepError, ex:
    print ex

The error arisen is this:
[{u'message':u'Missing or invalid url parameter.', u'code': 47}]

The strange thing is that the Tw Search method works properly until a random call, in which this
error is arisen. I really don't know right know if there is a way to fix it; I hope to receive a fast
reply, because I'm working on Twitter for Data Mining purpose, so I should have some
results in few days. Thank you for your future help!

That message is from twitter, not tweepy.

Ok, thanks. How do you think it can be fixed? Or, at least, are you aware about what can arise this Twitter Error? (maybe it is from wrong input passed to user_search method). Thanks.

As explained, this is an error response from Twitter and unlikely an issue with Tweepy.
Regardless, I'm unable to reproduce this, as this is likely just users_loginname_list being an invalid query.
Unless you can provide a reproducible example, this isn't actionable.


eww crates.io name

Hi! I'm the owner of the crate name "eww" on crates.io, see here.
I'm no longer developing my crate and it's pretty much obsolete.
I wanted to ask if you are interested in taking ownership of this name and publishing your eww on crates.io.
If so let me know!

Uhh, that would be really cool, yea!

Okay, all I need is your crates.io username (might be your GitHub name, if you sign in using it).
Let me know and I'll transfer ownership to you.

It is just ElKowar, yea! Thanks a ton

Okay, the invite is out!

Thanks a lot! I'll publish eww there soon!