Limit number of users to account based on subscription plan

Description
This PR prevents accounts from exceeding the user limit of their subscription plan.
(We may need to grandfather in a few accounts that have already exceeded this limit)
Issue
https://github.com/papercups-io/papercups/issues/444
Screenshots
When new user tries to register, but the account has already reached its limit:

When an admin users attempts to generate a new invite link after the account has reached its limit:

Checklist

[ ] Everything passes when running mix test
[ ] Ran mix format
[ ] No frontend compilation warnings

For the admin user can we change the pop up text to: "You've hit the limit for the free tier try our premium plan for 30 days!" with a link to our pricing page

@cheeseblubber

Thought about this a little bit more can we update "Failed to generate user invitation!" to "Please upgrade to add more users?"


https://www.cookcountyil.gov/calendar --- 404 Not Found httperror

Hi!
The spider for http://www.cookcountyil.gov/calendar causes a 404 httperror.
Anyone have an idea of how to get around this?

@shinda Can you push your code to a branch so someone can take a look at it? From what I can see, accessing https://www.cookcountyil.gov/calendar (note the https) seems to work:
$ http https://www.cookcountyil.gov/calendar
HTTP/1.1 200 OK
Cache-Control: public, max-age=86400
Connection: keep-alive
Content-Encoding: gzip
Content-Language: en
Content-Length: 10796
Content-Type: text/html; charset=utf-8
Date: Mon, 28 Aug 2017 14:49:47 GMT
Etag: "1503929847-0"
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Mon, 28 Aug 2017 14:17:27 GMT
Server: Apache
Vary: Cookie,Accept-Encoding
Via: 1.1 beff637ae3d8d9cb7e1e6a841f0a1727.cloudfront.net (CloudFront)
X-Amz-Cf-Id: YMTGHNYiC3DqcruVu0b46OE8r4rpWuKh6V3HXjGbG9EfeIF562QyLw==
X-Cache: Miss from cloudfront
X-Drupal-Cache: HIT
X-Frame-Options: SAMEORIGIN
X-Powered-By: PHP/5.5.9-1ubuntu4.22
X-UA-Compatible: IE=Edge,chrome=1

<!DOCTYPE html>
<!--[if lt IE 7]>  <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en-US"> <![endif]-->
<!--[if IE 7]>     <html class="no-js lt-ie9 lt-ie8" lang="en-US"> <![endif]-->
<!--[if IE 8]>     <html class="no-js lt-ie9" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->

  <head>
    <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="https://www.cookcountyil.gov/sites/default/files/favicon_2.ico" />
    <title>Calendar | CookCountyIL.gov</title>

... lots and lots more html ...

Feel free to create a pull request with your code so we have a place to further discuss and troubleshoot!


add support kotlin

add

kotlin is interoperable with java
PR or shut

What "Kotlin support" do you want? It works perfectly fine already.

the problem is that the rows in the basin do not work what should work

and there is a chest and in addition, if it gives 27 slots, I get 9 slots and the code is: Gui.gui()                     .title(ChatHelper.parse("<green>text")) //minimessage                     .disableAllInteractions()                     .rows(27)                     .create()

and there is a chest and in addition, if it gives 27 slots, I get 9 slots and the code is: Gui.gui().title(ChatHelper.parse("<green>text")).disableAllInteractions().rows(27).create()

I'm sorry but what made you think that rows, sets the slots field? That does set the rows. the maximum amount of rows in a chest gui is 6.

thanks


Update kafka connection address and pkg_info for latest ignition version

[x] Issue: https://github.com/IBM/ansible-lifecycle-driver/issues/149
[x]  List of related PRs. : None
[x]  Project builds without any errors.
[x]  Unit Tests updated (or created where needed) and all pass.
[x]  You have ran manual functional “smoke” test (does product as a whole still work?).
[x]  User Story meets the acceptance criteria - and passes. acceptance criteria should be understood at outset.
[x]  There is a PR for update of internal documentation for the affected Project(s) - README etc.
[x]  Description of the changes: update kafka connection address and pkg_info to use latest ignition #149

Closing this PR as new PR has been raised for the same #153


Almond is a factor of two slower than Spark shell

Initializing Spark with
val spark = {
    NotebookSparkSession.builder()
      .master("local[*]")
      .getOrCreate()
  }

using the following function to measure execution time
def time[R](block: => R): R = {
    val t0 = System.nanoTime()
    val result = block    // call-by-name
    val t1 = System.nanoTime()
    println("Elapsed time: " + (t1 - t0)/1000000.0 + "ms")
    result
}

and defining the following variables

val persons = List((1, "John", 34, 36), (2, "Mary", 23, 12), (3, "Joe", 90, 45), (4, "Linda", 74, 25),
                   (5, "Joe", 34, 36), (6, "Maria", 23, 12), (7, "Jack", 90, 45), (8, "Lindsay", 74, 25))

val personsDF = persons.toDF("id", "name", "work", "leisure")

val df = personsDF.select($"work", $"leisure", when($"work" > 50, "High").otherwise("Low").as("Level"),
                when($"leisure" > 30, "much").otherwise("notmuch").as("Fun"))

the following code takes twice as long in Almond than in Spark shell:
time{df.groupBy($"Level", $"Fun").agg(round(avg($"work"),1).as("work"),
                                 round(avg($"leisure"),1).as("leisure")).sort($"Level", $"Fun").show}

Almond (1st time): 15s
Ammonite (1st time): 10s
Spark shell (1st time): 7s
Almond (subsequent runs): 5s
Ammonite (subsequent runs): 3s
Spark shell (subsequent runs): 2s
Therefore, the convenience of using Jupyter is greatly reduced by the sluggishness of the kernel. Also, why is Almond much slower than Ammonite?
EDIT: Based on the above benchmark Apache Toree has a performance similar to Ammonite.
EDIT: Based on the above benchmark Apache Zeppelin has a performance similar to Spark shell.

Reproduced here, notebook with an AmmoniteSparkSession for comparison here, and with just progress bars disabled.
I would blame our progress listener, that subsequently sends updates to the front-end.


Crash when applying filter while in edit mode: ''Refresh' is not allowed during an AddNew or EditItem transaction.'

Repro in sample application:

set grid to IsReadOnly="False" to be able to edit cells
start application
start editing cell
apply new filter while in edit mode
crash!

Maybe the grid could cancel the current transaction before it applies the filter or perhaps when opening the filter dialog?

I don't know if this is the best solution, but at the start of ShowFilterCommand I added CommitEdit(DataGridEditingUnit.Row, true); which seems to resolve the issue.

Added to last commit, at the moment this feature is untested, I don't know if it can cause unexpected effects !
Best regards

I found this way to do the same: https://github.com/dotnet/DataGridExtensions/blob/master/src/DataGridExtensions/Tools.cs#L171
Just add two CommitEdit() instead of CommitEdit(DataGridEditingUnit.Row, true); I don't know... Maybe it's the same in the end.
But that's a repo under the .net foundation which might indicate some sort of quality. =)


magd: Process to calibrate the raw magnetometer readings

Problem
The magnetometer readings need to be calibrated. From mmc5603nj, we get x, y, z magnetometer readings (forwards and reverse polarities). We need to calibrate these for soft iron, hard iron and other effects in order to derive bearing from the readings.
Method

First, we obtain the temperature invariant value by (mag - mag_rev)/2, where mag and mag_rev are the readings with opposite polarities.
We collect enough measurements in all headings
Then we use an ellipse fit method to account for the hard and soft iron effects, and normalize the distorted blob into a circle. Note that the y-direction is ignored (hence not ellipsoid fit) as the device only moves in a 2D plane, and is not calibrated in that direction.
We can obtain the heading from these calibrated points

Warning

Since the y-direction is not calibrated, the heading uphill or downhill may not be accurate.
The magnetometer readings are extremely distorted near metallic structures like gates, etc. (this is accounted for during calibration).

ToDo

[x] Split out torqued stuff into a separate PR, merge
[ ] migrate magnetometer values in process replay
[ ] Update refs
[ ] Merge cereal PR: https://github.com/commaai/cereal/pull/543

Can you also start a unit test suite? Although this is covered by process replay and the fuzzing test, we shouldn't have any daemons that don't have a test class already setup. It can just start with testing the cache restore.

Added tests.


[Audit][SPARK-44838][SQL] raise_error improvement

Describe the bug
Extend the raise_error() function to a two-argument version:
raise_error(errorClassStr, errorParamMap)

