Introduce Profiles to v1.1

Note: Although this PR has my name attached to it, it represents a lot of hard work by @ethanresnick in particular over the past several years. Ethan, @wycats, and I have closely collaborated to reach a mutually acceptable solution in an attempt to finally push this over the finish line. This may yet be tweaked a little as some last minute adjustments have yet to be reviewed by Ethan and Yehuda. And of course we welcome feedback from the rest of the community.

Profiles are a means to describe additional semantics the JSON API media type, without altering the basic semantics. In other words, a profile describes a fully-compliant, yet more opinionated, implementation of the spec. It is hoped that profiles will unlock new layers of shared conventions.
A profile can essentially turn every MAY or SHOULD in the base spec into a MUST. Profiles might describe how the filter or page params are used. They might specify that every resource contains a self link, or that resources should include timestamps or versions as either attributes or in meta.
Profiles are identified by URI, which ideally should dereference to a document that describes the semantics of the profile.
One or more profiles may be associated with the JSON API media type through the profile media type parameter. The application of profiles to a particular document can be specified by clients and servers  via the Content-Type header. The application of one or more profiles to a response can be requested by a client via the Accept header.
In order to require the application of one or more profiles, the profile(s) must be specified with the profile query parameter. This allows clients to request a profile or profiles and receive a hard failure if they can't be applied.
Any structural elements introduced by a profile can be aliased. This allows for better adaptability and composition of profiles. A new profile descriptor object is introduced which allows for declarations of aliases in a particular document.
Closes #1207
Closes #1195
Closes #762

First off: thanks to everyone for this epic work, in this issue and related issues!
I'm reviewing this as one of the people doing the work to bring JSON API support to Drupal core. Note that there are already >5000 Drupal 8 sites using JSON API (that usage count is an underestimation: it's the lower bound).
As mentioned in #1207, we're working to minimize/reduce risk as much as possible, by having detailed attention to API surface and its implications: backwards compatibility, maintainability, supportability. We managed to achieve zero configuration: install this module and all Drupal data is instantly exposed via JSON API, respecting the existing access control logic. If users can view foobar resources in Drupal (as HTML), they can also GET them via JSON API.
Specifically, the https://www.drupal.org/project/jsonapi module for Drupal (that we're working to move into Drupal core itself) uses two extensions: "Fancy Filters" and "Partial Success" — see https://www.drupal.org/project/jsonapi/issues/2955020. Without the former, no querying of resources (e.g. only published articles written by Wim), without the latter, impossible to do per-resource access control (e.g. Wim can see unpublished articles, but Gabe can't).
Today, and for the past ~2 years, those extensions are always running, but their existence is not communicated explicitly, because the JSON API 1.0 spec does not support extensions, per http://jsonapi.org/extensions/.
Therefore this issue/PR is essential for JSON API support to land in Drupal core. Otherwise we risk future JSON API specs moving in directions incompatible with what Drupal's JSON API implementation does … and then we would have a massive backwards compatibility problem.

@effulgentsia, @gabesullice and I commented in #1207.
I wanted to call out a two specific concerns they raised, and whether this PR addresses them:

From the OP of this PR:

The application of one or more profiles to a response can be requested by a client via the Accept header.
In order to require the application of one or more profiles, the profile(s) must be specified with the profile query parameter.

This addresses @effulgentsia's concern in https://github.com/json-api/json-api/issues/1207#issuecomment-380583914.
This would mean no BC break in the current jsonapi module (version 1.x), because everything would continue to work. We're about to create version 2.x, with many soft BC breaks to address shortcomings in the original implementation. In version 2.x, I don't think we'd require clients to specify ?profile=fancyfilters,partialsuccess for every request (because bad Developer Experience)

Gabe's concern at https://github.com/json-api/json-api/issues/1207#issuecomment-379840177

Request
GET /valid-url?unknownProfileParameter
Accept: json-api
Link: ; rel=profile
Response
404 (if server doesn’t support the profile);
400 if the server doesn't understand the qp value
200 otherwise.
What the client provides in Accept doesn't actually influence this response.
I see this as a minor improvement to avoid the conflicts that were worked around in this sentence:

So, the first/primary extension the server wants to support for filtering can claim ?filter, and the second ends up with ?profiles[other-filter]

I don't think this concern is fully addressed? I think the conflict @gabesullice explained/predicted there still exists. I can understand that his Link request header proposal may not be accepted, but I don't see a reason why his 404 proposal (in case the server doesn't support the profile) is not in the PR.
Looking forward to your thoughts about this :)

Review of the actual PR to follow.

FYI: this is being implemented for Drupal at https://www.drupal.org/project/jsonapi/issues/2955020.

@wimleers Thanks for the review, and sorry for my delay in addressing your comments. I've been swamped.
I don't think any of your comments suggest that this PR needs serious changes, which is reassuring. The possible exception is the around the developer experience of requiring long urls in the profile query parameter for every request. I'll bring that up with @dgeb, though I imagine he already thought about it when making the proposal, and I know that that was an area where it was tricky to find any consensus.

I don't think this concern is fully addressed? I think the conflict @gabesullice explained/predicted there still exists. I can understand that his Link request header proposal may not be accepted, but I don't see a reason why his 404 proposal (in case the server doesn't support the profile) is not in the PR.

I'm not sure I understand this. Can you give an example?

I think the solution here is simple: the server can interpret each query parameter as coming from the profile of its choice by default (though it can't change that choice over time).

@ethanresnick I agree that this is the most simple and elegant solution. The critical part here is that the JSON:API resource(s) (i.e. HTTP resource) identified by a request does not change for a given URL. If usage of a profile targets different resource(s), then the same URL must not be used. And we explicitly provide the profile query param for the purpose of guaranteeing a unique URL when this is the case. I think it's probably ideal for a given API to choose a default set of profiles carefully, so that conventional usage of that API requires no profile query param at all. I'm going to attempt to rework the phrasing in this PR to this effect over the next day or two.

I've been swamped.

No need to apologize — I know the feeling all too well!

I don't think any of your comments suggest that this PR needs serious changes, which is reassuring.

Indeed! :) 👍

I'm not sure I understand this. Can you give an example?

I'll let @gabesullice reply to this — it's possible I'm misinterpreting what he wrote.

I think the solution here is simple: the server can interpret each query parameter as coming from the profile of its choice by default (though it can't change that choice over time).

Agreed!
@ethanresnick++
@dgeb++

After discussing with @ethanresnick, I've been convinced that the profile links objects can use target attributes to express aliases, as per similar usages in RFC 5988.
This means that we're able to completely remove the jsonapi/profiles member originally described in this PR.
I've updated this PR to reflect these changes and added some example profiles as well.

That looks like a good step forward 👍

@ethanresnick Thanks for making those adjustments. I think this is finally ready to squash and merge! 🚀

Woot! Thanks for all your work on profiles over the years, @ethanresnick. This one is more yours than mine. :shipit:

Thanks Dan! Next up: operations :)

Exciting! 🎉  Congrats! And thanks :)
This means that the Drupal JSON API module — which is currently on a path to inclusion into Drupal core itself — now actually could implement this. How certain are we that there will be no more breaking changes in the spec wrt profiles?
I reopened the Drupal.org issue: https://www.drupal.org/project/jsonapi/issues/2955020#comment-12781015.

Exciting! 🎉 Congrats! And thanks :)
Thanks!

This means that the Drupal JSON API module — which is currently on a path to inclusion into Drupal core itself — now actually could implement this.
🎉

How certain are we that there will be no more breaking changes in the spec wrt profiles?

I can't forsee any changes, except if implementation experience proves that some part of this design is really unworkable.


Update to latest seti-ui icon theme

This PR follows the steps from CONTRIBUTING.md to pull in updates from seti-ui.
Update icons for bazel, see https://github.com/jesseweed/seti-ui/pull/632
Screenshot of preview.html:

Sorry, I think I should close this PR.


Content - Product Strategy Updates

Description
Details the recent updates to https://flowfuse.com/handbook/product/strategy/ in a more consumer-friendly format, and gives us a vehicle by which to talk about product features/pillars on socials.
Related Issue(s)
Art Request: https://github.com/FlowFuse/website/issues/2038

Build failing due to missing image

Bit late in the day on a Friday to publish this, but it's now all good to go. Feel free to review/approve/merge on Monday whilst I'm out. It'll be nice to see it go out

Any supporting socials we do @Yndira-E can we emphasise the "Build", "Manage", "Deploy" phrasing with the article, maybe an emoji to support each too - I want to try and reinforce this messaging as we're doing product updates in the future too

For sure, @joepavitt!


[python-app] error: internal error

Describe the bug
space push
To Reproduce
Steps to reproduce the behavior:
Push your code to Space with space push
Validating your Spacefile...
Your Spacefile looks good, proceeding with your push!
✓ Successfully started your build!
✓ Successfully pushed your Spacefile!
~ Pushing your code (24 files) & running build process...
2023/08/21 10:59:39
2023/08/21 10:59:39 Parsing Spacefile...
2023/08/21 10:59:39 Scanned micros:
2023/08/21 10:59:39 └ python-app
2023/08/21 10:59:39
2023/08/21 10:59:39 Building micro python-app...
2023/08/21 10:59:42 [python-app] error: internal error
! Failed to push code and create a revision. Please try again!
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: mac m2 /windows 10
java version "11.0.14" 2022-01-18 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.14+8-LTS-263)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.14+8-LTS-263, mixed mode)
Additional context
Add any other context about the problem here.

the issue is from deta server its better if you host it on your own server


Two errors, likely due to user error

