Updated ReactRedux-CSharp tempate to react-scripts 2.0.3 and other NPM latest

React-Scripts just received a major overhaul and generates a lightly different React application. This PR updates the dependencies and changes in service worker registration.

@SteveSandersonMS thoughts on this?

Posted my suggestions at https://github.com/aspnet/Templating/pull/756#issuecomment-426571175

Hi, we are closing this PR because the source code has all been moved to https://github.com/aspnet/AspNetCore/tree/master/src/Templating so that all the ASP.NET Core source code is in one place. If you are interested in continuing this contribution, we recommend you log a new issue in https://github.com/aspnet/AspNetCore/issues with details and if the proposal is accepted, send a new PR so the new repo. Sorry for any inconvenience!


TACGRP.MOBSU.OBST.ATO.ATDATM 	 ANTITANK DITCH REINFORCED WITH ANTITANK MINES	is incorrect

At this altitude the renderer may not generate detail. However at 100K altitude there is, But in Test-Basic the detail only shows while selected.

It works correctly in test-basic.  In test-vandv it is hard to draw this close to the ground because we need to give lat, long manually.  This is not an issue.

Safe to label as not a bug then?

Yes, I would like to close #196 and #197


Inefficient SQL fetch query

Good day,
The following queries in aries-askar/askar-storage/src/backend/postgres/mod.rs appear to be source of performance degradation when a lot of wallet entries exist:
const FETCH_QUERY: &str = "SELECT id, value,
    (SELECT ARRAY_TO_STRING(ARRAY_AGG(it.plaintext || ':'
        || ENCODE(it.name, 'hex') || ':' || ENCODE(it.value, 'hex')), ',')
        FROM items_tags it WHERE it.item_id = i.id) tags
    FROM items i
    WHERE profile_id = $1 AND kind = $2 AND category = $3 AND name = $4
    AND (expiry IS NULL OR expiry > CURRENT_TIMESTAMP)";
const FETCH_QUERY_UPDATE: &str = "SELECT id, value,
    (SELECT ARRAY_TO_STRING(ARRAY_AGG(it.plaintext || ':'
        || ENCODE(it.name, 'hex') || ':' || ENCODE(it.value, 'hex')), ',')
        FROM items_tags it WHERE it.item_id = i.id) tags
    FROM items i
    WHERE profile_id = $1 AND kind = $2 AND category = $3 AND name = $4
    AND (expiry IS NULL OR expiry > CURRENT_TIMESTAMP) FOR NO KEY UPDATE";

The reason it is inefficient is coming from the subquery in the SELECT clause: SELECT ARRAY_TO_STRING(ARRAY_AGG(...
This subquery is executed for each row returned by the outer query. If the outer query returns a large number of rows, this can result in a significant performance hit.
Also, the subquery involves aggregating data and performing string manipulations, which are computationally expensive operations.
Now, I don't have an immediate solution to propose, but it will be something along the lines of replacing the subquery with a JOIN, and avoiding string manipulation/aggregation if possible.
Ideally the person who is most familiar with the SQL statements should be tasked with improving it, but in case of their absence, GPT-4 is your friend :-). Hopefully someone can propose a more efficient solution! Otherwise I'll try rehash my SQL skills when I have time available.

For anyone who wants to follow up, here's a link to my chat with GPT where the query is explained with recommendations: https://chat.openai.com/share/c9f791b0-a5e4-4457-beb1-9469a7d96099
Relates to: #130

I'm a colleague of @ff137.
Our Database is an AWS RDS Postgres and we noticed very high DB CPU usage when creating a large number of holders:

Holder creation progressively gets slower and slower as the number of holders increases.
This is with
ACAPY_WALLET_TYPE: askar
ACAPY_WALLET_STORAGE_TYPE: postgres_storage
ACAPY_MULTITENANCY_CONFIGURATION: '{"wallet_type":"askar-profile","wallet_name":"cloudagent_multitenant"}'

I wonder if the ChaptGPT answer actually works.  Sinc @ff137 added this as a comment and it wasn’t in the initial email about the issue, here is what ChatGPT suggests:

For anyone who wants to follow up, here's a link to my chat with GPT where the query is explained with recommendations: https://chat.openai.com/share/c9f791b0-a5e4-4457-beb1-9469a7d96099

I’m guessing it is not easy to reproduce the scenario so that the proposal or other iterations can be tested?  For example, would it be possible to capture the database, and run queries directly against it?  Even if only you can do it, it might be easier to collaborate by running updated queries directly against the database.

@swcurran thanks, good idea! My mental bandwidth is on a different project atm, but me and @rblaine95 will test some updated queries and see if we can contribute an enhancement 👌

Just realized we forgot to add the versions we're using:

Aries CloudAgent Python 0.9.0

Aries Askar 0.2.9

Python 3.9

@swcurran If I can figure out how to replicate this (answer likely lies in Aries CloudAgent with how it creates tenants), I'll be happy to test 😄
Will also be excited to dust off my Rust and get my feet wet. 🥳

A quick update @swcurran
I've made some changes to the SQL on my local and ran POSTGRES_URL=postgres://postgres:mysecretpassword@localhost:5432/test-db cargo test --features pg_test, all the tests are passing 🥳
I'll open a draft PR soon with the changes, it's just to the above SQL queries.
We can figure out how to replicate/test the performance impact next.

While I was at that, I investigated using AWS RDS Proxy and it turned out that it completely mitigated the performance problem!
Running AWS RDS Aurora on a db.r5.2xlarge (8vCPU, 64GiB memory) with ±40'000 holders already in the DB, we could get ±25 holder creations per second with DB CPU pinned at 99% (screenshots above).
Adding RDS Proxy allows us to scale the DB down to a db.r5.large (2vCPU, 16GiB memory) with 150'000 holders already in the DB, holder creation skyrockets (and sustains) to ±65/s.

Setting synchronous_commit: off brings holder creation to ±80/s

Awesome stuff!  Nice work.  We look forward to your PR.  A documentation update — perhaps just a note in the readme — about what you found with AWS might help others.
@WadeBarnes — interesting stuff here.

Hi @swcurran I've opened a draft PR (#196) with the SQL changes.
I'll add some documentation about RDS Proxy in a separate PR.

It turns out that, the SQL Query causing high load in the screenshots above (SELECT id, name, value, ...) was the SCAN_QUERY that seems to have been reworked and no longer occurs in 0.3.0.
I've closed #196.
I'm still happy to write a benchmark to illustrate and document any benefits of RDS Proxy.

Awesome to have the benchmark and document added to the repo.


iOS Safari 5.1 issues

http://stackoverflow.com/a/20065150/1922144 and I just confirmed on device.

Saying "Safari 5.1" rather than "iOS 5.1" seems confusing, since these are iOS version numbers, with no relation to OS X Safari version numbers.

Merging this, but I'm going to remove the iPhone 4 comment since it's kind of vague and the device is not terribly relevant anymore anyway.


Remove unnecessary dependencies EC2/SQS

Fixes #4086
Adds a GithubActions workflow to run a dependency test, which will point out if a specific module is missing dependencies.
For EC2, removes the Docker-dependency that was not required
For SQS/SNS, brings down the AWSLambda-import where it's absolutely necessary. So it will only import AWSLambda when really necessary, i.e. when the user tries to send a message/notification
Also removes some unnecessary Py2 tests/code that I came across

Codecov Report

Merging #4094 (8b70ceb) into master (f4f8527) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4094      +/-   ##
==========================================
- Coverage   94.24%   94.24%   -0.01%
==========================================
  Files         468      468
  Lines       51230    51243      +13
==========================================
+ Hits        48284    48294      +10
- Misses       2946     2949       +3

Flag
Coverage Δ

servertests
55.40% <33.33%> (-0.02%)
:arrow_down:

unittests
94.16% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/__init__.py
98.31% <100.00%> (ø)

moto/sns/models.py
96.49% <100.00%> (ø)

moto/sqs/models.py
97.14% <100.00%> (ø)

moto/sqs/responses.py
94.55% <0.00%> (-0.85%)
:arrow_down:

moto/iot/models.py
90.37% <0.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


⚠ Fortnite has degraded performance

In 33e128e, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1633 ms

Resolved: Fortnite performance has improved in edf8239.


Fully implement loading of individual stylesheets in component guide

What
Fully implement loading of individual stylesheets in component guide.

Remove import of stylesheets used in static from application.scss
Update asset_helper.rb to ensure all component stylesheets are requested when viewing the component guide
Ensure stylesheets are requested in the expected order, for example, the button stylesheet should always be requested before the feedback stylesheet in the feedback component

Why
The components in the gem should render correctly when using the individual loading of stylesheets feature in any application.
Without this change, applications would need to import all the stylesheets we import in static - https://github.com/alphagov/static/blob/main/app/assets/stylesheets/application.scss#L11-L30 into their application.css file, in order for components to render correctly.
Trello: https://trello.com/c/Hhs2H5S7/1993-fully-implement-individual-loading-of-assets-in-the-component-guide
Visual changes
Percy is showing 1 visual change for the "Form checkboxes - Checkbox items with conditional reveal checked" component. This appears to be expected given the note included in the documentation:

Note: ... No styling will be applied to the inserted content by the component.

@andysellick this PR will fully implement the individual loading of stylesheets in the component guide.
One thing I wanted to bring to your attention is the visual change for "Form checkboxes - Checkbox items with conditional reveal checked", I've added further detail regarding this in the PR description. Just wanted to check if this is OK?

One thing I wanted to bring to your attention is the visual change for "Form checkboxes - Checkbox items with conditional reveal checked", I've added further detail regarding this in the PR description. Just wanted to check if this is OK?

@MartinJJones that visual change makes sense, yes.

Looks generally good to me, sensible approach on including stylesheets for components inside components. Looking at the component auditing there seems to be quite a few more components that contain components than updated in this PR - are you aware of them or have they already been done?

Good point, this approach of requesting component stylesheets within other components was only required where Percy was showing an issue when individual stylesheets for all components in the component guide. This always happened when stylesheets were not loaded in the expected order, in most cases this is not an issue and no action is required.


real-time password strength analysis

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
better passwords ensuring better security for new users
Proposed Solution
real-time password strength analysis feature for sign-up page
Screenshots

Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
I will be adding a strength bar to indicate password strength.
The bar will increase as the password includes uppercase letters, lowercase letters, numbers, and special characters.

@yalsik86 , assigned!


[Bug]: The image is rotate to its original position (rotate is cancelled) when crop ratio is selected

Package Version
5.1.3
Flutter Version
3.22.3
Platforms
Web
How to reproduce?
Go to crop editor. Press Rotate. Then Done. Go to Crop Editor. Press Ratio. Select proportion. The image is rotate to its original position (Rotate is cancelled)
https://www.youtube.com/watch?v=Rt15G7D2Ceg
Logs (optional)
No response
Example code (optional)
Example code

Device Model (optional)
Google Chrome

This isn't an issue, it's intended behavior, as outlined here.
There are two reasons why I reset the crop state when the aspect ratio changes:

If, for example, the user rotates the image 90 degrees and then selects a 9:16 aspect ratio, it would apply the ratio flipped (16:9), which could be confusing for the user.
Changing the aspect ratio requires the editor to recalculate several elements, so it's easier to manage when it always starts from the default rotation. While it's technically possible to maintain the rotation, it would require additional code to implement.


Document MockServer UI

Document MockServer UI

closing as covered by #115

Hi @jamesdbloom
I am still not clear about:
if I run the mockserver stand alone via command:
java -jar /Users/linai/Documents/mockserver/mockserver-netty-5.5.1-jar-with-dependencies.jar -serverPort 5000 -logLevel INFO
Then how do I setup the json file with request and response expectation?
It mentioned initialization class here:
http://www.mock-server.com/mock_server/initializing_expectations.html
But how do i access the class and create expectation so that when I run the command, it will pickup response in each expectation?


Reading in multiple root files into pandas/dask DataFrame

Hi, I need to read in multiple root files and convert them into a single pandas or dask dataframe, and I am confused about the implementation  of uproot.concatenate() or uproot.iterate() and the difference between uproot 3 and 4 in this case.
if I have inputs like:
root_files = 'data/*.root'
branches = ['branch1','branch2','branch3']

I've tried df_generator = uproot4.iterate(root_files, treepath='my_TTree', branches=branches, outputtype=pd.Dataframe)
and I get the following error:
TypeError: 'files' must include a TTree/TBranch object path (separated by a colon ':') to each glob pattern (if multiple are given)
uproot4 doesn't seem to have a pandas.iterate method so if I do df_generator = uproot.pandas.iterate(root_files, treepath='my_TTree', branches=branches)
I can then generate a dataframe by doing something like:
df_list = [data for data in df_generator]
df = pd.concat(df_list)

However this is incredibly slow due to the time it takes to extract each dataframe separately into the list and takes up double the memory it needs to. What would you say is the most efficient way of concatenating multiple root files into a single dataframe? Especially if the end goal is to eventually parallelise with dask or another similar library for large files

The colon syntax for a tree path and the way to select Pandas is:
df_generator = uproot4.iterate("data/*.root:my_TTree", branches=branches, library="pd")

Absorbing the treepath into the file names is to allow different sets of files to have different tree paths: ["old-data/*.root:old_tree_path", "new-data/*.root:new_tree_path"] and if you have a colon in your file names, there's {"data/*.root": "my_TTree"} syntax. All of this is documented.
Uproot 3 has a outputtype to describe the type of output container—dict, list, tuple, or Pandas DataFrame—but there's a more important distinction: which array library are you using to describe the arrays? So library="np" returns strict NumPy, even if inefficient for jagged arrays, library="ak" (default) returns Awkward Arrays, and library="pd" is for Pandas: Series or DataFrames depending on array vs arrays (in your case, it will be a DataFrame). There's also a how parameter for how you want that grouped: dict, list, tuple, or a merging strategy for Pandas if you have branches of different jaggedness. (how is passed straight into Pandas's merging how: it's a string like "inner" or "outer" for inner and outer joins.)
Given that your eventual goal is to concatenate everything, they'll have to fit into memory, but also, there's an uproot4.concatenate function for that. Like iterate, it selects between Pandas and other libraries with a library parameter. I think it uses Pandas's own concat function to do the concatenation. If you've already found that that's too slow/memory hogging, maybe you want to pass library="np" or library="ak" to uproot4.concatenate and then convert the final result to Pandas with ak.to_pandas or (in NumPy's case) the Pandas DataFrame constructor.
If your data are flat (non-jagged, all of your selected branches are one-value-per-event, not std::vector or anything), then NumPy is the fastest thing around. Awkward Array and Pandas use NumPy when they can and anything they need to implement separately can't match NumPy's decades of tuning. If your data are jagged, Awkward Array is your best bet, because it's the only one of the three that was designed for that. Pandas, generally speaking, is slow and memory-hogging. (See its author's rant.)