Examples
SELECT raise_error('VIEW_NOT_FOUND', map('relationName', '`v1`');
  [VIEW_NOT_FOUND] The view `v1` cannot be found. Verify the spelling

The single-parameter raise_error(str) will raise USER_RAISED_EXCEPTION
spark.sql.legacy.raiseErrorWithoutErrorClass (default: false) to revert to the old behavior for the single-parameter version.
assert_true() will also return USER_RAISED_EXCEPTION.

Additional context
https://issues.apache.org/jira/browse/SPARK-44838
https://github.com/apache/spark/commit/9109d7037f4

We don't support raise_error or RaiseError yet. We have not seen any customers using it so there has been no push to implement it. Even then it would probably just be a copy of the CPU version as there is nothing that we can do on the GPU with it.

I was wrong and this is in fact supported by us, so we need to make corresponding changes. We might need to make some changes to the UDF transpiler because this was added to support that.

so we need to make corresponding changes.

Unless I'm mistaken, #10969 is a dupe of this issue.  Both seem to highlight the need for a shimmed GpuRaiseError.


The full deck won't generate for printing

Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce, along with the following information:

OS:
Browser:
Page settings (from the "Page Settings" section of the generator)

Page Size:
Card Size:
Cards/page:
Arrangement:

What is the expected behavior?

I have completed my deck, but cannot generate the deck for printing.  I get this error code  setImmediate$0.9647194333251399$1

If you upload our deck I can check if the same happens with my browsers.
Please also add the information requested in your first comment.


Buff cube boxes

About the PR

Make cube boxes inventory 3x3, also remove whitelist
Buff cube boxes to have 8 cubes
Why / Balance

Box itself takes 3x3 in backpack but its 3x2 inside
Technical details

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

tweak: Cube boxes buffed 6 -> 8 cubes.

buff that we deserve


i cannot get SocketID.. im getting socket id null .

i working with xamarin forms.  my .net framework is 4.5
here is my code.
var socket = new Socket(myurl);
socket.On(Socket.EVENT_OPEN, () =>
{
        });
 socket.Open();

        string y = socket.Id;

      im getting id=null

can anyone suggest me? what im doing wrong?

Not knowing your 'myurl' value - IIRC, you must have the protocol/prefix in front of 'myurl' - for example, '<IP_ADDRESS>' will not work, but 'http://<IP_ADDRESS>' should.

my url is the same like u have mentioned .. var socket = new Socket("http://<IP_ADDRESS>:1337/");
but im unable to get the ID

if i tried to download the plugin through nuget im getting the below error.
Severity	Code	Description	Project	File	Line	Suppression State
Error		Could not install package 'EngineIoClientDotNet 1.0.3'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.			0
please help me

i reviewed the code and I saw that the id can be null if null returns the server, or if the server has emmited "close" so the socket is closed.
Check Socket.OnClose and you will see that there is where the value changes to null.


请问Vue实例中用$和_作为前缀的属性和方法有什么区别？

What problem does this feature solve?
我在阅读Vue的源码，发现Vue实例上既有$前缀的方法，如$set，$delete，也有_前缀的方法，如_render。
请问这两种前缀在使用上有什么区别呢？
What does the proposed API look like?
以上是我的一些疑问，恳请小伙伴们回答解惑。

Things that start by _ are internals, private api. Things that start with $ are things that are public api but they start with a $ so they don't collide with data, props, methods or computed properties added by the user


Fix flow error due to incorrectly set defaultProps

https://github.com/STRML/react-grid-layout/issues/1137
a simple fix for the issue i created.
sets the containerPadding within defaultProps to the expected value.

Interestingly, I'm not getting this Flow error, but it should show up.

Surfaced the error in https://github.com/STRML/react-grid-layout/commit/0e38ea00d59f84ab6bb3f2bda1ca6146e5ff15a6 and used that as an opportunity to fix up the props defs.

This actually creates a behavioral difference as null containerPadding causes <ReactGridLayout> to use margin, so it would be [10, 10], not [0, 0]. Reverting in 0.18.4.


Application Launching issue

after adding the package and following all steps iOS application gets an error while launching.
I attached image please any one can help

Please provide more information:

Which version of the plugin are you running?
What is the device you're running on? real or simulator? OS version?

Make sure you run flutter clean and add the following to your Podfile:
target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

  # Add this
  pod 'oppwamobile', :git => 'https://github.com/nyartech/oppwamobile-ios-sdk.git', :tag => 4.8.0

I tried with iphone X iOS16 and simulator too.


[WIP] Add KeyedChain GufeTokenizable representation

This PR implements the KeyedChain representation for GufeTokenizables originally implemented in
alchemiscale. As it appears general and useful enough, an upstream implementation seems appropriate.
The KeyedChain representation encodes a GufeTokenizable as a list of Tuples with the GufeKey and keyed dicts of other required tokenizables as their first and second elements, respectively. These tokenizables are sorted such that, when decoded in order, all required dependencies have been satisfied while accounting for duplicated dependencies down the tree structure. This representation is particularly useful when encoding/decoding GufeTokenizables on systems without a populated TOKENIZATION_REGISTRY.

[x] Documentation
[x] Tests

Hello @ianmkenney! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file gufe/tokenization.py:

Line 669:80: E501 line too long (87 > 79 characters)
Line 719:1: E302 expected 2 blank lines, found 1
Line 747:80: E501 line too long (87 > 79 characters)
Line 818:80: E501 line too long (84 > 79 characters)
Line 823:80: E501 line too long (86 > 79 characters)

@richardjgowers I think this is ready.

I'll take on review @ianmkenney!

Thanks for taking on the review @dotsdl - maybe this is a good start for a more regular GUFE meeting?

@ianmkenney is this ready for review in your view?

@dotsdl should be good for review


Reconcile span names between Python and JS instrumentors

Name is pretty flexible so not super important - deprioritizing.


Change default value for 6XX rules should have autoLinkingEnabled flag to true

Purpose
Change default value for 6XX rules should have autoLinkingEnabled flag to true
Approach
Create SQL script which updates autoLinkingEnabled flag to true for 6xx fields
Changes Checklist

[ ] API Changes: Document any API paths, methods, request or response bodies changed, added, or removed.
[x] Database Schema Changes: Indicate any database schema changes and their impact. Confirm that migration scripts were created.
[ ] Interface Version Changes: Indicate any changes to interface versions.
[ ] Interface Dependencies: Document added or removed dependencies.
[ ] Permissions: Document any changes to permissions.
[ ] Logging: Confirm that logging is appropriately handled.
[ ] Unit Testing: Confirm that changed classes were covered by unit tests.
[ ] Integration Testing: Confirm that changed logic was covered by integration tests.
[ ] Manual Testing: Confirm that changes were tested on local or dev environment.
[x] NEWS: Confirm that the NEWS file is updated with relevant information about the changes made in this pull request.

Related Issues
https://folio-org.atlassian.net/browse/MODELINKS-220

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


Handle nitro boosts

Wheee we know what #316 is about now :tada:
Support should only be added after it's officially released
There's a couple things we need to add support for:

premium_tier on guilds (Seemingly just an integer)
premium_since on members (Timestamp)
Message type 8 (see ex this image from this support article)
Anything I missed in this list

Note that

MESSAGE_CREATE events will have embeds == [] and content == ""

Examples:
Guild object:
{
  "voice_states" : [],
  "verification_level" : 0,
  "vanity_url_code" : null,
  "unavailable" : false,
  "system_channel_id" : "###",
  "splash" : null,
  "roles" : [],
  // Well would you look at that!
  "premium_tier" : 0,
  "owner_id" : "128316294742147072",
  "name" : "###",
  "mfa_level" : 0,
  "members" : [],
  "member_count" : 11,
  "lazy" : true,
  "large" : false,
  "joined_at" : "###",
  "id" : "###",
  "icon" : null,
  "features" : [],
  "explicit_content_filter" : 0,
  "emojis" : [],
  "description" : null,
  "default_message_notifications" : 0,
  "channels" : [],
  "banner" : null,
  "application_id" : null,
  "afk_timeout" : 300,
  "afk_channel_id" : null
}

Member object:
{
  "nick": "cool nickname",
  "user": {
    "username": "catnip",
    "discriminator": "1234",
    "id": "###",
    "avatar": "###"
  },
  "roles": [],
  // Notice this
  "premium_since": "2019-05-24T02:08:11.537000+00:00",
  "deaf": false,
  "mute": false,
  "joined_at": "###"
}

MESSAGE_CREATE:
{
  "t": "MESSAGE_CREATE",
  "s": 5,
  "op": 0,
  "d": {
    // Add this
    "type": 8,
    "tts": false,
    "timestamp": "2019-05-24T02:08:11.641000+00:00",
    "pinned": false,
    "nonce": null,
    "mentions": [],
    "mention_roles": [],
    "mention_everyone": false,
    "member": {
      "roles": [],
      // Add this
      "premium_since": "2019-05-24T02:08:11.537000+00:00",
      "nick": "witty nickname",
      "mute": false,
      "joined_at": "2018-02-09T00:40:36.537000+00:00",
      "deaf": false
    },
    "id": "###",
    // Notice the emptiness here
    "embeds": [],
    "edited_timestamp": null,
    // Notice the emptiness here
    "content": "",
    "channel_id": "###",
    "author": {/* Normal user object */},
    "attachments": [],
    "guild_id": "###"
  },
}

Fetching the message from the "Get Channel Message" endpoint:
{
  "attachments": [],
  "tts": false,
  // Notice the emptiness here
  "embeds": [],
  "timestamp": "2019-05-24T02:08:11.641000+00:00",
  "mention_everyone": false,
  "id": "###",
  "pinned": false,
  "edited_timestamp": null,
  "author": {/* Typical user object */},
  "mention_roles": [],
  // Notice the emptiness here
  "content": "",
  "channel_id": "###",
  "mentions": [],
  // This right here
  "type": 8
}

Looks to be a bit more involved than this -- see: https://github.com/discordapp/discord-api-docs/pull/960

I could add this to my PR

I added the premium_since and the three new message types that were added

Oh geez, there's more than just type 8 :sweat_smile:


Make Match ID friendlier to read

Could do words/context dependent/etc.

Fixed with https://github.com/NeverScapeAlone/NeverScapeAlone-API/pull/95


Do not corrupt DB on sudden power cutoff

git @ develop HEAD
Reproducibility: always
Steps:

Run a node.
Pull the power plug to emulate a sudden power cutoff.

What happened:
DB is corrupt and you have to reindex from scratch.
Expected result:
DB is written in a safe way so in case of sudden cutoff, it continues from where you left off.
Notes:
I had this issue occur so many times, I'm quite close to give up running a Dash node. Bitcoin Core, Bitcoin Unlimited and Zcash do not have this issue. The DB never gets corrupted on sudden power cutoff and continues from where you left off.

Actually I'm not sure if it happens always. I had incidents where the node was killed and the DB was fine afterwards. But mostly it was trashed.

@rex4539 @oti-dev Did you only observe this on develop or also on v0.12.x/v0.13.x releases?
https://github.com/dashpay/dash/pull/2744 should fix such issues introduced in v0.13.x and thus also present in develop.

I've had this ever since 0.12.x.

Same here.

Should be fixed by #2744 in develop and by #2746 in master (v0.13.2).


add node usage

add node usage,support some styles

What you do is exactly a perfect complement. Thanks a lot, bro.


<EMAIL_ADDRESS>fix: OpenBSD compatible

update deps
MSRV to 1.75 (due to deps)
switch to iroh-quinn from quinn
ensure ring is at 0.17, as older versions do not work on OpenBSD: https://github.com/briansmith/ring/issues/1602

Needs https://github.com/n0-computer/quinn/pull/6

Closing https://github.com/deltachat/deltachat-core-rust/pull/5557#issuecomment-2200796525


Telemetry UART Interface

This is a WIP PR for my current progress on implementing sending telemetry packets over UART through CSP.
This still includes a test data source and I'm sure many bugs I am still working through.
There are also various minor fixes, like converting tabs to spaces, adding file copyright headers, etc..

@plauche @cnalley This should be ready for review.

I'm good with this getting merged into the telem-refactor branch

Sweet, Merging..


Tooltip doesn't get hidden (not always, but often)

CodePen demo
https://codepen.io/anon/pen/rXLNXP
Steps to reproduce the problem

open the CodePen
move the mouse cursor over the red trigger element and what at least a second for the tooltip to show up
move the mouse into the tooltip wait a moment and then move the mouse (fast) further to the right and of the tooltip
in approximately 1 on out of 5 cases the tooltip doesn't hide and stays there indefinitely

What is the expected behavior?
The tooltip should hide when the trigger is set to "hover" and the mouse isn't hovering the trigger or the tooltip
What went wrong?
The tooltip doesn't get hidden in some cases

Gif of reproduced bug
@peda, thanks for creating the issue. I reproduced the problem and recorded it for better visualisation.
The bug is catched on at 5th try.

https://popper.js.org/popper-documentation.html#Popper.Defaults.removeOnDestroy
There's a typo that might cause this removeOnDestroay iso removeOnDestroy:

I tried to reproduce it before and it was as shown on the nice video. After the typo I couldn't reproduce it anymore.
Hope it helps!

@MBing even wit the typo fixed I can still reproduce it.

We have lots of tooltips and it completely randomly doesn't hide them sometimes. I gave up trying to find out why and just added a ticket to migrate to something else.

Thanks for the support @robclancy! I'm sure you will find a whole lot of open source maintainers willing to give your for free their time to fix your own problems with this attitude 👍

No worries. I don't plan to support a tooltip library that can't consistently hide a tooltip anyway :) And has open issues from over a year ago where things are tagged as "low difficulty". Oh and doesn't even provide CSS for arrows to the point we had to use view source to find something usable.
There are lots of people with a "good attitude" without this maintainer fixing their issues.
It's nice to see people still can't take it when their bugs make people not want to use their product. I already spent hours trying to find the issue because I knew even if I posted it you wouldn't try anyway.  Hilarious.