Hello wonderful person, this is Andrew. I have installed MetaHookSv for Sven Co-op, and unfortunately am beset with two errors. I am not within a high caliber of technological literacy, so I am hoping you may be able to shed some light on these issues.
So, I downloaded the most recent stable release of MetaHookSv from the git releases page. I followed the instructions, to my knowledge, and put the captionmod, metahook and renderer folders into the svencoop directory, as well as the gfx, maps, models and sound folders into the svencoop_addon directory. I also renamed the plugins_svencoop.lst to plugins.lst. I then placed FreeImage.dll, SDL2.dll and svencoop.exe into the main directory. After this, I ran the game through your executable and was met with the following errors: MH_LoadPlugin: Could not load SCModelDownloader.dll, lasterror = 126 and Fatal Error: 16bit mode is not supported.
I did notice I could not find any files related to the SCModelDownloader plugin, save for it being referenced in the .lst, and that even cloning the repository and building it myself did not yield the .bat to build the plugin, though I still assume this is all some error on my end. I very much wish to use both MetaHookSv in general as well as this plugin, so your time would be greatly appreciated. Finally, thank you for undertaking this project, it seems very useful and interesting.

Oh I forgot to add SCModelDownloader into the Github Action yml, which should have been fixed in the latest commit
as for "Fatal Error: 16bit mode is not supported.", try -32bpp in the launch parameter

Hello again wonderful person and thank you; I grabbed the .dll and used the -32bpp parameter and the two errors are gone, the game launched. That said, now I've run into a new error, and am hoping once more that you will assist me. Upon loading a map, in this case c11_a1, this appears in the console.
setmaster unavailable, start a server first.
No detail texture mapping file: maps/hl_c11_a1_detail.txt
LoadBaseDictionary: 820 lines are loaded.
LoadCustomDictionary: too few lines in the dictionary file.
LoadDDS: Could not open gfx/shot1.dds.
R_LoadTextureEx: Cannot load texture gfx/shot1.dds.
LoadDDS: Could not open gfx/shot_parallax.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds.
LoadDDS: Could not open gfx/shot_normal.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds.
LoadDDS: Could not open gfx/shot2.dds.
R_LoadTextureEx: Cannot load texture gfx/shot2.dds.
LoadDDS: Could not open gfx/shot_parallax.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds.
LoadDDS: Could not open gfx/shot_normal.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds.
LoadDDS: Could not open gfx/shot3.dds.
R_LoadTextureEx: Cannot load texture gfx/shot3.dds.
LoadDDS: Could not open gfx/shot_parallax.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds.
LoadDDS: Could not open gfx/shot_normal.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds.
LoadDDS: Could not open gfx/shot4.dds.
R_LoadTextureEx: Cannot load texture gfx/shot4.dds.
LoadDDS: Could not open gfx/shot_parallax.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds.
LoadDDS: Could not open gfx/shot_normal.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds.
LoadDDS: Could not open gfx/shot5.dds.
R_LoadTextureEx: Cannot load texture gfx/shot5.dds.
LoadDDS: Could not open gfx/shot_parallax.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds.
LoadDDS: Could not open gfx/shot_normal.dds.
R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds.
In tandem with this, it would seem the world or parts of the world become completely black, rendering things to a point of unplayability. It also seems to cause much frame lag. Is there something I need to do to correct this? I look forward to seeing your response, and thank you again for the earlier reply; had I known you would be so fast, I would have stood by.

Hello again wonderful person and thank you; I grabbed the .dll and used the -32bpp parameter and the two errors are gone, the game launched. That said, now I've run into a new error, and am hoping once more that you will assist me. Upon loading a map, in this case c11_a1, this appears in the console.
setmaster unavailable, start a server first. No detail texture mapping file: maps/hl_c11_a1_detail.txt LoadBaseDictionary: 820 lines are loaded. LoadCustomDictionary: too few lines in the dictionary file. LoadDDS: Could not open gfx/shot1.dds. R_LoadTextureEx: Cannot load texture gfx/shot1.dds. LoadDDS: Could not open gfx/shot_parallax.dds. R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds. LoadDDS: Could not open gfx/shot_normal.dds. R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds. LoadDDS: Could not open gfx/shot2.dds. R_LoadTextureEx: Cannot load texture gfx/shot2.dds. LoadDDS: Could not open gfx/shot_parallax.dds. R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds. LoadDDS: Could not open gfx/shot_normal.dds. R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds. LoadDDS: Could not open gfx/shot3.dds. R_LoadTextureEx: Cannot load texture gfx/shot3.dds. LoadDDS: Could not open gfx/shot_parallax.dds. R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds. LoadDDS: Could not open gfx/shot_normal.dds. R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds. LoadDDS: Could not open gfx/shot4.dds. R_LoadTextureEx: Cannot load texture gfx/shot4.dds. LoadDDS: Could not open gfx/shot_parallax.dds. R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds. LoadDDS: Could not open gfx/shot_normal.dds. R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds. LoadDDS: Could not open gfx/shot5.dds. R_LoadTextureEx: Cannot load texture gfx/shot5.dds. LoadDDS: Could not open gfx/shot_parallax.dds. R_LoadTextureEx: Cannot load texture gfx/shot_parallax.dds. LoadDDS: Could not open gfx/shot_normal.dds. R_LoadTextureEx: Cannot load texture gfx/shot_normal.dds.
In tandem with this, it would seem the world or parts of the world become completely black, rendering things to a point of unplayability. It also seems to cause much frame lag. Is there something I need to do to correct this? I look forward to seeing your response, and thank you again for the earlier reply; had I known you would be so fast, I would have stood by.

What is your graphic card?

Well, unfortunately I am temporarily bound to my laptop as my desktop's HDD recently died, so I'm using a fairly unimpressive Intel R HD 620. Do you think this is the primary issue?

Well, unfortunately I am temporarily bound to my laptop as my desktop's HDD recently died, so I'm using a fairly unimpressive Intel R HD 620. Do you think this is the primary issue?

Same issue as #177, should be no problem with Nvidia or AMD card.

Sure enough, I seem to be hamstrung by the historically pitiful integrated graphics card of the laptop; I was doing some testing and, even in the base game it doesn't get a consistent 200 fps. I will have to try MetaHookSv on my proper computer when possible, and hopefully all will run smoothly. That said, what of the console errors? The textures seemed to load sometimes in spite of what the console said, while other times they rendered as black boxes and gave off solid black particle clouds.
After this last question is answered, I will probably close the issue. Thank you for being of great assistance, I appreciate it.

Sure enough, I seem to be hamstrung by the historically pitiful integrated graphics card of the laptop; I was doing some testing and, even in the base game it doesn't get a consistent 200 fps. I will have to try MetaHookSv on my proper computer when possible, and hopefully all will run smoothly. That said, what of the console errors? The textures seemed to load sometimes in spite of what the console said, while other times they rendered as black boxes and gave off solid black particle clouds.
After this last question is answered, I will probably close the issue. Thank you for being of great assistance, I appreciate it.

Those console errors have nothing to do with your problem. They can be ignored.

I see. In that case, noted.
Goodbye wonderful person, and thanks for the help. I apologize for my long delay responding as well. Should I encounter any issues during eventual use on the computer, I will see you again.


Only report stateless steps on initializer for query

We were reporting all the steps when reporting the
initializer's share in response to a partition query.
This ensures we only report the steps that are on
each worker.

I dont really understand the commit comment @jtfmumm. Its not clear to me what it means, perhaps enhance with some examples?

@SeanTAllen Does the new commit message I just pushed make more sense?

@jtfmumm not really.
what's a partition-query? how is it related to stateless? partition to me says stateful.
All steps in the partition? I'm not sure how that relates to stateless.
I think language needs to change and an example or two would be very helpful.

Updated commit message.

@SeanTAllen What still needs to be done before we can merge this PR?  If @nisanharamati is going to integrate query results into automated testing, this fix will be important.

I've asked @nisanharamati to take a look at the message. If it makes sense to him, then I think we are good. basically, looking for new set of eyes.


Asciinema Tutorial Vedio

Here is a github project that includes an asciinema video as a tutorial: https://github.com/drivendata/cookiecutter-data-science/


PMID:33888556

child of
FYPO:0006521 | abnormal mitotic sister chromatid cohesion
Yoshi called this
ectopic cohesion protection Ectopic cohesion protection is the protection of cohesion in mitosis that usually never occurs.
I think it would be something like
"increased duration of cohesion  during mitotic anaphase"

and a similar term for persistent t centromeric cohesion in meiosis I

decreased protein localization to kinetochore during meiosis II prophase

increased duration of mitotic sister chromatid cohesion FYPO:0007758
increased duration of meiotic sister chromatid cohesion at centromere during meiosis I FYPO:0007759
decreased protein localization to kinetochore during prophase II FYPO:0007760


Edge correction in squidpy.gr.ripley?

Hi guys, thanks a lot for developing this package! I use it in my work pretty much daily.
I've been looking into different measures of how spatially clustered points can be, and decided to use your squidpy.gr.ripley function. However, after reading the book you cite ([Baddeley et al., 2015]) I can see that the authors recommend including some edge correction method to account for the points that are near the area edges and therefore might show a distorted clustering pattern which then will influence the plot and its assessment. I had a quick look at your code for the function and I believe you have not implemented any methods for edge correction. If this is correct, do you plan to do so?
Thanks!

hi @zsfrbkv , thank you for the interest and the appreciation!
You raised a very important point, and indeed we don't do edge-correction for the ripley functions. We currently do not plan to do so, but if you are interested in contributing, I'd be happy to support it! Is there any edge-correction method that you would recommend and is suitable to spatial omics data?


ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them: when importing xarray

Code Sample, a copy-pastable example if possible
I'm trying to import xarray to use within jupyter notebook and am getting this error. Xarray was working perfectly fine this morning, and seems to have stopped working after installing packages: netcdf4, anaconda, xz, and their dependencies.
I'm importing into jupyter notebook using:
import xarray as xr

