track and align names in https://archive.org/download/IndexGenerium

as suggested by @myrmoteras

see https://github.com/bio-guoda/preston-index-generium

from https://github.com/bio-guoda/preston-index-generium , limiting the mammalia, the following dois were most prevalent:
   1112 10.1098/rstb.2008.0221
    597 10.1515/9783110562217-001
    585 10.1016/j.ympev.2009.10.033
    582 10.1515/9783110527735-004
    558 10.1007/978-3-030-03083-4_15
    465 10.1111/2041-210x.12729
    464 10.2478/v10262-012-0057-8
    464 10.1089/vbz.2009.0238
    463 10.1186/1471-2148-10-184
    444 10.1159/000342399

limiting to Chiroptera produced the following results:
$ zcat pubs-with-taxonnames.tsv.gz | grep "| ITIS:179985 |" | grep -o -P "10\.[^\t]+" | sort | uniq -c | sort -nr | head
    304 10.1016/j.japb.2016.04.007
    285 10.1076/snfe.<IP_ADDRESS>35
    252 10.5852/ejt.2017.382
    238 10.1111/2041-210x.12729
    225 10.1206/3870.1
    221 10.1016/j.ecolind.2016.04.039
    216 10.1515/9783110562217-001
    211 10.1111/j.1365-2664.2007.01373.x
    207 10.1038/ncomms1796
    198 10.1017/s0266467401001389

A rough count of unique publication involving bat names:
$ zcat pubs-with-taxonnames.tsv.gz | grep "| ITIS:179985 |" | grep -o -P "10\.[^\t]+/[^\t ]+" | sort | uniq | wc -l
26356

and for mammals in general
$ zcat pubs-with-taxonnames.tsv.gz | grep -o -P "10\.[^\t]+/[^\t ]+" | sort | uniq | wc -l
478721

@n8upham number of species involved -
(mammals)
$ zcat pubs-with-taxonnames.tsv.gz | cut -f2 | sort | uniq | wc -l
5625

and Chiroptera (according to ITIS)
$ zcat pubs-with-taxonnames.tsv.gz | grep "| ITIS:179985 |" | cut -f2 | sort | uniq | wc -l
1162

@myrmoteras - given this initial assessment with explicit examples , I don't expect any technical difficulties or significant processing delays in working with the https://archive.org/details/IndexGenerium corpus. The total compressed (text) datasize is about 3GB as far as I can tell.


Provide and example of the qasm simulator

I would recommend having an example for the qasmsimulator.

Update:

QASM backend is implemented (only for cases where measurement is at the end, will be sufficient until I get time to think about doing the other cases more efficiently)
Example is in the README


Make trailers module a submodle of transfer

Fixes #300

This needs a rebase to fix the merge conflicts (and to separate out the formatting changes which should now be redundant), but otherwise this looks good to me.

This needs a rebase to fix the merge conflicts (and to separate out the formatting changes which should now be redundant), but otherwise this looks good to me.

@brightly-salty That merge doesn't seem to have addressed the conflicts. Also, please don't back-merge main into a PR branch.
Could you rebase this, please?

@brightly-salty That merge doesn't seem to have addressed the conflicts. Also, please don't back-merge main into a PR branch.
Could you rebase this, please?

@joshtriplett Okay, I've rebased it but I'm afraid I might have resolved the conflicts incorrectly. Let me know if something is wrong.

@joshtriplett Okay, I've rebased it but I'm afraid I might have resolved the conflicts incorrectly. Let me know if something is wrong.


Monyx Good Project

hello. monyx if you want to skyrocket your coin. why you dont create trading site. like binance and huobi. or follow the step of davor. this is a good project i want see monyx coin $1000 per coin.  and e-commerce and put banking to instant withdraw.

release new white paper or roadmap, ASAP.

@combofiend I'm not responsible for the team's plans, I think they were planning to release a new whitepaper/statement describing the new direction on the next week, not sure when exactly.


fix: preserve session data beyond browser-refresh

Change
userName and userNameSubmitted are now written to and read from the sessionStorage. This prevents that session data from being wiped out whenever the browser gets refreshed.

I didn't add the users list to it because that is stored on the server right now.

Sorry for dem further forces. There was an unwanted change (1st try), then there was an unwanted file lul (2nd try).
#gitMixedResetForDemWin ;)

Gotcha. Will do. Missed that one. 😊

Change
Added estimation to sessionStorage, too.
Manual integration test:


Card more features to add the header/image/icons

Are there more capabilities coming up on matcard?
https://material.io/design/components/cards.html#anatomy

Yes, will be in nearest releases

I'll take a look at this and see if I can implement everything on https://material.io/develop/web/components/cards/

Hey!
I have improved MatCard in version 1.5.0. Soon more examples and possibilities.
https://www.matblazor.com/Card


feature: Support types

Code
async ({require}) => {
  const { Link } = require('@deep-foundation/deeplinks/imports/minilinks');
  const link: Link<number> = {
    // When I write here I want to see autocompletion
}

Additional Information
If we create interface inside our root function and use the interface - typescript works fine. The problem is related only to the require parameter that is of type any and Typescript does not know what that require can return. It is not the same as using builtin require

I have found this solution on stackoverflow: https://stackoverflow.com/a/52294684/13545849
But what If there are two entities with the same exported from two different packages?
Look at this demo

I like this answer: https://stackoverflow.com/a/65555804/13545849

https://github.com/lukasbach/monaco-editor-auto-typings/issues/7#issuecomment-1017480688
Unable to resolve package names with '@'

@Konard , I need to know how bundler will be working because this information can help me how I should add types to monacoeditor: https://chat.openai.com/share/85140d0d-25db-45a6-8d37-0151faf9507d

@FreePhoenix888 it is planned to work using require function.

@FreePhoenix888 it is planned to work using require function.

This is not what I want to hear.
I want to know is there is some info about bundler that I can use for this issue? Should I use typeRoots option?
If no - how should Monaco editor understand types of which dependencies needs to be added? Depending on the code?
If yes - what if the package is not installed in isolation provider? Will this problem be solved with bundler or what? Please give me as descriptive answer as you can. I need to solve my puzzle

@FreePhoenix888 with bundler no packages will be installed into isolation provider, most of them will be removed. Bundler creates a bundle when package is installed in Deep. The bundle is stored in database. I need to know which data is required for Monaco editor to do typing support. May be bundler itself is not enough, because it creates bundle using webpack, and the output result is single javascript file. At the moment I'm not sure how it will work with .d.ts files and so on.


Em mb 6580 add create page round 2

Description
This PR adds the create webhook subscription page to the admin app.

Setup
To test via cypress run make e2e_test
To view the page locally run make server_run and make admin_client_run. Then click on the webhook subscriptions nav item. Click on the Create button and fill out the fields. The correct subscriberId to use is 5db13bb4-6d29-4bdb-bc81-262f4513ecf6. This is an ID that is always in our test data for a contractor (AKA subscriber).
Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Warnings

:warning:

It looks like you are attempting to bypass a linter rule, which is not within
security compliance rules.
** Contains a rule that is not in the permitted eslint list. You are free to disable only: (
no-underscore-dangle
,prefer-object-spread
,object-shorthand
,camelcase
,react/jsx-props-no-spreading
,react/destructuring-assignment
,react/forbid-prop-types
,react/prefer-stateless-function
,react/sort-comp
,import/no-extraneous-dependencies
,import/order
,import/prefer-default-export
,import/no-named-as-default
) **
Please remove the bypass code and address the underlying issue. cc: @transcom/Truss-Pamplemoose

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

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 27217520ff01acb55b16f9740709d1813c84b8ad


Code updates

The latest version on GitHub is from 2 years ago. The last minor update from 7 months ago. Is this add-in still being developed or are we betting on a dead project if we were to adopt it?

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

ID: 521d6700-a497-1dbc-537e-258222a01699
Version Independent ID: 831dcf77-f019-be54-1ceb-d3bf51415484
Content: JavaScript API for Office - Office Add-ins
Content Source: docs/reference/javascript-api-for-office.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @brugh, thanks for your question. We're constantly releasing new updates to our APIs and various other features in Office. For example, here's  a list of all of Excel's released APIs & what's currently in Preview. If there's anything in particular you're looking for and can't find, please let us know. Thanks!

Hi @Reezaali, thanks for the response. It's good to know that the Excel add-in is in full development. I'm currently trying to rebuild our templating-application in Office.js for Word. But I'm concerned that updates on the Word add-in seem very slow and there's plenty of features that would be needed (like page and style manipulation) to make the switch to the Office.js. If you can let us know that Office.js has the required attention from your Dev team and updates will come, then I feel save using it. If it's just a side-project then I need to look for another way to build an add-in. thanks!


features: support rule name as rust keywords

Thanks for this!
I made some small changes and pushed it directly to master.


[Android] Fixed building error

Build entire java libraries before generate xwalk_shared_library
BUG=XWALK-4746
(cherry picked from commit f8a31199a3ba1af8dfb72f0a08fe8a9f9a4a00de that
was mistakenly committed directly to the crosswalk-14 branch)

This is a forward-port of #3175.

RS=me


Watched Settings Description

Based on the description of this setting, I was expecting the package to watch for changes.

When I was writing code, it seems I have to call refresh on a regular basis to check for any changes.
Is this the expected behavior?

yes, it's the expected behavior. You can decide when to call refresh() on your own. Taking a web app for example, it's recommended to be event-driven, calling refresh() when a request comes in, which would save quota. Of course you can also simply polling changes by calling refresh() with a fixed interval... It's totally up to you.

Maybe change the description as below, does it look clearer?

Any modification to watched settings will refresh all setting loaded by the configuration provider when refresh() is called.

That would make it very clear what this setting does. I love the idea

@PrestonGiorgianni  We recently updated the docs for dynamic configuration, hope it helps as well.
https://learn.microsoft.com/en-us/azure/azure-app-configuration/enable-dynamic-configuration-javascript?tabs=configuration-map

@Eskibear Thank you


Cut a automatic create-only serializer for reasons

Ping for review on the expected usability side of things:

@ttuffin
@dhaustein
Doston (in reviewers)

On the current failure:
    @pytest.mark.django_db
    def test_make_global_user_assignment(admin_api_client, rando, inventory):
        rd = RoleDefinition.objects.create_from_permissions(
            permissions=['change_inventory', 'view_inventory'],
            name='global-change-inv',
            content_type=None,
        )
        url = reverse('roleuserassignment-list')
        data = dict(role_definition=rd.id, user=rando.id, object_id=None)
        response = admin_api_client.post(url, data=data, format="json")
        assert response.status_code == 201, response.data
>       assert response.data['created_by']
E       KeyError: 'created_by'

test_app/tests/rbac/api/test_rbac_views.py:100: KeyError

Oof, it's painful because it's correct. When making a POST, there is an established expectation that you get the serialized object in the same way as when it is shown in the list or detail view. For AWX we used to have a jsonschema that verified exactly this. You can't do that when it differs from the create serializer. Removing this data in the POST response is exactly what is asked for here.

Proposed resolution to the above test failure:
AWX does not set the ANSIBLE_BASE_AUTO_CREATE_SERIALIZER setting to True, thus its responses will not be affected by this. The POST responses will continue to give summary_fields.
In the case of eda-server, presumably, all their responses are already omitting read-only fields like created_at. For the most part they don't have summary_fields, but if they did, then the behavior this offers is consistent with established precedent specific to that app.
DAB test_app will use the setting. Because it's test_app.


Anyscale and Fireworks streaming added

I think I figured out how to add support of streams to Anyscale and Fireworks :)  I still have a limited understanding of streaming in general, so there might be some mistakes.
Aniscale has a very similar API response compared to OpenAI. The only difference is the object property and the usage property. Fireworks has a similar yet different response structure.
As for Modal, do we still support it? How do I train a model to test it?
Also, I do not check if it is a function call. Can we check the input to see if it is a function call with streaming and throw an error, or we need to parse the output?
This pull request also has a migration that updates gpt-4 turbo as a comparison model.