@alessandro-newzoo ;)

Hi, I'm interrupting the development of the tooltip.js library to focus on the development of @popperjs/core (Popper.js v2).
Please consider switching to Tippy.js, which is a way better alternative to Tooltip.js and is well maintained. Tippy.js still uses Popper.js under the hood, so you will find all your favourite features.
I'll close this issue.


feat(resource_fusionauth_tenant): adds support for all tenant rate limit configuration items.

Builds upon the changes introduced through #212. 🎉
Also fixes an issue where the server response for rate limits weren't deserialised into terraform state.
This could lead to issues if a rouge operator happened to change a setting server-side and terraform wouldn't reconcile the differences.

Force pushed to nuke the whitespace differences :polite-cat:

Looking forward to this.


Review: Only images that are not used

Task: When retrieving a new image to review, skip to next if the image is in use in any article or user page.
Same context as #5101, it is a bug to suggest that selfies that are used might be out of scope.
Caveat: Ignore usage under https://commons.wikimedia.org/wiki/User:Didym/Mobile_upload/ which has been a gallery of all of our uploads since 2014.

@nicolas-raoul, is there any field that tells that image is in use in any article or user page ?

@arinmodi I believe there is either a field or other API call for this.
This specialpage probably uses it:
https://commons.wikimedia.org/wiki/Special:GlobalUsage/Mozzarella_di_bufala3.jpg
Usage is also visible in the "File usage on other wikis" section of any image such as https://commons.wikimedia.org/wiki/File:Mozzarella_di_bufala3.jpg

These fields exist:
https://commons.wikimedia.org/w/api.php?action=help&modules=query%2Bfileusage
https://commons.wikimedia.org/w/api.php?action=help&modules=query%2Bglobalusage
They are not recognized by the current recent changes API call, it might need some tweaking:
https://commons.wikimedia.org/w/api.php?action=query&format=json&formatversion=2&list=recentchanges&rcprop=title|ids|tags|fileusage|globalusage&rctype=new|log&rctoponly=1&rcnamespace=6&rclimit=1&rctag=android app edit
If nothing else works, just call the API on each result:
https://commons.wikimedia.org/w/api.php?action=query&prop=fileusage|globalusage&titles=File:Mozzarella_di_bufala3.jpg

@nicolas-raoul, reviews are not loading, api reponse saying bad timestamp error

Please post your API call URL and the exact error message, thanks!

Please use build flavor prodDebug, not testDebug.
Then probably fix the timestamp, try to urldecode the URL.

@nicolas-raoul, it is related to the timestamp, %3A means :, but it is converted into %253A in url, that's causing the problem

@nicolas-raoul, how to change the build flavors?


KillServiceActorTest is unstable

marathon-unstable-loop report from March 1st
    20 mesosphere.marathon.core.task.termination.impl.KillServiceActorTest:The KillServiceActor when asked to kill a single known instance should issue a kill to the driver
Sample size: 93

Runs for hours on local machine and on nuc without failures. Closing this issue therefore

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2215. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Example script for Monitor Alerts creates a deprecated resource type

On this page of our docs: https://docs.microsoft.com/en-us/python/api/overview/azure/monitoring?view=azure-python
We provide an example script, but applying it emits the following error:

azure.mgmt.monitor.models.error_response_py3.ErrorResponseException: As part of classic alerts retirement, starting Sep 01, 2019, no new classic alerts can be created except on a few metrics listed here https://aka.ms/classic-alerts-exceptions. All classic alerts including the exceptions listed will stop working after June 2020. It is strongly recommended to use new metric alerts. See https://aka.ms/create-metric-alerts.

This is the very last code snippet on the page.
It looks like it's a fairly straightforward update to use the metric_alerts method in place of the alertrules method for the legacy resource.

@rloutlaw @lisawong19 any update on this?

@estensen sorry, I no longer work in docs

@lisawong19 you're listed as the author here on the deprecated code example. Do you know if anyone going to create an up-to-date example?

@estensen - Please open this issue over at https://github.com/Azure/azure-sdk-for-python - the team there is the ones that owns this source code.

@rloutlaw But this isn't a problem with the source code. It's the docs that are outdated and missing. Are you sure you want me to open an issue in azure-sdk-for-python?

Closing in favor of the SDK issue opened

Closing in favor of the SDK issue opened


[Improve][Connector-V2][MongoDB] Refactor MongoDB connector e2e test cases

sub-task of #3601

@MonsterChenzhuo Please comment here.

Hi @MonsterChenzhuo, How is the work progressing? Do you need any help from community?


request for 'Related Form' example

HI,
I have a little difficult...
can you provide an example about generate 'related form' ?
Thank's

first we must create model schema in resources/model_schemas, and the json file content definition for generate related form, as example :
// Redeem.json
{
"name": "prerequisites",
"dbType": "table",
"htmlType": "related-form,prerequisite_metric,prerequisite_value"
},
and then run artisan command :
php artisan generate:scaffold Redeem --fieldsFile=Redeem.json --relations
this command will generate controller, model, and other related class, and alson generate related form in fields.blade.php

Thank you for reply,
the solution you propose couses an error during migrate:
In Macroable.php line 96:
Method table does not exist.
something wrong... do you have any suggestion?


Adding aria label to text fields

Issue: #19844

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.006%) to 41.952%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/common/processService.ts
3
77.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
28731

Relevant Lines:
63599

💛  - Coveralls


Make event filtering stricter for move events (blockly#1892)

Well, this was a fun way to spend 3 hours!
Resolves
Resolves https://github.com/LLK/scratch-gui/issues/4400
Proposed Changes
This PR brings over the event merging changes from https://github.com/google/blockly/pull/1892/.
Regarding the other commits:

"Fix undoing a drag to connect" is part of the wouldConnectBlock changes. I was wondering why applyConnections and render were being called after fireMoveEvent_ in Blockly but before it here, and it turns out that was part of another bugfix. I think it's best to apply it here too; fixing the event merging would otherwise break behavior.
"Add wouldConnectBlock to InsertionMarkerManager": see below discussion.

Reason for Changes
Changing the sprite menu in the "(attribute) of (sprite)" block triggers a workspace update, which rebuilds the entire Blockly workspace.
When rebuilding a workspace, blocks are first created with their position at the origin and then moved to their proper positions. The VM should be able to track that via events emitted from Blockly, e.g.:

Block A is created at position (0, 0).
Block A is moved to position (500, 100).

However, in certain cases (e.g. when you change the menu in the toolbox/flyout, maybe other cases?), these events are emitted twice:

Block A is created at position (0, 0).
Block A is moved to position (500, 100).
Block A is created at position (0, 0).
Block A is moved to position (500, 100).

The previous event merging behavior would incorrectly merge the second move event into the first, as such:

Block A is created at position (0, 0).
Block A is moved to position (500, 100).
Block A is created at position (0, 0).

This would cause the VM to think that Block A should remain at (0, 0). This would be repeated for every top-level block in the current sprite's workspace, causing them all to be reset to (0, 0).
Test Coverage
Tests were ported from Blockly

@rachel-fenichel Sorry about the lack of attribution on https://github.com/LLK/scratch-blocks/pull/2068/commits/fccb5e11d33b0a823a4964870e65ae3e12092d9b! Fixed it now

Oh I'm not worried about attribution! Just sad that it took lots of digging to find a previously solved problem.

@picklesrus any chance you have time to review this? I feel like I'm in over my head in terms of scratch-blocks. In talking with @adroitwhiz (and referring to 6275e1137c9be43ff8a94dcf8139196cb384e657) it does look like adding wouldConnectBlock to both DraggedConnectionManager and InsertionMarkerManager makes sense.

As I recall, scratch-blocks doesn't use the dragged connection manager and so it doesn't matter if you add the code in there or not.
The dragged connection manager handled blockly-style yellow highlights. The insertion marker manager handles insertion markers. They share an API and for a while both files existed next to each other, but I don't think you're ever instantiating a dragged connection manager. And there's no inheritance going on either.

What Rachel said :) Scratch blocks instantiates InsertionmarkerManager in block dragger, not DraggedConnectionManager so that code shouldn't matter.  Looks like we're setting closestConnection_ in the same way that Blockly does too so I'm pretty sure this is fine for the blocks. During testing we should verify that insertion markers continue to work as we expect.
To me, knowing whether the VM is somehow depending on the event that was merged is trickier to verify. @adroitwhiz would you work with folks to make a test plan for this? Happy to help!  In addition to testing that the bug with that sensing block is fixed and insertion markers still work as expected, here are some random initial thoughts on things that may generate events: switching sprites, switching between code/sound/paint tabs, switching to the stage & back to a sprite, editor->project page->editor, share the love, changing values in the sprite pane, moving blocks around, undo/redo, clean up blocks, deleting blocks in a way that resizes the workspace, load project from a file.   I think considering something like this list while the project is running is important too. Maybe @cwillisf has thoughts on whether I should be concerned about how these things interact with the VM or not?

Thanks Katelyn for helping us ideate about a test plan!


TypeError: Cannot read properties of undefined (reading 'call')     at webpack_require

Version
4.0.8
Reproduction link
segmentfault.com
Steps to reproduce
1、Execute npm run build to package and deploy the online server
2、An error is reported after clicking the route menu, as shown below
TypeError: Cannot read properties of undefined (reading 'call')     at webpack_require
Uncaught (in promise) Error:Couldn't resolve Qcomponent "default" at "/sbjh”  vue-router.esm-bundler.js:2043
TypeError: cannot read properties of undefined (reading 'call ')at_webpack_require__ (app.js : 85: 30)
at eval (vue-router.esm-bundler.js :2043;47)
at ./node_modules/cache-loader/dist/cjs.js ? !./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue- loader-v16/dist/index.js?!./src/views/project/component/lxxmTemplate/index.vue?vue&type-script&lang-js(31.js:83:1)
at_webpack_require_ (app.js:85: 30)at eval (index. vue:2:303)
at ./src/views/project/component/lxxmTemplate/index.vue?vue&type=script&lang=js(31.js:299:1)
at webpack_require_ (aPp.js:85: 30)at eval (VM1514 index.vue:3:92)
at ./src/views/project/component/lxxmTemplate/index.vue (31.js:287:1)at_webpack_require__ (app.js:85:30)
3、The code was not modified, repackaged and deployed. After a period of time, it was found that the system could run normally, that is, no error was reported when clicking the route
4、Because some functions have been modified and repackaged for deployment, the problem this time is that the above error occurs after some routes are clicked. After a period of time, the system logs in again about 30 minutes later and finds that the operation is normal without error
What is expected?
What causes the above problems and what modifications are needed
What is actually happening?
An error is reported after clicking the route menu