And the error i get is:
--------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-1-ff9522b3dae8> in <module>()
----> 1 import xarray as xr

/Users/ans/anaconda/lib/python3.5/site-packages/xarray/__init__.py in <module>()
      4 from __future__ import print_function
      5
----> 6 from .core.alignment import align, broadcast, broadcast_arrays
      7 from .core.common import full_like, zeros_like, ones_like
      8 from .core.combine import concat, auto_combine

/Users/ans/anaconda/lib/python3.5/site-packages/xarray/core/alignment.py in <module>()
      8 import numpy as np
      9
---> 10 from . import utils
     11 from .indexing import get_indexer_nd
     12 from .pycompat import OrderedDict, iteritems, suppress

/Users/ans/anaconda/lib/python3.5/site-packages/xarray/core/utils.py in <module>()
     13 import pandas as pd
     14
---> 15 from .pycompat import (
     16     OrderedDict, basestring, bytes_type, dask_array_type, iteritems)
     17

/Users/ans/anaconda/lib/python3.5/site-packages/xarray/core/pycompat.py in <module>()
     60 try:
     61     # solely for isinstance checks
---> 62     import dask.array
     63     dask_array_type = (dask.array.Array,)
     64 except ImportError:  # pragma: no cover

/Users/ans/anaconda/lib/python3.5/site-packages/dask/array/__init__.py in <module>()
     46 with ignoring(ImportError):
     47     from . import ma
---> 48 from . import random, linalg, ghost, learn, fft
     49 from .ghost import map_overlap
     50 from .wrap import ones, zeros, empty, full

/Users/ans/anaconda/lib/python3.5/site-packages/dask/array/ghost.py in <module>()
      6
      7 from toolz import merge, pipe, concat, partial
----> 8 from toolz.curried import map
      9
     10 from . import chunk, wrap

/Users/ans/anaconda/lib/python3.5/site-packages/toolz/curried/__init__.py in <module>()
     51
     52 locals().update(toolz.merge(
---> 53     _curry_namespace(vars(toolz)),
     54     _curry_namespace(vars(exceptions)),
     55 ))

/Users/ans/anaconda/lib/python3.5/site-packages/toolz/curried/__init__.py in _curry_namespace(ns)
     46     return dict(
     47         (name, toolz.curry(f) if _should_curry(f) else f)
---> 48         for name, f in ns.items() if '__' not in name
     49     )
     50

/Users/ans/anaconda/lib/python3.5/site-packages/toolz/curried/__init__.py in <genexpr>(.0)
     46     return dict(
     47         (name, toolz.curry(f) if _should_curry(f) else f)
---> 48         for name, f in ns.items() if '__' not in name
     49     )
     50

/Users/ans/anaconda/lib/python3.5/site-packages/toolz/curried/__init__.py in _should_curry(f)
     40 def _should_curry(f):
     41     do_curry = frozenset((toolz.map, toolz.filter, toolz.sorted, toolz.reduce))
---> 42     return (callable(f) and _nargs(f) > 1 or f in do_curry)
     43
     44

/Users/ans/anaconda/lib/python3.5/site-packages/toolz/curried/__init__.py in _nargs(f)
     33 def _nargs(f):
     34     try:
---> 35         return len(inspect.getargspec(f).args)
     36     except TypeError:
     37         return 0

/Users/ans/anaconda/lib/python3.5/inspect.py in getargspec(func)
   1048         getfullargspec(func)
   1049     if kwonlyargs or ann:
-> 1050         raise ValueError("Function has keyword-only arguments or annotations"
   1051                          ", use getfullargspec() API which can support them")
   1052     return ArgSpec(args, varargs, varkw, defaults)

ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them

This seems to be an issue with the toolz package and/or your conda environment. It's not xarray related.
I don't know why this is coming up now, but these search results might be helpful for you:
https://github.com/dhwajraj/deep-siamese-text-similarity/issues/19
https://github.com/scikit-image/scikit-image/issues/2862
I think the short answer is that you should update toolz (maybe with pip?) and/or try a new conda environment (e.g., with Python 3.6).


Unable to verify a UserPool user if app shuts down in between