Couple small tweaks then this should be ready to ship!

Couple small tweaks then this should be ready to ship!

All done!


Error using voxel_map function

Hi, I am trying your code to run voxel_map as such:
vox_map <- voxel_map(
mydata,
stage='E13',
group_name = 'leiden_cluster',
genes_use = regional_markers
)
mydata is my Seurat object, in which I added the leiden clustering information into the metadata.
However, I am receiving the following error:
Error: Must subset rows with a valid subscript vector.
ℹ Logical subscripts must match the size of the indexed input.
x Input has size 41650 but subscript !duplicated(x, fromLast = fromLast, ...) has size 0.
To be frank, I do not see where this error is coming from. Would it be possible to receive some input on this?
Thanks.

Hi @finjen,
I'm also not entirely sure what could be the problem here. Could you provide with the cluster cell counts counts (table(mydata$leiden_cluster), and the cell names(head(colnames(mydata)))? Also, you can try do get the expression matrix from the seurat object with GetAssayData(), transpose it (t()) and then run voxel_map() on that, providing the vector of cluster assignments in the groups argument.
Cheers,
Jonas

table(mydata$leiden_cluster)
Hi Jonas,
thank you for the quick reply. I tried running it with the transposed matrix using the vector of cluster assignments in the groups, but the output is the very same error.
These are the outputs for leidencluster and the colnames:
table(mydata$leiden_cluster):
0   1   2   3   4   5   6   7   8   9  10  11  12  13
153 153 148 116  82  67  57  45  43  41  37  32  22   9
head(colnames(mydata)):
[1] "AAACGCTTCGGACTGC-1" "AAAGGATTCGGATACT-1" "AACGAAATCATAAGGA-1" "AACTTCTAGATCGCCC-1" "AAGCATCGTAGCCCTG-1"
[6] "AAGCATCTCTACACTT-1"
Thank you.