I tried to delete the dependency, reinstall the package, and found related errors on the Internet, but they were not resolved very well

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.


🐛 Bug Report: backstage-cli repo build doesn't accept '--config' args

📜 Description
This behaviour is not a technical bug, but rather a limitation that ends up looking like a bug?
Here's what I'm trying to do
I have integrated Datadog RUM like described in the docs, i.e I added a conditional script in my index.html.
This works completely fine if I put the Datadog RUM config in my app-config.yaml. However, we don't want to run Datadog RUM in our local and test envs but only in prod.
The way of doing this would be to add the datadogRum settings in app-config.production.yaml, but it isn't possible to define --config options when using yarn build (and therefore backstage-cli repo build --all), which we need in this case since the config needs to be read at build time to generate the app index.html, not at runtime like it is for all other plugins.
Am I missing something?
👍 Expected behavior
I would expect to be able to run yarn build --config app-production.yaml, just like one can do on a package level.
👎 Actual Behavior with Screenshots
The config file cannot be defined with yarn build and therefore only app-config.yaml is parsed, meaning that the Datadog RUM config must be present in app-config.yaml.
👟 Reproduction steps

Set up a backstage app
Enable datadogRum in app-config.yaml like described here
Run yarn build and verify that the generated index.html contains the datadog RUM script
Move that config to a separate config file like app-config.production.yaml
Wonder how to pass that config to the frontend build step? :D

📃 Provide the context for the Bug.
See the bug description
I want to use different config of datadog rum per environment, and not include it at all in our local dev environments (ie not in app-config.yaml
🖥 Your Environment
OS:   Darwin 21.6.0 - darwin/arm64
node: v16.15.1
yarn: 1.22.19
cli:  0.21.1 (installed)
backstage:  1.8.3
Dependencies:
@backstage/app-defaults                          1.0.8
@backstage/backend-common                        0.16.0
@backstage/backend-plugin-api                    0.1.4
@backstage/backend-tasks                         0.3.7
@backstage/catalog-client                        1.1.2
@backstage/catalog-model                         1.1.3
@backstage/cli-common                            0.1.10
@backstage/cli                                   0.21.1
@backstage/config-loader                         1.1.6
@backstage/config                                1.0.4
@backstage/core-app-api                          1.2.0
@backstage/core-components                       0.12.0
@backstage/core-plugin-api                       1.1.0
@backstage/errors                                1.1.3
@backstage/integration-react                     1.1.6
@backstage/integration                           1.4.0
@backstage/plugin-adr-backend                    0.2.3
@backstage/plugin-adr-common                     0.2.3
@backstage/plugin-adr                            0.2.3
@backstage/plugin-api-docs                       0.8.11
@backstage/plugin-app-backend                    0.3.38
@backstage/plugin-auth-backend                   0.17.1
@backstage/plugin-auth-node                      0.2.7
@backstage/plugin-catalog-backend-module-github  0.2.1
@backstage/plugin-catalog-backend                1.5.1
@backstage/plugin-catalog-common                 1.0.8
@backstage/plugin-catalog-graph                  0.2.23
@backstage/plugin-catalog-import                 0.9.1
@backstage/plugin-catalog-node                   1.2.1
@backstage/plugin-catalog-react                  1.2.1
@backstage/plugin-catalog                        1.6.1
@backstage/plugin-github-actions                 0.5.11
@backstage/plugin-org                            0.6.1
@backstage/plugin-permission-common              0.7.1
@backstage/plugin-permission-node                0.7.1
@backstage/plugin-permission-react               0.4.7
@backstage/plugin-proxy-backend                  0.2.32
@backstage/plugin-scaffolder-backend             1.8.0
@backstage/plugin-scaffolder-common              1.2.2
@backstage/plugin-scaffolder                     1.8.0
@backstage/plugin-search-backend-module-pg       0.4.2
@backstage/plugin-search-backend-node            1.0.4
@backstage/plugin-search-backend                 1.1.1
@backstage/plugin-search-common                  1.1.1
@backstage/plugin-search-react                   1.2.1
@backstage/plugin-search                         1.0.4
@backstage/plugin-tech-radar                     0.5.18
@backstage/plugin-techdocs-backend               1.4.1
@backstage/plugin-techdocs-module-addons-contrib 1.0.6
@backstage/plugin-techdocs-node                  1.4.2
@backstage/plugin-techdocs-react                 1.0.6
@backstage/plugin-techdocs                       1.4.0
@backstage/plugin-user-settings                  0.5.1
@backstage/release-manifests                     0.0.7
@backstage/test-utils                            1.2.2
@backstage/theme                                 0.2.16
@backstage/types                                 1.0.1
@backstage/version-bridge                        1.0.2
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

I'm thinking that the best fix for this is to move the datadog configuration out from index.html and into an analytics module, so that it can read from the injected config at runtime. That way we remove the need for a separate frontend build in many situations.
Adding a config flag to the repo build is problematic because it builds all packages, including potentially multiple frontends. The intended way to build a frontend with a specific config is to only build the frontend package by itself, i.e yarn workspace app build --config ...

@alexandrepesant Wonder how to pass that config to the frontend build step?

Managed to do this by passing environment variables to set app config values in CI.
For illustrative purposes, an example in GitHub Actions:
      - name: Build Backend
        run: yarn build:backend
        env:
          APP_CONFIG_app_datadogRum_clientToken: ${{ secrets.DD_CLIENT_TOKEN }}
          APP_CONFIG_app_datadogRum_applicationId: ${{ secrets.DD_APPLICATION_ID }}
          APP_CONFIG_app_datadogRum_site: datadoghq.eu


Properly skip nested scopes

Partially addresses #1424

Checklist

[ ] I have added tests
[ ] I have updated the docs and cheatsheet
[ ] I have not broken the cheatsheet

closed in favour of https://github.com/cursorless-dev/cursorless/pull/1457


JavaMail activation DataContentHandler error

In which file did you encounter the issue?
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/appengine-java8/mail/src/main/java/com/example/appengine/mail/MailServlet.java
Did you change the file? If so, how?
I didnt change the file
Describe the issue
When i was trying to add JavaMail into my project, i get a NoClassDefFoundError, so i tryed to come to the java-docs-samples and there is the exact same error here.
When you launch the POST, you get a NoClassDefFoundError error that is :
[INFO] GCLOUD: java.lang.NoClassDefFoundError: javax/activation/DataContentHandler

Tryed changing dependency with javax.activation, com.sun.activation,  javax.xml.bind, com.sun.xml.bind, com.sun.xml.bind without success
Thanks in advance

Hi @FontanyLegall-Brandon, when I tried to recreate this issue, I received this error when my java version was incorrect. Can you confirm you are using Java 8?

Hey @averikitsch and thanks for the reply, i find a solution but is pretty strange.
Like, when i use the Google SDK from the following link, it work correctly : https://cloud.google.com/appengine/docs/standard/java/download?hl=fr
But, from the follow link (+ gcloud components install app-engine-java) don't work : https://cloud.google.com/sdk/docs/downloads-interactive?hl=fr
So i needed to reinstall the SDK with the zip and not the curl, like, there is 2 different versions depending the link used ?
Anyway, thanks for the reply, my problem is solved


Core: "Font Size" field on themes settings dialog could accept any non-ASCII characters and any number for font size.

Launch Brackets
Click View->Themes
Input some non-ASCII characters into the "Font Size" field or input small/large number.
such as "ДЁЙФ龘龜び>_$#@&*ぷ龝" or 01px/1000000px

Result: "Font Size" field could accept any non-ASCII characters and any number for font size.
Expect: The "Font Size" field could add some control to forbid the incorrect format data.

If your font size input field for your theme is non-numeric, font is set to default that is 12px

We restrict the input when setting the value.  Perhaps we should add the pattern to the input field as well to only allow numbers and optionally the units.
https://github.com/adobe/brackets/blob/master/src/view/ViewCommandHandlers.js#L303

Hello. If it's still possible, I'd like to take this issue on, please.

Go ahead @nyteksf , this issue still hasn't been solved.

Hello! Has this issue been resolved?

Verified as fixed.


MarkerClusterer not displaying fetched data

MarkerClusterer in Map.js is not displaying fetched data even if logging the fetched data shows that it is the same as the hard coded data.

issue resolved in commit c72cd55f0ce8eb0257365b1c5c4da352f9a9f09f


Download implementation

Those three commits should bring the Download feature to the client as mentioned by #36

Addition of an http.Client to the Plex struct to allow longer GET request and thus be able to download media.
Addition of a "grab" request that uses that particular client
Addition of a Download function that downloads the different "parts" of the different media of one metadata.

Tested it out locally and it works perfectly! Merging. Thanks for the contribution!


[backend] Add an endpoint for wallet balance

Add an endpoint for wallet balance that we show on the application with both full funds and funds available to send?

Already merged.


run grizzly on windows

I have installed grizzly-loadtest and grizzly-loadtester-cli on windows without problems.
One note is that C++ is huge to install setproctitle. That maybe you can look into as well?
But the problem I got when running yours example is this:
C:\Users\Pelle\PycharmProjects\grizzly-main\example> grizzly-cli --local -c environments/example.yaml features/example.feature
Traceback (most recent call last):
File "C:\Users\Pelle\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Pelle\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\Pelle\PycharmProjects\grizzly-main\venv\Scripts\grizzly-cli.exe_main.py", line 4, in
File "c:\users\pelle\pycharmprojects\grizzly-main\venv\lib\site-packages\grizzly_cli\cli.py", line 21, in
from .build import main as build
File "c:\users\pelle\pycharmprojects\grizzly-main\venv\lib\site-packages\grizzly_cli\build.py", line 1, in
from os import environ, getuid, getgid
ImportError: cannot import name 'getuid' from 'os' (C:\Users\Pelle\AppData\Local\Programs\Python\Python310\lib\os.py)
PS C:\Users\Pelle\PycharmProjects\grizzly-main\example>
So os.py needs to be handled for windows user. Can you give me some tips?

we're in the middle of a big rewrite of grizzly-cli, when that is done I'll have a look at adding support for running it in windows as well.

.. Until then, please run it in WSL, or Linux, if possible !

Sounds good. Look into why you need setproctitle as well. Because C++ installation is 6gb on windows
On this cooperation we do not have access till linux...

Sounds good. Look into why you need setproctitle as well. Because C++ installation is 6gb on windows

setproctitle is used to get correct application/process name (would otherwise be behave).
Main usage is though together with pymqi to get/put messages on IBM MQ, so I guess it could be moved as an optional with pymqi. That would be a separate issue though.

Aha to be honest I didn't check it up. But the name of it almost describe what it does. Set proc title :)
Ok I understand. Have it in minde if you see the oportunity to remove it or change it to something else...

grizzly-loadtester-cli==2.0.0 has now been released, and it works running, the example, on windows.
a lot of other stuff has changed as well, and I haven't had time to update the CLI or example documentation yet. Everything up until actually executing the example is the same, and then:
grizzly-cli run -e .\environments\example.yaml local .\features\example.feature
due to this, i'm closing the issue.
the "problem" with setproctitle, I would say is a minor inconvience. I had a quick look for an alternative, but couldn't find one.
please open up a seperate issue if it is something that we should really spend time on.


fix(aws-xray-sdk-fastify): add missing export default

Issue #, if available:
Description of changes:

Add a missing export default type
Add a named export plugin

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.56%. Comparing base (e28c1af) to head (ae24585).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #686   +/-   ##
=======================================
  Coverage   83.56%   83.56%
=======================================
  Files          36       36
  Lines        1813     1813
=======================================
  Hits         1515     1515
  Misses        298      298

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


text is blurry

Since 0.11.1 the text looks blurry:

If I manually downgrade to 0.11.0 it looks crisp (new save it opening a save with 0.11.1 using 0.11.0 crashes the game instantly):

I'm not exactly sure why it looks blurry.
If I go pixel peeping on the old version the text "glowing" on the neighboring pixels (anti aliasing or subpixel rendering ¿ that where my knowledge stop).
The new version's text is identical but the black outline does not "glow", the text itself still glows but on the outline. So I guess this bug report could be rephrased: the black text outline added in 0.11.1 is not antialiased
However there are very few pixels to interpret and I don't know if that subjectively looks blurry since the letters are fatter.
I don't know how this text is rendered on screen, I guess could be a factorio if that using primitives provided by factorio.

as a very first sanity check: do you have some strong sharpening enable?
since uh, i can't see any of the blurriness you mean, whatsoever. both texts have about the same smoothness to me and the only difference is an added outline

I didn't thought about the display settings, after checking I don't have sharpening enabled but I had extremely low brightness. Raising the brightness fixes the issue but I don't like it.
I've tried taking a photo but the eyes are much better at picking up green text on green grass contrast without the black outline than my phone even with HDR, make sense why that was added.
Closing as it's a brightness tradeoff.

cheers, thanks for looking into it. as a suggestion: factorio has brightness/contrast settings and such ingame as well, maybe you can do something with those :)