So, I'm able to verify a user with the code after signing up if it's done in the same run of the app. But, if a user sign ups, then the app shuts down and restarts (for instance battery drains or for whatever reason the user doesn't verify user right away) I then retrieve that user by user name and do the verify in the same way
user.confirmSignUp(code, forceAliasCreation: true).continue({ (task) -> Any? in
But I then just get back the error AWSCognitoIdentityProviderErrorDomain.codeMismatch despite the code being the correct one?

Closing as Dup of https://github.com/aws/aws-sdk-ios/issues/497


Remove external resources and small improvements

Remove all inline SVG's and add them to the mat-icon registry
Remove old issue label css and replace occurences with issue-label component
and some other smaller changes
Remove externally loaded GitHub stylesheet in issue details

Too many conflicts, going to fix this locally


Plugin marks composer.json contents as errored when there's no 'name' or 'description' properties

I get errors "The 'name' property is required" and "The 'description' property is required" when viewing my composer.json file. However, these properties are only required for published packages, not for projects which are just using composer to manage their dependencies.
See official documentation at: https://getcomposer.org/doc/04-schema.md#name

Yes, you are right. I was sure name and description are required for all projects (they were some time ago) - I will fix this asap. The output from composer validate misguided me. Thanks for watchfulness.

Thanks for the quick response :)


containerservice release

https://github.com/Azure/sdk-release-request/issues/3964

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-containerservice


node click is not effective

I defined a js function on page, and bind a click event to the node, but it is not effective, on the api guide, your demo is also not effect, but tooltip is ok.

the graph script is
graph LR;

A((start))-->B(step1);
B-->C[step2];
C-->D{step3};
D-->E[end];

classDef green fill:#9f6,stroke:#333,stroke-width:1px;
class A,B,C,D,E green;

click B onNodeClick "tooltip"

is there something wrong with my code?

No I think not.
When I try you code it works fine. What version and browser are you one?

thank you for your reply. the mermaid version is 0.5.6 , I try the code on chrome (47.0.2526.106) and firefox both. my code is here.
      ...

		<textarea style="width:100%;height:300px;">
graph LR;

A((start))-->B(step1);
B-->C[step2];
C-->D{step3};
D-->E[end];

classDef green cursor:pointer,fill:#9f6,stroke:#333,stroke-width:1px;
class A,B,C,D,E green;

click B callback "tooltip"
	    </textarea>

by the way, if I click a node, could I get the parent node and children nodes, and the in-link, out-links?

I see the problem now.
As you are using the render function you need to bind the event handlers to the svg code you recieved after ijnserting it in to the dom.
Look here for more info:
http://knsv.github.io/mermaid/#sample-of-api-usage-together-with-browserify
There are unfortunately no support currently for the parent/children arguments to the callback for the click.

thank you, I get it. I think there is some other way to bind click function, and also get the click node info.
        		//get all nodes
        		var nodes = $('g[class="nodes"] g[class="node"]');
        		$(nodes).css({'cursor': 'pointer'});
        		$(nodes).on('click', function(){
        			//get current node
        			var id = $(this).attr('id');
        			var text = $(this).find('foreignObject div').html();
        			alert('id is ' + id + ', text is ' + text);

        			//get sibling nodes

        			//get in link

        			//get parent node

        			//get out link

        			//get children nodes

        		});


[Bug]:  Failed to launch the browser process

Steps to reproduce
I am using puppeteer - 22.13.1
Deployed it on Azure with Node slim version
Facing this issue after upgrading puppeteer from 19.11.1 to higher versions.
Tried installing google chrome stable & chromium both but facing same issue for both
Expected results
Pdf should be generated
Actual results
Error: Failed to launch the browser process!\nchrome_crashpad_handler: --database is required\nTry 'chrome_crashpad_handler --help' for more information.\n[19:19:0728/170841.821751:ERROR:socket.cc(120)] recvmsg: Connection reset by peer (104)\n\n\nTROUBLESHOOTING: https://pptr.dev/troubleshooting\n

Is it reproducible with the docker image we provide? I am not able to reproduce.  In general, the slim node image is not recommended since it might be missing packages that the browser relies on (since Puppeteer is a not a node-only app, it launches a full browser in the background). Also see the list of system libraries that are needed by the browser: https://pptr.dev/guides/system-requirements

Is it reproducible with the docker image we provide? I am not able to reproduce. In general, the slim node image is not recommended since it might be missing packages that the browser relies on (since Puppeteer is a not a node-only app, it launches a full browser in the background). Also see the list of system libraries that are needed by the browser: https://pptr.dev/guides/system-requirements

Yeah. I tried with the mentioned docker image as well but the same error that, not sure if it any issue with env. Can you share any sample docker file which is working with puppeteer latest version

https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer (source: https://github.com/puppeteer/puppeteer/blob/main/docker/Dockerfile) should work as confirmed by our automated tests


Add terminal option to expose xterm.js drawBoldTextInBrightColors setting

To verify, on Linux/macOS add this to settings:
  "workbench.colorCustomizations": {
    "terminal.ansiRed": "#ff0000",
    "terminal.ansiBrightRed": "#00ff00"
  },

Then run echo -e '\x1b[31mnormal \x1b[1mbold' under the following two configurations:

"terminal.integrated.drawBoldTextInBrightColors": true - This should show red then green
"terminal.integrated.drawBoldTextInBrightColors": false - This should show red for both words

Upstream: https://github.com/xtermjs/xterm.js/pull/1391


Include legacy addons.json snapshot

This PR is stacked on top of #3 and needs a rebase once that is merged :)

Added a snapshot of the current addons.json to the deployed pages. This makes sure that existing applications consuming addons.json do not break once we merge all the reworks upstream. I've included a new _deprecated property in the addons.json to let everyone looking at that file now that they should migrate to the new manifest.json.
We should probably update the snapshot once before merging upstream, so it includes all updates to addons between now and then.

This repository was never publicly announced, was never stable, and no application inside our org is using this. So lets not do this so we don't have to care about any legacy stuff.


Full Backend Setup & Integration

Build Check Failed Because Secrets aren't stored yet.
Please rerun the test after Storing Secrets.

Why so many commits in 1 PR? This defeats the purpose of Open Source development. Every change should have had a PR

This mismanagement happens due to exams and busy schedules.Also, CI get broken due to a google-services issue and config files which gets resolved yesterday only.
From now on regular PRs will be made.

I have tried creating a testing branch and merging pr in that branch. Build passes only after merge. Maybe first-time secrets aren't accessible to this pr.


Make README more succinct

I ran into a big headache with ruby-build (#1113) because I didn't have my build environment set up the way I should have. The README made mention of this, but I missed it because the README is long and I am lazy.
I believe this version conveys practically all the same information as the original in far fewer words and a clearer visual hierarchy. ruby-build is very straightforward to use; its documentation should reflect that.
If these changes are to the maintainers' liking, I'd even ask your approval to take it a step further and move most of the "Advanced Usage" section (along with the "Installation > Upgrading" section) to the wiki, replacing it with links to the relevant articles. But I won't get ahead of myself.
What do you folks think?

(Note that this PR conflicts with #1106.)

+300, this is a fantastic diff.
As soon as a maintainer notices, I hope it gets merged.

Thank you! Much appreciated.


[WebToolsE2E] Run Aspire Starter Application for the first time, the dashboard shows some errors saying UnableToConnect

REGRESSION INFO: TBD
INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.10 Preview 2 build main-34626.03 (includes .NET SDK 8.0.300-preview and .NET workload Aspire 8.0.0-preview.3.24105.21)
Install Aspire P4 build 8.0.0-preview.4.24125.5 + Apply feeds

REPRO STEPS

New Project > Aspire Starter Application > name it 'AspireStarterApp1' > .NET 8.0 > Create
Ctrl+F5

ACTUAL
Dashboard shows some errors for webfrontend when run for the first time

EXPECTED
Dashboard doesn't show any errors when we run the application

Applied preview 4 milestone for consideration. Please triage and move it out if needed

Is this a clean machine?

Yep. When the redis image isn't pulled yet, there will be errors. @karolz-ms can you comment on whether we can improve DCP in the future WRT not allowing connections to go through until the image has been pulled?

Oh wait karol replied here https://github.com/dotnet/aspire/issues/1695#issuecomment-1912786435.
Yes, we can close as by design. We'll improve this with health checks in the future.


Isolation between deployed components

Problem statement
The control plane deploys modules as part of a blueprint orchestration. These modules augment the data path that originally contains the application workload and data sources, with additional data centric functions. However:

A module can currently be used by any workload in the cluster rather than forcing the data flow to match the desired state
A module can currently access any endpoint so a hijacked module can leak data
An application workload can access any endpoint so it can leak data

Proposed approach
This is a broad topic that has a lot of dependencies. We should start by creating a NetworkPolicy to restrict access to the blueprint namespace such that only the workload referenced in the M4DApplication resource can access it (this does not yet enforce the desired flow but improve the current state).
A follow-up is to improve the blueprint specification such that a network graph can be deduced from it (e.g., from a data flow graph; neither of which currently exist in the blueprint specification). Then we would have the desired flow to enforce.
The last part is enforcing the flow by creating NetworkPolicies and Istio resources. Specifically, a rough sketch of the proposal is to:

Use NetworkPolicies to enforce the flows between the blueprint components running in the cluster based on labels
[optional] Use Istio authorization policies to enforce the flows between the blueprint components running in the cluster based on identities
Make a gateway be part of any blueprint
Route all external traffic through the gateway
Use Istio authorization policies in the gateway to restrict what external endpoints each identity can access

A technical approach on how to implement it to be proposed later as we already have a lot of this from earlier attempts.
Related items

Virtual endpoints to expose dataset connection endpoints that are not tied to the physical endpoint

The only explicit information we have about the workload is its label(s), which is included in m4dapplication. Am I correct in assuming that in order to implement isolation we would have to use k8s apis to obtain the actual resources associated with the label, it's IP address, etc in order to do the workload isolation? @roee88

The project has evolved significantly since the opening of this issue. While isolation is still not addressed, the details within this issue are probably irrelevant.

The project has evolved significantly since the opening of this issue. While isolation is still not addressed, the details within this issue are probably irrelevant.

@roee88 Do we have a different issue open with relevant details?

No. A discussion can be opened once there is a need to do something.

@roee88 I would suggest leaving an open issue in our backlog, so that we don't loose track of the fact that we need to do something

Feel free to open a new one. In general though, issues are only for actual work items and this one isn't (it pre-dates our move to using discussions).


Why is the simplest code ok with clang but failed with vc++?

#include <ctre.hpp>

using namespace std::literals;

static constexpr auto pattern =
    ctll::fixed_string{R"(([^.]|[.])*(^|[^{])(\{\{)*\{[^{}]*)"};

constexpr bool check(std::string_view sv) noexcept
{
    return ctre::match<pattern>(sv);
}

static_assert(check("{"sv));       // ok
static_assert(check("{{{"sv));     // ok
static_assert(!check("abc{{{"sv)); // failure

int main() {}

clang 8.0 is ok, but visual studio 2019 is failed.
The error message:
test.cpp(15,15): error C2131:  expression did not evaluate to a constant
ctre.hpp(3695,20): message :  failure was caused by a read of an uninitialized symbol
ctre.hpp(3695,20): message :  see usage of 'ctre::captured_content<0,void>::storage<Iterator>::_matched'
ctre.hpp(3695,20): message :         with
ctre.hpp(3695,20): message :         [
ctre.hpp(3695,20): message :             Iterator=std::_String_view_iterator<std::char_traits<char>>
ctre.hpp(3695,20): message :         ]

probably problem in constexpr engine of MSVC, don't use static_assert, in runtime it will be ok

To me, however, the killer-feature of CTRE is compile-time checking / validating.

probably problem in constexpr engine of MSVC, don't use static_assert, in runtime it will be ok

To me, however, the killer-feature of CTRE is compile-time checking / validating.

I don't know now, probably there is, there was something similar recently. But I don't have time to fix it now. Sorry, Probably end of this month.

It's still doing the validation of pattern in compile-time. It looks as something greedy cycle related to me.

And I don't have MSVC to try it, please report bug to MSVC compiler team.

This works fine with a Release build (and an up-to-date MSVC 2019). I think that the iterator checking feature of MS standard library is causing the issue. Setting _ITERATOR_DEBUG_LEVEL=0 works to.


ESP_BLE_Arduino 0.4.8 & BLEUuidNotFoundException

I update ESP_BLE_Arduino to 0.4.8 and copy HIDTypes.h as chegewara wrote:
https://github.com/nkolban/esp32-snippets/issues/365
but I got this error message:
C:\PROGRAMY\arduino_projekty\libraries\ESP32_BLE_Arduino\src\BLEClient.cpp: In member function 'BLERemoteService* BLEClient::getService(BLEUUID)':

C:\PROGRAMY\arduino_projekty\libraries\ESP32_BLE_Arduino\src\BLEClient.cpp:336:12: error: exception handling disabled, use -fexceptions to enable

  throw new BLEUuidNotFoundException;

where I must use -fexceptions ??
P.S. arduino-esp32 core update to latest git (with xtensa-esp32-elf-win32-1.22.0-80)

I updated my esp32 core today and am getting the same issue, ie calls to throw exception are asking for -fexceptions to be enabled. I deleted my existing esp32 directory and cloned from scratch, did the recursive git update, cleaned my solution in visual studio and rebuilt Have done this a number of times now, Do I have to pull down manually pull down the BLE ardunio library also from this repository? Reading the above thread it seems that its was integrated into the core branch. Any assistance appreciated. Trying to see if the there is more free heap now..

Its ok I found the problem. The latest core I downloaded has in the platform.txt file both -fno-exceptions and -fexceptions set for the cpp compiler! There is a note in GitHub about that change since January but not fixed yet. I juest deleted the -fno-exceptions and restarted the IDE and it compiles now.

indeed! -fno-exceptions and -fexceptions together...
Please, try to link this issue to the "note" on arduino-esp32 repo,
maybe someone will be interested.


Remove x from reaction list header

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/18916
Tests

This is for small screen sizes only - ios, android, mobile web chrome, mobile web safari

Add an emoji reacting to any message on new dot
Hold down the emoji
Ensure that the reaction list that comes up does not have an "x" at the top right for the smaller screen sizes

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Same as tests

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

NA

Mobile Web - Chrome

Mobile Web - Safari

Desktop

NA

iOS

Android

@srikarparsi can you update the screenshot for Mobile Web - Chrome? It's not showing the reactions drawer

@srikarparsi the issue isn't correctly linked. Please fix it for melvin bot to work correctly.
@srikarparsi could you please change this test step to - Add an emoji reaction to any message.

I made both of those updates, and checked @rushatgabhane 's screenshot for Mobile Web - Chrome looks good, so merging

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/cead22 in version: 1.3.18-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/cead22 in version: 1.3.18-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
cancelled 🔪

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/cead22 in version: 1.3.18-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.18-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


tw-rs: init at 0.1.26

Motivation for this change
Add tw-rs to nixpkgs
Things done

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

[ ] NixOS
[ ] macOS
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I squashed your commits into one. It would be helpful in the future to not use git pull in a pull request, as it creates a merge commit. Instead a git pull --rebase or git fetch origin master (if origin points to nixos/nixpkgs) followed by git rebase origin/master makes it easier for maintainer.

Actually added you to the maintainer list in 477fa42be6.


Use pkg_config to query include and library directories on FreeBSD as well

This makes it possible to build the crate on FreeBSD.

Without this change an attempt to build the crate produced the following:
   Compiling leptonica-sys v0.4.6 (/tmp/leptonica-sys)
error: failed to run custom build command for `leptonica-sys v0.4.6 (/tmp/leptonica-sys)`

Caused by:
  process didn't exit successfully: `/tmp/target-vlad/debug/build/leptonica-sys-298628f6310e5eb0/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-link-lib=lept

  --- stderr
  wrapper.h:1:10: fatal error: 'leptonica/allheaders.h' file not found
  thread 'main' panicked at 'Unable to generate bindings: ClangDiagnostic("wrapper.h:1:10: fatal error: 'leptonica/allheaders.h' file not found\n")', build.rs:85:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Published as https://crates.io/crates/leptonica-sys/0.4.7


[12979] fix bug of overriding magictype buttons' title when click the…

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

What does this PR do?
fix bug of overriding the button title of the tool box
currently, if we change the title of the magic-type button in the toolbox, it works as expected
however, if we click the button for stack view, all magic type buttons' titles revert to the default
our users just want a chart without chinese, I guess this is the final block!
Fixed issues

#12979

Details
Before: What was the problem?
to check this one, we need do sth like this
toolbox: {
               ......
                magicType: {
                    show: true,
                    type: ['line', 'bar', 'stack'],
                    title: {
                        line: 'line view',
                        bar: 'bar view',
                        stack: 'stack view',
                        tiled: 'tiled view',
                    },
                },
             ......
}

as stack and tiled are sth like a pair, we need to set the title for the tiled
but it only works if we never click the stack button,
once we click the button for stack, all titles revert to the the default chinese ones

After: How is it fixed in this PR?
the old code use magicTypeLang.title as the base to override the new title
however, this is the one of fixed chinese
and now I change the logic to flip the title of stack and tiled when we click, and use model.option to get the title dynamically
newTitle = zrUtil.merge(
            {
                      stack: model.option.title.tiled,
                      tiled: model.option.title.stack
            }, model.option.title);

and now it works as expected

Usage
Are there any API changes?

[ ] The API has been changed.

Related test cases or examples to use the new APIs
NA.
Others
Merging options

[ ] Please squash the commits into a single one when merge.

Other information

@pingf Thank you very much, could you submit this PR to next branch? Also please provide a related test case.

@susiwen8
sorry for the wrong branch, this is the first time I created PR here,
and just followed the https://github.com/apache/incubator-echarts/wiki/How-to-make-a-pull-request#coding-standard
it seems it didn't mention the next branch.
I'll create another PR to next then

@susiwen8
I've change the merge base from master to next, it seems it has a lot of conflicts
I guess all of these can be ignored  as this PR only changes a small part of one file.
so if I want to create PR next time , which branch should I use as the base branch ?  the master or next?

@pingf since too much conflict,, It's better to create a new PR for next and close this one. Base brach you chose should be next.

arrr...  the changes in next are huge, even migrated to typescripts.....
I think it really needs a new wiki page for this, even the next is not released

Check out https://github.com/apache/incubator-echarts/issues/12926

@susiwen8
thx, I've test the next branch, it seems the issue 12979 is already been fixed
but during test the code, find another problem, after some clicks of the buttons in the toolbox, the chart freezes!
I'll create a issue to describe it in detail


Support for running the web interface behind a reverse proxy

I have a docker-compose setup with a handful of databases with web interfaces (elasticsearch, influxdb, arangodb) and an nginx container acting as a reverse proxy for them, so I can get to them at localhost:8000/elasticsearch/, localhost:8000/influxdb/, localhost:8000/arangodb/.
e.g. the bit of nginx config for arango is
location /arango/ {
  proxy_pass http://arango:8529/;
}

The problem is, unlike the others, ArangoDB's web interface doesn't work if it's not at the root URL. localhost:8000/arango/ redirects to http://localhost/arango/_db/_system/_admin/aardvark/index.html (not sure why it strips the port out).
Workaround: If I go to http://localhost:8000/arango/_db/_system/_admin/aardvark/standalone.html, it seems to work. I don't know if the whole interface works that way, though, as I haven't figured out how to log in yet.)
The image I'm using is arangodb/arangodb:2.7.0.

duplicate of #1477

You can download and replace the changed .js file to apply this fix for you.
You do however need two location matches:
location /arango/ {
allow all;
proxy_pass http://<IP_ADDRESS>:8529/;
}
location /_db {
allow all;
proxy_pass http://<IP_ADDRESS>:8529/_db;
}

now visible at https://docs.arangodb.com/cookbook/MakingFoxxAppAccessible.html#configure-the-proxy-server--nginx

If I have more port use arangodb in one server?
for example 8529 and 8530.

it's now possible to use custom base path for the arangodb web gui by

setting X-Script-Name header in the reverse proxy configuration
using --frontend.proxy-request-check and --frontend.trusted-proxy options when starting arangod

for details, please see
https://docs.arangodb.com/3.1/Manual/ReleaseNotes/NewFeatures30.html#web-admin-interface


Invalid header after flashing firmware

after I flash the .bin and I try to connect to serial port it outputs continuosly this log:
st:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0x28202b20
invalid header: 0x28202b20
invalid header: 0x28202b20
invalid header: 0x28202b20
invalid header: 0x28202b20
invalid header: 0x28202b20
invalid header: 0x28202b20
invalid header: 0x28202b20

it is expected?

You flashed the firmware at wrong address and damaged the bootloader. Use factory firmware:
https://github.com/awawa-dev/HyperSPI?tab=readme-ov-file#flashing-the-firmware

ok, now I flashed the factory firmware and then the custom one at the correct address
./esptool write_flash 0x0 firmware_esp32_SK6812_RGBW_NEUTRAL.factory.bin
./esptool write_flash 0x10000 firmware_esp32_SK6812_RGBW_NEUTRAL.bin

and now it does not gives me those error anymore
but even if I configured the Led Hardware section as show by the guide I get
[LEDDEVICE0_AWA_SPI] Device 'awa_spi' is disabled due to an error: 'Failed to open device (/dev/spidev0.0). Error message: No such file or directory'
tried to change that to /dev/ttyACM0 to no avail, what could be the cause?

/dev/spidev0.0 must activated in the system first, usually HyperHDR installer tries to enable it but it requires a restart. Use raspi-config alternatively.


Fix settings tab link on config view page

The settings tab on a config view page links back to the nodebalancer, this is wrong

fixed in https://github.com/linode/manager/pull/1625


Error syncing masquerade rules

I've recently observed my ip-masq-agent containers restarting fairly frequently due to errors syncing masquerade rules. It's hard to determine exactly what is wrong with the rules given the limited log output. I've observed this in both v2.0.1 and v2.1.1 of ip-masq-agent.
I0914 22:40:52.590226       1 ip-masq-agent.go:180] config file found at "/etc/config/ip-masq-agent"
I0914 22:40:52.591164       1 ip-masq-agent.go:167] using config: {"nonMasqueradeCIDRs":["<IP_ADDRESS>/13","<IP_ADDRESS>/16"],"masqLinkLocal":false,"resyncInterval":60000000000}
I0914 22:40:52.591195       1 iptables.go:361] running iptables -N [IP-MASQ-AGENT -t nat]
I0914 22:40:52.599954       1 iptables.go:361] running iptables -C [POSTROUTING -t nat -m comment --comment ip-masq-agent: ensure nat POSTROUTING directs all non-LOCAL destination traffic to our custom IP-MASQ-AGENT chain -m addrtype ! --dst-type LOCAL -j IP-MASQ-AGENT]
I0914 22:40:52.608243       1 iptables.go:338] running iptables-restore [--noflush]
E0914 22:40:52.622691       1 ip-masq-agent.go:145] error syncing masquerade rules: exit status 1 (iptables-restore: line 7 failed
)
exit status 1 (iptables-restore: line 7 failed
)