Ok, and just to make sure, are you using the most recent version of VoxHunt? You can find out by calling sessionInfo(). Also, maybe provide the cell names as well (head(rownames(mydata)).

The version I am using is voxhunt_0.9.2 (I think that is the newest?)
head(rownames(mydata)) gives me the gene names:
[1] "Xkr4"    "Gm1992"  "Gm37381" "Rp1"     "Mrpl15"  "Lypla1"

I just ran the code again, without change, and receive now the following error:
Error in voxel_map(mydata = Matrix::Matrix(expr_mat, sparse = T), stage = stage,  :
argument "object" is missing, with no default
The code is still:
vox_map <- voxel_map(
mydata,
stage="E13",
group_name= 'leiden_cluster',
genes_use = regional_markers
)

Ah ok, so VoxHunt expects human gene symbols (all caps, like XKR4), because I wrote it for human organoids. You can find an ortholog mapping here:.

Ah, of course.. I changed the gene names now to human gene symbols. Thank you. However, the error now is still:
Error in voxel_map(mydata = Matrix::Matrix(expr_mat, sparse = T), stage = stage,  :
argument "object" is missing, with no default

This is because the first argument of voxel_map() is object, so I belive the code voxel_map(object = Matrix::Matrix(expr_mat, sparse = T)) shoudl work.

I tried that, also as a second option with the transposed matrix as such:
vox_map <- voxel_map(Matrix::Matrix(mydata_t, sparse=T), stage="E13", groups=new_leiden, genes_use = regional_markers)
But I still keep receiving this error:
Error: Must subset rows with a valid subscript vector.
ℹ Logical subscripts must match the size of the indexed input.
x Input has size 49073 but subscript !duplicated(x, fromLast = fromLast, ...) has size 0.
When I run rlang::last_error() the output is this:
<error/vctrs_error_subscript_size>
Must subset rows with a valid subscript vector.
ℹ Logical subscripts must match the size of the indexed input.
x Input has size 49073 but subscript !duplicated(x, fromLast = fromLast, ...) has size 0.
Backtrace:

voxhunt::voxel_map(...)
voxhunt:::voxel_map.default(...)
generics:::intersect.default(inter_genes, genes_use)
base::intersect(x, y, ...)
base::unique.data.frame(y[match(as.vector(x), y, 0L)])
tibble:::[.tbl_df(...)
tibble:::tbl_subset_row(xo, i = i, i_arg)
tibble:::vectbl_as_row_index(i, x, i_arg)
tibble:::vectbl_as_row_location(i, nr, i_arg, assign)
vctrs::vec_as_location(i, n)
vctrs:::stop_indicator_size(...)

It looks like some of the row- or colnames of the input matrix don't match the expected input. Can you maybe post the row and colnames of mydata_t? Also you can have a look at the ABA data that is loaded by VoxHunt to check if the gene names match the ones expected by VoxHunt: DATA_LIST[['E13']]$matrix

Since the Allen brain atlas only provides the expression measurements for ~2000 genes, it's also possible that the gene set you selected is not measured in the ABA at all. I would therefore recommend to do feature selection through VoxHunt (structure_markers()) or intersect your feature set with the genes measures in the timepoint you want to look at (colnames(DATA_LIST[['E13']]$matrix))

head(colnames(mydata_t), 20)
[1] "XKR4"          "GM1992"        "GM37381"       "RP1"           "MRPL15"        "LYPLA1"        "TCEA1"
[8] "RGS20"         "GM16041"       "ATP6V1H"       "OPRK1"         "RB1CC1"        "4732440D04RIK" "ST18"
[15] "PCMTD1"        "GM26901"       "SNTG1"         "RRS1"          "AC009879.3"    "2610203C22RIK"
head(rownames(mydata_t))
[1] "AAACGCTTCGGACTGC-1" "AAAGGATTCGGATACT-1" "AACGAAATCATAAGGA-1" "AACTTCTAGATCGCCC-1" "AAGCATCGTAGCCCTG-1"
[6] "AAGCATCTCTACACTT-1"
Also, among my total 20615 genes almost 1400 are also found in the ABA gene list (88%).

And the regional_markers you are using, are they also among the genes detected in the ABA?

My understanding was that structure_markers() selects markers from the ABA dataset. I wouldn't know right now how to apply it to my dataset based on the arguments it takes.. Or am I misunderstanding your comment?

Yes, your understanding is right. I was talking about the genes passed to the voxel_map() function with the genes_use argument. Those are the genes that are used for correlation and selecting structure-specific genes here results in better contrast in the spatial maps. Also, the genes used for correlation need to be measured in the ABA so if you select correlation features differently, you need to make sure that that is the case. I was just asking because this would be a possible reason for the error.

How does regional_markers look like?

regional_markers looks like this:
regional_markers
A tibble: 51,000 x 9
gene    group               avg_exp    fc   auc      pval      padj prcex_self prcex_other

1 SLC6A11 caudal hypothalamus    2.86 1.57  0.835 1.14e-254 1.39e-252       98.9       60.6
2 GPX3    caudal hypothalamus    1.59 1.45  0.824 0.        0.              70.3        8.65
3 BAIAP3  caudal hypothalamus    2.17 1.75  0.813 0.        0.              76.0       19.3
4 DLK1    caudal hypothalamus    2.40 1.78  0.796 2.58e-292 3.98e-290       76.2       28.0
5 SPARC   caudal hypothalamus    2.92 0.770 0.783 4.14e-171 1.72e-169      100         95.1
6 ACHE    caudal hypothalamus    3.43 1.23  0.782 1.65e-170 6.66e-169       98.7       84.9
7 ECE2    caudal hypothalamus    1.68 1.12  0.781 3.10e-234 3.10e-232       78.8       33.8
8 VAT1L   caudal hypothalamus    3.11 1.27  0.778 1.67e-166 6.62e-165       96.8       79.2
9 ECEL1   caudal hypothalamus    2.04 1.36  0.773 4.17e-209 3.38e-207       76.4       37.5
10 ARL10   caudal hypothalamus    1.89 1.22  0.765 4.77e-192 2.79e-190       74.9       39.0
… with 50,990 more rows

Ah ok, so it should be a vector with genes to use for correlation, not a data frame.

Did this solve your issue?

So, I reran this code:
regional_markers <- structure_markers('E18') %>%
group_by(group) %>%
top_n(10, auc) %>%
{unique(.$gene)}
head(regional_markers)
And sometimes, I get the dataframe as an output, sometimes a list of genes. I am not sure why there is this variability, but as I can rerun until I get the vector and then can continue, it is fine for now. Thank you for your help with this.

As far as I know, there should not be any variability here, if you run the full block it should output a vector with genes. If you happen to get a dataframe, it for some reason probably did not run the last line. In that case you can obtain the vector of genes by getting the unique entries of the gene column (which is what the last line does).


(PUP-9055) Add serverless option for compiling a catalog

We removed the puppet master application in Puppet 6, but some users relied on
puppet master --compile to compile a catalogs without requiring a server.
This adds a puppet catalog compile action to compile a catalog for the current
Puppet[:certname]. It will collect facts on the local system and include them
in the catalog request, along with the same set of options that the configurer
would send.
Alternative facts may be specified using --facts <path>. This is preferable to
puppet master --compile which could only load facts for the given hostname
from the $vardir/yaml/ directory.
Facts may be generated from other nodes using puppet facts find --render-as yaml.
The action can load facts if the facts YAML tag is present or not, for example:
--- !ruby/object:Puppet::Node::Facts

CLA signed by all contributors.

FYI @Magisus @justinstoller @hlindberg

Related PR #7477

PR #https://github.com/puppetlabs/puppet/pull/7477 handles the basic use case (replacement for puppet master --compile) so I'm going to close this. It would be nice to add an option for specifying facts to submit in the indirection request, but that's made difficult by puppet/indirector/face defining find to call the indirection method of the same name, without any way that I can tell to override the behavior or add additional options to the request.


Extend Tenant Perms Coverage

Feature or Bugfix

Refactoring

Detail

Add MANAGE_... Tenant Permissions for full coverage of all mutating APIs Operations ++ any token/credential fetching operations (i.e. Creates, Updates, Deletes, ...)

Relates

Security
Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

Does this PR introduce or modify any input fields or queries - this includes
fetching data from storage outside the application (e.g. a database, an S3 bucket)?

Is the input sanitized?
What precautions are you taking before deserializing the data you consume?
Is injection prevented by parametrizing queries?
Have you ensured no eval or similar functions are used?

Does this PR introduce any functionality or component that requires authorization?

How have you ensured it respects the existing AuthN/AuthZ mechanisms?
Are you logging failed auth attempts?

Are you using or adding any cryptographic features?

Do you use a standard proven implementations?
Are the used keys controlled by the customer? Where are they stored?

Are you introducing any new policies/roles/users?

Have you used the least-privilege principle? How?

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

Reviewed Tenant Permission Coverage for the Following:

[x] MANAGE_GROUPS
[x] MANAGE_ENVIRONMENT
[x] MANAGE_ORGANIZATION
[x] MANAGE_GLOSSARIES
[x] MANAGE_DASHBOARDS
[x] MANAGE_PIPELINES
[x] MANAGE_SGM_STUDIO_USERS
[x] MANAGE_NOTEBOOKS
[x] MANAGE_OMICS_RUNS
[x] MANAGE_REDSHIFT_CONNECTIONS
[x] MANAGE_REDSHIFT_CONNECTION_PERMISSIONS
[x] MANAGE_REDSHIFT_DATASETS
[x] MANGE_DATASETS
[x] MANAGE_WORKSHEETS


Syntax Highlighter color issue with light and dark mode

Hello,
Is there a way to easily customize syntax highlighter color for light and dark mode.
Currently, in light mode some parts of code are unreadable. See the screenshots below :

You have the same problems on Elements demo page :

Thanks for your help.

hey @happytodev, thanks for noticing. this issue has been fixed, please update the theme.

hey @happytodev, thanks for noticing. this issue has been fixed, please update the theme.

Hey @tfsomrat thank you. I just see your answer now ;-)
What is the best way for updating the theme ?
Is there a cache to empty ?
Thank you for your advices

I tried npm update + npm run update-modules but I always have the same problem.

hey @happytodev, same problem means which problem?

Hello @tfsomrat,  the same code syntax that is unreadeable 👆

which version of the theme you are using? check package.json for version.

which version of the theme you are using? check package.json for version.

"name": "hugoplate",
"description": "hugo tailwindcss boilerplate",
"version": "1.7.1",

You are using the old version, the current version is 1.7.7 https://github.com/zeon-studio/hugoplate/blob/39e487943d6dfbdd4299b7bf1d0790ef9103f71d/package.json#L4

You are using the old version, the current version is 1.7.7
https://github.com/zeon-studio/hugoplate/blob/39e487943d6dfbdd4299b7bf1d0790ef9103f71d/package.json#L4

I changed it and run
npm update
I still stuck with the same error.

please follow this guide to update your theme https://docs.gethugothemes.com/guide/#theme-update

please follow this guide to update your theme https://docs.gethugothemes.com/guide/#theme-update

Hello,
Thanks it's ok now.
I updated files manually.
In the future, do you plan to simplify update themes method ?

please follow this guide to update your theme https://docs.gethugothemes.com/guide/#theme-update

One more question please. In local with npm run dev it works but when I deploy via Github Actions my production site still with the same error.
Do you any advice for me please ?
I use this :
jobs:
  # Build job
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Set up Node.js
        uses: actions/setup-node@v3
        with:
          node-version: ${{ env.NODE_VERSION }}

      - name: Install Hugo
        run: |
          curl -LO "https://github.com/gohugoio/hugo/releases/download/v${{ env.HUGO_VERSION }}/hugo_extended_${{ env.HUGO_VERSION }}_Linux-64bit.tar.gz"
          tar -xvf hugo_extended_${{ env.HUGO_VERSION }}_Linux-64bit.tar.gz
          sudo mv hugo /usr/local/bin/
          rm hugo_extended_${{ env.HUGO_VERSION }}_Linux-64bit.tar.gz
          hugo version

      - name: Install Go
        run: |
          curl -LO "https://dl.google.com/go/go${{ env.GO_VERSION }}.linux-amd64.tar.gz"
          sudo tar -C /usr/local -xzf go${{ env.GO_VERSION }}.linux-amd64.tar.gz
          echo "export PATH=$PATH:/usr/local/go/bin" >> $GITHUB_ENV
          rm go${{ env.GO_VERSION }}.linux-amd64.tar.gz
          go version

      - name: Setup Project
        run: npm run project-setup

      - name: Install npm dependencies
        run: npm install

      - name: npm update
        run: npm update

      - name: update modules
        run: npm run update-modules

      - name: npm run build
        run: npm run build

      - name: Upload artifact
        uses: actions/upload-pages-artifact@v1
        with:
          path: ./public

      - name: SFTP Deploy
        uses<EMAIL_ADDRESS>        with:
          server: ${{ secrets.FTP_SERVER }}
          username: ${{ secrets.FTP_USER }}
          password: ${{ secrets.FTP_PASSWORD }}
          local-dir: ./public/

Thank you for your help

maybe it's your server cache, try to purge the cache and deploy.


Deprecate simple interface (#277)

Adds init_kwargs and call_kwargs to pass additional keyword arguments but also discourages people from using it.

Do we want to add the same note to minimal.py as we now have in getting_started?
09_sensitivity_analysis.ipynb uses the simple interface currently. Should we open an additional issue for changing that?

Fixes #277
Test runs in ~620ms.
Checklist

[x] I have read and understood the contribution
guidelines
[x] I agree with re-licensing my contribution from AGPLv3 to Apache-2.0.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have reported how long the new tests run and potentially marked them
with pytest.mark.slow.
[x] New and existing unit tests pass locally with my changes
[x] I performed linting and formatting as described in the contribution
guidelines
[x] I rebased on main (or there are no conflicts with main)

@michaeldeistler I've implemented your suggestions.


Switch disclosure default to private for uploaded evidence

We discussed in crd 74 defaulting to uploaded evidence being private rather than in the public domain.
https://trello.com/c/zHsPVDcN/74-verification-form-show-preview-of-the-verification-request-before-submitting-it
This PR adds the necessary change and migration

 Verification request: explore options for creating two sections for collecting evidence


Nedb not working after packaging Electron App.

I use Nedb for loading and saving notes. However, after I packaged my Electron App.

Code in index.js
var userData = app.getAppPath('userData');
let db_graphs =  new Datastore({ filename: userData+'/graphs.db', autoload: true});
db_graphs.loadDatabase();

I hit the same issue @zlindaz2411

I am having the same issue, I set up NEBD following this article, and packaged following these instructions. I am not sure where to start debugging the packaging process.
Have you found any solutions yet? @zlindaz2411 @joephon

Have any of you tried using path.join() when declaring your Datastore?
const path = require("path");
let db_graphs = new Datastore({ filename: path.join(userData, 'database.db'), autoload: true});

Thanks for the reply, here is what ended up working for me:
const dbFactory = (fileName) => Datastore.create({
filename: (process.env.NODE_ENV === 'dev' ? ${__dirname}/.. : process.resourcesPath) + /data/${fileName},
timestampData: true,
autoload: true
});

I'm seeing the same issue

In index.js:
exports.formConfig = new Datastore({
    filename: path.join(__dirname, "./db/form_config.db"),
    autoload: true,
});

Does anyone know how to solve this? Thanks a lot!! it's quite urgent.

Is this the same issue?

In index.js:
exports.formConfig = new Datastore({
    filename: path.join(__dirname, "./db/form_config.db"),
    autoload: true,
});

Does anyone know how to solve this? Thanks a lot! it's pretty urgent 😭


Fix Routing in App.jsx

🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Closes #194

📷 Screenshots

can be merged


Reg. demo application github code

I got the primary key from Azure portal and paste it as per the tutorials but it opens up the blank screen in Chrome with only a search box.

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

ID: e3d455c9-d5c7-3a9e-5de5-b16072f3c77e
Version Independent ID: d0f120b2-5ef9-9112-d17f-e8b2275ed5b4
Content: Interactive Map Search with Azure Location Based Services
Content Source: articles/location-based-services/quick-demo-map-app.md
Service: location-based-services
GitHub Login: @kgremban
Microsoft Alias: kgremban

@pratyush-19 thanks for the feedback! Do you get the same issue in another browser?

Yes, I tried in Firefox as well.
On 04-May-2018 9:42 PM, "Micah"<EMAIL_ADDRESS>wrote:
@pratyush-19 https://github.com/pratyush-19 thanks for the feedback! Do
you get the same issue in another browser?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/8084#issuecomment-386649978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkpPVydeTSyu-ZdeCXf1_kh2_n8G9pScks5tvH3agaJpZM4TyHpC
.

@pratyush-19 are you seeing the same thing as the screenshot included below (image 1)? That's the result that I get when I don't put my subscription key into the file at all. This makes me think that you're either using a bad key (try copying it fresh, try your secondary key, or try regenerating your keys) or you've pasted it into the wrong spot in the html file. The "subscriptionkey" variable is declared on line 214 of the file. Replace "" with your key value, leaving the quotation marks around your key. (image 2)
image 1

image 2

I tried with regenerating the keys, but the things are not working.
I put the keys on line 214.
Regards,
Pratyush
On Sat, May 5, 2018 at 2:13 AM, Kelly Gremban<EMAIL_ADDRESS>wrote:

@pratyush-19 https://github.com/pratyush-19 are you seeing the same
thing as the screenshot included below (image 1)? That's the result that I
get when I don't put my subscription key into the file at all. This makes
me think that you're either using a bad key (try copying it fresh, try your
secondary key, or try regenerating your keys) or you've pasted it into the
wrong spot in the html file. The "subscriptionkey" variable is declared on
line 214 of the file.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/8084#issuecomment-386729279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkpPV33rsmkSgPB627cSpuMi2PVauZSJks5tvL1qgaJpZM4TyHpC
.

The link to
"Download the application
Download or copy the contents of the file interactiveSearch.html."
is invalid

@pratyush-19 I'm sorry that my suggestions weren't more useful. Since I was able to reproduce the correct result, I don't know what else might be causing you to see a broken experience. This isn't a demo that requires any prerequisites to be installed, it's just your Azure Maps key. Perhaps @MicahMcKittrick-MSFT can recommend some troubleshooting resources for you?
@ReneGubler yes, that link was temporarily broken but I have fixed it.

@pratyush-19 I just saw a different issue where some people weren't able to use Maps in certain regions. It reminded me of your issue. Are you in one of the unsupported regions listed in the documentation? https://docs.microsoft.com/en-us/azure/azure-maps/about-azure-maps#unsupported-regions If so, perhaps try to run the demo app in a VM located in a different region.

Yes, you are right, my location is in the list of unsupported region.
Regards,
Pratyush
On Wed, May 30, 2018 at 2:47 AM, Kelly Gremban<EMAIL_ADDRESS>wrote:

@pratyush-19 https://github.com/pratyush-19 I just saw a different
issue where some people weren't able to use Maps in certain regions. It
reminded me of your issue. Are you in one of the unsupported regions listed
in the documentation? https://docs.microsoft.com/en-
us/azure/azure-maps/about-azure-maps#unsupported-regions If so, perhaps
try to run the demo app in a VM located in a different region.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/8084#issuecomment-392948288,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkpPV6ubBZ90PrX5t_FUQfjxr7ksuLN5ks5t3brngaJpZM4TyHpC
.

@MicahMcKittrick-MSFT could you #please-close this issue?


Remove Show chart in Webbrowser-ActiveX control

Remove "Show chart in" "Image control".

The creation of the image is based on Internet Explorer.
Since Chart.js version 3 the Internet Explorer is no longer supported.
This scenario was a solution for charts in reports.
The Edge browser control works in reports.
=> This feature is no longer needed

Released with version 4.06.14


Show serial port selection menu for other serial stream types.

e.g. FirmataStream and the sub-classes of BaseSerialStream, not just the ASCIISerialStream.

For now, it's hardcoded in https://github.com/damellis/ESP/blob/master/Xcode/ESP/src/ofApp.cpp#L330.
Consider checking for the base class: https://github.com/damellis/ESP/blob/master/Xcode/ESP/src/istream.h#L128.

This may or may not depend on #277.


Fix webviews not working issue on windows

Purpose
Fix webviews not working on windows
Fixes #17736
Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #17766 into master will not change coverage.
The diff coverage is 33.33%.

@@           Coverage Diff           @@
##           master   #17766   +/-   ##
=======================================
  Coverage   14.91%   14.91%
=======================================
  Files          46       46
  Lines        1227     1227
  Branches      193      193
=======================================
  Hits          183      183
  Misses       1030     1030
  Partials       14       14

Impacted Files
Coverage Δ

tool-plugins/vscode/src/utils/webview-utils.ts
43.24% <33.33%> (ø)
: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 6da22f2...91dd1b8. Read the comment docs.


envoy: Update to a build with health checkers enabled

Update Envoy to build that contains the tcp, http, and grpc health checkers. These were previously built in, so they do not have new API imports.

/test


create as select is not reliable and not efficient

Impala native implementation creates in HDFS temporary files and then rename them.
It is efficient on HDFS and not efficient on  S3 because there rename is actually copy.
We also have issues with our consistent hashing approach because rename of file actually change node responsible for it.

This feature is very important, since it enable us ETL like tasks. Lets try to define what is inherent problem in our implementation.


Support filtering on subtasks for subscriptions

Creating subscriptions with /jira subscribe for subtask issue type is currently not supported. The subscription setup code will need to be updated to support subtasks.

Do you working on it?

@dzinkevich-renins This is not being worked on at the moment. Why do you ask?

Closing issues due to inactivity. This issue can be re-opened with more interest from our community.


Introduce attribute on SerializeRow to omit type/order checking

For Catalytic the current checks which SerializeRow does for type checking and ordering is unnecessary. The migration guide here mentions that I could switch to SerializeCql with some flavors to get the same result. I was wondering if these changes would come to SerializeRow itself as well. I don't fully understand the differences between the two traits and which one fits best for Catalytic.
It seems like SerializeCql is thinking my fields are all Udt (seeing the code from cargo expand) while I don't use Udts:
let (type_name, keyspace, field_types) = match typ {
    scylla::_macro_internal::ColumnType::UserDefinedType {
        type_name,
        keyspace,
        field_types,
        ..
    } => (type_name, keyspace, field_types),
    _ => {
        return ::std::result::Result::Err(
            mk_typck_err(
                scylla::_macro_internal::UdtTypeCheckErrorKind::NotUdt,
            ),
        );
    }
};
...
return ::std::result::Result::Err(
    mk_typck_err(scylla::_macro_internal::UdtTypeCheckErrorKind::ValueMissingForUdtField {
        field_name: <_ as ::std::string::ToString>::to_string("json"),
    }),
);

which makes me think that SerializeCql will serialize the values in a different way than SerializeRow.

SerializeCql trait allows serializing as a single Cql value - it is successor to old Value trait. SerializeCql proc macro allows to serialize given struct as UDT.
See documentation for SerializeCql trait: https://docs.rs/scylla/latest/scylla/serialize/value/trait.SerializeCql.html
and SerializeCql macro: https://docs.rs/scylla-cql/latest/scylla_cql/macros/derive.SerializeCql.html
Things implementing SerializeRow trait can be passed as query arguments - so if t: T and T implements  SerializeRow, you can call session.execute(some_query, t).await;
See the documentation for SerializeRow trait: https://docs.rs/scylla/latest/scylla/serialize/row/trait.SerializeRow.html
and SerializeRow proc macro: https://docs.rs/scylla-cql/latest/scylla_cql/macros/derive.SerializeRow.html
In your case, if you want to pass given struct to session.execute etc, you want to use SerializeRow. If fields in your struct are in the same order as bind markers in the query, you can use #[scylla(flavor = "enforce_order")] attribute to skip field sorting and only check names / types.
If you want to skip name checks (and I understand it may make sense for Catalytic), which basically means that everything will behave like old ValueList (+ type checks), you can also use #[scylla(skip_name_checks)] attribute.
Skipping type checks can't be done for now - for a value to be serialized it needs to know the type to be serialized to. Overhead of this checking should be negligible. If, in the future, we decided to make it somehow possible, I'd recommend against that, even in ORM use case, to avoid the possibility of data corruption.

@Lorak-mmk Thanks, it make more sense now. I will convert using SerializeRow with the attributes.

Maybe an idea to open 'Discussions' on this crate :) then I can ask it there instead of opening issues.

We use https://forum.scylladb.com/ or Slack , I'm not sure another venue for discussions is needed.

We use https://forum.scylladb.com/ or Slack , I'm not sure another venue for discussions is needed.

Note that this is the scylla-rust-driver repository, not the main scylla core, so it's not clear how a user can guess to go to forum.scylladb.com. The README (https://github.com/scylladb/scylla-rust-driver) does clearly ask to use Slack though - so if you think they should also use the forum, please mention that too.
I think pointing people only to Slack is a mistake, although it admit it should be left to the driver developers to decide what communication methods they prefer and my opinion on the matter is less important. But if you want my opinion, it is that Slack - an instant-messaging tool - isn't a good tool for an asynchronous discussion (where a user asks a question but the developer is busy working on other stuff, or on vacation, and will only have time to answer it a couple of days later).


Review semantics of cld library

Make sure they're consistent with what is described here:
https://github.com/GRACeFUL-project/DSL-internal/blob/master/ref/qpn.pdf
https://github.com/GRACeFUL-project/DSL-internal/blob/master/ref/QPNModelerTests.pdf
and give the expected outcome on examples from van Kouwen's thesis.

Trickier than expected, but now almost done.

This is done now, the examples here
https://github.com/GRACeFUL-project/GRACe/blob/master/examples/NewCLD.hs
are the same as in
https://github.com/GRACeFUL-project/DSL-internal/blob/master/ref/QPNModelerTests.pdf
and produce the same results.


updated node version to 16 in travis.yml

Description
updated node version from 14 to 16 (npm v8.19.3) in travis.yml file to fix the below CVE as it was fixed in the npm 8.4.1
Jira:
https://issues.redhat.com/browse/RHIROS-526
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2050282
References

https://docs.npmjs.com/cli/v9/commands/npm-ci
https://consoledot.pages.redhat.com/docs/dev/getting-started/frontend-migration.html#_step_3_add_build_and_pr_check_scripts

Travis Screenshot:

Codecov Report
Base: 22.89% // Head: 22.89% // No change to project coverage :thumbsup:

Coverage data is based on head (90aaa75) compared to base (badfb79).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #150   +/-   ##
=======================================
  Coverage   22.89%   22.89%
=======================================
  Files          48       48
  Lines         913      913
  Branches      164      164
=======================================
  Hits          209      209
  Misses        658      658
  Partials       46       46

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks @PreetiW !


new HDWallet(seed) is not work

new HDWallet(seed) is not work. It need other arguments.

Use this one: HDWallet.fromSeed(seed)

as @trongdth said new HDWallet.fromSeed(seed)
https://github.com/anicdh/bitcoin_flutter/blob/e20962e681a6eacb85b316da4cc2589b7b604f64/test/bitcoin_test.dart#L9.
Feel free to open if you have any issues, Thanks!


Doc nodes for namespaces are shown twice

https://doc.deno.land/builtin/stable#Deno
E.g. search for Deno.chmod

One is inside Deno namespace section and one is outside of it. (Deno.chmod)
Also Deno namespace itself appears twice.


Update all-in-one-template in accordance with k8s 1.16

Which problem is this PR solving?
Adds the changes mentioned in the https://github.com/jaegertracing/jaeger-kubernetes/issues/120 due to the related PR's delay
Short description of the changes
Refactoring of the jaeger-all-in-one-template.yml according to changed defined in  changelog k8s 1.16

I wasn't sure if the failure was an intermittent one, so, I restarted the build.

I wasn't sure if the failure was an intermittent one, so, I restarted the build.

Build seems to fail. I am unable to see any actable logs–can you see what's broken? Do tests maybe assume an older k8s version?

That might indeed be the case:
https://github.com/jaegertracing/jaeger-kubernetes/blob/bcca10c297b38c01d9d7c554172572ffa11944ce/travis/install-start-minikube.sh#L16-L17
I remember @pavolloffay (or @kevinearls) saying that any newer version of minikube would require more memory than Travis can handle, but perhaps it's worth a try?

@jpkrohling it might have been @pavolloffay, but I don't remember anything like this.

I remember @pavolloffay (or @kevinearls) saying that any newer version of minikube would require more memory than Travis can handle, but perhaps it's worth a try?

That wasn't me :). The CI for cassandra and ES passed so it might be something related to the template itself if it failed after restart.
That said. I would like to see this repository being deprecated and we should rather provide all-in-one template as part of the operator repo https://github.com/jaegertracing/jaeger-operator/issues/375.

That wasn't me :). The CI for cassandra and ES passed so it might be something related to the template itself if it failed after restart.
That said. I would like to see this repository being deprecated and we should rather provide all-in-one template as part of the operator repo jaegertracing/jaeger-operator#375.

Is that something that is planned to happen in the near future? Elsewise, it might make sense to update this repo to suit later versions of k8s? :-)

That said. I would like to see this repository being deprecated and we should rather provide all-in-one template as part of the operator repo jaegertracing/jaeger-operator#375.

Agree with the deprecation notice, but we should keep the template here, possibly linked from the readme. If we store it inside the operator, it might confuse users.
@fredrikssongustav if you can get the CI to work (any CI, doesn't have to be Travis), we can happily merge your PR.

if you can get the CI to work (any CI, doesn't have to be Travis), we can happily merge your PR.

@jpkrohling, I am not too familiar with Travis logs. Any ideas what I need to adjust in order to make it work?

You can see the logs here: https://travis-ci.org/jaegertracing/jaeger-kubernetes/jobs/611776862#L1214
Below is the relevant excerpt:
310.80s$ travis/install-start-minikube.sh && export PATH=`pwd`:${PATH}

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 46.3M  100 46.3M    0     0   146M      0 --:--:-- --:--:-- --:--:--  146M

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 44.5M  100 44.5M    0     0  26.9M      0  0:00:01  0:00:01 --:--:-- 26.9M

* minikube v1.5.2 on Ubuntu 14.04

  - KUBECONFIG=/home/travis/.kube/config

  - MINIKUBE_WANTREPORTERRORPROMPT=false

  - MINIKUBE_WANTUPDATENOTIFICATION=false

  - MINIKUBE_HOME=/home/travis

! 'none' driver reported a possible issue: exec: "systemctl": executable file not found in $PATH

* Suggestion: Use a systemd based Linux distribution

* Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/none/

* Running on localhost (CPUs=2, Memory=7479MB, Disk=70522MB) ...

* OS release is Ubuntu 14.04.5 LTS

*

X Failed to enable container runtime: enable docker.: command failed: sudo systemctl start docker

stdout:

stderr: sudo: systemctl: command not found

: exit status 1

*

* Sorry that minikube crashed. If this was unexpected, we would love to hear from you:

  - https://github.com/kubernetes/minikube/issues/new/choose

0.06s$ kubectl get all --all-namespaces

The connection to the server localhost:8080 was refused - did you specify the right host or port?

Now your build is failing on

[WARNING] Unknown file extension: /home/travis/build/jaegertracing/jaeger-kubernetes/minikube
[WARNING] Unknown file extension: /home/travis/build/jaegertracing/jaeger-kubernetes/kubectl
[WARNING] Missing header in: /home/travis/build/jaegertracing/jaeger-kubernetes/travis/install-st

I recommend runing the build locally with minikube and see whether it passes

I recommend runing the build locally with minikube and see whether it passes

Yeah I started debugging it, will get back to it asap! :-)


Use no custom header APIs when header type isn't used

Description
Updates many service client APIs to use the NoCustomHeaders generated API. The NoCustomHeaders variant doesn't convert the response HTTP headers into a typed object, the service client APIs moved to these variants didn't use the custom headers being returned by the non-NoCustomHeaders variant. Aka, they were wasting CPU cycles on converting the HTTP headers to a Java type just to throw away that work. This should provide a performance improvement.
Additionally, the thread pool being used internally by Storage SDKs was replaced by SharedExecutorService in azure-core. This is preferable as this is meant to be an ExecutorService shared by all Azure SDKs so that each SDK doesn't need to configure, and possible expose ways to modify the behavior, their own ExecutorServices. Long term this will allow for azure-core to simply provide better integration into application environments such as allowing the SharedExecutorService to use an ExecutorService provided by the application rather than one in the implementation details of azure-core (allowing customers to better manage how the Azure SDKs use resources).
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

/azp run java - storage - tests

/check-enforcer override


Update Grant-CsExternalUserCommunicationPolicy.md

add example to Grant-CsExternalUserCommunicationPolicy

 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.:x: sandorhound sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

:x: Validation status: errors

File
Status
Preview URL
Details

skype/skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md
:x:Error

Details

:x:Error

Details

skype/skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md

[Error] Unable to load file: skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md via processor: AzureCliDocumentProcessor: :27:(355) '```

Grant-CsExternalUserCommunicationPolicy -Id...'
Expect Heading

[Error] Markdown.MAML.Transformer.HelpSchemaException: :27:(355) '```

Grant-CsExternalUserCommunicationPolicy -Id...'
Expect Heading
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.GetInnerContexts(DocumentBuildParameters parameters, IEnumerable1 processors, TemplateProcessor templateProcessor, IHostServiceCreator creator)    at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore(DocumentBuildParameters parameters)    at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo)    at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList1 parameters, String outputDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

skype/skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md
:x:Error

Details

:x:Error

Details

skype/skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md

[Error] Unable to load file: skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md via processor: AzureCliDocumentProcessor: :26:(355) '```
Grant-CsExternalUserCommunicationPolicy -Iden...'
Expect Heading

[Error] Markdown.MAML.Transformer.HelpSchemaException: :26:(355) '```
Grant-CsExternalUserCommunicationPolicy -Iden...'
Expect Heading
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.GetInnerContexts(DocumentBuildParameters parameters, IEnumerable1 processors, TemplateProcessor templateProcessor, IHostServiceCreator creator) at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore(DocumentBuildParameters parameters) at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo) at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList1 parameters, String outputDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