make number of LORANSAC iterations configurable by function argument

Currently hard-coded.

@mihaidusmanu could you take a look at this when you get a chance? Although you're likely busy with CVPR, can be after that : - )

Hey. Sorry for the delay - I think it's a good idea to expose these parameters and the PR looks good to me.
However, for consistency, we should also expose them for PnP / GPnP. In case you don't have time to deal with that, I can merge this and push a fix for the rest later in the week.

Will push a fix for the rest in a bit!

Thanks!


how to define multiple namespaces in one world config?

Hi
I can see there is a proposal for this: https://github.com/latticexyz/mud/issues/994#issuecomment-1577509591. Also, I tried the following config in mud config:
export default defineWorld({
  namespaces: {
    "": {
      tables: {
        Counter1: {
          schema: {
            value: "uint32",
          },
          key: [],
        },
      },
    },
    namespace1: {
      tables: {
        Counter2: {
          schema: {
            value: "uint32",
          },
          key: [],
        },
      },
    },
  },
});

Since there is no error shown in vscode, I assume this configuration is ok. Then run pnpm run tablegen, what I got is still two tables with empty namespace
  // Hex below is the result of `WorldResourceIdLib.encode({ namespace: "", name: "Counter1", typeId: RESOURCE_TABLE });`
  ResourceId constant _tableId = ResourceId.wrap(0x74620000000000000000000000000000436f756e746572310000000000000000);

  // Hex below is the result of `WorldResourceIdLib.encode({ namespace: "", name: "Counter2", typeId: RESOURCE_TABLE });`
  ResourceId constant _tableId = ResourceId.wrap(0x74620000000000000000000000000000436f756e746572320000000000000000);

Do I miss something, or this feature is not implemented yet?

Sorry, this is not yet implemented! Keep an eye on #994!
We’re heads down in prep for the Redstone launch but planning to get to this soon after.


Replace read-only failure with warning

Currently, if a read-only property is called upon to make a change to an
existing resource, a fail() is called to throw an error to the user,
even though the rest of the run continues.  Notifying the user that the
change will not be made, while definitely useful, is not a failure
condition when operating AWS infrastructure.  If a change is made to
either the resource in Puppet, or the live resource in AWS, which
results in a difference in desired and actual state for one of these
properties, this condition is raised.
To fill in the gaps of what this module currently provides and what is
necessary to be done outside of Puppet, I believe a warning is much more
appropriate, as we still notify the user that a change will not be made,
but also allow for clean(ish) catalog runs so reports report clean.

@DavidS @hunner What do you guys think about this one?  A merge here would allow me to move my production infrastructure to the ECS branch I've got open for https://github.com/puppetlabs/puppetlabs-aws/pull/324.

@zleswomp The code should fail that and only that resource, because it is out of compliance. I don't think that only outputting a warning would be appropriate there.

@DavidS If Puppet is incapable of rectifying the situation, then can you also see the argument that it is not Puppet that should be failing here?  In other circumstances (local systems changes, etc) I would completely agree with your assessment.  Though, creating a thing in aws and not being able to modify it is just something that you have to live with in aws, and is a limitation of the API and AWS itself.  Its not really the responsibility of Puppet to fix the issue once the resource for a read_only property has been set.  I can see for auditing etc, but failing the resource for something that Puppet has no actual control over seems a little strange to me.  Also noisy.

I think a by-product of this is now in the puppet enterprise console this "change warnings" are being reported as actual changes.


DX12 swap chain not supported?

When I try to create fbo for a window I get this error.
FrameBufferHandle createFrameBuffer(void* _nwh, uint16_t _width, uint16_t _height, TextureFormat::Enum _depthFormat)
{
	BGFX_CHECK_CAPS(BGFX_CAPS_SWAP_CHAIN, "Swap chain is not supported!");

Works with dx11 and opengl. Is DX12 implementation reasonably or at all usable?

Not implemented yet.

Btw, caps are there for you to figure out what features you can use in runtime. You should use caps to enable/disable features that are not supported.

Ya I know. I guess this issue was more to get an idea of what is left of dx12 to be done.

Swap chain is missing, and there are several bugs in examples, and then optimization/performance. I'll be working more on D3D12 (esp. now that UWP allows D3D12 on XboxOneX).


why you have so many name for the transformer

Hi, thanks for sharing the code and paper. After reading the code and the paper, I'm confused with many name like ICA、CVHA、HCAB、HAB。but in code，it looks like there are only two kind transformer layer，selfattention and crossattention。what‘s more，why the transformer config have different in lidarseg and occupancy config，should they only have difference on output？
thanks for kindly reply。

Hi, Image Cross-Attention (ICA) and Cross-View Hybrid-Attention (CVHA) refer to two kinds of attention mechanisms, while Hybrid-Cross-Attention Block (HCAB) and Hybrid-Attention Block (HAB) refer to two kinds of attention blocks which relates more to actual implementation and also contains LayerNorm and FFN layers in addition to attention layers.
The self-attention and cross-attention in our code correspond to CVHA and ICA, respectively.
About configs for lidarseg and occupancy, we use different models and supervision signals for these two tasks. But the difference in model structure is trivial, and the tpvformer10 version should also perform well in occupancy prediction task. We keep two different configs only for consistency with the paper, since the visualizations in the paper are generated with tpvformer04.


Add docs

There should be some documentation.
One trivia I already found: The sidebar HTML has to come before the leaflet map div, otherwise it overlays the zoom buttons. Maybe that's also a bug?

You are right, we certainly need better docs. Unfortunately I haven't found the time yet to write them. Feel free to help me if you want to.

What is the correct way to programmatically open one of the sidebar tabs? I want to have an info tab that get populated via a click and ajax request and then open the that tab.

@woodbri most/all of the implementations have an open() method with an ID parameter of the tab you want to open. e.g. https://github.com/Turbo87/sidebar-v2/blob/b906dd6885218a0b86fcecb4453e8a48dbe3cbf2/js/leaflet-sidebar.js#L131

I need to some events to trigger when the sidebar opens and collapses? How can I get these?


Fixed typo in README

@tricoder42 thanks for the PR! The build failed because the linter package got a bump and was catching new coding style errors. It was fixed in #8 so this should be good to merge.

@andrei-picus-hs Thanks! :)


Plugin for class reload?

Hi Sam.
unicorn_rails looks like a good idea. I read somewhere that there is a plugin for unicorn-rails to make it reload changed files on every request just like Webrick does. Do you know which gem, or how to make unicorn-rails act like Webrick for reloading changed files?
I'm almost ready to switch to unicorn-rails for development work, and this would seal the deal.
Curiously,   Jay

Isn't it doing this already? Using Rails 4.1 it seems my code is reloaded automatically in development.


Update author and licence information

Add Jazzband as maintainer from 2016 onwards when the
project started receiving contributions from Jazzband.
Fixes #409

Hey @jezdez and @aclark4life! As you are organizing the Jazzband organization and have original authorship of the package, I'd like to confirm if this format is OK for the Axes version 5 release?
It unifies the contact information and uses the same information everywhere where the authorship and maintainer information is referenced.
As far as I know the information is shown at

PyPI package site,
Read the Docs, and
installed package information.

@camilonova Maybe you should be maintainer? I haven't done much since the move to jazzband

Thank you


feature request: dynamically update PCI IDs

To better support frameworks that report GPU device names, it would be useful for the /usr/share/misc/pci.ids file to be dynamically updated on build:

Install pciutils package
Execute /sbin/update-pciids

Thanks for the suggestion. I've never encountered an incomplete/unidentified/wrong PCI device name but from what I found

If you notice that lspci command is not displaying the proper device name for any of the devices that are connected to your PCI bus, this might be because the PCI IDs on your system is not current.

it looks like a good practice to update the PCI IDs list. However, the users might still need to run the command if hashcat updates become less frequent.
Added in the Dockerfile.

Perfect! The time it comes up most often is when a card was issued later than the OS was - not frequent, but a bit of a pain when it does happen. Thanks very much - looks great!


Test suite