I wonder if perhaps I'm being hit by iptables locking issues as described in https://github.com/kubernetes/kubernetes/pull/44895? I notice ip-masq-agent is pinned to a version of util/iptables from before that PR was merged, and thus (I believe) won't use any iptables locking.

We deployed a build of ip-masq-agent #22 to a production cluster earlier today and configured both ip-masq-agent and kube-proxy to mount /run/xtables.lock. I've observed zero ip-masq-agent restarts since; typically we'd see a dozen or so on busy nodes in that time frame.


open-vsx: 0.1.18->0.1.19

Hi! Could you please publish the newest release alto to open-vsx? Thanks!

done 👍


[Bug] 'Create a campaign' (create-campaign) allows duplicate campaigns to be created

Describe the bug
In the UI, you cannot create a campaign with the same name as one that already exists.
This limitation is not enforced using the API. You can create multiple different campaigns with the same name.
To Reproduce Steps to reproduce the behavior:

In the UI, create a campaign called "test"
Create another campaign called "test using the UI - it wont let you save
Using the API - POST /v3/campaigns with valid JSON body, create a campaign called "test"
Re-submit the same POST request several times
You will now see several campaigns called "test"

Expected behavior
I assume campaign names should be unique

Thank you for your bug report. I spoke with our product team and this is the expected behavior. There is no technical issue with campaigns having the same name, hence why the API doesn't perform duplicate name validation. The UI performs the name check to avoid confusion with campaigns that have the same name. You can replicate this validation in the API by using the list campaigns endpoint and filtering on name and status to see if there is a campaign that has the same name as the one you are about to create.


Automated Package Upgrade

:tada: This PR is included in version 7.7.149 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fine-tune bart with custom dataset in other language?