skype/skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md
:x:Error

Details

:x:Error

Details

skype/skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md

[Error] Unable to load file: skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md via processor: AzureCliDocumentProcessor: :26:(355) '```
Grant-CsExternalUserCommunicationPolicy -Iden...'
Expect Heading

[Error] Markdown.MAML.Transformer.HelpSchemaException: :26:(355) '```
Grant-CsExternalUserCommunicationPolicy -Iden...'
Expect Heading
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.GetInnerContexts(DocumentBuildParameters parameters, IEnumerable1 processors, TemplateProcessor templateProcessor, IHostServiceCreator creator) at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore(DocumentBuildParameters parameters) at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo) at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList1 parameters, String outputDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Grant-CsExternalUserCommunicationPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Cant get new data with http://localhost:1337/api/instagram/images request

Hi!

But now with http://localhost:1337/api/instagram/images request I got response with the same image links (all of them expired already)
I am using plugin on deployed website with public domain
STRAPI VERSION "4.11.2",
PLUGIN VERSION"^1.2.5",

From the docs: Important! Instagram authentication will not work on localhost due API need to redirect into a public domain!

Related to #26, I fixed these issues in https://github.com/SvenWesterlaken/strapi-plugin-instagram-images


Support applying noflip to one consecutive section of the stylesheet