I'm merging this since it'll improve stability, but I'd like to understand why this happens at some point.


GitLab/GitLab-CI in cluster

Loving the support from the Remind folks here. Continue the awesome work. Would love some guidance from everyone here on how to proceed with:
So I've recently decided I want to move my repos to GitLab by self-hosting. I'm hosting code on GitHub right now - and for CI I've got set up Drone (drone.io) on an EC2 instance that's exposed to the public inside my VPC set up by Empire. There's a webhook that feeds to the drone instance, which spins up a container and starts running tests.  I think drone can handle it though set up is really buggy because it's still alpha.
I see that GitLab offers a ton of awesome features and I would love to self-host this along with having GitLabCI integrated in so they work alongside one another. I was able to spin up a local test instance of GitLab dockerized with docker-compose (https://github.com/sameersbn/docker-gitlab). There's also images for GitLabCI and GitLab runners which I can spin up the same way (https://github.com/sameersbn/docker-gitlab-ci).
I'm wondering how I could set this up with the empire cluster - or even if I should. What about data persistence and setting up the GitLabCI runners as workers?

@kamkudla Empire is really meant for stateless 12 factor apps.  We don't suggest you setup anything stateful in Empire, as it really has no method of persisting data.
For persistent data services we tend to either use third party services (github, redislabs, etc) or we build them directly via cloudformation/stacker (rds, ec2 instances running rabbitMQ, etc).


Add options to customize the production js bundle

minifyProductionJSBundle
mangleProductionJSBundle

the minifyProductionJSBundle option should modify the behavior of scripts-javascript-dist and html (inline scripts)


Feature Request: Add Organization Team Auto Join Option

Gitea version (or commit ref): 1.11
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
I would like the ability for a public organization to have a team that a user can self add themselves to.
...
Screenshots

yes something like an option where you can set a team as auto-join destination and if a organisation has set this option autojion is enabled ...


Allow to see smart contract disassembly/decompile

V8 released neat tool to decompile WASM code in a more readable way:
https://v8.dev/blog/wasm-decompile
This will be useful feature for:

security research of third-party contracts
our own research of how well our dev tools work in terms of what gets compiled in (e.g. AssemblyScript tends to generate terse code than Rust).

That would be a very cool feature!

Cool feature!
For the reference, it is blocked on https://github.com/nearprotocol/nearcore/issues/1712


[Question] Laplacian loss function

Hi! Thanks a lot for providing the code, this is really nice work! :)
I would like to ask for some intuition or references for the neg_loss_fn shown in the README. You mention that "recent improvements on this representation learning method have lead to the Proper Laplacian", but I have not found a similar loss function in the paper.
Thanks in advance!

Hi Lucas, thank you for your kind words!
I probably should be more clear in the README, but the loss we present (and use in our paper) is the one from the Generalized Laplacian. We make a reference to a fresh new release on the line of work of approximating the Laplacian representation. This new paper is called the Proper Laplacian Representation Learning and from preliminary experiments it seems to work even better in terms of approximating the Laplacian eigenfunctions and also seems more stable than what we used in our experiments. However in the Proper Laplacian paper, the focus is not on learning options but rather approximating the Laplacian representation. I hope this helps.

Thanks for the response! I think I can see more clearly now that the code implements the loss in the Generalized Laplacian paper.
The only thing that is a bit confusing to me is how the following part
loss += coeff * (dot_product ** 2 - norm_transform(x_norm)  - norm_transform(y_norm)  )

approximates Eq. 7 and Eq. 8 in the Generalized Laplacian paper. Is the jnp.log1p trick used for numerical stability?

That is right. Traditionally a normalization is done using the dimensionality of the Laplacian representation (e.g. this line in the original work on the Laplacian eigenfunctions). However, I found this to be insufficient in high dimensional domains and instead resorted to using a different transform on the norms.
The jnp.log1p essentially acts in similar way: norms are encouraged to move away from zero (as seen in Equation 7 of the original Laplacian in RL paper). But, contrarily to using norms**2 / lap_dim, the gradients do not grow with the magnitude of the norms. This really stabilized the representation in my experiments.

Thanks for the clarification! :)


Add Ubuntu

As Alpine will be deprecated I am adding Ubuntu support

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

@Tieske  if you can please review this minor change. I have tested with ./create.sh "openid-connect" 999 and everything seems to work fine. Thanks

It will be also linked to this ticket:
https://github.com/Kong/docker-kong/pull/641

Thx @AntoineJac 👍


batch permutation tests

for example, given
source: mysql, mariadb
target: sqlserver, postgres

create:
mysql sqlserver
mysql postgers
mariadb sqlserver
mariadb postgres
and run
snapshot, delta-snapshot, realtime, full and validate data
access all workloads

close via https://github.com/robert-s-lee/arcion-demo/pull/75


Browser support

Testing in the polyfill service was showing that this polyfill worked in all our test browsers, but actually that turns out to have been due to a bug in the tests.  Could you post browser support numbers on the README of the project?
Here are our results with your polyfill:
IE: 11, 10, 9 pass;  8, 7, 6 fail
FF: 29, 33, 34 native; 20 pass; 3.6 fail
Chrome: 24 native; 26 pass
Safari: 5, 6, 7 pass

I tested the polyfill in IE8+. I didn't even try to test in IE6,7.
On my test page the polyfill passes all tests in IE8.
Most likely your version doesn't work in IE8, because the implementation of _enqueueMicrotask doesn't use onreadystatechange event in IE8.
The examples of readystatechange-based implementations for IE8:

YuzuJS/setImmediate
Octane/setImmediate
Financial-Times/setImmediate

Ok, I'll add a list of supported browsers to the README.

Ah, OK, I'll take another look at enqueueMicrotask

Thanks, your setImmediate polyfill works a treat.  It's worth advising developers who intend to use this in IE8 that catch cannot be called using the literal function name and needs to be ['catch'].  I've made a note of that in our docs.

Clearing up some of my old issues, this one seems to be closable.


fixed a misspelled attribute for tensor transposition

@yasutak
As we follow a specific process of updating the tutorial notebooks, please file an issue and do not merge a forked branch. I cannot merge this and I am closing it. However, I will fix the typo. Thank you very much for spotting it.
Please see the "how-to contribute" document here: https://github.com/NeuromatchAcademy/course-content-dl/blob/main/.github/contributing.md


Show peers by protocol (bolt/bifrost)

Description
Allow methods info  and peers shows peers by protocol instead of only bolt peers.

Would you also like me to fix the compilation "Features & Rust see/no-features"?

That issue is mot caused by this PR, but yes, if you would have time I will appreciate a fixing PR for that issue


removing schedule as this is now captured in EKS environment

https://github.com/alphagov/govuk-helm-charts/blob/main/charts/app-config/values-integration.yaml#L646
State captured in the EKS environment removing to prevent clash.

meant this to be a draft. will just reopen when it is required


DB home is not a writeable path

Running the API v0.1.24 on GKE fails with:

Running java -Xms128m -Xmx128m -jar /opt/management-api/datastax-mgmtapi-server-0.1.0-SNAPSHOT.jar --cassandra-socket /tmp/cassandra.sock --host tcp://<IP_ADDRESS>:8080 --host file:///tmp/oss-mgmt.sock --explicit-start true --cassandra-home /var/lib/cassandra/
Usage error: Option 'db_home' was given value '/var/lib/cassandra/' which is not a writeable path

Note: I'm running a slightly modified version of the Management API image because I need to run with a custom C* image instead of pulling the prebuilt one from dockerhub, but other than that my setup is pretty standard so I have no reasons to believe this wouldn't be a problem in general.
The issue is that when it mounts the volume /var/lib/cassandra in GKE, the folder ends up being owned by root (regardless of the chown that happened earlier). I confirmed that by logging the permissions at the very end of the Dockerfile execution which was correct, and then at the beginning of the entrypoint, which was incorrect. It looks like this is how k8s works: https://github.com/kubernetes/kubernetes/issues/2630
In the entrypoint, it does have another chown call to fix the permissions, but that only happens if the user is root: https://github.com/k8ssandra/management-api-for-apache-cassandra/blob/v0.1.24/scripts/docker-entrypoint.sh#L17
I think we can fix this by removing/reverting the USER cassandra directive from the Dockerfile and then run the java command in the entrypoint with gosu.

I was able to fix this issue for me with https://github.com/k8ssandra/management-api-for-apache-cassandra/pull/104


fix: create dir for KOCACHE

Signed-off-by: Batuhan Apaydın<EMAIL_ADDRESS>Fixes #591
cc: @imjasonh

We should think of some way to effectively test this behavior end to end. Maybe a test that sets KOCACHE=/tmp/$(date +%s) or something and checks that it exists after a build.

Codecov Report

Merging #607 (5e18df1) into main (a36ea50) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #607      +/-   ##
==========================================
- Coverage   48.51%   48.45%   -0.07%
==========================================
  Files          43       43
  Lines        2259     2262       +3
==========================================
  Hits         1096     1096
- Misses        978      981       +3
  Partials      185      185

Impacted Files
Coverage Δ

pkg/build/gobuild.go
56.36% <0.00%> (-0.34%)
:arrow_down:

Continue to review full report at Codecov.

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

Can you rebase this to pick up the new actions config?

Can you rebase this to pick up the new actions config?

OFC 🙋🏻♂


MS teams

I suggest to add teams.microsoft.com to your allow list or remove it from you block list.

okay I'll think it over.

The README.md has been updated with a tip about this.

Fixed this using the allowlist.


Fixing incorrect documentation

The accounts attribute of the object that can be provided to .provider() and .server() should not be a 2 dimensional array. It's an object with one required attribute: balance.

This is incorrect. It should be an array of objects like you described. i.e.,

"accounts": Array of Objects. Each object should have a balance key and hex value. Can also supply secretKey.

I'll make this change then merge.


Add support for full-range histograms

Is your feature request related to a problem? Please describe.
I'm always frustrated when exploring my logs because I cannot see the full range histograms.
Having full range histograms is really helpful when you need to understand a trend.
The current logs volume is based on the logs seen in the response which is not all logs in the range. Hence the logs volume is not really usable.

Describe the solution you'd like
When is explore mode I would like to have support for full-range histograms for the logs volume.
I believe this feature can be achieve by splitting the API calls, one for the logs volume with the date histogram query and the second one for the logs themselves.
Describe alternatives you've considered
In explore you cannot workaround the lack of feature. However you can do it with kibana or graylog.
During my day to day I constantly switch back and forth between Grafana and Graylog, while I would love to be explore both my metrics and my logs all together in a single UI.
Example:

Additional context
OpenSearch plugin: 2.14.4
Grafana: 10.1.8
OpenSearch: 1.3.14

Thanks for the feature request @wilfriedroset, I've moved this to our backlog.

@kevinwcyu do you have any news about this request 🙏🏾?