Thanks for this great work!
I found your example on how to fine-tune Bart with CNN/DM dataset. It's very helpful.
Is it possible to fine-tune Bart with the dataset in another language?
If possible, I think it is necessary to train a SentencePiece tokenizer with a Japanese corpus.
Do you have any advice?

I would take a look at using mBART ... see here:
https://huggingface.co/transformers/model_doc/mbart.html#mbartforconditionalgeneration
If you get something working, lmk for sure!  I haven't played around enough
with this transformer to get it working with good results ... it works, but
the results don't look great which means I'm doing something wrong :).
Either way, check out the blurr docs and if you get some good results, feel
free to PR an example notebook which I'd be glad to include alongside the
multi-label classification example already in there.

wg

On Wed, Jan 20, 2021 at 11:46 PM Zhang Cheng<EMAIL_ADDRESS>wrote:

Thanks for this great work!
I found your example on how to fine-tune Bart with CNN/DM dataset. It's
very helpful.
Is it possible to fine-tune Bart with the dataset in another language?
If possible, I think it is necessary to train a SentencePiece tokenizer
with a Japanese corpus.
Do you have any advice?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ohmeow/blurr/issues/25, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADNMFIE4WH7T3AAXUWPL3S27LVPANCNFSM4WMNEH3A
.

I would take a look at using mBART ... see here:
https://huggingface.co/transformers/model_doc/mbart.html#mbartforconditionalgeneration
If you get something working, lmk for sure!  I haven't played around enough
with this transformer to get it working with good results ... it works, but
the results don't look great which means I'm doing something wrong :).
Either way, check out the blurr docs and if you get some good results, feel
free to PR an example notebook which I'd be glad to include alongside the
multi-label classification example already in there.

wg

On Wed, Jan 20, 2021 at 11:46 PM Zhang Cheng<EMAIL_ADDRESS>wrote:

Thanks for this great work!
I found your example on how to fine-tune Bart with CNN/DM dataset. It's
very helpful.
Is it possible to fine-tune Bart with the dataset in another language?
If possible, I think it is necessary to train a SentencePiece tokenizer
with a Japanese corpus.
Do you have any advice?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ohmeow/blurr/issues/25, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADNMFIE4WH7T3AAXUWPL3S27LVPANCNFSM4WMNEH3A
.

I will take a loot at it.

I will take a loot at it.


Add Icons for Shizuku

You can you this sample or you can create your own icons
Sample was designed by me. I just want a icon for Shizuku

This is not how you create a pull request.


Add 'flash once' option to flash notifications

This allows for a "Flash once" flash notification option. I'm not sure if it flash a bit too quickly but I'm also not sure how I would go about slowing it down so that the duration of the flash is a bit longer.
Fixes #12765

Closing in favor of PR #12767


Add missing PACIFICA_2020 f/w

You can't just sneak in fingerprinting 2.0 like that 😉
We should be a able to get much more information and more ECUs. Let's check what the manufacturers software does when requesting the FW versions.

You can't just sneak in fingerprinting 2.0 like that
We should be a able to get much more information and more ECUs. Let's check what the manufacturers software does when requesting the FW versions.

Are you suggesting this?
https://github.com/commaai/openpilot/wiki/Fingerprinting#fingerprinting-20-alternative
Anyway, I'm going to sneak FPv1 as a new subsection of the 2020 Pacifica too, just in case.  The 2021 Pacifica has many MANY differences from the 2020, but apparently works fine when FP'd as a 2020.

Are you suggesting this?
https://github.com/commaai/openpilot/wiki/Fingerprinting#fingerprinting-20-alternative

The specific query types end up being important, and sometimes other details. That's why often we need to see what the manufacturer diagnostic software does. In the alternative (or in addition), somewhere I still have a modified version of Panda's query_fw_versions.py that rolls through every UDS-standard query on every address and can be modified to do manufacturer-specific queries as well.
All the picky little details would be a lot of typing that doesn't belong in this PR. If you have a population of cooperative Chrysler users and you're interested in tag-teaming an effort to get them FPv2, I can back you up on the diagnostic details, finding the right address and query set, and Chrysler specific FPv2 code. If so, let's take this over to a Github Discussion.

https://github.com/commaai/openpilot/discussions/21112

Can you only add the fingerprint for this car? This PR changes many lines now.

Can you only add the fingerprint for this car? This PR changes many lines now.

I basically fixed the FPv1 formatting, making it consistent throughout the file.

I installed https://smiskol.com/fork/erichmoraga/patch-1, and tested that it works in the following video:
e26a05d431cc1fbf|2021-06-09--06-32-58--0
https://my.comma.ai/e26a05d431cc1fbf/1623234777889/1623235381659

This is good to merge once the comment is addressed.


Can't find factory for 'scispacy_linker' for language English

Describe the bug
ValueError: [E002] Can't find factory for 'scispacy_linker' for language English occurs if one doesn't import scispacy.linking
To Reproduce
Steps to reproduce the behavior:
import spacy

lang_model = "en_core_sci_sm"
nlp = spacy.load(lang_model)
nlp.add_pipe("scispacy_linker",
             config={"resolve_abbreviations": True,
                     "linker_name": "umls"})

Environment (please complete the following information):

OS: Ubuntu 16.04
Version:

>>> scispacy.__version__
'0.4.0'
>>> spacy.__version__
'3.0.7'

Python: python3.6

This is the expected behavior.


public/img: reduce the size of PNG images

This PR shrinks the images to use less space. The width, heights and details of the images are the same as before.
Some images couldn't be optimized any further to reduce their sizes. The total space savings of these changes are 1.68 MB (1761711 bytes).

LGTM

LGTM


Composite aggregation cannot be used under a filter aggregation

Is your feature request related to a problem? Please describe.
I'd like to be able to use a composite aggregation underneath a filter aggregation.  However, when I attempt to do so, I get a response from OpenSearch like this:
{
  "type": "illegal_argument_exception",
  "reason": "[composite] aggregation cannot be used with a parent aggregation of type: [FilterAggregatorFactory]"
}

Specifically, I'm trying to use both of these under a nested aggregation so that I can filter the nested documents included in the aggregation, and then bucket the nested documents using a composite aggregation so that I can paginate over the buckets.
Describe the solution you'd like
I'd like a composite aggregation to work under a filter aggregation rather than returning an exception.
Describe alternatives you've considered

I've considered using an alternative to the composite aggregation (e.g. multi_terms) but only the composite aggregation supports pagination, which I need here.
I've considered trying to avoid using the filter aggregation, but I can't find a way to avoid it.  A top level query can often be used instead of a filter aggregation, but I don't believe there's a way to make that work for nested documents in the way I need. I need to limit which nested documents are included in the composite aggregation after already applying a filter at the top level query to select which root documents are included to begin with.

Additional context
Elasticsearch gained support for this in Elasticsearch 7.13. I'm hoping OpenSearch can add support as well.

Adding labels to this. @myronmarston, thanks for opening the issue. Just to check, are you interested in provide a failing test for this case?

@macohen can you point me to an example test case showing what form you'd want a failing test case in?  I'm a total newcomer to the codebase, so a pointer would be helpful.

@myronmarston  There are a bunch of them under https://github.com/opensearch-project/OpenSearch/tree/6bc0cd68e25d63d31d735634b9edfc76ca4f1749/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation, for example https://github.com/opensearch-project/OpenSearch/blob/6bc0cd68e25d63d31d735634b9edfc76ca4f1749/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/50_filter.yml


enable or interface_enabled

in config file i find https://unsigned.io/private-messaging-over-lora/ interface in my copy program only 'eneble'
whitch is ok?
[interfaces]
[[Default Interface]]
type = AutoInterface
interface_enabled = True

Please don't use the Issue tracker for generic questions and help requests. Moving this to the discussions.
I'm afraid I don't understand what you are asking here. Can you be more specific?


[Docs] How to run the demo ?

Branch
main branch  https://mmdetection3d.readthedocs.io/en/latest/
📚 The doc issue
I used 'configs/detection/mv-det3d_8xb4_embodiedscan-3d-284class-9dof.py' , 'mv-3ddet.pth' provided by you, and your simple dataset office to test demo.ipynb. but I can only get one picture of the results, the length of results in results = model.test_step(collate_data) is 1
Suggest a potential alternative/fix
No response

I  have encountered an issue similar to one you previously experienced. I am reaching out to inquire about how you resolved it.Could you please share any insights or solutions you found for the issue?

@BetterYimi Excuse me, I encountered a similar problem to #21 when running the demo.py script. Upon inspecting the model output, I noticed that len(results) is 1, which resulted in only one image being visualized, with the boxes stacked on top of each other. However, that issue has already been closed. I'm unsure how to resolve this situation.If you can provide assistance, that would be great.

@4mm7  我是简单将代码中的len(results)改为了1-len(n_frames)，同时将boxes, labels = nms_filter(results[i].pred_instances_3d)改为了boxes, labels = nms_filter(results[0].pred_instances_3d)

@4mm7 我是简单将代码中的len(results)改为了1-len(n_frames)，同时将boxes, labels = nms_filter(results[i].pred_instances_3d)改为了boxes, labels = nms_filter(results[0].pred_instances_3d)

可以详细说一下如何操作吗？哪里的len(results)改为了1-len(n_frames)，感谢！！！


[qcheck-stm] Unable to test a pure interface: "functions returning a SUT value cannot be tested"

I was hoping to use QCheck-STM to test a pure Int31 interface because, although it is designed to test mutable interfaces, it seems to be the only working option for API testing at the moment.
What I tried to do was to test an API with a dummy Int31.t as an initial SUT:
type t
(*@ model i : integer *)

val of_int : int -> t
(*@ x = of_int j
    ensures x.i = j
*)

val neg : t -> t
(*@ j = neg i
    ensures j.i = (- i.i) *)

val show : t -> string