Is it possible to no-flip a set of selectors, for example:
/* rule1 and rule2 will be preserved
/* @noflipStart */
.rule1 {...}
.rule2 {...}
/* @noflipEnd */

My use case is that I put all CSS in one file and than pass it through cssjanus to get an RTL version of it. Some libraries already handle RTL themselves so I don't want to process them. Something like noflipStart and noflipEnd will allow to do that.

@tomyam1 I'm sorry, but I don't believe adding this feature is in the best interest of keeping the library simple and easy to maintain in the future. Adding start/end annotations would make parsing more complicated in the future and requires maintaining state in a way I'd like to avoid.
For more fine-grained control, I recommend flipping individual components instead and concatenating them later on. This also allows for better use of caching and reduced computation time when re-running the workflow after a change was made one or more components.


[JS] Using Yoga npm version 3.0.1 with Jest

Report
I was wondering if you could provide guidance for how to use Yoga with Jest. I looked at the configuration in 'javascript' folder of the Yoga repo, and I'm not sure how it's working with top-level-await. My guess is that this has something to do with the 'Just' package and configuration? I'm not familiar with that and I'm wondering if there is guidance you can provide using Jest only.
Using async loading via 'yoga-layout/load'
Jest initially errors because of the 'import.meta.url' statement. I was able to resolve this by using the "babel-plugin-transform-import-meta" package. Is this the only solution or are you aware of a better solution?
Using sync loading via 'yoga-layout'
I am not aware of any way to get Jest to work with top-level-await and successfully import the Yoga object from the "yoga-layout" endpoint. When importing, I see an error message of "await is not defined". Is there any guidance to get this to work, and is there a certain Node version that must be used?
Environment
Jest: 29.7.0
@babel/preset-env: 7.25.3
babel-jest: 29.7.0
// babel.config.cjs
module.exports = {
  presets: ['@babel/preset-env'],
  plugins: ["babel-plugin-transform-import-meta"]
};

// jest.config.js
const esModules = ["yoga-layout"].join("|");

export default {
  "testPathIgnorePatterns": ["<rootDir>/node_modules/"],
  "transformIgnorePatterns": [`/node_modules/(?!${esModules})`]
};

Jest initially errors because of the 'import.meta.url' statement

That sounds like something in your setup (maybe just preset-env) is transpiling to CommonJS, which may create some problems. If you haven't seen the Jest page for ESModules, it is helpful. https://jestjs.io/docs/ecmascript-modules I don't know how interop would work if you transform some code to CommonJS, but leave other node modules not transformed.
To provide some context on how Yoga repo uses Jest:

We babel transform everything, with the same transform we use when publishing/distributing Yoga. This transform is very light (mostly just type strippping) and does not e.g. transform to CommonJS
We need to use Node module loader which is compatible with es modules (so, experimental until Node 22). This is a general limitation if you want to use a transform at the same time as ES modules.

See here for how we configure transforms/Babel: https://github.com/facebook/yoga/blob/main/javascript/babel.config.cjs
I think the magic might be modules: false


Member is admin, but can't reply to admin post in discussion

[ ] Add to an appropriate Epic.

Tester (if different from issue creator): hctester40
Site: hcommons-dev
URL: https://hcommons-dev.org/groups/bonnies-group/forum/topic/test-admin/
Test Account: hctester40
Area (CORE, sites, profiles, groups, general): groups / ciscussion
If issue discovered on dev, does it also exist on prod? Yes.
Describe the issue
Promoted user to admin, and that user can see the admin post, but can't respond to it. I can't reply to my own admin discussion post and I created it and am the admin.
To Reproduce
Steps to reproduce the behavior:

Create an admin-only discussion topic
Neither you nor any other admin can reply.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Optional details, if they seem relevant
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Per Anne Donlon this was by design. See this Trello card: https://trello.com/c/RAD8frYp/445-create-admin-only-visibility-for-group-forum-topics. Functionality was meant to be used to archive threads. Should discuss if this is still the way we want to handle this.


Update Sidebar Icons

Update the Sidebar Icons for something more representative and visually appealing.

You can find the components and icons here: https://zpl.io/257e4n8


Load new root CA bundles into the security config and TLS creds

When a new root CA bundle is sent down with the new TLS certificate, ensure that
not only is it written to disk but it is also loaded into the security config
and the client and TLS credentials used from then on to validate mTLS connections.
Signed-off-by: cyli<EMAIL_ADDRESS>Fixes #1801
cc @diogomonica @aaronlehmann

Current coverage is 55.06% (diff: 60.00%)

Merging #1803 into master will decrease coverage by 0.05%

@@             master      #1803   diff @@
==========================================
  Files           102        102
  Lines         16938      16950    +12
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           9336       9334     -2
- Misses         6445       6454     +9
- Partials       1157       1162     +5

Powered by Codecov. Last update 5fe1f72...75f25fe

If @cyli didn't catch this problem, the CA rotation in 1.14 would have been a mess. The original PR to add support for agent rotation would have caused more harm than good.
In light of that, I suggest we revert the original PR - it's too risky to half implement a feature, hoping it will work correctly when the other half will be implemented down the road.
I think it's perfectly reasonable in 1.14 to block CA rotation until all nodes have been upgraded to >=1.14.0.
Thoughts?
/cc @diogomonica @cyli @vieux @aaronlehmann

In light of that, I suggest we revert the original PR - it's too risky to half implement a feature, hoping it will work correctly when the other half will be implemented down the road.

This is my preference as well. We have a handle on what needs to be done now, but it's more complex than originally understood. It sounds appropriate for 1.14.

Seems like the conservative path forward. I'm ok with it.
@cyli mind taking the revert on and carry the new PR?

If @cyli didn't catch this problem, the CA rotation in 1.14 would have been a mess.

I'd love to take credit, but @diogomonica found it.  :)  I just filed the issue.
@diogomonica sure

@diogomonica @aluzzardi https://github.com/docker/swarmkit/pull/1807

The original root rotation PR has been reverted. We should probably close this one and incorporate the work here into a new attempt for 1.14. Feel free to start a branch working towards root rotation support.

@aaronlehmann Will do, thanks!


Can this set the number of cores on the cpu?

My server has 24 cores, but each time it can only use a portion of them. If I could use all of these cores, it would run much more efficiently!

@ghost-him Can you describe whether only part of the cpu cores are used during the pull model or the run model?

Now that the computer isn't with me, it's a random part of the cpu core as far as I can remember. But the same number at full load.

I have reason to believe it is the maximum value. https://pkg.go.dev/runtime#GOMAXPROCS

Thank you very much, I'll try it out in a while


0.1.6 - When working with SDF + fuse material + sample texture, cache needs to be forced refreshed to see changes in raymarching

https://user-images.githubusercontent.com/21113837/153610945-c99a1c8e-fc4c-4742-b0ba-b3a6ce9d7d98.mp4

This is a symptom of #42


WIP: Vtol TECS fix

@tumbili new tecs fix branch off master

With this branch, the desired airspeed is nicely ramped up after the transition. I did 2 flights in altitude control (which is btw awesome to fly the standard VTOL in):

http://logs.uaventure.com/view/ArZvMEN93W9uMHHU4igTed

http://logs.uaventure.com/view/zrRkhmi35oGRRZiq9fTcPm
In flight 1 you still see that TECS has a huge pitch integrator to start with. There must be something wrong there when TECS starts. In the following transitions and in flight 2 you never see any integrator when it starts, so I'm assuming it's correctly reset.

Another log from yesterday afternoon where the init was ok: http://logs.uaventure.com/view/Gi8kX8ho4oaye8gcjjS5sd

Are you saying we should merge?

No :) This should be flight tested a bit more, also I need to fix AUX logging so I see FW thrust during the transition which is also one of the reasons for this fix.

Aux logging is fixed on master (as far as implemented).

Two more flights:
mission http://logs.uaventure.com/view/gVUinykcLifN6tCpvTTrW6
altctl http://logs.uaventure.com/view/943VqsD7bbhZq5hX9vzCUf
not analyzed yet

Looked good in both flights:

VTOL att contorller is holding thrust until tecs/fw pos is publishing, TECS is reinitialized and airspeed setpoint ramps up. The only thing I don't like now is the thrust dip after the transition, could also still be smoothed out.
@tumbili I implemented the thrust holding for standard vtol, how does it look tailsitter and tiltrotor?

TODOs

implement wait_on_fw for tailsitter and tiltrotor
copy MC state until finished waiting so the attitude setpoint doesn't jump to an undefined value

Flight test

try setting a higher transition speed, e.g. min speed + 1

@tumbili I made the FW position controller aware of when TECS is running and using a 0 pitch and thrust setpoint if not. The irregularity we had before was due to stale TECS data published before it started to run (and reset) again.

@AndreasAntener I had a look and it looks good to me. Looking forward to some flight results.
Especially, for the planes of Marco and Sanders I hope to see some difference. They were always diving quite a bit.

I think i can fly this tomorrow

2 logs of successful missions and one with induced rc loss failsafe RTL;
RTL mission 1: http://logs.uaventure.com/view/3msrKYiSjKrDvKKckveA4e
Full mission 2: http://logs.uaventure.com/view/7y4hdAoz4Bsog8K24qE67c
Full mission 3: http://logs.uaventure.com/view/x7RvfZX3MVfCrnVgocbUoG
For reference here a manual hover log with one yaw turn:
http://logs.uaventure.com/view/YXLzTNbzjasnmqnaQfjMBY

Wobbly back transition, see missions 2 and 3. and video at 4:27
The wobble wasnt there in the transition that happened when switching to manual mode in mission 1

Mission flight on master (without this branch): http://logs.uaventure.com/view/57bJPThtDayp6ZXCQ2guTQ
mission: http://logs.uaventure.com/view/GanJap84VKsX4scBe7Zk5C
altctl: http://logs.uaventure.com/view/vY8d5Hdufkwip8gCobdqEL
abort after transition because it got blown away by wind: http://logs.uaventure.com/view/zQ5WKTyQcqPMJdhLHBD6Zg

After changing some parameters MUCH better performance:
new mission 1: http://logs.uaventure.com/view/zCiXVJtTPNoPNZ7e2cn4h
new mission 2: http://logs.uaventure.com/view/SGutTXNPo92waZE5UBkGSK

There 2 missions with new params were identical.
I do see strange altitude behavior when comparing both:
Mission 1:

Mission 2:

New test flights, in 0 wind, higher transition speed, and 0 speed weight:
http://logs.uaventure.com/view/2AZKfJ5DHxbAmbbmsg4dr8
http://logs.uaventure.com/view/qjFVbGSC4ACEzeCN3UcMRB
very nice

@AndreasAntener This is tested with tailsitter in SITL.

@AndreasAntener Can we merge this?

Awesome work! Rebased and applied (and I checked that I had Roman's rebased branch and the diff is clean).


Move stage conditions to stage section

This RP solves:

Move conditions related to the stage to stage section. Now pipeline will not show green status if stage was not executed

Resolves: #22
Signed-off-by: Marcin Kaszubski<EMAIL_ADDRESS>

Unsigned commits:)


Error after install react-navigation package with npm

Having the same problem as described in issue #1846
I am not sure if I should install react-native-scripts globally because of potential side effects
Current Behavior
Ran npm install react-navigation in a Creact-React-Native-App project. Running npm start gives me an error:

'react-native-scripts' is not recognized as an internal or external command,operable program or batch file

If run npm uninstall react-navigation, everything works fine.
Expected Behavior
I should be able to use run npm start
Your Environment

software
version

react-navigation
1.0.0-beta.19

react-native
0.49.5

node
8.8.1

npm or yarn
5.5.1

I guess this issue is related to how CRNA works; and then the way to solve it is to do what the first reply to that said https://github.com/react-community/react-navigation/issues/1846#issuecomment-307988556

The issue will get solved if you add the name of the dependency and its verson in the package,json file and then run the command 'npm install'