Hi. Any estimates for when this will be out? This kinda blocks us from using the opensearch datasource.

Hi,
We got this working on a fork, PR coming soon


increasing tauri app when add backend binary as sidecar

Describe the bug
when i add backend node binary as sidecar it is taking binary size as it is in installer .resulting when i install the app its size is increasing.is there any way to reduce this increased size.
Reproduction
No response
Expected behavior
app size should not be increased
Full tauri info output
{
  "$schema"<EMAIL_ADDRESS>  "build": {
    "beforeBuildCommand": "npm run build",
    "beforeDevCommand": "cross-env BROWSER=none npm run start",
    "devPath": "http://localhost:3000",
    "distDir": "../build"
  },
  "package": {
    "productName": "json-test",
    "version": "0.1.0"
  },
  "tauri": {
    "allowlist": {
      "all": false,
      "shell": {
        "sidecar": true,
        "scope": [{ "name": "bin", "sidecar": true }]
      }
    },
    "bundle": {
      "active": true,
      "category": "DeveloperTool",
      "copyright": "",
      "deb": {
        "depends": []
      },
      "externalBin": ["bin/node-sqlite-backend"],
      "icon": [
        "icons/32x32.png",
        "icons/128x128.png",
<EMAIL_ADDRESS>        "icons/icon.icns",
        "icons/icon.ico"
      ],
      "identifier": "xyz.com",
      "longDescription": "",
      "macOS": {
        "entitlements": null,
        "exceptionDomain": "",
        "frameworks": [],
        "providerShortName": null,
        "signingIdentity": null
      },
      "resources": { "bin/node_sqlite3.node": "./" },
      "shortDescription": "",
      "targets": "all",
      "windows": {
        "certificateThumbprint": null,
        "digestAlgorithm": "sha256",
        "timestampUrl": ""
      }
    },
    "security": {
      "dangerousDisableAssetCspModification": false,
      "dangerousRemoteDomainIpcAccess": [],
      "dangerousUseHttpScheme": true,
      "freezePrototype": false
    },
    "updater": {
      "active": false
    },
    "windows": [
      {
        "fullscreen": false,
        "height": 600,
        "resizable": true,
        "title": "json-test",
        "width": 800
      }
    ]
  }
}

Stack trace
No response
Additional context
No response

Hi @abhijitpatil181171 ,

It is not a bug, it is intended behaviour. Binary are already compiled files, as the name suggests. Hence, its size can not be reduced. ( unless you compress it )
Why are you using sidecar? It should be added as a dependency instead. Sidecars have a lot of downsides, for example, you will have difficulty updating them. And as you mentioned above, they might have huge size.

Also, is your previous issue https://github.com/tauri-apps/tauri/issues/8564 solved?

i have to run that backend binary when we start our app thats why i am adding it as sidecar and also how should we add as dependancy and run it

As explained by @naman-crabnebula, this is expected behavior when you embed a sidecar like node which is around 48mb if not bigger.
@abhijitpatil181171 we appreciate your issues, but lately I have noticed most of your issues are not actually bugs or feature requests, so please use discussions if you need help with something and keep issues strictly to bugs/features. You could also join our discord to get help from us directly and the community.

okay thank you i will surely use discord


⚠ Bofrost.be has degraded performance

In f7c2c8c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1812 ms

Resolved: Bofrost.be performance has improved in 8131483 after 6 minutes.


Invoke-DbaQuery, added regr tests and TVP examples

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[x] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[x] Unit test is included
[x] Documentation
[ ] Build system

Purpose
Fixed a mishap for people used to hashtables for params (also, saved from the obligation of using -ParameterName in that case)
Added an example for TVP
Approach
When hashtables are used, name is set in stone, so we use that to set (or alter) the ParameterName
Commands to test
Added regr tests at the bottom.
NB: quick and dirty edit from Notepad++, may the gods of appveyor have mercy on me

groan, start-dbamigration is failing on me ;-(

Let's see how your new retry helps!

@potatoqualitee : functionality wise, yes, it works! https://ci.appveyor.com/project/sqlcollaborative/dbatools/builds/40015890/job/4gvabb0ehs964a94/tests (see Test-DbaMaxDop) .
Remains to fix the testname reported, first loop is Test-DbaMaxDop.Tests.ps1, second loop is C:\github\dbatools\tests\Test-DbaMaxDop.Tests.ps1.Name, attempt #2 but all things considered, it seems to work fine.


Add If task

This should allow the user to check if something is gt, gte, e, lte, lt, contains another value then either stop (maybe run another flow) or continue on.

This has been implemented in the next release


AttributeError: 'module' object has no attribute 'VariableManager'

Issue Type

Bug report

Molecule and Ansible details
ansible --version: ansible <IP_ADDRESS>
molecule --version: molecule, version 2.1.0

Molecule installation method: pip
Ansible installation method: pip

Desired Behaviour
Successful run of the molecule verify command.
Actual Behaviour (Bug report only)
When executing the molecule verify, the following error message is shown:
    ==================================== ERRORS ====================================
    ____________________ ERROR collecting tests/test_default.py ____________________
    tests/test_default.py:6: in <module>
        os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
    ../../../environment/.virtualenv/environment/lib/python2.7/site-packages/testinfra/utils/ansible_runner.py:150: in __init__
        self.variable_manager = ansible.vars.VariableManager()
    E   AttributeError: 'module' object has no attribute 'VariableManager'

This wasn't happening with Molecule 2.0.4. I'm not sure if I should create an issue here or with testinfra, so you won! :-)

This is an issue with Molecule and Ansible 2.4.  Molecule is currently not 2.4 compatible.  See #960.

Yes, you are right. I downgraded Ansible back to 2.3.20 and it works again!
Thank you!

@dj-wasabi I also believe if you upgrade to a newer version of ansible-lint with Ansible 2.4 you will be ok.

Ok, thank you. Will check that too!

It doesn't work, I just test it.

Latest ansible-lint also fails

Upgrading to testinfra 1.7.1 resolved this for me.  See: https://github.com/philpep/testinfra/issues/249

Molecule 2.4 released to pypi which supports Ansible 2.4.


javascript-obfuscator 3.0.1 introduced an incompatibility through<EMAIL_ADDRESS>

TypeError raised on JavaScriptObfuscator.obfuscate
Expected Behavior

Current Behavior

TypeError: [].values is not a function
at _getContainerActivationsForService (/appbuild/project_root/node_modules/inversify/src/resolution/resolver.ts:203:99)
at _onActivation (/appbuild/project_root/node_modules/inversify/src/resolution/resolver.ts:133:33)
at /appbuild/project_root/node_modules/inversify/src/resolution/resolver.ts:115:16
at _resolveInScope (/appbuild/project_root/node_modules/inversify/src/resolution/resolver.ts:100:12)
at _resolveBinding (/appbuild/project_root/node_modules/inversify/src/resolution/resolver.ts:110:10)
at /appbuild/project_root/node_modules/inversify/src/resolution/resolver.ts:41:14
at childRequests.reduce.constructorInjections (/appbuild/project_root/node_modules/inversify/src/resolution/instantiation.ts:27:23)
at Array.reduce ()
at _resolveRequests (/appbuild/project_root/node_modules/inversify/src/resolution/instantiation.ts:26:24)
at _createInstance (/appbuild/project_root/node_modules/inversify/src/resolution/instantiation.ts:50:22)
Steps to Reproduce

My test.js:
var JavaScriptObfuscator = require('javascript-obfuscator');
console.log(JavaScriptObfuscator.version);

var obfuscationResult = JavaScriptObfuscator.obfuscate('', {
  compact: false,
  controlFlowFlattening: true,
  controlFlowFlatteningThreshold: 1,
  numbersToExpressions: true,
  simplify: true,
  stringArrayShuffle: true,
  splitStrings: true,
  stringArrayThreshold: 1
});

node test.js
Your Environment

Obfuscator version used: 3.0.1
Node version used: v8.17.0 (npm v6.7.0)

The same is happening to me just when executing javascript-obfuscator from a gitlab-runner. It was not happening in version 3.0.0


Update all non-major dependencies

This PR contains the following updates:

Package
Type
Update
Change

core-js (source)
devDependencies
minor
3.38.1 -> 3.39.0

crowdin/github-action
action
minor
v2.2.0 -> v2.3.0

phpunit/phpunit (source)
require-dev
patch
11.4.2 -> 11.4.3

rector/rector (source)
require-dev
patch
1.2.8 -> 1.2.9

symfony/cache (source)
require
patch
7.1.6 -> 7.1.7

symfony/console (source)
require
patch
7.1.6 -> 7.1.7

symfony/validator (source)
require
patch
7.1.6 -> 7.1.7

symfony/web-profiler-bundle (source)
require-dev
patch
7.1.6 -> 7.1.7

webpack
devDependencies
minor
5.95.0 -> 5.96.1

zenstruck/foundry
require-dev
patch
2.2.0 -> 2.2.2

Release Notes

zloirock/core-js (core-js)
v3.39.0
Compare Source

Changes v3.38.1...v3.39.0
Iterator helpers proposal:

Built-ins:

Iterator

Iterator.from
Iterator.prototype.drop
Iterator.prototype.every
Iterator.prototype.filter
Iterator.prototype.find
Iterator.prototype.flatMap
Iterator.prototype.forEach
Iterator.prototype.map
Iterator.prototype.reduce
Iterator.prototype.some
Iterator.prototype.take
Iterator.prototype.toArray
Iterator.prototype[@@toStringTag]

Moved to stable ES, October 2024 TC39 meeting
Added es. namespace modules, /es/ and /stable/ namespaces entries

Promise.try:

Built-ins:

Promise.try

Moved to stable ES, October 2024 TC39 meeting
Added es. namespace module, /es/ and /stable/ namespaces entries
Fixed /actual|full/promise/try entries for the callback arguments support

Math.sumPrecise proposal:

Built-ins:

Math.sumPrecise

Moved to stage 3, October 2024 TC39 meeting
Added /actual/ namespace entries, unconditional forced replacement changed to feature detection

Added Iterator sequencing stage 2.7 proposal:

Added built-ins:

Iterator.concat

Map upsert stage 2 proposal:

Updated to the new API following the October 2024 TC39 meeting
Added built-ins:

Map.prototype.getOrInsert
Map.prototype.getOrInsertComputed
WeakMap.prototype.getOrInsert
WeakMap.prototype.getOrInsertComputed

Extractors proposal moved to stage 2, October 2024 TC39 meeting
Usage of @@species pattern removed from %TypedArray% and ArrayBuffer methods, tc39/ecma262/3450:

Built-ins:

%TypedArray%.prototype.filter
%TypedArray%.prototype.filterReject
%TypedArray%.prototype.map
%TypedArray%.prototype.slice
%TypedArray%.prototype.subarray
ArrayBuffer.prototype.slice