and for the Ortac config:
open Int31lib.Int31
type sut = t
let init_sut = of_int 42

module Pp = struct
  include Util.Pp

  let pp_t b fmt t = Util.Pp.pp_string b fmt (show t)
end

module Gen = struct
  include QCheck.Gen

  let int = int
  let t = of_int <$> int
end

module Ty = struct
  type _ ty += T : t ty

  let t =
    (T, show)
end

But I get a message telling me that neg returns a SUT and thus cannot be tested.
Error: The generated cmd type is empty.
File "int31.mli", line 9, characters 15-16:
9 | val neg : t -> t
                   ^
Warning: Skipping neg: functions returning a SUT value cannot be tested.
File "int31.mli", line 13, characters 0-22:
13 | val show : t -> string
     ^^^^^^^^^^^^^^^^^^^^^^
Warning: Skipping show: functions without specifications cannot be tested.

Is this expected? Can I work around it somehow?

It seems that there is some problem with the version of ortac here. The current main branch has support for testing functions that return SUTs, and the particular error message you are getting is not even part of the reserr module anymore.

ortac --version is saying 0753c72. That’s the current main :thinking:

We seem to have collaboratively solved it. The trick was to pin both ortac and ortac-qcheck-stm to the development version 😄

I confirm this seems to work now :)


Digital camera VideoCapture - connection to gPhoto2 library

I've created connection to gPhoto2 library.
It supports plenty of digital cameras (list) for direct capture, liveview and configuration.
Example of usage - implementation of autofocus.
This is cleaned up pull request after mishmash in #3997

thank you! :+1:


manage dump info directly in elastic

At them moment dump info are stored in postgres, while keeping in elastic can improve search and query.
TODO [on nodump branch]

[x] add hash info and path in elastic
[x] add clamav info to elastic
[x] update download dump function
[ ] update misp export
[ ] put vt/regipy report in elastic
[ ] remove extractedDump table and relative code

misp export and vt/regipy moved [need test]
missing regipy detail page function
extractedDump code removed


feat(dropdown): dropdown toggle

This is a proposal for dropdown toggle functionality. This is just to trigger discussion on the API so thus no tests.

I am fine with this, I'll leave it up to @Foxandxss if he has some other thoughts.

LGTM when you add 300 tests for it :P

LGTM when you add 300 tests for it :P

Will do :-) Thnx for the review.

@Foxandxss @wesleycho added test, PTAL

LGTM

LGTM


feat: vertex support

Added minimum support for vertices
Related PRs:

[ ] https://github.com/yofu/dxf/pull/20

Thank you very much for 3 PRs!


Make 'fork me' and repo url optional.

This will add config variables to remove the top 'Fork Me' ribbon and the link to the github repo in the footer.

@parkr could you take a look at this pr?

Has there been any progress on this? I can make the fixes needed to land this if it helps (at least to land the 'fork me' option).

I no longer have merge permissions in this org, so I'm not going to be able to help anymore sadly! If GitHub would like to add me back I would be happy to contribute as I have free time to do so but for now I'm not able to help out.


Fix and improve heatmap aug wrt interpolation order & value range problems

Codecov Report

Merging #288 into master will decrease coverage by 0.01%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master     #288      +/-   ##
==========================================
- Coverage   93.99%   93.98%   -0.01%
==========================================
  Files          20       20
  Lines        8138     8143       +5
==========================================
+ Hits         7649     7653       +4
- Misses        489      490       +1


uploadSession responds with accessDenied

I'm writing a Ruby SDK to OneDrive API and I'm making use of the new OAuth v2.0 API and the Graph API.
Uploading fragments to uploadSession url on the sharepoint address frequently leads to 401 accessDenied response and the fragments uploaded were simply discarded by the server.
With an aggressive retry strategy I observed an average of 10% success rate. That is, uploading 100MB of data requires approximately 1GB of network traffic if you are lucky.
Slowing down retry frequency does not seem to improve the situation.
Even loading the uploadURL in a browser reads accessDenied.
Is this some kind of throttling? Or a bug?
Code can be found here.
{"error":{"code":"accessDenied","message":"There has been an error authenticating the request."}}

Hi @msg7086, are you hitting a personal or business OneDrive? Are you providing an Authorization header when you make your PUT requests?

Hello, this is a business plan, and I didn't provide the Authorization header during PUT requests.
It seems to me like API throttling, as I just waited for half day and the API was back in business.
My guess is that, since the authorization was done through the graph API, all calls to the sharepoint server with a tempauth needs to be checked by sharepoint server against graph SSO. If that fails, sharepoint just responds with a 401 instead of a 429.

I'm afraid I cannot do it soon (or later) as I haven't hit the same problem since, maybe it was due to that I slowed down the request frequency. I'll post them if I ever hit it again, or anyone else who hits it can post them here as well.
Thanks

Thanks @msg7086, definitely let us know if you see it again. We'll keep this issue for a little while, but may end up closing it if we don't get any new information in a couple of weeks.


Oh


[Feature] faster 'vela workloads / vela traits' command

[x] 1. when install capability, should check if helm chart repo is already exist, if so, don't always add the repo

[ ] 2. add a local cache file to keep all definition hash in a folder, if hash is the same, ignore update check.
[ ] 3. add a timestamp in the local cache file, if vela workloads/traits were executed multiple times in a short period(for example 1min, ignore update)

give a command to list only, don't always check and refresh , such as vela workloads --pure

-1, I don't want to learn there is different between list and list only.

@wonderflow I would like to help on this issue.


Remove useless default styles from core components

As the core components should only come with a minimum set of default styles we should remove the following clientLibCategories from the sandbox components:

core.wcm.components.form.container.v2
core.wcm.components.list.v2

Also the default styles for the breadcrumb (v2) component should minimised

fixed in https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/commit/b602bc1efbb9cb5df4048a9ec8b1f3c82e3b9cf4


Feature Request: Provide a channel to view quota available for Container App resources on Azure Portal

Is your feature request related to a problem? Please describe.
As we know that Pay-as-you-go and trial subscriptions are limited to 1 environment per region per subscription. When we raise a  request for the increase of this limit, and it is granted, there is no way verify it.
Describe the solution you'd like.
Provide a blade on the portal under Container App, to let us know the quota limits for our Container Apps. The blade must include all the quota present on https://docs.microsoft.com/en-us/azure/container-apps/quotas
Describe alternatives you've considered.
The only way to verify the increased quota is to create them, which incurs cost. Moreover, if the quantity requested is more, it is not practical to create that many resources.

Thank you @ractando . We are working on increasing visibility for quotas.

Hi @torosent. Thank you for the acknowledgement. I hope I’ll get updates on any further development in this regard here itself. If not, please let me know where should I look for it. And also is there any ETA?

I recently also made a request to increase the container apps quotas for my subscription. I would also like to be able to view these quotas from the portal in some form like a blade as mentioned above.
Is there any ETA on this feature request?


⚠ Bofrost.fr has degraded performance

In 5ec82e0, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1307 ms

Resolved: Bofrost.fr performance has improved in a73b5e7 after 9 minutes.


Should this project be reverted to .NET Framework?

https://github.com/microsoft/WPF-Samples/tree/master/Sample Applications/PhotoStoreDemo
@oliag
This project is referenced by the article in CODE magazine: https://www.codemag.com/Article/1911032/Upgrading-Windows-Desktop-Applications-with-.NET-Core-3
And in that article it walks you through migrating that project from .NET Framework to .NET Core and references the code repository project as something you can download and use while reading the article. Since the project was converted to .NET Core, that invalidates the article.

Please don’t reference links like https://github.com/microsoft/WPF-Samples/tree/master/Sample%20Applications/PhotoStoreDemo.      Instead reference links like https://github.com/microsoft/WPF-Samples/commit/426660761f16956fcddcfecdf617c8dc3b33475d#diff-44303fd39e936982cb07d9a80bb1df50
Surely the tip of master cannot be kept in stasis because backlinks to it exist on the internet ?

Aside/FYI: there is a netframework branch in this repo for archival/reference.

@oliag is it possible to update the CODE magazine article?


make pageAllocator able to commit part of requested pages

When allocating pages sometimes we only need a part of the pages to be commited. if page allocator support this we can:

simplify pageheap, we do not need to decommit guard pages and maintain the page status in heap block code
some medium block has useless pages in the end, we can only commit necessary part of the pages

@leirocks is this work planned?

not yet