npm5 :(


synchronization/mutex_benchmark fails on macOS

I am trying to build and run tests on macOS. The test //absl/synchronization:mutex_benchmark fails with the log below.
Changing kMaxConditionWaiters = 8192; in mutex_benchmark.cc to 2048 makes the test pass.

Log:

exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //absl/synchronization:mutex_benchmark
-----------------------------------------------------------------------------
2018-07-22 03:11:35
Running /private/var/tmp/_bazel_user/d6d010710c9a9ecbd01cc5bc4d829501/sandbox/darwin-sandbox/1/execroot/com_google_absl/bazel-out/darwin-fastbuild/bin/absl/synchronization/mutex_benchmark.runfiles/com_google_absl/absl/synchronization/mutex_benchmark
Run on (8 X 3100 MHz CPU s)
CPU Caches:
  L1 Data 32K (x4)
  L1 Instruction 32K (x4)
  L2 Unified 262K (x4)
  L3 Unified 8388K (x1)
***WARNING*** Library was built as DEBUG. Timings may be affected.

      User Name: ...
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: ...

Abseil version: 44aa275286baf97fc13529aca547a88b180beb08
Compiler version: Could not figure out how to query bazel to show me this.

I lowered the thread limit on some platforms in 9e060686d1c325f34f9806b45fe77bafeed00aee. Note that this is really a benchmark and not a test, and benchmarks may depend on OS details and hardware specs. The benchmark targets should arguably be cc_binary instead of cc_test, but we went with cc_test for ease of testing. You could also pass --test_tag_filters=-benchmark to bazel test if you don't want to run the benchmarks.

Thanks for the quick turnaround!


WIP: support bounded threshold for percentile types

The percentile approximation types can be quite expensive
due to the number of buckets needed to get a good accuracy
for an arbitrary range. This change adds a builder for the
types that allows a threshold and accuracy to be specified.
The threshold will cap the max value for the computed data
distribution. The accuracy will be used to restrict the set
of buckets to a more reasonable number leading up to the
threshold. This is based on the common operational use case
of understanding whether the latency distribution is
approaching failure more so than actually needing an
accurate percentile. Percentiles that are closer to the
threhsold will still be accurate, but those further away
may be inflated.
/cc @kerumai

So, would it be possible to think about a solution that allows the developer to configure a tag name and a map of tag values and SLOs, as configuration input?

I'm not sure I follow the proposal. Can you sketch out what you would want the api to look like?

E.g. Let's say we have a PercentileTimer for the metric requestLatency. Let's also say we have 2 resource endpoints for which we measure latency: resourceEndpointA and resourceEndpointB. Now, in your current implementation, a single SLO, a single threshold may be defined. But let's say that for resourceEndpointA a proper SLO is 10ms and for resourceEndpointB a proper SLO is 500ms. (these may be resources that belong to different services; still, we would like to have a single metric and the service name as a Tag). So, these SLOs are completely different and using a single SLO value when creating this metric, is not going to be efficient. Now, the resourceEndpoint is obviously another Tag, that, for requests routed to the first endpoint has a value of resourceEndpoint = resourceEndpointA and for requests routed to the second endpoint has a value of resourceEndpoint = resourceEndpointB. Can we somehow configure the metric to maintain different sets of buckets, based on different thresholds, per resourceEndpoint value? So, somehow configure that for the metric requestLatency, whenever we have a data point that has the resourceEndpoint Tag, and this has a value of resourceEndpointA, then a 10ms threshold and relevant bucket set should be maintained. The same with the other one. So, all we need is to define a Tag name, its presence of which, the differentiation starts, and a map of key-value pairs that define all the possible values of resourceEndpoint Tag, with the corresponding threshold.

You could have separate SLOs per endpoint doing something like:
PercentileTimer.builder(registry)
    .withName("server.requestLatency")
    .withTag("endpoint", endpoint)
    .withThreshold(SLOs.get(endpoint), TimeUnit.MILLISECONDS)
    .build()
    .record(latency, TimeUnit.MILLISECONDS);

You would have to keep track of the mapping external to the timer, but I'm not sure that is a bad thing. Is there something I'm missing?

No, looks good. We already maintain SLO mapping externally, at the configuration level.


Added banner to readme

For the issue #908

Hey, I cannot see the level tag, can you please add that, it took me lot of time to think about the proper design, do consider this.

Hey, I cannot see the level tag, can you please add that, it took me lot of time to think about the proper design, do consider this @smaranjitghose

Add the level tag under gssoc @smaranjitghose


Product Grid quantity not resetting after adding to it cart

Reported by @Mthreat

Fixed the quantity count being reused when adding other products to cart. But still counter won't reset after adding to cart. Need to find a way to fix it.


Out of date DataFu version referenced in article

The version of DataFu used in this article is very old, and it has since been contributed to Apache by LinkedIn. Can you update the instructions on how to download it? - I'm guessing you can switch
wget http://central.maven.org/maven2/com/linkedin/datafu/datafu/1.2.0/datafu-1.2.0.jar
with
wget http://central.maven.org/maven2/org/apache/datafu/datafu-pig/1.4.0/datafu-pig-1.4.0.jar
(and the following places that reference the jar name)

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

ID: 3160f704-1b1a-07bc-146b-e901ac74fe5b
Version Independent ID: 6054d20a-826f-4dd5-2808-89631779b14b
Content: Use DataFu with Pig on HDInsight - Azure
Content Source: articles/hdinsight/hadoop/apache-hadoop-use-pig-datafu-udf.md
Service: hdinsight
GitHub Login: @Blackmist
Microsoft Alias: larryfr

Hi @eyala , thanks for catching this. I'll update the document and publish today.

Hi @eyala , just a follow up that the changes are now live. Thanks again for catching this!
#close

Thanks!

#please-close

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


Backport perf build fix to release-22.11

Backport of #228090
Without the change perf build fails as:
sh: line 1: pmu-events/metric_test.py: cannot execute: required file not found
make[3]: *** [pmu-events/Build:32: pmu-events/metric_test.log] Error 1

Full build log: https://hydra.nixos.org/log/mp5a0fr1jhw3rvkp8azbh5xh0g1cjqhj-perf-linux-6.3.drv
(cherry picked from commit e205b43f47a435ddff30a97d46cd6a1c0b098f9b)
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Unfortunately NixOS 22.11 has reached its end-of-life status on 2023-06-30, one month after the release of NixOS 23.05.
I'm closing this pull request, since we do not accept any changes to its branches anymore.


[ODB] upload .asmx encounter 404

Category

[ ] Question
[ ] Documentation issue
[x] Bug

Hi, folks
I use this request and then encountered 404 http response with .asmx file
PUT /items/parent_id/children/file_name/content
I have tested about 3000+ valid file extensions, only .asmx file gets failure.
Thank you.

Hi @joewutaiwan, I tried a simple repro on my dev box and couldn't so we'll need a little more detail. Can you provide the SPRequestGuid and Date headers from the response?

Hi @ificator ,
Thank you for attention!
Here is your  information:
PUT /_api/v2.0/drives/drive_id/items/root/children/f.asmx/content?%40name.conflictBehavior=replace
Host: xxx-my.sharepoint.com
< HTTP/1.1 404 Not Found
< SPRequestGuid: 645fdf9e-e04a-8000-8f0b-e6f24eefb81a
< request-id: 645fdf9e-e04a-8000-8f0b-e6f24eefb81a
< Date: Thu, 23 May 2019 08:23:08 GMT

Thanks!

Thanks @joewutaiwan, got a repro. I misread your repro and was testing with .aspx... oops!
The workaround for your scenario is to use colons:
PUT /_api/v2.0/drives/drive_id/items/root:/f.asmx:/content?%40name.conflictBehavior=replace

A glance at the logs suggests the issue with /children/f.asmx is pretty low level and so I'd definitely use the workaround instead of trying to taking a dependency on us fixing the underlying issue.


 We'll look into it.

3.10.9 will show up soon. This fixes the problem.

Cheers guys, tested 3.10.9 and it resolves the issue. Thanks for the quick turnaround and keep up the good work :)


Enhance SSL_client_hello_get0_ext to support all extensions

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

any update?

can you rebase so that you can pick up the changes addressing the provider breakage and pass ci?

done

Please avoid merge commits. Instead use git rebase master; git  push --force.


⚠ Bofrost.at has degraded performance

In 898084f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1225 ms

Resolved: Bofrost.at performance has improved in f6749da after 6 minutes.


What is the meaning of edge effects?

What is the meaning of edge effects mentioned in file image_proc.cpp ?

It seems edge effects related to whether remains the edge pixels as ROI ?
In image_proc.cpp code

The output_image initialized as an all black image with output_height * output_width
Then, the cropped_image, which is smaller than output_image, insert into the all black image.
So cropped result, which return to *pad_image, has a black edge with 1 pixel?

Why should we consider the edge effect?

The crop from the previous frame (which is input to our network) needs to contain the target object in the center of the crop.  If the target is near the border of the image, then this requires padding the crop with black pixels such that the target object is still in the center of the crop.  This is the meaning of "edge effects."


Upgrade to Symfony 2.7 LTS

Form choices verified to be in working order.

:sparkles: @DRvanR :sparkles:

[ ] Update Stepup bundles to dev-develop.

:+1:

:bomb: @DRvanR

:+1:


Only works one time

Thus far the example within the README will not work a second time in a row if the generated files already exist.

Hi @tatemz, I've updated the example in the README (and fixed some upstream issues). The example is now what I am using with gulp watch for fontgen.


Flags parameter supported only on OpenBSD

Flags parameter is only supported on OpenBSD and breaks on some other systems like RH (on puppet 3.4.x)
See the discussion here: https://github.com/jfryman/puppet-nginx/commit/2960c10cd

Will do a branch next time (i did that a bit too fast)

:+1: I'd love to see this get pulled in. This module no longer works on our CentOS systems.

Thanks so much!


Missing versions on GitHub marketplace

As pointed out in https://github.com/android-actions/setup-android/issues/355#issuecomment-1441746705 there are many missing versions:

Marketplace
Releases

I think the missing piece is pressing this checkbox when releasing. This is probably doable just by editing the past releases to bump them into the marketplace too.

Good catch! I initially set this up from the marketplace and it threw some really confusing errors trying to install the SDK. Bumping it to v3 solved it for me

I can't publish on GitHub marketplace. I believe @daveol has repository admin rights to accept the GitHub marketplace developer agreement

Done

@daveol , hello mate, sorry for the late reply. Could you do it again? There was a timer on my part and I wasn't very online that week, so I missed it.

@daveol thanks mate

v3.1.0 available in GitHub Marketplace - https://github.com/marketplace/actions/setup-android-sdk-tools?version=v3.1.0

Yeah, that makes sense. Haven't even tried using v2.0.0 or v1.0.0, so not adding those, but every other later version is already on Marketplace

Nice!, Note: 2.0.10 (latest 2.x) is not showing in the dropdown for me.

Yes, indeed it was missing. Fixed now.
That drop down list is not ordered numerically, so v2.0.10 is at the bottom, below v2.0.2 and also v2.0.1 and v2.0.0 are missing, no idea why, because they are in the marketplace

Thanks! 🤦🏻♂ ok, the ordering is fun...


Strange effects in bootstarp

Hi,
I use the last Asp.net (not Core) in which there is bootstrap.
In default.aspx, I have :

aaaaaaaaaaaaa

bbbbbbbbbb