Some other minor improvements
Compat data improvements:

Uint8Array to / from base64 and hex proposal methods marked as shipped from FF133
Added NodeJS 23.0 compat data mapping
self descriptor is fixed in Deno 1.46.0
Added Deno 1.46 and 2.0 compat data mapping
Iterator helpers proposal methods marked as shipped from Bun 1.1.31
Added Electron 34 and updated Electron 33 compat data mapping
Added Opera Android 85 compat data mapping
Added Oculus Quest Browser 35 compat data mapping

crowdin/github-action (crowdin/github-action)
v2.3.0
Compare Source
What's Changed

CLI 4.3.0 by @andrii-bodnar

Full Changelog: https://github.com/crowdin/github-action/compare/v2.2.0...v2.3.0

sebastianbergmann/phpunit (phpunit/phpunit)
v11.4.3: PHPUnit 11.4.3
Compare Source
Changed

#6010: Improve parameter name for assertGreaterThan(), assertGreaterThanOrEqual(), assertLessThan(), and assertLessThanOrEqual()
#6012: Remove empty lines between TeamCity events

Fixed

#6017: Deprecation Triggers are not registered when Process Isolation is used

How to install or update PHPUnit

rectorphp/rector (rector/rector)
v1.2.9: Released Rector 1.2.9
Compare Source
Bugfixes :bug:

[Strict] Using in_array() on CallLike instead of double call on Strict Rules (#6388)
[CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector (#6389)
[CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector (#6390)
[Php80] Mirror return comment on ChangeSwitchToMatchRector (#6394)
[TypeDeclaration] Skip union intersection types on php 8.1, allow on php 8.2+ (#6395)
[Php80] Skip @template T as mixed on MixedTypeRector (#6399)
[DeadCode] Check TemplateType instance check on Dead*TagValueNodeAnalyzer (#6400)
[CodeQuality] Skip multiple lines on JoinStringConcatRector (#6404)
[CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)

Removed :skull:

[DeadCode] Handle consecutive equal case stmts on RemoveDuplicatedCaseInSwitchRector (#6392)
[DeadCode] Handle handle consecutive equal with jump different case on RemoveDuplicatedCaseInSwitchRector (#6393)
[DeadCode] Skip @template tag on RemoveUselessVarTagRector (#6396)
[DeadCode] Support multiple templates in RemoveUselessVarTagRector (#6402), Thanks @dragosprotung!

rectorphp/rector-symfony :musical_note:

[CodeQuality] Skip Request param used by caller method on RemoveUnusedRequestParamRector (#675)
Better note highlighting (#674), Thanks @OskarStark
remove extra character (#673), Thanks @IndraGunawan

rectorphp/rector-phpunit :green_circle:

[code-quality] Add NarrowUnusedSetUpDefinedPropertyRector (#388)
Add enum/const fetch support to AssertEqualsToSameRector (#394)
Add count() support to AssertCompareOnCountableWithMethodToAssertCountRector (#395)
[AnnotationsToAttribute] Skip not in test on AnnotationWithValueToAttributeRector (#387)
Add ReplaceTestFunctionPrefixWithAttributeRector (#386), Thanks @blackwolf12333

symfony/cache (symfony/cache)
v7.1.7
Compare Source
Changelog (https://github.com/symfony/cache/compare/v7.1.6...v7.1.7)

bug symfony/symfony#58753 [Cache] Fix clear() when using Predis (@nicolas-grekas)

symfony/console (symfony/console)
v7.1.7
Compare Source
Changelog (https://github.com/symfony/console/compare/v7.1.6...v7.1.7)

bug symfony/symfony#58765 [VarDumper] fix detecting anonymous exception classes on Windows and PHP 7 (@xabbuh)

symfony/validator (symfony/validator)
v7.1.7
Compare Source
Changelog (https://github.com/symfony/validator/compare/v7.1.6...v7.1.7)

no significant changes

symfony/web-profiler-bundle (symfony/web-profiler-bundle)
v7.1.7
Compare Source
Changelog (https://github.com/symfony/web-profiler-bundle/compare/v7.1.6...v7.1.7)

bug symfony/symfony#58762 [WebProfilerBundle] re-add missing profiler shortcuts on profiler homepage (@xabbuh)
bug symfony/symfony#58728 [WebProfilerBundle] Re-add missing Profiler shortcuts on Profiler homepage (@welcoMattic)
bug symfony/symfony#58739 [WebProfilerBoundle] form data collector check passed and resolved options are defined (@vltrof)

webpack/webpack (webpack)
v5.96.1
Compare Source
Bug Fixes

[Types] Add @types/eslint-scope to dependencieS
[Types] Fixed regression in validate

v5.96.0
Compare Source
Bug Fixes

Fixed Module Federation should track all referenced chunks
Handle Data URI without base64 word
HotUpdateChunk have correct runtime when modified with new runtime
Order of chunks ids in generated chunk code
No extra Javascript chunks when using asset module as an entrypoint
Use optimistically logic for output.environment.dynamicImport to determine chunk format when no browserslist or target
Collision with global variables for optimization.avoidEntryIife
Avoid through variables in inlined module
Allow chunk template strings in output.devtoolNamespace
No extra runtime for get javascript/css chunk filename
No extra runtime for prefetch and preload in JS runtime when it was unsed in CSS
Avoid cache invalidation using ProgressPlugin
Increase parallelism when using importModule on the execution stage
Correctly parsing string in export and import
Typescript types
[CSS] css/auto considers a module depending on its filename as css (pure CSS) or css/local, before it was css/global and css/local
[CSS] Always interpolate classes even if they are not involved in export
[CSS] No extra runtime in Javascript runtime chunks for asset modules used in CSS
[CSS] No extra runtime in Javascript runtime chunks for external asset modules used in CSS
[CSS] No extra runtime for the node target
[CSS] Fixed url()s and @import parsing
[CSS] Fixed - emit a warning on broken :local and :global

New Features

Export CSS and ESM runtime modules
Single Runtime Chunk and Federation eager module hoisting
[CSS] Support /* webpackIgnore: true */ for CSS files
[CSS] Support src() support
[CSS] CSS nesting in CSS modules

zenstruck/foundry (zenstruck/foundry)
v2.2.2
Compare Source
November 5th, 2024 - v2.2.1...v2.2.2

3282f24 Remove @internal from db resetter interfaces (#715) by @HypeMC
870cb42 docs: fix missing comma in upgrade doc (#718) by @justpilot

v2.2.1
Compare Source
October 31st, 2024 - v2.2.0...v2.2.1

496a7a8 fix: Change RepositoryDecorator::inner() visibility to public (#714) by @marienfressinaud
dfeb247 chore: test Foundry on PHP 8.4 & sf 7.2 (#709) by @nikophil
2b12ef0 chore: simplify CI matrix (#708) by @nikophil

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: composer.lock
Command failed: composer update phpunit/phpunit:11.4.3 rector/rector:1.2.9 symfony/cache:7.1.7 symfony/console:7.1.7 symfony/validator:7.1.7 symfony/web-profiler-bundle:7.1.7 zenstruck/foundry:2.2.2 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency symfony/string is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency phpunit/php-code-coverage is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/framework-bundle is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/routing is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/twig-bundle is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency twig/twig is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency symfony/event-dispatcher is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Lock file operations: 0 installs, 17 updates, 0 removals
  - Upgrading doctrine/persistence (3.3.3 => 3.4.0)
  - Upgrading phpstan/phpstan (1.12.7 => 1.12.8)
  - Upgrading phpunit/phpunit (11.4.2 => 11.4.3)
  - Upgrading rector/rector (1.2.8 => 1.2.9)
  - Upgrading sebastian/comparator (6.1.1 => 6.2.1)
  - Upgrading symfony/cache (v7.1.6 => v7.1.7)
  - Upgrading symfony/config (v7.1.6 => v7.1.7)
  - Upgrading symfony/console (v7.1.6 => v7.1.7)
  - Upgrading symfony/error-handler (v7.1.6 => v7.1.7)
  - Upgrading symfony/http-foundation (v7.1.6 => v7.1.7)
  - Upgrading symfony/http-kernel (v7.1.6 => v7.1.7)
  - Upgrading symfony/process (v7.1.6 => v7.1.7)
  - Upgrading symfony/validator (v7.1.6 => v7.1.7)
  - Upgrading symfony/var-dumper (v7.1.6 => v7.1.7)
  - Upgrading symfony/web-profiler-bundle (v7.1.6 => v7.1.7)
  - Upgrading zenstruck/assert (v1.5.0 => v1.5.1)
  - Upgrading zenstruck/foundry (v2.2.0 => v2.2.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 17 updates, 0 removals
  - Downloading symfony/error-handler (v7.1.7)
  - Downloading phpstan/phpstan (1.12.8)
A connection timeout was encountered. If you intend to run Composer without connecting to the internet, run the command again prefixed with COMPOSER_DISABLE_NETWORK=1 to make Composer run in offline mode.
    Failed to download symfony/error-handler from dist: curl error 28 while downloading https://api.github.com/repos/symfony/error-handler/zipball/010e44661f4c6babaf8c4862fe68c24a53903342: Resolving timed out after 10001 milliseconds
    Now trying to download from source
  - Syncing symfony/error-handler (v7.1.7) into cache
    Failed to download phpstan/phpstan from dist: curl error 28 while downloading https://api.github.com/repos/phpstan/phpstan/zipball/f6a60a4d66142b8156c9da923f1972657bc4748c: Resolving timed out after 10001 milliseconds
    Now trying to download from source
  - Syncing phpstan/phpstan (1.12.8) into cache
The following exception is caused by a process timeout
Check https://getcomposer.org/doc/06-config.md#process-timeout for details

In Process.php line 1205:

  The process "git clone --mirror -- 'https://github.com/phpstan/phpstan.git'
   '/tmp/renovate/cache/others/composer/vcs/https---github.com-phpstan-phpsta
  n.git/'" exceeded the timeout of 300 seconds.

update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--patch-only] [-i|--interactive] [--root-reqs] [--bump-after-update [BUMP-AFTER-UPDATE]] [--] [<packages>...]


Reasoning behind calling connect() / disconnect() on the googleApiClient in the onStart()/onStop() methods

Wouldn't it make more sense to have them called in the onResume() / onPause() methods?
I would expect that if the user pauses the app to change the location settings (or any external event occurs), the change will be visible when he returns to the app.

No, the recommend pattern for GoogleApiClient is to call connect in onStart() and disconnect in onStop(), while using onResume() and onPause() to start and stop operations that need a connected GoogleApiClient (for instance, starting and stopping location updates).


[ASTGen] Rename 'swiftMacros' module to 'swiftMacroEvaluation'

'swiftMacros' is confusing with 'SwiftMacros' which is the standard libary macro plugin.
rdar://137448282

@swift-ci Please smoke test