Do you think we should we convert this to a Task and leave it open, leave it as-is, or close it (assuming you're tracking ideas like this outside of the GitHub issue tracker).

there are some other GC works planned may cover part of this issue. I'll update this when that is clear, for now I think just leave it as is.


Storage failure when listing millions of objects in a bucket

(This was reported to me elsewhere; this issue is so I can keep a record of progress.)

Hmm. Have just managed to list nearly 10 million objects in a bucket (9.95 million) without any errors. Will run again periodically...

Failed to reproduce this after trying several times. Closing for now.


Database - how to, declare solution in document for MVP

We now have utility methods handling this.


MapDolbyVision fails when passing in rpu

If you attempt to pass the EL.bin into the function MapDolbyVision you'll get a failure from vs-nlq.
Error:
vpy  [INFO]: VapourSynth Core R66
thread '<unnamed>' panicked at src\funcs\nlq.rs:97:57:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Working code
MapDolbyVision(bl, el)

Failed code
MapDolbyVision(bl, el, el_rpu)

Is passing the el_rpu required/recommended?

The error seems to be at a line where the RPU is missing NLQ info, are you passing a profile 7 RPU.

You are right, I was passing a modified version of the RPU (offsets etc) and it was causing the error. Thanks for the information as usual!


Page Header Refactor

Dependent on this PR (https://github.com/dcos/dcos-ui/pull/649)
This work centers around changes to the Page Header .page-header.

Hiding the sidebar toggle CTA (hamburger menu) in favor of a yet to be built future concept
Introduced page-header-navigation which will replace the previous navigation tabs
New menu-tabbed component supports simple tabs that work almost everywhere are now used in page-header-navigation.
Removed border from sidebar
Upgrade CNVS to support patches
Minor tweaks to the .header

Reviewer: @orlandohohmeier

Merged in the updates made in the cnvs-upgrade/initial-layout branch.  Fire away!

 Ouch!


Allow redis 5

Tests are passing:
 ~/hcp/cb2  allow-redis-5  bundle exec rspec                                                                                ok  09:31:22
..................

Finished in 0.02973 seconds (files took 0.09368 seconds to load)
18 examples, 0 failures

Sorry, intended to merge this into a fork. I am aware this repository is unmaintained at this point in time.


Crashes after a while of use

Crashed once while using and since crashing at launch.

https://appuals.com/how-to-fix-application-error-0xe0434352-on-windows/#:~:text=You may encounter the error,to load its essential components. not valorantcc related.

https://appuals.com/how-to-fix-application-error-0xe0434352-on-windows/#:~:text=You may encounter the error,to load its essential components. not valorantcc related.

The error does not occur on a different account.
From the website you quoted: "The problematic application may show the error 0xe0434352 if the application’s installation is corrupt and due to this corruption, the application fails to call essential application/OS modules/resources"
My guess is the following: The lockfile of the account was corrupted by the program and is unable to be read now.

Hi again,
The program does not modify the lockfile. It only reads it like a normal text file. The guess is invalid. But I'll try to replicate using the steps you provided. The "Your session expired" issue is now being investigated.

Still crashing with that error on the account.


Update useEffect dependency

Description
Update dependency
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Please add some more info about why this change was needed

@hetunandu We were tracking props that didn't need to be tracked. It's a minor thing I noticed when fixing a merge conflict.


Don't run state effects in Vue immediately

Also related to https://github.com/TanStack/virtual/issues/715.
The previous PR https://github.com/TanStack/virtual/pull/716 partially solved the issue by not entering an infinite loop if the elements resized after the virtualizer had mounted but the issue persisted if the virtualizer had just mounted and the effect was running for the first time.
Confirmed in the codesandbox attached to the issue and my own project that this solves the issue.

These changes prevent an infinite loop if the elements are initially measured as a different size to their estimates but still enters one when the elements resize. @piecyk any idea where that might be happening?


Upgrade all available http links to https

name: :memo: Documentation Fix
about: Upgrade to https
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[x] Have the files been linted and formatted?

What docs page needs to be fixed?

Section: API, FAQ, Introduction, Recipes, Tutorials, Understanding
Page: Many pages

What is the problem?
Almost 168 links used http protocol
What changes does this PR make to fix the problem?
Upgraded all http links to https that support https protocol.


Instructions for how to create and monitor service for neard

updating version to 1.12.1
instructions for creating/stopping/monitoring neard.service
instructions for bootnodes fix

Is this PR still valid @jimmy3dita with the revisions just made today to this file?

closing stale PR @abakuz @stefanopepe. Please re-open if still valid.


Archive document-download-frontend

Summary | Résumé
ADR regarding archiving document-download-frontend.
Help requested | Aide requise
Please review, comment and suggest.

I spoke to Antoine about this and he said he kept the front-end in case that we still needed it, i.e. this might happen in the near future that we will have to bring back a download front-end in order to provide users more information, have confirmation or for more advanced user's verification. In the meantime though, we could totally shut down the front-end to eliminate maintenance effort on it.

Just needs a review to decide if we want to do this or not

Decided yes from ADR


Refactor/color picker

Closes # #1861
Description
make the color-picker component headless

Current behavior (updates)

New behavior

Is this a breaking change (Yes/No):
No

Additional Information

I fixed. Could you please review the changes?
@Hayato1031

Test was failed.
Did you run pnpm test in your development environment?

@kurakke
Test was failed.
Did you run pnpm test in your development environment?

@kurakke Test was failed.
Did you run pnpm test in your development environment?

I apologize for forgetting to run the tests locally.
When running locally, the tests fail at different points than they do in the CI.
I am currently investigating the cause.

@Hayato1031
I have rebased the latest changes, and all tests have passed.
Could you please review and confirm?


Make badges in the sidebar menu dynamic

Hi,
I wanted to make the badges in the sidebar menu dynamic and to show an exclamation badge if some of the fields in the database empty using a fetch request.
But it seems like when i am doing the fetch request from the _nav.js file the links from the file are exported before the fetch request is over.
I wasn't able to figure out any other way of doing this but if you do please let me know.
Sample code here: https://jsfiddle.net/w97v0eoc/

Hi @miki996
How did you manage to solve this problem?


Ping command doesn't ping

The ping command pings in testing but not in production

Finished code needs to be uploaded to GitHub for production

It's fixed idk why it doesn't work


Istioctl validate but for installation options

Describe the feature request
We have quite a large values.yaml for istio installation options, which has evolved since like 0.2.  I've no doubt that some of the fields aren't valuable any more but i'm hesitant to remove them through fear of unknown side effects or enforcing defaults which could change in the future.
I'm also thinking it would be good for an end user to be able to validate their config options, before attempting to deploy using them.
Therefore it'd be really nice to have the ability to do something like istioctl validate-config installation.yaml 🤷
This would also help during upgrades to help you spot and deprecated or removed config items.
Describe alternatives you've considered
None really, if there was a json schema provided somewhere which we could validate against, that'd do too.
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[x] Developer Infrastructure
Additional context

@esnible i think you looked into this at one point?

This is a duplicate of https://github.com/istio/istio/issues/21473
I will target that issue for 1.8 and try to prioritize it.  Some of the hooks are present.


fix: avoid setting span to error state when tracing context is missing

Codecov Report
Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.43%. Comparing base (bd46afa) to head (ac6c749).

Files with missing lines
Patch %
Lines

mod_datadog/src/tracing/hooks.cpp
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   68.53%   69.43%   +0.90%
==========================================
  Files           7        7
  Lines         286      301      +15
  Branches       27       28       +1
==========================================
+ Hits          196      209      +13
- Misses         90       92       +2

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


Hystrix config error

ERROR [http-nio-50077-exec-11] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] - Servlet.service()
for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.netflix.hystrix.exception.Hystrix
RuntimeException: search failed and no fallback available.] with root cause
feign.FeignException: status 500 reading Service#search(String); content:
is this something related to hystrix property values defined.

The only piece here which involves Hystrix is
com.netflix.hystrix.exception.HystrixRuntimeException: search failed and no fallback available.

This means that the Hystrix command failed and there was no fallback.  More concretely, the run() method threw an exception and the getFallback() method was not defined.  You should examine why the exception was thrown


Update guzzlehttp/psr7

Hello CMTelecom,
Could you provide a new version of the client with a newer version of guzzlehttp/psr7
currently the constraint is 1.4.* which is pretty old. I want to use the 1.6.x version for my project, but it conflicts with your constraint :(
Kind reagards,
J

Thanks Jeroen for mentioning this. Since updating dependencies breaks the backward compatibility of PHP versions older than 7.2, I have released a v2.0.0 that is specifically updated to the latest dependencies.
I do want to point out that this package has been deprecated for a while, and if you find the time, you should definitely look at the replacement package here

@baspeters didn't know about the new package. Will look into it! Thanks for the fast fix!


Try out Twokenize for the tweet indexing/search pipeline

https://github.com/brendano/ark-tweet-nlp/blob/master/src/cmu/arktweetnlp/Twokenize.java

Not much interest in working on tweet search (anymore)...


Error: Outbound packet larger than maximum message size 65535

Your environment.

Version<EMAIL_ADDRESS>Browser: n/a

What did you do?
Try to send data channel message with length 64KB
What did you expect?
Successfully sent.
What happened?
Errored with:
 Outbound packet larger than maximum message size 65535

Here's where the error originates.
There are three problems:

By default it should allow 64KB
SCTPTransport has remoteMaxMessageSize, but this doesn't get propagated to pion/sctp
remoteMaxMessageSize should be updated based on max-message-size in SDP.

@Sean-Der do we parse max-message-size in SDP, and do we send it?

@Sean-Der I have fixed the default value at<EMAIL_ADDRESS>(the number 1)
In the change, I added:

MaxMessageSize param to sctp.Config struct
MaxMessageSize() to sctp.Association
SetMaxMessageSize() to sctp.Association

So that we could accomplish 2 and 3 I mentioned earlier at pion/webrtc.


Ship barebone typings.

Ironically this package doesn't seem to be shipping it's typings, could they be added?

Sure - would you like to send a PR? You probably just need to make same changes we made for ts-loader; see https://github.com/TypeStrong/ts-loader/blob/master/src/tsconfig.json and https://github.com/TypeStrong/ts-loader/blob/master/package.json
Also https://github.com/TypeStrong/ts-loader/pull/790 and https://github.com/TypeStrong/ts-loader/pull/788
cc @Hotell in case he's any advice

Shipped with 0.4.5 https://github.com/Realytics/fork-ts-checker-webpack-plugin/releases/tag/0.4.5


Automated Package Upgrade

:tada: This PR is included in version 6.0.125 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implemented canFollow/Highlight/Propagate methods that default to tru…

fix #16

I have restarted the job to see if it's green now


Need to establish server in java. Please provide the setup.

Hi @BarjatyaAyushi ,
Unfortunately I do not have any plans to provide additional signaling server implementations.
The goal of this repository is to be educational and give the visitors a good starting point implementing their own WebRTC solution.
Please feel free to explore and learn the code to get familiar with the technology

But we have working with Java. now used node js. any suggestion or direction?

I would suggest to research about signaling server and implement the ideas in Java