Thank you for the reply! I was actually really struggling to find the uproot4 docs as they're not in the git readme I just naively assumed they hadn't been done yet.
I'll be taking this all into consideration. I think for now I'll stick with pandas as I need to be very flexible in which and how many branches I am reading in but if I reach a roadblock I now know I should probably be switching back to numpy. Thanks again

(I can't believe I forgot to put the full documentation into the GitHub README! Thanks!)

Fixed by #133.


remove opts argument to http.createServer

https.createServer can take an opts parameter, but http.createServer cannot.

You are correct. Good catch! Released as 4.2.2.


Fails when encountering media from gfycat

When the script comes to media from gfycat (which no longer resolves / exists), the following error is generated and the script stops running: "failed to lookup address information: Name or service not known"

Gfycat has been shut down? Sorry I wasn't aware of that. I'll push an update.

Thanks!

I'm also getting some text documents instead of videos containing "Bad request signature."

this updated fork works: https://github.com/castillar/reddsaver.git @manojkarthick

Thanks for letting me know; I love the comments in that commit!


Allow filtering in MapEntries

If the mapEntries() code is updates as below, it's function would extend to filtering the properties of the object
const mapEntries = <
    TKey extends string | number | symbol,
    TValue,
    TNewKey extends string | number | symbol,
    TNewValue,
>(
    obj: Record<TKey, TValue>,
    toEntry: (key: TKey, value: TValue) => [TNewKey, TNewValue] | undefined
): Record<TNewKey, TNewValue> => {
    if (!obj) return {} as Record<TNewKey, TNewValue>
    return Object.entries(obj).reduce(
        (acc, [key, value]) => {
            const alteredEntry = toEntry(key as TKey, value as TValue)
            if (alteredEntry) acc[alteredEntry[0]] = alteredEntry[1]
            return acc
        },
        {} as Record<TNewKey, TNewValue>
    )
}

The example could become
const ra = {
    name: 'Ra',
    power: 'sun',
    rank: 100,
    culture: 'egypt'
}

mapEntries(ra, (key, value) =>  (key !== 'power') ? [key.toUpperCase(), `${value}`] : undefined)
// returns { "NAME": "Ra", "RANK": "100", "CULTURE": "egypt" }

Pull request 367 created to resolv this issue

So this is kind of like combining select with Object.entries and Object.fromEntries (and yours is obviously more performant).
Object.fromEntries(
  select(
    Object.entries(object),
    ([key]) => key !== 'power',
    ([key, value]) => [key.toUpperCase(), `${value}`],
  ),
)

Should it be a new function called selectEntries?
I'd be open to a PR in Radashi.


Add optional description field to features

Closes #81

Thanks, I fixed the coding style and added the missing assertion.

👍


N=4 must not exceed M=3

My issue is about ... from scipy.optimize import curve_fit
Reproducing code example:

x = [0,75,745.5027446]
x = np.array(x).astype(float)
num = [1e-6,5,135.4783469]
y = np.array(num).astype(float)
param_bounds=([0,0,0,0],[np.inf,np.inf,np.inf,np.inf])
popt, pcov = curve_fit(func, x, y, bounds=param_bounds)
  ...

Scipy/Numpy/Python version information:
1.5.2 sys.version_info(major=3, minor=7, micro=9, releaselevel='final', serial=0)

-->
In my opinion, if the curving lack enough data, it be better says: I need 4 points for 3 paras, not 'N=4 must not exceed M=3'

The code is here:
https://github.com/scipy/scipy/blob/4ec4ab8d6ccc1cdb34b84fdcb66fde2cc0210dbf/scipy/optimize/minpack.py#L413-L415
I agree the error message can be improved.

I think this will be meaningful
if n > m:
raise TypeError('Improper input: The number of the initial parameters=%s must not exceed the number of model parameters needed=%s' % (n, m))

m is not "the number of model parameters needed". It's the number of data points (in most contexts where leastsq() is used).


Do not zip .vscode when deploying

Fixes https://github.com/Microsoft/vscode-azureappservice/issues/861
I know that we don't like to black box logic like this, but it does seem like this would never be used for a deployment.

I was already mentally prepared for this. 😅


Favicon doesn't load

Favicon is not loaded, the following error is displayed in browser console:
Failed to load resource: the server responded with a status of 404 (Not Found)

Won't reproduce anymore.


GEODIFF: Error: Conflicts encountered while applying changes

Hi Lutra Team
For some reason I've started getting the error below when I delete records in a table on Postgres in the main schema. See 2 examples below.
The setup is as follows:

mergin-db-sync v1.0.5 keeping the DB in sync with the main mergin project (running in docker).
mergin work packages syncing back to main mergin project using the mergin-wp tool.

Everything sync's and works fine except when I try to delete features from postgres and have it sync back to mergin. When I then restore the deleted row, the sync tool runs as normal. Any idea why this would happen please?
2021-07-20 09:27:17.111166
Trying to pull
No changes on Mergin.
Trying to push
Changes:
fruit_monitor           0    0    2
Writing DB changes to working dir...
Warn: CONFLICT: delete_nothing:
{
"table": "fruit_monitor",
"type": "delete",
"changes": [
{
"column": 0,
"old": 284
},
{
"column": 1,
"old": "R1AAAeYQAAABAQAAANPKNcpI4DJAfGZLGc35QMA="
},
{
"column": 2,
"old": "{af58e6bd-eb99-4f03-9cb4-f06c7cfb16f2}"
},
{
"column": 3,
"old": "C86"
},
{
"column": 4,
"old": "F203"
},
{
"column": 5,
"old": "B6223"
},
{
"column": 6,
"old": null
},
{
"column": 7,
"old": "{a86e3af0-1f56-476a-8bf4-17a335456015}"
},
{
"column": 8,
"old": "Branch"
},
{
"column": 9,
"old": 13
},
{
"column": 10,
"old": 8
},
{
"column": 11,
"old": 8
},
{
"column": 12,
"old": 5
},
{
"column": 13,
"old": 6
},
{
"column": 14,
"old": 6
},
{
"column": 15,
"old": 6
},
{
"column": 16,
"old": 11
},
{
"column": 17,
"old": 6
},
{
"column": 18,
"old": 6
},
{
"column": 19,
"old": 7
},
{
"column": 20,
"old": 5
},
{
"column": 21,
"old": 6
},
{
"column": 22,
"old": 7
},
{
"column": 23,
"old": 7
},
{
"column": 24,
"old": 6
},
{
"column": 25,
"old": 7
},
{
"column": 26,
"old": 7
},
{
"column": 27,
"old": 7
},
{
"column": 28,
"old": 7
},
{
"column": 29,
"old": 8
},
{
"column": 30,
"old": 8
},
{
"column": 31,
"old": 7
},
{
"column": 32,
"old": 7
},
{
"column": 33,
"old": 7
},
{
"column": 34,
"old": 11
},
{
"column": 35,
"old": 13
},
{
"column": 36,
"old": 14
},
{
"column": 37,
"old": 12
},
{
"column": 38,
"old": 7
},
{
"column": 39,
"old": 7
},
{
"column": 40,
"old": "JPEG_20210716_160349_7910095317185585251.jpg"
},
{
"column": 41,
"old": "Comment"
},
{
"column": 42,
"old": 7.6299999999999999
},
{
"column": 43,
"old": "2021-07-16T16:18:16Z"
}
]
}
Warn: CONFLICT: delete_nothing:
{
"table": "fruit_monitor",
"type": "delete",
"changes": [
{
"column": 0,
"old": 285
},
{
"column": 1,
"old": "R1AAAeYQAAABAQAAAM3oqWU03zJA0UvvAZP5QMA="
},
{
"column": 2,
"old": "{4c592fa2-67b7-4cd7-9c26-9ca51621e7bd}"
},
{
"column": 3,
"old": "C86"
},
{
"column": 4,
"old": "F202"
},
{
"column": 5,
"old": "B6217"
},
{
"column": 6,
"old": null
},
{
"column": 7,
"old": "{8d908bf5-3527-4c1b-8234-5cabfcfa9a6d}"
},
{
"column": 8,
"old": "Tree"
},
{
"column": 9,
"old": 4
},
{
"column": 10,
"old": 10
},
{
"column": 11,
"old": 9
},
{
"column": 12,
"old": 9
},
{
"column": 13,
"old": 9
},
{
"column": 14,
"old": 9
},
{
"column": 15,
"old": 11
},
{
"column": 16,
"old": 8
},
{
"column": 17,
"old": 8
},
{
"column": 18,
"old": 11
},
{
"column": 19,
"old": 10
},
{
"column": 20,
"old": null
},
{
"column": 21,
"old": null
},
{
"column": 22,
"old": null
},
{
"column": 23,
"old": null
},
{
"column": 24,
"old": null
},
{
"column": 25,
"old": null
},
{
"column": 26,
"old": null
},
{
"column": 27,
"old": null
},
{
"column": 28,
"old": null
},
{
"column": 29,
"old": null
},
{
"column": 30,
"old": null
},
{
"column": 31,
"old": null
},
{
"column": 32,
"old": null
},
{
"column": 33,
"old": null
},
{
"column": 34,
"old": null
},
{
"column": 35,
"old": null
},
{
"column": 36,
"old": null
},
{
"column": 37,
"old": null
},
{
"column": 38,
"old": null
},
{
"column": 39,
"old": null
},
{
"column": 40,
"old": "JPEG_20210719_081756_6679607430012651497.jpg"
},
{
"column": 41,
"old": "Comment"
},
{
"column": 42,
"old": 9.4000000000000004
},
{
"column": 43,
"old": "2021-07-19T08:17:52Z"
}
]
}
Error: apply changeset failed!
GEODIFF: Error: Conflicts encountered while applying changes! Total 2
Error: geodiff failed!
['/geodiff/build/geodiff', 'apply', '--driver', 'sqlite', '', '/tmp/dbsync/client_field_apps_db.gpkg', '/tmp/dbsync-push-base2our']
Going to sleep
_  And on another table_
Trying to push
Changes:
water_flowmeter_monitor    0    0    1
Writing DB changes to working dir...
Warn: CONFLICT: delete_nothing:
{
"table": "water_flowmeter_monitor",
"type": "delete",
"changes": [
{
"column": 0,
"old": 87
},
{
"column": 1,
"old": "R1AAAeYQAAABAQAAACkRQqBK3zJAvrf49aj5QMA="
},
{
"column": 2,
"old": "{a310059b-1cde-4324-9ac5-c008b2bb1658}"
},
{
"column": 3,
"old": "C86"
},
{
"column": 4,
"old": "F203"
},
{
"column": 5,
"old": "Test flowmeter"
},
{
"column": 6,
"old": "2021-07-19T10:20:21Z"
},
{
"column": 7,
"old": 63838282
},
{
"column": 8,
"old": "JPEG_20210719_102027_8074284550380744558.jpg"
},
{
"column": 9,
"old": "Note"
},
{
"column": 10,
"old": null
},
{
"column": 11,
"old": null
},
{
"column": 12,
"old": "2021-07-19T10:20:21Z"
}
]
}
Error: apply changeset failed!
GEODIFF: Error: Conflicts encountered while applying changes! Total 1
Error: geodiff failed!
['/geodiff/build/geodiff', 'apply', '--driver', 'sqlite', '', '/tmp/dbsync/client_field_apps_db.gpkg', '/tmp/dbsync-push-base2our']
Going to sleep
2021-07-20 12:25:00.543165
Trying to pull
No changes on Mergin.
Trying to push
Changes:
water_flowmeter_monitor    0    0    1
Writing DB changes to working dir...
Warn: CONFLICT: delete_nothing:
{
"table": "water_flowmeter_monitor",
"type": "delete",
"changes": [
{
"column": 0,
"old": 87
},
{
"column": 1,
"old": "R1AAAeYQAAABAQAAACkRQqBK3zJAvrf49aj5QMA="
},
{
"column": 2,
"old": "{a310059b-1cde-4324-9ac5-c008b2bb1658}"
},
{
"column": 3,
"old": "C86"
},
{
"column": 4,
"old": "F203"
},
{
"column": 5,
"old": "Test flowmeter"
},
{
"column": 6,
"old": "2021-07-19T10:20:21Z"
},
{
"column": 7,
"old": 63838282
},
{
"column": 8,
"old": "JPEG_20210719_102027_8074284550380744558.jpg"
},
{
"column": 9,
"old": "Note"
},
{
"column": 10,
"old": null
},
{
"column": 11,
"old": null
},
{
"column": 12,
"old": "2021-07-19T10:20:21Z"
}
]
}
Error: apply changeset failed!
GEODIFF: Error: Conflicts encountered while applying changes! Total 1
Error: geodiff failed!
['/geodiff/build/geodiff', 'apply', '--driver', 'sqlite', '', '/tmp/dbsync/client_field_apps_db.gpkg', '/tmp/dbsync-push-base2our']
Going to sleep

Just an additional note to this, I can edit the records on the database side and it sync's back perfectly to mergin and the work packages, its just deleting that causes issues

Hi guys, I did some further testing and all operations seem to work database side except delete, once a feature is deleted it throws this error:


[casks] Disable installing casks Caskroom/*/*

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

Disable brew install Caskroom/*/*

@n0ts This is not functionality that we're interested in (again), sorry.

@MikeMcQuaid OK, Thanks, I think that use only brew cask install , brew install Caskroom// is not documented.


Translation: Needs French translation

https://github.com/koenvervloesem/snips-app-assistant-information/tree/master/translations

Translation done in #15


BkgErrGODAS does not work with 4DEnVAR

The BkgErrGODAS variable change is not working right for 4D-Ens-Var, it's creating crazy increments (The ensemble portion of 4denvar is working correctly, and the other variable changes seem to be fine)
As a comparison, here are the SST increments for:
3DVAR

4DEnVar, with pure static, BkgErrGODAS commented out

and the same as above, but with BkgErrGODAS turned on (the range actually goes from -30 to 30 !)

@shlyaeva @ncrossette I haven't started looking into the code yet (I'm sure it's something wrong on the SOCA side) but do you have any quick theories about why a linear variable change would break like that with 4D-Ens-Var

Can you point us to a yaml you use?

Can you point us to a yaml you use?

@shlyaeva I'm actually testing now with EXPLICIT_DIFFUSION instead, but it's otherwise essentially the same as this file https://github.com/JCSDA-internal/soca-science/blob/96028d63444a07f8a018163638e497f1f89a0347/configs/soca/soca_4dhyb.yaml#L65

note to self: I've been meaning to rewrite BkgErrGODAS as a generic saber outer block, it might be a good time now to do that. (and while at it, add in the option to save what the the calculated parametric stddev is, for debugging purposes)

@travissluka so is it fully ensemble, with BkgErrGODAS around the ensemble covariance?

noting there that my images were captioned wrong. the 4denvar is running with pure static B for hybrid covariance in the images shown

ok, so after poking around, I don't think this is actually an issue with BgkErrGODAS but rather the way the time parallel part of 4denvar is implemented
here is 4denvar with pure static B, on the left is with parallel subwindows: false (broken), and with parallel subwindows: true on the right (looks right!)

interestingly with parallel subwindows: true I am getting a whole bunch of warnings that look like the following (not sure if this is actually a problem though, probably not?):
FieldSet3D::deserialize: valid times are different.
This FieldSet3D valid time: 2021-06-30T00:00:00Z
Valid time of the serialized FieldSet3D: 2021-07-01T00:00:00Z
FieldSet3D::deserialize: valid times are different.
This FieldSet3D valid time: 2021-06-30T00:00:00Z
Valid time of the serialized FieldSet3D: 2021-07-01T00:00:00Z
FieldSet3D::deserialize: valid times are different.
This FieldSet3D valid time: 2021-06-30T00:00:00Z
Valid time of the serialized FieldSet3D: 2021-07-01T00:00:00Z

@shlyaeva given this, I can't think of any reason why the problem would be on the soca side, should I move this issue to oops?

yes, go ahead and move to oops please

I moved this issue to oops. Since there is a valid workaround of using parallel subwindows: true and a carefully set number of PEs, this shouldn't impede our work with 4denvar.


a path configured in tsconfig.json dosen't work in ./server.ts in Angular universal mode

I have created an Agular library and puts its path to paths array in tsconfig.json
note that this path refers to 'src' of the library, not 'dist' folder
tsconfig.json:
    "paths": {
      "*": ["node_modules/*", "src/types/*"],
      "myLib": ["projects/myLib/src/public-api"],
      "myLib/*": ["projects/myLib/src/lib/*"]
    }

server.ts
import { example } from "myLib" //cannot resolve myLib, although when I click in this module in my IDE it directly open the correct path i.e public-api.ts file
import { example } from "projects/myLib/src/public-api" //works!

Hi, most likely you have a ‘baseUrlIn yourtsconfig.server.json`
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


Fix mode logic error in ts0601_trv_siterwell

The mode with the value zero should be Unoccupied and Off.

Unoccupied yes, but not Off.
You can't turn off heating on that TRV
Even on away it will still heat


How to use openXML in Node and Angularjs hybrid Application

Hi,
I am new in Development, I am working in nodejs and angularjs Hybrid application.
I want to to view or Read a Office document in an application.
I got some Know information from outside. Using OpenXML we can able to read these documents.
Can any one please Suggest me How to use OPENXML in the application
Thanks
Dinesh

Hi, your issue reads like a support question. This github repo is only for bug reports and feature requests. Please try one of the listed Support Channels. Thanks!

@Narretz  Okay Thanks


Angular Sign up Error

When signing up and clicking "register now", all fields go blank and warning errors appear before loading to the next page.

This appears to have fixed itself - reopen if it is still an issue.


[Feature Request]Scanned manga problem.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
I have a lots of scanned manga. it have 2page in one single image. So it need to be split into 2 page.
Describe the solution you'd like
A clear and concise description of what you want to happen.
The image ratio check and split. I think its best option.
Describe a small use-case for this feature request
How would you imagine this to be used? What would be the advantage of this for the users of the application?
Scanned manga have the issue like my case.
Additional context
Add any other context or screenshots about the feature request here.

Hi, thanks for the feature requests!

The image ratio check and split. I think its best option.

This might not work in some cases. Sometimes you get a few wide pages in a chapter (see the screenshot below), and if we do the ratio check and split, the wide pages would be wrongly split. I think the easiest solution for you would be to use the paged reader.

Hi, thanks for the feature requests!

The image ratio check and split. I think its best option.

This might not work in some cases. Sometimes you get a few wide pages in a chapter (see the screenshot below), and if we do the ratio check and split, the wide pages would be wrongly split. I think the easiest solution for you would be to use the paged reader.

As you can see this manga have perfect ratio. how can i split the manga?

As you can see this manga have perfect ratio. how can i split the manga?

What I was saying is that I agree it would be a useful feature, but I can't think of a user-friendly way to do this. If we just split all wide pages, some pages would be incorrectly split (as in my screenshot). We could add a double-page reading mode, where we split all pages regardless of their width/height ratios, but then the server would have to do the heavy image processing on the fly. I need to think about it and see what we can do, but of course, any suggestions are welcome.
In your screenshot, you are using the continuous mode. Perhaps you can give the paged mode a try as a workaround. The double-page images should look better in the paged mode.

What I was saying is that I agree it would be a useful feature, but I can't think of a user-friendly way to do this. If we just split all wide pages, some pages would be incorrectly split (as in my screenshot). We could add a double-page reading mode, where we split all pages regardless of their width/height ratios, but then the server would have to do the heavy image processing on the fly. I need to think about it and see what we can do, but of course, any suggestions are welcome.
In your screenshot, you are using the continuous mode. Perhaps you can give the paged mode a try as a workaround. The double-page images should look better in the paged mode.

Thanks for reply my submission. I really hope add the 2page mode in to the Mango. I will wait until get upgrade! TNX!

Thanks for reply my submission. I really hope add the 2page mode in to the Mango. I will wait until get upgrade! TNX!


added  new branch ie ECE-AI

added  new branch called ECE-AI and its resources
#148 resolve
@anmode please approve this and merge it 😊

Ece means electronics only na ?
Electronic ke toh block card already hai...

Ece means electronics only na ? Electronic ke toh block card already hai...

no no its not ece , mene jo bnaya hai vo ece-ai hai i.e Electronics and Communication Engineering (ECE) with a specialization in Artificial Intelligence @AmanJain18

Ok, great addition, will have to keep on hold for rn, due to backend work going on.. hope u will understand.

Hey @anjaliSilawat Thank you so much for providing the notes.

Ok, great addition, will have to keep on hold for rn, due to backend work going on.. hope u will understand.

Oh so @AmanJain18 How much time will it take for you to accept my PR

Idk why but in the assignees section it shows “no one assigned "  @anmode


Outline popup (with floating window)

My main use case of an outline view is to navigate to a different position in large files. I usually:

Open outline window
Scroll down/up a bit, or use /, to find the symbol I'm looking for
Press enter on an item to jump there
Close the outline

For this workflow, it would be a big user experience upgrade if it was possible to launch the outline window as a Neovim floating window on top of the current buffer, then automatically close it when I press enter on a symbol.
Would this be possible to achieve now with a bit of advanced configuration? Or would it require additions to the plugin?

Just use telescope for this usecase, they support lsp symbols

I didn't know that. I gave that a shot now, and it's not really a comparable experience...
There are no icons, there is no indentation, it spawns a gigantic window, it includes an unnecessary preview window, it includes variables and I don't see a way to disable that.

After some more research, Telescope seems more hackable than I first thought. I have gotten the outline popup to a pretty decent place:

But it's still lacking indentation and icons, so it's nowhere near as pleasing to the eye as this plugin :disappointed:

TBH this plugin is just not for your workflow, at most i could add a mapping to goto the symbols location and then close the outline, but opening the outline in a floating window is out of the scope of this plugin

Hello @simrat39,
Why exactly is this outside of this plugin's scope? Wouldn't it be just a matter of abstracting the window opening and closing logic a bit?
(I'm open to doing a PR for this.)


extending tagset

Wondering if there is a way to extend the tagset logic for custom tags? I've been poking around the source and don't see anything to indicate that it can be done.
Example:
const lexicon = {
  'jones': 'Doctor'
}

const tags = {
  Doctor: {
    is: 'Person'
  }
}

hey mike, yeah it's a good question, and the short answer is that there are a few fleabag ways to do it, but not a good solution, like the one you've suggested.
you can make any tag you want, but to get the Doctor->Person stuff, for now you can do this:
const lexicon={
  jones:['Doctor', 'Person']
}

or alternatively,
var doc=nlp(myText, {jones:'Doctor'}).
doc.match('#Doctor').tagAs('Person')

... but we should really support a clever way to extend the native tag stuff. I'm happy to work on that.

seems like providing some kind of API for working with the lexicon/tagset is in order. Right now compromise seems super slow because every time I run it, it "loads" the exact same lexicon that I am supplying.
I'd love to be able to set up my lexicon, tagsets, once, and then set those for compromise.

Thanks for providing insight into how to work around the tagset thing right now, it seems to work well!

yeah! thanks. your timing is very good for this feature. we can look at including it in v11, which will hopefully be ready sometime this week.
how would this be?
var nlp=require('compromise') //does background init work

nlp.addWords(myLexicon)  //your lexicon (persistent)

nlp.addTags({Person: ['Doctor', 'Nurse', 'Plumber']}) //plug these into the tagging logic

//now this is fast-path
nlp(text1)
nlp(text2)

i got stuck on this just cause i was trying to make a nlp.clone() method, that somehow would let you have two different functions. I still haven't figured out how to do that

that's exactly what I need :+1:

No sure if this is a digression, but how to we best handle polysemy (?) when we create new lexicons.
First determine the tag (pos) before checking the custom lexicon?
"I doctored the photograph"

sorry for the delay,
yeah, for more context-sensitive tagging, i recommend doing it afterwards with .match().tagAs()
var doc=nlp("Have You Met Life Today?")
doc.match('#QuestionWord #Noun met')....
doc.match('met life #Verb')...

or whatever..

Just tried out v11, totally amazing. Going to close this issue. Thanks for a great library!


[stable/mongodb-replicaset] readinessProbe error when auth is enabled

Describe the bug
When using the chart and enabling auth, there is a periodic error: Unauthorized: not authorized on admin to execute command { endSessions: [ { id: UUID("f596e869-5cfd-40bb-894d-a63673468896") } ], $db: "admin" }
Seems related to the readinessProbe, I can use the database with user credentials normaly.
Version of Helm and Kubernetes:
Kubernetes versions: Client 1.15.2, server 1.13.5
Helm: v2.13.1, also tried 2.14.3
Which chart:
stable/mongodb-replicaset
What happened:
Getting error:
Unauthorized: not authorized on admin to execute command { endSessions: [ { id: UUID("f596e869-5cfd-40bb-894d-a63673468896") } ], $db: "admin" }
What you expected to happen:
ReadinessProbe to be able to connect
How to reproduce it (as minimally and precisely as possible):
helm install --name mongo stable/mongodb-replicaset --set auth.enabled=true,auth.adminUser=admin,auth.adminPassword=admin1234,auth.key=test
Anything else we need to know:
Works when auth is not enabled.

Don't know how to fix it. Suggestions?

I don't have a suggestion but it still is an issue


Is this project alive?

If not, please think twice. This cause is too good to be buried.
Please let us know how we can help.

It just got an update like 27 days ago! :D

Hello! Same question in 2022 :smile:


Lost of download progress of 1st episode in season pack when start to download 2nd episode

Expected Behavior

Current Behavior

Dowbloaf 1st episode in season pack completely theen start to download 2nd episode , then try to start 1st episode - downloading is starting again from 20% with strange buffer size (150mb instead og usual 60mb). After unexpected crash/reboot looks like 1st episode again is 100% downloaded.
Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Version used:

Environment name and version:

Operating System and version:

Link to Kodi debug log:

spmc.log (after unexpected reboot)
https://paste.ubuntu.com/p/sKVpkNfVKv/
spmc.old.log (before reboot , issue should be hete)
https://paste.ubuntu.com/p/ghhcv56c4Z/

it's still an actual problem.
in general work with season pack with file storage is unstable.

Log is already not available.
It is probably better to totally remove file storage in plugin.

@antonsoroko
I'd ask you to make new log, but, keep in mind, that in 0.1.38 database was changed and it will probably lost which file you were trying to download once torrent was added.
So you will need to add some new torrent, select the file and so on.

Please, re-test with 0.1.41.

Will do. Thanks.
Btw

It is probably better to totally remove file storage in plugin.

please don't :-) file storage is only option when you have to use VPN and your device is not powerful enough to provide good net speed with VPN, or when you simply have a slow internet connection, or even when number of seeds are low and inconsistent (very often case for old videos).
Thank you.

@antonsoroko
I'm agree.
This is the only option I'm using since I have used Quasar/Elementum.
Don't remove it.
Usually it works well.

By the way i was not able to reproduce this bug.
I guess it was torrent file specific and since log file is lost and i don't remember which torrent it was i am going to close this issue.
Thanks.


Game.LevelUp() always displaying same level - game version 1.05

Using the command trigger the level up animation but it's always from 9 to 10. No actual change happens

Not related to the mod, if a function is bugged, mark it in the wiki


password authentication failed postgresql

Versions
Please provide your platform details:

Software
Information

Operating System
Windows

OS Version
16299.309

java -version
1.8.0_151

psql --version
10

gradle --version
4.6.1

Software versions in the Let's start section in the README.
Description
Attempting to enter 'tombolo' password after executing -- psql -d tombolo -U tombolo < src\main\resources\sql\create_database.sql -- to set up database.
However, password authentication is failing.
Error log
psql: FATAL:  password authentication failed for user "tombolo"

@davidkazemzadeh thank you for rising this issue. I believe this was solved during the hackathon by restarting the OS.


(img_x, img_y) = self.image.texture.size  AttributeError: 'NoneType' object has no attribute 'size'

i am trying to preview the demo app in kitchen_sink but its give error like "NoneType" object has no attribute 'size
'

i am trying to preview the demo app in kitchen_sink but its give error like "NoneType" object has no attribute 'size
'


TypeError: Expected int32, got list containing Tensors of type '_Message' instead

When I run the generate and train, this problem appear.

@stephenzwj
@buriburisuri
Hi, did you solve this problem? I met the same error here.

Hi, did you solve this problem? I met the same error here.
Dependencies:
sugartensor==<IP_ADDRESS>
tensorflow==1.2.0


Make IConnection single-use and move restart/reuse behavior to HubConnection

It makes things a little cleaner and after all, the main reason we want restartable/reusable connections are to keep HubConnection bindings in place, so making HttpConnection/IConnection restartable is less important.

So thinking about this more in the context of my existing change, we might be able to just unify things like this:
ConnectionContext is the root of the universe, its used on both the client and the server as the connection abstraction. We remove IConnection completely and introduce a factory of some sort that looks something like this:
public interface IConnectionFactory
{
    public ValueTask<ConnectionContext> ConnectAsync();
}

We then turn the HttpConnection into the HttpConnectionFactory whose solve purpose is to provide the ConnectionContext implementation over the various http transports.

Closing in favor of https://github.com/aspnet/SignalR/issues/1450

Closing in favor of https://github.com/aspnet/SignalR/issues/1475


Remove unused CI files

The file test/run.sh is no longer required. This file and the test directory can be deleted.
The file was originally used for Jenkins CI. Now that this project has been converted to GitHub Actions, this file can be removed.

Hi @robertmcnees , I will create a PR for this issue, I have worked on something similar.

Fixed with PR #175. Closing issue. Thanks for the PR!

Hi @robertmcnees , thanks for merging my PR.
i’d like to know if there is a community for contributors, if there is one, I’d lover to join the community.
Thanks

Hi @Aysha-py. Spring is always open to community contributions! Thank you again for the PR.
I don't have an all inclusive list of Spring communities, but I'd recommend checking out Spring Users on LinkedIn. There are 162,000 members. I'd also recommend checking out Spring Office Hours. Two of our developer advocates regularly run a podcast focused on the community. I'm sure there are others.
If you are looking to get more involved in OSS contributions, pick the project that you are most passionate about and check out the public issues. Sometimes you will find issues tagged with 'good first issue' or something similar. All issues vary in complexity, so try to find one at the appropriate level to what you're aiming for.
I'm using the spring-guides org to offer a first step to the OSS process. If you are looking for additional opportunities to contribute here, you could update our guides to the latest patch versions. This repository is a good example. The Dependabot configuration excludes patch versions, in an effort to reduce the maintenance burden. However, if someone submitted a PR to update the patch version we would have a look. Spring Boot usually releases patch versions every month. Right now this guide is on 3.3.0 and it will stay there until Dependabot finds 3.4.0 and submits an automated PR in November. Until then, someone could manually update to 3.3.1 now, 3.3.2 next month, etc. This is a change that could be made in any of our guides.


Editors not exported

Firstly, I'm really pleased you've developed this - an excellent contribution to the academic workflow.
I noticed an issue, however. The export appears to only catch authors, not editors. So the item I just exported from Zotero is an edited collection with 2 editors, but the JSON doesn't include them.
Is this something you'd consider fixing?
Thanks.

That's true. I left them out because I thought at first they wouldn't add much to my own workflow, but I can see in hindsight that that was a bit limiting. This will be very simple to add, give me a few days :)

Implemented here: https://github.com/melat0nin/zotero-roam-export/releases/tag/v1.4

Excellent - many thanks. Richard
On Fri, Jun 12, 2020 at 5:11pm, melat0nin <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
Implemented here: https://github.com/melat0nin/zotero-roam-export/releases/tag/v1.4 [https://github.com/melat0nin/zotero-roam-export/releases/tag/v1.4]
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [https://github.com/melat0nin/zotero-roam-export/issues/6#issuecomment-643356614] , or unsubscribe [https://github.com/notifications/unsubscribe-auth/ADS75HIMABVETV66B4RIQLDRWJHUXANCNFSM4N4MJLTQ] .


Can't resolve dependencies when adding new firebase features to an existing ones.

Please fill in the following fields:
Unity editor version:  2019.3
Firebase Unity SDK version: 6.14.1
Source you installed the SDK (.unitypackage or Unity Package Manager): .unitypackage
Firebase plugins in use (Auth, Database, etc.): Auth, Database, Messaging, Analytics
Additional SDKs you are using (Facebook, AdMob, etc.):
Platform you are using the Unity editor on (Mac, Windows, or Linux):  Windows
Platform you are targeting (iOS, Android, and/or desktop): Android
Scripting Runtime (Mono, and/or IL2CPP): Mono
Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Resolve and Force Resolve always send Resolution Failed (Some conflicting dependencies were found). But it only occurs if I add new package, it doesn't occur if I add them all at the same time.
So if I start a new project, and put them Database, it works, if then I add Auth, it brokes. But If I start a new project, and attach both Auth and Database, it works.
Please answer the following, if applicable:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
What's the issue repro rate? (eg 100%, 1/5 etc)

What I've noticed is that if you import the packages, and unselect the already imported External dependencies, it won't crash.

Hi @EricBatlle,
In the Package Manager Resolver after the import of Database do you select "Add to Registries"?  If so, then the package manager resolver will create its own version of the imported asset in its own path.  Unity will see two versions of Database the next time a package is imported: the one from the .unitypackage import and the one from the Package Manager Resolver.
If you remove the Databae files for  .unitypackage import from the Assets folder then this error should go away.  Please check #695 for more details and to see if this helps with the problem.
Thank you.

@EricBatlle
It would be helpful if you can provide the editor log for more information.


Query helper should support options

This adjusts the query helper so instead of this:
db._query(aql`
  FOR i IN 1..1000
  LIMIT 0, 100
  RETURN i
`, { fullCount: true });

it's now also possible to do this:
query({ fullCount: true })`
  FOR i IN 1..1000
  LIMIT 0, 100
  RETURN i
`;

Previously the query helper couldn't take any arguments (this syntax is still supported):
// no way to pass options here
query`
  FOR i IN 1..1000
  LIMIT 0, 100
  RETURN i
`;

I'm marking this as a draft because I'm not sure if this should go in 3.5 or 3.6 and it should be documented in the relevant NewFeatures file before being merged into either.

Looks like "ready for review" means "ready to merge". Keep in mind this is explicitly WIP but ready for review.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/4161/

Probably need @fceller to decide if this should still go in 3.5 at this point or wait for 3.6.

delayed to after 3.5.0

I suggest moving this into 3.6 if it doesn't make the cut for 3.5.0. I don't think a feature should be added in 3.5.1.


Nonce management for multiple networks

Current GlobalNonceManager is designed considering all tests will be run on single network and share same nonce settings across clients. The global nonce manager sends transactions with invalid nonce if the tests are run on different networks.
Updated nonce manager as a map with key as Chain id.
Here  is the detailed conversation

Codecov Report

Merging #532 (843b1cf) into main (4fdb874) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #532   +/-   ##
=======================================
  Coverage   59.40%   59.40%
=======================================
  Files           8        8
  Lines         542      542
=======================================
  Hits          322      322
  Misses        210      210
  Partials       10       10

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


Description doesn't get set in headless mode.

I ran this command:
WANDB_API_KEY=<api_key> WANDB_ENTITY=shawn WANDB_MODE=run WANDB_PROJECT='headless-check' WANDB_DESCRIPTION='a-headless-run4' wandb run train.py
Here's the run: https://app.wandb.ai/shawn/headless-check/runs/s8q6gi4c
Everything works except for the description. This is a critical feature, need to fix ASAP.

Nevermind! I was actually running "wandb run", which isn't headless :).
WANDB_API_KEY=<api_key> WANDB_ENTITY=shawn WANDB_MODE=run WANDB_PROJECT='headless-check' WANDB_DESCRIPTION='a-headless-run4' python train.py
works.


What dataset used for training and testing?

I saw you write:

Please contact with JakeRenn for data (maybe not available currently).

And then I go to JakeRenn's project, there is no update.
I wonder what dataset is used in your project for training? Is it MPII as Wei's paper referred?

Hi, the dataset used in this code is labeled and cleaned by JakeRenn's team, which is different from MPII. This dataset is small and simple as I have described and showed some demo images.

human-pose-estimation-by-deep-learning/data/input/test_imgs: ~4000 test images
human-pose-estimation-by-deep-learning/data/input/train_imgs: ~60000 train images, use half of them. Each of them are labeled with 15 articulate points.

It's up to them to decide whether to release the dataset. If this dataset is not available currently, I recommend you to use other human pose dataset like MPII which may be better than us.
Thanks.

Thanks for your kind reply~

You are welcome. Closing this. Please feel free to reopen it if you meet any further problem.


allow injection of optimizers in Sail

To facilitate easier integration/deployment of new query optimizers we should make it possible to inject optimizers into a Sail implementation, possibly via a Factory pattern of some sort.
See discussion at https://github.com/eclipse/rdf4j/issues/1262#issuecomment-459736140

@pulquero would appreciate your thinking of what this should look like, if you have time.

The QueryOptimizers really belong in the EvaluationStrategy, rather than directly in the Sail itself. I'm currently experimenting with a design where EvaluationStrategy gets an optimize method that, in the standard implementation, applies the standard set of optimizers. Step two will be to then make it possible to inject optimizer into the EvaluationStrategy, instead of directly into the Sail itself.


FidelityWidget should emit some signals

and behave as all widgets behave.

Needs further discussion on execution model for statistics and vapor renderers.


Update deps

Contributes to #1231

Update llvm, spirv-headers, and spirv-tools
Clang defines sqrt for float in opencl-c-base.h now

need to strip it to facilitate linking with cllib
need to always enable long vector lowering

xfail'd some tests for now

Add missing dependency for header generation on opencl-c-base.h

clvk bot seems to fail because the spirv translator is still requiring 17.

clvk bot seems to fail because the spirv translator is still requiring 17.

I'll take care of updating everything on clvk since soon.


Rename Battery Aggregator and other little Things.

Hi Pulquero,
the „exclude Battery“ Option is working fine, thx.
Few Things:

I Will Change the Battery Aggregator Name in „400AH BAT“ because my battery’s are 280 and 120 Ah.
The total AH is not adjustable.

There are no Data from the Can Battery here

Maybe I have not seen the Options to Change this, sorry.

If you could run dbus-spy and attach screenshots of your battery services then I can check which dbus paths I am missing and add them. Total AH should be computed from the individual battery AHs, but maybe your batteries don't publish that?

Ok, I can see that the smartshunt don’t send the Capacity, this is strange.
Here are the Infos for the 280ah can Battery:
I need only the Min and Max Cellvoltage here.

Here ist the 280ah Can Battery over the Smartshunt:
I see no Capacity Info, maybe you can use the Name for the info?

Here ist the 120ah Battery only over Smartshunt:

I have cut some first entry’s for Alarm to fit in one Picture.


Multiprocessing error on Windows 11: ctypes objects containing pointers cannot be pickled

The commit 4ee6530 (from Jun 9 2023) introduced multiprocessing; it works flawlessly on Linux, but on Windows 11 this throwed
C:\Users\ts\rp2daq-main> python .\hello_world.py
2023-08-29 13:48:14,459 (MainThread) connected to rp2daq device with manufacturer ID = E66118604B826B2A
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\spawn.py", line 113, in spawn_main
	new_handle = reduction.duplicate(pipe_handle,
				 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\reduction.py", line 79, in duplicate
	return _winapi.DuplicateHandle(
		   ^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 50] The request is not supported

This is critical, as it disables rp2daq use from Windows.

I had same issue in windows, i think it was for async hello world.

After much testing, this should be finally fixed in 4019c3e7 by using a separate communication process, two multiprocess.Queue objects for the incoming and outgoing chunks of bytes, and launching two threads in the process to service their respective queues.
With some optimisations, the full speed reception of the ADC data stream (i.e. 500 kSps ~ 750 kB/s) seems to work reliably and continuously, even if the user script is 100% busy. (See example_ADC_async.py)


Added Resource and DAO code to handle REST API to get all flows

Fixes #187

@rtyler Looks like Giri reviewed it, but he is on PTO now. Can you please take a quick look at it?

:-1:  right now, there's some fixes that need to go in

@rtyler Thanks. I have taken care of the comments.


Missing #include <SwiftUI/SwiftUI_Metal.h>

Hi, The Layer Effect sample is missing:
#include <SwiftUI/SwiftUI_Metal.h>
Kind Regards
Chris

Thanks for the issue, it now has the include statement.


wip: adapted to resilient4j and created local test

Closing this PR as it has been replaced by #66


add package dhcurve to inbo_software (issue #183)

Description
I added a link and a description of package dhcurve to the webpage of INBO software.
Package is in collaboration with @ThierryO and @leymanan
Related Issue
Part of #183
Task list

[x] My tutorial or article is placed in a subfolder of tutorials/content
[x] The filename of my tutorial or article is index.md. In case of an Rmarkdown tutorial I have knitted my index.Rmd to index.md (both files are pushed to the repo).
[x] I have included tags in the YAML header (see the tags listed in the tutorials website side bar for tags that have been used before)
[x] I have added categories to the YAML header and my category tags are from the list of category tags

Previewing the pull request
Thanks to GitHub Actions, an artifact (=zip file) of the rendered website is automatically created for each pull request.
Instructions

On the PR page, you can find a "details" link under "checks - On PR, build the site and ...". Go there, click on the top link in the left sidebar ("Summary"), and download the generated artifact at the bottom of the page.
Decompress it and make sure the target directory is called 'tutorials' (you may need to rename it)
From the parent directory (just above the tutorials folder you created/renamed), run python -m http.server 8887, or launch the Google Chrome Web Server app and point it at the parent directory.
Point your browser to http://localhost:8887/tutorials.
Review the updated website and accept/refuse/comment the PR

Note: for step 3, you can use any other simple HTTP server to serve the current directory if you don't have a Python 3 environment or Google Chrome available.

Maybe at the package to https://github.com/inbo/universe too.

@ElsLommelen For now (perhaps awaiting #261 before merging): can you merge master in add-dhcurve (git checkout add-dhcurve && git merge --no-ff master) and push the new commit? That could solve the failed check; the add-dhcurve branch is relatively old.

@florisvdh oups, I did this locally before making this PR, but I forgot to push the commits... :-(

Excellent, thanks.

This can be merged. I'll resolve conflicts in #261.


Calvin/tiling and mailes

Feature Name
Feature Description
Related PRs
Migrations
Tests Performed, Edge Cases
Screenshots
CC: @clairelin135

Woooo I'm so excited 😀

One issue--it seems like the column-count property evenly divides the number of elements among the three columns. However, it seems like the elements will display unevenly (like the above)
Can we write a loop in javascript that renders the works images instead? It should keep track of the column heights and add a new image to the shortest column (and the leftmost column if there is a tie).

check new edits

Thanks for making this fix! That workaround at the end was super smart haha way better than what i thought of!

how did u do this without any js ...... this is magic please tech talk and show us ur ways


Documentation for Retcon

Maybe don't merge yet?
Add documentation for retcon, using it, implementing data sources, etc.

Looks unbad. Comments inline.


IGNITE-16699 Properly stop executors in the network module

https://issues.apache.org/jira/browse/IGNITE-16699

Looks good to me


Remove cascade-delete on OrderTransaction to not affect OrderTransact…

This is one of the solutions to address issue #3195

1. Why is this change necessary?
Without the change the issue reported in #3195 occurs. In short, when the system process the merge on versioned OrderTransaction entity, then it affects related OrderTransactionCapture entities and deletes all of them if there are any linked to OrderTransaction (because OrderTransactionCapture is not versioned)
2. What does this change do, exactly?
The change removes the CascadeDelete flag for captures relation in OrderTransaction. The cascade delete will only happen using SQL table definition, while the version merge will not cause the removal of OrderTransactionCapture entities.
3. Describe each step to reproduce the issue or behaviour.

Create an Order with OrderTransaction
Create an OrderTransactionCapture (currently, only via API, POST: /api/order-transaction-capture) linked to OrderTransaction from pt.1 above
Confirm the entity entry is visible in the database (order_transaction_capture table)
Edit and save the order created in pt.1 to trigger the version created + merge process (can be by adding a tracking code)
Check for the entity entry (as in pt.3) - there is no entity in the database anymore

4. Please link to the relevant issues (if any).
#3195
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

🤖 Generated by Copilot at 3ad324d
Removed CascadeDelete flag from captures field in OrderTransactionDefinition.php to prevent unwanted deletion of order transaction captures.

🤖 Generated by Copilot at 3ad324d

Remove the CascadeDelete flag from the captures association field in the OrderTransactionDefinition class (link). This prevents the deletion of the order transaction captures when the order transaction is deleted, as they are needed for accounting and reporting purposes.

 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.

Hi @matkowalski, Maybe we can consider version OrderTransactionCapture instead of removing the CascadeDelete flag  🤔—just food for thought.

@silverDuy I do agree, that one of the solutions to resolve issue #3195 is to create versioning for OrderTransactionCapture, as I also suggested it as a resolution in the issue itself:

The fixed solution would be one of the below:
a) remove the CascadeDelete flag on the order_transaction.captures relation
b) introduce versioning for OrderTransactionCapture, OrderTransactionCaptureRefund, and OrderTransactionCaptureRefundPosition accordingly fixed

The removal looks simple enough to introduce it as a quick fix, that's the main reason I did it.
I can of course create another PR address in applying the version on OrderTransactionCapture, that's not a problem. While doing this, I believe a version should be applied to all these entities together (please correct me if I'm wrong):

OrderTransactionCapture
OrderTransactionCaptureRefund
OrderTransactionCaptureRefundPosition

On top of the above confirmation, I was wondering if the versioning is actually needed on these entities. It's difficult for me to find a business reason to apply a version to it (as I understand other entities like order-address, order-transaction, order-delivery, etc.) can change at some point during an order edit, while the TransactionCapture once it happens is not altered much. But maybe I'm trivializing this, or missing something important.
Please let me know if applying versions on these entities is the way you would like to resolve it.
Thanks!

@silverDuy with a bit of a delay, but here it is - PR #3228 which adds versioning to Capture, Refund, and RefundPosition entities. I believe the current PR can be discarded.


adds ephemeral cluster docker image build

Closing https://github.com/celestiaorg/celestia-app/issues/424

Not really, no.

Lets merge then and see if it is works as expected


OG-USA speed up

In working out the time path resource constraint issues, I ratcheted down the TPI tolerance from 2e-5 to 1e-9.  This about doubles the run time (close to 4 hours for TPI on my laptop).  However, I do like the tighter tolerances.
We haven't put too much effort into it, but we should start to think about speed ups for OG-USA.
e.g. are there things that we can vectorize that aren't?  Should we use Numba?  Can we improve initial guesses by using past model solutions/prior iterations (see Issue #177)?  What else?

There are definitely places where we can parallelize the code.

As a reasonable starting point, I started a profiling run on version 0.5.5. I'll put results here.

Hmm.. well it was low effort to produce the profile result, but I don't know how informative it is. I'm viewing the results with snakeviz . The top-level graphic shows as follows:

About 80% of the time is spent in fsolve, ~20% in the tax function estimate code. So, my inclination would be to find ways to parallelize calls to fsolve, since a 2x improvement in the total time spent in fsolve would reduce overall runtime by 40%.

Thanks @talumbau !  Yes, we do some loops with an fsolve at each iteration in TPI.py.  Those loops can be parallelized to a significant degree.

TO DO:

[ ] Use dask or multiprocessing to parallelize loops over j in SS.py and TPI.py modules
[ ] Use an initial guess that is close
[ ] Use solutions to previous iteration of "outer loop" as guesses for next iteration in SS.py and TPI.py

With PR #363 and PR #362, both the SS and TP solutions have been parallelized with dask and can run on up to 7 different processes on different cores of a single machine or on a distributed system.  The tax function estimation has been parallelized in a way that can run on up to 10 different processes.  This has been a cheap way to speed up the model solution.
Starting values for TPI are updated at each iteration. Finding initial guesses that are close can help somewhat with the first iterations, but won't affect speed so much.  That can be addressed in the future are we look to make sure the model is robust to starting values.


adding clip so that the callout does not display beyond the map view

@nandinirao please review and merge

Looks good.


[Bug] Recovery failure exception

Steps to reproduce the behavior:
Click the restore failure button from the failed node to rerun the workflow failed
Describe the question
The workflow failed to run for the first time. When I modified the shell task content and went online again, I clicked the restore failure button, but still prompted an error. After checking the log, it was shown that the modified script content was unsuccessful or the original script content.
query the t_ds_process_definition table and find that the rawScript stored in JSON has been modified successfully,but the t_ds_process_instance table is not modified.
Which version of DolphinScheduler:
-[1.3.2]
Script before modification

Modified script

Recovery failed

t_ds_process_definition

Modifying and saving directly on the existing workflow instance can achieve the goal, so close this issue


update for goreleaser based on deprecation

https://goreleaser.com/deprecations/#brewsgithub
to test: goreleaser check
Signed-off-by: Ken Sipe<EMAIL_ADDRESS>

should we note somewhere which version of goreleaser we currently support? Is there a way to somehow "fix" it like if we would be using go.mod or other dependency resolution thing?

that's a great point @alenkacz .  My initial reaction was resistant because it is generally the latest release of goreleaser and it seems like a burden to update docs for every change... however I have a strong preference to have a repeatable, reproducible and traceable build chain.   Unfortunately goreleaser, while a go application, is a binary and isn't managed in the build chain via tools.go etc.   It seems that if we had the release as part of a CI build (which we should drive to) that the version will be either on the  build image or be part of the build infrastructure pipeline scripts.
I don't see it as blocking this PR.  I'll write an issue regarding this which can prioritize.
Thanks for thinking big picture and driving dev / release maturity in the process!


Visual tweaks

Ok just fixed everything (git icon will be on desktop only until we make zIndex work) + tweaked one or 2 things.


Add ArrayIndentationFixer

Closes #770 and #1438.

@EikeDawid, why won't you help and make a decent review? it would help merging the PR for sure

@keradus let me see if i can find somebody

Hi!
First of all, thank you @julienfalque for the Pull Request. Looks amazing!
I've been playing with it for a while, and everything seems fine to me. You can see a few examples below:
Input:
<?php

$array = array(
		'a' => 1,
		'asdf'      => 2,
		'adddd' => 3,
		'c' => 4,
	);

$array = array(
		 1,
		2,
		  3,
		4,
		    5,
		6
		);

$array = array(1,2,3,4,5,    );

$this->assertEquals(
    [
    'firstKey' 		=> '50',
    'secondKey' 		=> '90',
    'whateverKey' 		=> '/tmp/report',
    ],
    $this->configuration->getLoggingConfiguration()
);

return array(
  'first-name'	 => 'First Name',
  'last-name' 	 => 'Last Name',
  'language' => array(
    	'en' => 'English',
    	'es'  =>    'Spanish',
  ),
);

Output:
<?php

$array = [
    'a' => 1,
    'asdf' => 2,
    'adddd' => 3,
    'c' => 4,
];

$array = [
    1,
    2,
    3,
    4,
    5,
    6,
];

$array = [1, 2, 3, 4, 5];

$this->assertSame(
    [
        'firstKey' => '50',
        'secondKey' => '90',
        'whateverKey' => '/tmp/report',
    ],
    $this->configuration->getLoggingConfiguration()
);

return [
    'first-name' => 'First Name',
    'last-name' => 'Last Name',
    'language' => [
        'en' => 'English',
        'es' => 'Spanish',
    ],
];

The only thing I am missing are more tests, but apart from that, works great.
Cheers

WIP as I found test cases that currently fail.

I refactored the fixer a bit, added and fixed test cases. I feel more confident about the stability of the fixer now. I found an edge case that is still not supported though:
 $foo = [
     0 =>
-        'bar',
+    'bar',
     1 =>
-        'baz',
+    'baz',
 ];

IMO this case should be left untouched, i.e. values that are on their own line (rather than after =>) should be indented once. But I assume this is a very rare edge case (found only once in Symfony codebase), I'd say this should be a separate PR so this one can get merged. WDYT?

I would say that for this case we do have no_multiline_whitespace_around_double_arrow rule ;)

Thank you @julienfalque.

really nice here !

Really happy to see this merged, thanks! :)

Amazing, thanks guys


feat(#193): Deploy SageWorks Sandbox using Python CDK

Addresses Issue #193
Creates a simple sandbox stack using Python AWS CDK code that contains:

The SageworksExecutionRole
The Sageworks S3 Bucket

Both of these grab the names from the sageworks_config.ini and can be deployed using cdk deploy --profile [your_profile]. The bucket names are global, so it's important to note that whoever is deploying this will have to make sure they're unique.

@andrew-huynh Super duper!


Wrapping type with Readonly causes type alias to be lost in annotation

TypeScript Version:  3.7.x-dev.201xxxxx

Search Terms:
Readonly, type, annotation, alias, expand
Code
type Person = {
    name: string;
}

type ReadOnlyPerson = Readonly<{
    name: string;
}>

// hovering on x shows a type annotation of `Person`
let x: Person
// hovering on y shows a type annotation of Readonly<{ name: string }>
let y: ReadOnlyPerson

Expected behavior:
Type aliases should be preserved in annotations when using the Readonly type. In the example above I would expect the type annotation for y to be ReadOnlyPerson
Actual behavior:
Type alias is lost in the annotation when using the Readonly type. The type annotation for y in the example above is Readonly<{ name: string } instead of ReadOnlyPerson
Playground Link:
http://www.typescriptlang.org/play/?ts=3.7-Beta&ssl=10&ssc=22&pln=1&pc=1#code/C4TwDgpgBAChBOBnA9gOygXigbwFBQKlQEMBbCALikWHgEtUBzAblwF9ddRIoAlCYgBMA8qgA2IOEjSY+AwWgkAePISJlK1WgxbsAfJzERgUAB5UpKVLiMmQVfkNETLaIA
Related Issues:
I wasn't able to find any bugs that looked similar, when through a couple of pages of issues using the search terms mentioned above.

IIRC type aliases are not directly preserved in the way you think, TS just remembers if the first instantiation of a type was due to a type alias and back-maps it to the alias if so.  Since this is just a heuristic, there are a lot of ways it can go wrong.  For further elaboration see https://github.com/microsoft/TypeScript/issues/32287#issuecomment-509414288

Thanks for your comment @fatcerberus - I understand what you're saying.
What confuses is me is that the Readonly type doesn't do what I expect in this case. Since the type alias is defined right there, I don't see why the compiler would lose information on where the type originated. I guess what I would expect is for these two to be equivalent:
type ReadOnlyPerson = Readonly<{
    name: string;
}>

type ReadOnlyInLinePerson = {
    readonly name: string;
}

let y: ReadOnlyPerson
// hovering on z gives the expected type annotation -> z: ReadOnlyInLinePerson
let z: ReadOnlyInLinePerson

It confused me at first, too, but here's what I think happens:

You declare x as Person.  This forces the Person type alias to be evaluated, which produces the concrete type { name: string }.
From here you're good: TS remembers that { name: string } was first constructed via the type expression Person, and displays that in IntelliSense whenever it encounters that same type in the future.
You declare y as ReadOnlyPerson.  TS evaluates ReadOnlyPerson and gets Readonly<{ name: string }>.  This is not yet a first-class type as it contains the Readonly type alias, so must be further evaluated.
TS evaluates Readonly<{ name: string }> and gets { readonly name: string }.
This is a concrete type, so TS remembers that it was produced by the type expression Readonly<{ name: string }> and displays that in IntelliSense whenever it encounters the same type in the future.
Because there was a second type alias in the way, information about the first one--ReadOnlyPerson--has been lost.

I do wonder why it doesn't display as Readonly<Person>, though.  This is just speculation but I'm thinking TS remembers the exact source text of the type expression that created the type, rather than storing the type parameters individually.  You can see this by declaring ReadOnlyPerson as:
type ReadOnlyPerson = Readonly<Person>

Now y will be annotated as Readonly<Person> in the hover text.

Interesting, that makes sense.
It would be a bit cumbersome to define the type and the read-only version separately each time in order to improve the intellisense. Let's see what the official TS maintainers have to say about this but I suspect this is not something that can be easily remedied.

In short: type aliases are not first-class types. They are more like macros where the compiler expands the alias and uses the expansion directly, which often loses information on where the type originated.

This is confusing and non-intuitive to me. I think at the very least this should be documented, but if the contract can be improved, or if some control can be afforded via other keywords, that would be a huge help.

I'm not sure that @fatcerberus isn't right. This seems like something that "should" work

@RyanCavanaugh I found that if you redeclare ReadOnlyPerson as:
type ReadOnlyPerson = { readonly name: string }

then that fixes the issue and y as typed as ReadOnlyPerson in the hover text.  It seems that if there is any nesting of type aliases, TS only takes the "innermost" one for the name of the final type.  It might also explain all those issues where Omit<> expands to a huge Pick<> type in the hover.
Repro (Playground):
type A<T> = Array<T>;
type B<T> = A<T>;
type C<T> = B<T>;
type D<T> = C<T>;

declare let x: D<any>;  // x :: A<any>

Could be a possible workaround,
type Person = {
    name: string;
}

type ReadOnlyPerson = Readonly<{
    name: string;
}>

// hovering on x shows a type annotation of `Person`
let x: Person
// hovering on y shows a type annotation of Readonly<{ name: string }>
let y: ReadOnlyPerson

interface DoNotExpand extends Readonly<{
    name: string;
}> {

}
//let z: DoNotExpand
let z: DoNotExpand;

Playground

I've only ever wanted to force TS to expand types. I've never wanted to force TS to alias types.
So, this is all new to me =x

The compiler's behaves as intended here. Instantiations of generic type aliases (such as Readonly<T>) are cached and shared based on the type identities of the type arguments. In other words, every reference to Readonly<Foo> in a program ends up referencing the exact same type object. This type of sharing saves both time and memory, but it also precludes associating aliases with particular instantiations (because there could well be multiple possible aliases).


Bjorncs/use ssl socket factory node admin

We'll have to wait with the merge until next prod release.

What has changed since last PR?

@hakonhall Nothing. It contains the changes from the 3 commits reverted in #6589.

So why would merging the same changes not cause the same problem? What was the problem?

Because of mismatch between the version of vespa-athenz bundle and node-admin in CD. New version of node-admin tried to use a class that did not exist in the old version of vespa-athenz.


Python package set major updates

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@jonringer feel free to force-push.

Should also consider https://github.com/NixOS/nixpkgs/pull/65023 again

can you revert the gym update https://github.com/NixOS/nixpkgs/pull/76059/commits/834a4f76d2aa951f93faa41e9980352f3327be9e?, because it requires python-opencv which is not in nixpkgs yet

Done

Could you refer me to that python-opencv. It's a mess with all those different opencv packages.

Thanks.
It's https://pypi.org/project/opencv-python/ https://github.com/skvark/opencv-python
I recall @jonringer mentioning that packaging it was not a trivial task

IIRC, we can also use the opencv package to make the bindings, the https://github.com/skvark/opencv-python repo is just there to publish the wheels.
But tying to build from opencv-python is painful as it makes a lot of assumptions about network access, git, and cmake integration.

Yes, we just need to build a dist-info folder that has the opencv-python name.

the only packages i can think of that use opencv-python are imgaug, baselines, and gym

there's a PR to fix imgaug here: https://github.com/NixOS/nixpkgs/pull/67494
gym doesn't need it unless it's bumped
and baselines currently removes it from the install_requires
Although eventually, we should add it. I just don't have the will right now.

did you want help stabilizing this? because I know a lot of leaf packages probably got broken

Yes, I think we need to do such an upgrade again. I saw some of the PR's, and those are bound to cause regressions as well. With this PR/branch we can test them.
I will actually be away for a week so probably need to rerun this after.

I feel like now would be a good time to bump pytest and hypothesis

I feel like now would be a good time to bump pytest and hypothesis

Definitely!
Thank you for looking at these packages. Next Sunday I'll be back and can have a look as well.

had to revert sip bump, as it broke a lot of pyqt builds

going to revert the boto/moto bumps apparently aws is a very fragile api

also reverted the major coverage bump, as that broke quite a few packages

did you want to bump python3.{6,7,8} on this branch? @FRidh

https://www.python.org/downloads/ they all got a bump on the same day

python3.9a2 was also released https://www.python.org/downloads/release/python-390a2/

had to revert flit major bump. they broke it into a flit and flit_core package, but they both require flit to build a wheel

reverted pytest-astropy, added a new pytest-astropy-headers dependency, which doesn't exist yet

disregard the interpreter bumps, already applied

starting to get to the point where the regressions are on leaf packages. I think this is ready to merge.

rebased on top of staging, there shouldn't be any conficts...

most of the regressions are from python38Packages.aiohttp, https://hydra.nixos.org/jobset/nixpkgs/python-unstable

What's the status of this? git-revise is currently broken because of importlib-metadata.

Sorry, i've been visiting family and tied of with other things for the holidays. I'm assuming @FRidh has been as well

Yes indeed. I just got back so I can have a look at it again as well.

Just did another rebase onto staging.

I would like to see a lot of these changes in master. Not sure what to do to expedite this getting in

Tomorrow I intend to merge staging next at which point this goes into the
new staging next. If there aren't many other big changes that should land
in master relatively quickly.
On Sun, 29 Dec 2019, 21:44 Jon<EMAIL_ADDRESS>wrote:

I would like to see a lot of these changes in master. Not sure what to do
to expedite this getting in
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/76059?email_source=notifications&email_token=AAQHZ352XDH57MPG2MR7ON3Q3ED4JA5CNFSM4J5OFUN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZH65Y#issuecomment-569540471,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQHZ33DZZU2MNYMCDPA2ELQ3ED4JANCNFSM4J5OFUNQ
.

Forgot to merge it into staging so that's why it went to staging-next...


easy_install spyder installs alpha version

From<EMAIL_ADDRESS>on 2011-06-13T08:11:44Z
What steps will reproduce the problem?

easy_install spyder What is the expected output? What do you see instead? I would expect easy_install to install the latest stable release. Instead, the latest alpha release gets installed. What version of the product are you using? On what operating system? Ubuntu 10.04.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=689

From pierre.raybaut on 2011-06-13T12:12:02Z
Thanks for reporting back this issue. I was not aware that setuptools (the tool behind easy_install) was so dumb... For the record, it should be able to discriminate a stable version (without 'alpha' or 'beta' or 'rc') from an unstable one. That is disappointing.
In the meantime, I've removed this download, hoping that setuptools will understand better 'beta' than 'alpha' (the next version to be uploaded is v2.1.0beta1).
Status: Fixed


billboardshader: colorize, don't just multiply image intensity

It's sometimes useful to be able to colorize billboards. This doesn't impact existing usage - the billboard image for lights is unaffected, and it's not like there's more data flying around seeing as the structure was padded with a float3 prior to this.

Thanks for making the pull requests, I will review and merge in due time.
Alan

Merged
Thanks
Alan

Thanks!


zod-library-added

Hey @AndrGab! I have added email and password validation. Please review it and Merge my PR, closes #163  . Thank you!

we need to upgrade nodeJs

we need to upgrade nodeJs

will look into that

Hey @AndrGab! As the backend is not in nodejs I can't be able to update it. Please do it from your end and merge my PR. Thank you!

Hey @AndrGab! Can you please share me the nodejs file. So that I can look into it


Javascript pdf book contributed for hacktoberfest

Why is this valuable (or not)?
It is valuable for the javascript begineer
For book lists, is it a book? For course lists, is it a course? etc.
Book
Checklist:

[x ] Read our contributing guidelines.
[x ] Search for duplicates.
[x ] Include author(s) and platform where appropriate.
[x ] Put lists in alphabetical order, correct spacing.
[x ] Add needed indications (PDF, access notes, under construction).
[x ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Could you please let me know if it is done or does it require any more steps?

This is not an authorized distribution. Refer to docs/CONTRIBUTING.md for guidelines


INT B-20131-Storybook Fix

This is to fix storybook that showed error in the Main PR: https://github.com/transcom/mymove/pull/13008
If you like to test this, run make storybook and find EditPPMHeaderSummaryModal to test.

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against cf6060b1d4407c25d523b8091af3490f147e5edb


[rip-10] add test case for PrintMessageByQueueCommand

add test case for PrintMessageByQueueCommand

Coverage increased (+0.07%) to 47.833% when pulling 18f122b32928fcb74fd51964cfe4cb413476cc05 on pigpdong:develop_dp into 2e04ca76e79cec64d8dfa9aebb3a0361d1dadee8 on apache:develop.


Custom Filter reliably glitches in URP and HDRP projects

Loading a RNBO plugin as a custom filter using the OnAudioFilterRead() callback reliably glitches after a few seconds in projects using the Universal Render Pipeline. In the dropbox link here, you can find two projects, identical except one is using the built-in renderer and the other is using the URP. I've also attached the RNBO patch (it's the rnbo~ @title one-parter) below.
https://www.dropbox.com/s/yt712g2noj7knlw/AudioGlitch.zip?dl=0
gen-two-parter.zip

I should add that the same plugin, in an HDRP project, seems to perform just fine.

Okay, I can refine this. The custom filter, when paired with an AudioSource with spatial blend set fully to "3D" will have the same glitches in an HDRP project as a URP project.

Can you see if this happens when you build the project and run outside of the editor?

Okay, this build (which should run on Windows), does not glitch like it does in-editor! So it does seem to be an editor issue.
GenAudioGlitchURP.zip

My Unity version is: 2021.3.21f1

@jinpavg are there more repro instructions for the glitch? I have run both "GenAudioGlitch" and "GenAudioGlitchURP" in my windows VM and the glitch isn't reliable.. sometimes, sporatically, like at most once a minute or two, I get a retrigger like stutter.. Is that what you're talking about?
BTW, I noticed that the URP project wasn't set to render in the background, so I updated that.

I can repro this with a completely empty URP project and the following script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[RequireComponent(typeof(AudioSource))]
public class SineTest : MonoBehaviour
{

    public float gain = 0.5F;

    private double phase = 0.0;
    private double sampleRate = 0.0F;

    void Start()
    {
        sampleRate = AudioSettings.outputSampleRate;
    }

    void OnAudioFilterRead(float[] data, int channels)
    {
        double sample = AudioSettings.dspTime * sampleRate;
        int dataLen = data.Length / channels;

        int n = 0;
        while (n < dataLen)
        {
            float x = gain * Mathf.Sin((float)phase);
            int i = 0;
            while (i < channels)
            {
                data[n * channels + i] += x;
                i++;
            }
            phase += 0.03;
            n++;
        }
    }
}


Warning: Can't resolve all parameters for ToasterConfig

I recently updated the library from version 7.0.0 to latest version 11.0.1. Everything seems to work fine and all the toasts are working as they should but when I create production build I am getting a warning:
Warning: Can't resolve all parameters for ToasterConfig in D:/......../node_modules/angular2-toaster/angular2-toaster.d.ts: (?). This will become an error in Angular v6.x
My angular version is:
Angular CLI: 9.1.15
Node: 14.16.1
OS: win32 x64
Angular: 9.1.9
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes
Package                           Version
@angular-devkit/architect         0.901.9
@angular-devkit/build-angular     0.901.9
@angular-devkit/build-optimizer   0.901.9
@angular-devkit/build-webpack     0.901.9
@angular-devkit/core              9.1.9
@angular-devkit/schematics        9.1.15
@angular/cdk                      9.2.4
@angular/cli                      9.1.15
@angular/material                 9.2.4
@ngtools/webpack                  9.1.9
@schematics/angular               9.1.15
@schematics/update                0.901.15
rxjs                              6.5.5
typescript                        3.8.3
webpack                           4.42.0

Any update?

It seems that you just missed updating some part of configs during update.


[Feature] Allow data to be passed in to MdMenu by trigger

Bug, feature request, or proposal:
This is a feature to allow for a wider use case concerning MdMenu
What is the expected behavior?
There should be a relatively easy way to allow for a MdMenu trigger to pass data into the MdMenu for use within the menu itself.
What is the current behavior?
Currently, I'm unsure of any practical ways to allow MdMenus to be context sensitive.
What is the use-case or motivation for changing an existing behavior?
In my current situation, I am building a list of items each of which have an icon button which triggers a menu. Within the menu are the options to edit, copy, or delete the item in the list. To simplify the operation, I would like to have one MdMenu definition and each trigger pass in a different object.
In my environment, I'm using a forked version of the MdMenu component which has this sort of function hacked into it, and what I came up with is as follows:
<md-menu #dynamicMenu="mdMenu">
  <!-- The component has a property named 'context' which is set by the trigger -->
  <div *ngIf="dynamicMenu.context">
    <!-- The context can be consumed using the template variable -->
    <button md-menu-item (click)="edit(dynamicMenu.context)">
      Edit
    </button>
    <button md-menu-item (click)="copy(dynamicMenu.context)">
      Copy
    </button>
    <button md-menu-item (click)="delete(dynamicMenu.context)">
      Delete
    </button>
  </div>
</md-menu>
<ng-template ngFor let-item [ngForOf]="items">
  <!-- The trigger will need to assign 'context' to the MdMenu -->
  <button md-icon-button [mdMenuTriggerFor]="dynamicMenu" [mdMenuTriggerContext]="item">
    <md-icon>
      more_vert
    </md-icon>
  </button>
</ng-template>

I'm sure there's probably a better way to do this, but I think it illustrates what I'm trying to achieve with MdMenu and gives better insight into what this Feature Request is about. I've had a couple of co-workers ask about the functionality countless times, so I don't think i'm the only one attempting to do something like this. Any insight onto how this can be done with the current MdMenu setup, or any thoughts on implementing this?

@andrewseguin @kara by the moment is there a way to achieve this?

This would definitely improve performance by allowing you to could create a single MatMenu for a list of items. Currently, there's no way to pass context to the templateRef of the portal on menu-trigger.

For those that landed here looking for a solution, they've updated the docs: https://material.angular.io/components/menu/overview#passing-in-data-to-a-menu
<mat-menu #appMenu="matMenu">
  <ng-template matMenuContent let-name="name">
    <button mat-menu-item>Settings</button>
    <button mat-menu-item>Log off {{name}}</button>
  </ng-template>
</mat-menu>

<button mat-icon-button [matMenuTriggerFor]="appMenu" [matMenuTriggerData]="{name: 'Sally'}">
  <mat-icon>more_vert</mat-icon>
</button>

<button mat-icon-button [matMenuTriggerFor]="appMenu" [matMenuTriggerData]="{name: 'Bob'}">
  <mat-icon>more_vert</mat-icon>
</button>

How can we pass a complex structure data via matMenuTriggerData?
Let's suppose i want to pass array of object which we will reiterate in submenu

How can we pass a complex structure data via matMenuTriggerData?
Let's suppose i want to pass array of object which we will reiterate in submenu
Any answer of question made by djsanj007 on July 2018?