When I run, it displays :
aaaaaaaaaaaaa			bbbbbbbbbb
Then with javascript, I do with events from a RadioButtonList :
div1.style.display = "none";
the div disappears then I do :
div1.style.display = "block";
the div appears again but as following :
aaaaaaaaaaaaa
bbbbbbbbbb
What can I do to have again  :
aaaaaaaaaaaaa			bbbbbbbbbb
Thanks
Dominique

div1.style.display = "inline-block";

@Johann-S
I am really sorry but for me it is not a how-to issue but it is a bug.
When you hide a div then you do visible again the div and you have not the same renderer, how do you call that ? Me, I call that a bug
@fchiumeo
Thanks for your answer, I tried your solution but it is the same.

You haven't defined div1, that is your bug...

It is a typo, the div is div2 so it is :
div2.style.display = "none";
div2.style.display = "block";
or change the name of the div from div2 to div1
In each situation, the problem is still here.

It is a typo, the div is div2 so it is :
div2.style.display = "none";
div2.style.display = "block";
or change the name of the div from div2 to div1
In each situation, the problem is still here.


Upgrade to Uptest 1.2.0, switch to reusable uptest targets

Description of your changes

Upgrade to Uptest 1.2.0
Switch to reusable uptest targets
Associated Makefile and layout rearrangements

I have:

[x] Read and followed Upbound's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

make e2e

make e2e
...
2024/10/15 14:44:37         === STDOUT
2024/10/15 14:44:37         resourcegroup.azure.upbound.io/ref-azure-network-jqhvb condition met
2024/10/15 14:44:37     | 14:44:37 | delete | Assert Deletion  | SCRIPT    | DONE  |
2024/10/15 14:44:37     | 14:44:37 | delete | Assert Deletion  | TRY       | DONE  |
2024/10/15 14:44:37 --- PASS: chainsaw (0.00s)
2024/10/15 14:44:37     --- PASS: chainsaw/delete (226.61s)
2024/10/15 14:44:37 PASS
2024/10/15 14:44:37 Tests Summary...
2024/10/15 14:44:37 - Passed  tests 1
2024/10/15 14:44:37 - Failed  tests 0
2024/10/15 14:44:37 - Skipped tests 0
2024/10/15 14:44:37 Done.
14:44:37 [ OK ] running automated tests

make render

make render
---
apiVersion: azure.platform.upbound.io/v1alpha1
kind: XNetwork
metadata:
  annotations:
    render.crossplane.io/composition-path: apis/pat/composition.yaml
    render.crossplane.io/function-path: examples/functions.yaml
  name: ref-azure-network
spec:
...

make render.test

make render.test
/Users/xnull/kubecon-china/configuration-azure-network/.cache/tools/darwin_arm64/crossplane-cli-v1.17.1 render examples/network-xr.yaml apis/pat/composition.yaml examples/functions.yaml -r > ./.cache/render.yaml
/Users/xnull/kubecon-china/configuration-azure-network/.cache/tools/darwin_arm64/kcl-v0.10.0 test
test_vnet_name: PASS (7ms)
test_vnet_address: PASS (2ms)
test_vnet_region: PASS (2ms)
test_subnet_svc_endpoints_sql: PASS (1ms)
--------------------------------------------------------------------------------
PASS: 4/4

LGTM!

/test-examples


YDB for Analytics workload support

When finished, Embedded UI must support ydb column tables and analytics workloads (like long running queries, export query results into csv).

it's moved to a linked milestone


First-class functions

I think it would be interesting to see a Ruby inspired language with methods as first-class functions support which let you write functional oriented programming a breeze. Of course it will affect syntax as you will be required to use parenthysis to call a function, but I tend to use them anyway. This is a feature I miss in Ruby.
That feature could be introduced by a directive on the beginning of a .rb file, similar how it is done with # frozen_string_literal: true. So a directive like # first_class_functions: true can be used.

Hi! Could you provide some example code of what you mean? Functions are first class citizens in Crystal. That's Proc.

I would like to see that syntax possible:
operation = Math.sin
2.then(operation)

instead of the current approach:
operation = Math.method(:sin)
2.then(&operation)

which will encourage community to write neat functional code.

You are describing Ruby but this repository is about Crystal programming language. Are you sure you're in the right place?

I would like to see Crystal as a better Ruby. As Crystal is Ruby inspired language, it can deviate from it. So I would like Crystal has first-class functions also for methods.

You must provide the parameter types yourself:
struct Float64
  def then(fn : Float64 -> T) : T forall T
    fn.call(self)
  end
end

Math::PI.then(->Math.sin(Float64)) # => 1.2246467991473532e-16

->Math.sin alone would have produced some kind of method object rather than a Proc due to the possibility of overloading, in which case the benefits of FP quickly vanish. (It may look like this particular example could be improved by a new form of autocasting, but it isn't as simple as that.) It is actually harder than in Ruby where overloads do not exist outside RBS.
Also the standard library does not have a commitment to support FP beyond e.g. the higher-order methods in Enumerable. There are probably shards out there that do this for you.

Also, and this is just my opinion, I think it's really bad design if you write Math.sin and that gives you a function instead of telling you "Hey, you are missing arguments." It's one of the gripes I have with many functional programming languages. It leads to really bad error messages.
I prefer the explicitness of Ruby (and Crystal.)

It is not "explicitness of Ruby (and Crystal)".
You can rather say otherwise: it is the explicitness of functional languages that they require you to explicitly use parenthesis to call the function.

That's not the case in Haskell nor Elm.
What language are you thinking about?

Julia is the language I am thinking about:
https://rosettacode.org/wiki/First-class_functions#Julia

What if Math.sin doesn't take arguments? Would that be a call to that method, or it would return the function that you can later call using parentheses?
I think your proposal in the end requires always using parentheses for calls, and never using parentheses when you don't want to call something. That would be a huge breaking change.
I don't think this change will ever happen.
See also: https://github.com/crystal-lang/crystal/issues/8591

The concrete proposal to let the method name without parentheses refer to the method itself would be too much of a breaking change for Crystal and Ruby likewise.
But I suppose it wouldn't hurt to talk about alternative ideas for facilitating a more functional programming style in Crystal?

Would it be possible to have a fork of Crystal that support this?
Or a way to turn such feature on/off somehow, for example using a pragma # first_class_functions: true or a block directive?:
with :first_class_functions do
  operation = Math.sin
  2.then(operation)
end

or a refining kind of expression:
using FirstClassFunctions do
  operation = Math.sin
  2.then(operation)
end

How much experience do you have with Crystal? Are you using it in production? Any hobby project you can share?

Aren't Procs what you are looking for?

The snippet for Ruby is itself an example that you don't need first-class functions to be able to write FP-oriented code, because Ruby too only has methods, not first-class functions. This is an example of mimicking it in Crystal (with full currying):
macro def_functor(name, &block)
  {% for param, i in block.args %}
    {% type_params = (0...i).map { |j| "T#{j}".id } %}

    record Func_{{ name.id }}_{{ i }}{% if i > 0 %}({{ type_params.splat }}){% for t, j in type_params %}, {{ block.args[j] }} : {{ t }}{% end %}{% end %} do
      def []({{ param }})
        {% if i < block.args.size - 1 %}
          Func_{{ name.id }}_{{ i + 1 }}.new({{ block.args[0..i].splat }})
        {% else %}
          {{ block.body }}
        {% end %}
      end

      def [](arg, *rest : _)
        self[arg][*rest]
      end
    end
  {% end %}

  def self.{{ name.id }}
    Func_{{ name.id }}_0.new
  end
end

module Foo
  def_functor(cube) { |x| x ** 3 }
  def_functor(croot) { |x| x ** (1.0 / 3) }
  def_functor(compose1) { |f, g, x0| f[g[x0]] }

  module Math
    def_functor(sin) { |x| ::Math.sin(x) }
    def_functor(cos) { |x| ::Math.cos(x) }
    def_functor(asin) { |x| ::Math.asin(x) }
    def_functor(acos) { |x| ::Math.acos(x) }
  end

  funclist = [Math.sin, Math.cos, cube]
  invlist = [Math.asin, Math.acos, croot]
  puts funclist.zip(invlist).map { |f, invf| compose1[f, invf][0.5] }.join('\n')
end

Anything larger than that amounts to reimplementing the entire standard library.

The concrete proposal to let the method name without parentheses refer to the method itself would be too much of a breaking change for Crystal and Ruby likewise.
But I suppose it wouldn't hurt to talk about alternative ideas for facilitating a more functional programming style in Crystal?

Was working on porting some PHP code and noticed they have https://www.php.net/manual/en/functions.first_class_callable_syntax.php now in 8.1 which allows you do do $someObj->someMethod(...) to create an anonymous function from a callable similar to Crystal's ->some_obj.some_method.
I'm not saying that's something we should or should not have, but I did want to bring up some of the features it allows. Mainly that it allows retaining the class/method name used to create the function. In crystal when you use ->some_method you lose all that information.
I also recently learned the proc exposes its closured data (the object), but in a seemingly not robust/unsafe way? Given I would have expected the ID/object ID of each instance to be the same since the proc would closure a reference to the original object?
class Test
  @id : Int32 = 0

  def on_message : Nil
    puts "foo"
  end
end

t = Test.new

t # => #<Test:0x7efd374acea0 @id=0>

proc = ->t.on_message

proc.closure_data.as Test # => #<Test:0x7efd374abff0 @id=32509>

It might be worth either fixing or documenting this as it could be a pretty slick way to retain access to information from the original object.

There seems to be some misconception about closure_data. It's not a pointer as you seem to expect. That closure_data.as(Test) cast is just nonsense.
closure_data is to be treated as an opaque pointer to the closure context, you can't read anything from it directly (I guess technically there would be some way to do that, but it's quite a bit complex).

I was able to get it to work with some help on Discord:
record MyMessage

class Test
  property id = 10

  def on_message(message : MyMessage) : Nil
    puts "foo"
  end

  def test : Nil
    @id += 20
  end
end

t = Test.new

pp t # => #<Test:0x7f862979dea0 @id=10>

proc = ->t.on_message(MyMessage)

proc_t = proc.closure_data.as(Test*).value
proc_t.test
proc_t.id += 10

pp t # => #<Test:0x7f862979dea0 @id=40>

However based on what you say, it seems like it's just a coincidence that it works like this? If so, should this method even be public?


Add actions rust workflow

Run linter, then run build and tests

#11

Let write in wiki how to run linter on project

https://github.com/Miol-Mor/battle-game/wiki/Tools