Add blazor to this Page in SPA apps

In the linked page, in the SPA section Blazor WebAssembly is missing

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

ID: 0b787325-589c-b5f5-f530-7f1fe12e075e
Version Independent ID: 6d678569-0ebe-f2ef-ecd7-69cc62b4b7be
Content: Microsoft identity platform authentication libraries
Content Source: articles/active-directory/develop/reference-v2-libraries.md
Service: active-directory
Sub-service: develop
GitHub Login: @mmacy
Microsoft Alias: marsma

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

@MACEL94 Please use this example for your requirements https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-blazor-webassembly . We have created an internal request for the content team to review this and link blazor examples.


Related tools

Hi! I saw your repository and took a look - for related tools you can also include Singularity Compose, which does actual orchestration for Singularity containers (volumes, networking, etc.). Thanks!

resolved in the commit https://github.com/JasonYangShadow/lpmx/commit/ebdc7223c74c6f11d73d52b5d8abc04c8d6a9d94

Thank you!


Math operations don't work with CudaHalfTensor on a Pascal card (1080)

th> a=torch.CudaHalfTensor(2,2):fill(2)
th> a:mul(2)
 0  0
 0  0
[torch.CudaHalfTensor of size 2x2]
th> a:fill(2)
 2  2
 2  2
[torch.CudaHalfTensor of size 2x2]
th> a:add(2)
 2  2
 2  2
[torch.CudaHalfTensor of size 2x2]

This is not caught by the tests, because tests only test cmul (rather than mul), and for add they test only adding tensors, not adding number to a tensor. It would be good to merge https://github.com/torch/cutorch/pull/521 or at least disable fp16 math for simple operations while leaving it on for hgemm.
I have a fresh install from torch-distro (that points to 6-day old commit of cutorch, aa13020), luarocks install cutorch fails as in https://github.com/torch/cutorch/issues/541

@ngimel fixed the master cutorch failing

@ngimel i will fix this bug right now but i need some clarification on what you say about disabling fp16 math.
https://github.com/torch/cutorch/pull/521/files seems like more of a hack than anything. Our P100 users wont magically know that they can now enable this flag.
Is there a way to find out whether the cards have half instructions at "slow" rate or at full rate? (if it's a small program that can check for this, i can add it to the cmake build)

P100 has compute capability 6.0, all other Pascals are 6.1, that can be used to differentiate between them.
I'd say that this
https://github.com/torch/cutorch/blob/master/lib/THC/THCHalf.h#L13
has to be defined to 0 always (it is used in bandwidth-bound pointwise tensor operations, and wouldn't have any performance advantages even on P100. Besides, it is buggy, as I've shown in this issue, and it is still buggy with cutorch master). THC_nativeHalfInstructions (that's used to determine which gemm version to use) can return 1 on P100 and 0 on other Pascals.

@ngimel ok i'm making these changes shortly. apart from the add bug, if you find anything else, do report, and we'll fix.
Thanks.


add app halloween countdn

Description
New application that counts down to halloween!
Copilot

🤖 Generated by Copilot at 1b34729
Summary
🎃👻🗓

This pull request adds a new applet called Halloween CountDn that displays the number of days until Halloween with animated GIFs. The applet consists of two files: halloween_countdn.star for the code and manifest.yaml for the metadata.

Halloween CountDn
Ghost and pumpkin GIFs countdown
Autumn applet fun

Walkthrough

Create a new applet for displaying the number of days until Halloween using animated GIFs (link, link)

Add the code for the applet in halloween_countdn.star using the base64, time, math, and render modules (link)
Add the manifest file for the applet in manifest.yaml with the applet metadata (link)
Use the config parameter to get the user's timezone or default to America/New_York (link)
Return a render.Root object with a delay of 500 milliseconds and a render.Row child with three render.Image and one render.WrappedText children (link)

I have read the CLA Document and I hereby sign the CLA


Game Crashing because of resource pack

My game crashes every other time I try to load magic RP and crashes on disconnect as well, I don't know if others are having this problem, but it only does this on my server with magic and is fine on other servers with different RP...

I’m afraid there’s nothing I can do about that. This is why the rp does not load by default, some computers just can’t handle it.
The plug-in should be usable without the RP. Sorry.

Oh, but if you have not already tried it, use /getrp lowres, see if the low-res RP works better for you.
Unfortunately if it’s the wand models then there won’t be a fix, but if it’s the hi-res spell icons the lowres one may work better.

Ok thanks, all of a sudden after posting this the issue was resolved, but if it happens again I'll try the lowres version. Thanks for your help!


Fix blobmanager manage

44e7a04
BlobManager has a manage() function that is scheduled to run every second. The only thing it does is delete blobs marked for deletion by the delete_blobs() function. There is no really good reason why we can't just delete the blobs right away. Remove the manage() function and simplify blob deletion function by using inline callbacks.
1fed5f9
Added unit tests for BlobManager.
4400d51
In test_misc.test_double_download() function test, check_lbry_file() was being called after delete_lbry_file().
Since we now delete blobs right away instead of scheduling them, this test was failing. Call check_lbry_file() after delete_lbry_file().
Fixes https://github.com/lbryio/lbry/issues/693

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

          1 Message

:book:
See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines

  Generated by :no_entry_sign: Danger

Looks good to me.
FYI someone told me that if you put Fixes #693 in your commit message, Github will automatically close the issue when the commit is merged. Not sure if this is true or not.

rebased to master


[ENH] Start HCP ingress functionality

Changes proposed in this pull request
Add HCP ingress functions
Documentation that should be reviewed
None yet, will be added in PR later

Codecov Report
Attention: Patch coverage is 14.63415% with 105 lines in your changes missing coverage. Please review.

Project coverage is 33.09%. Comparing base (c80616e) to head (4c0a3c4).
Report is 1 commits behind head on main.

Files
Patch %
Lines

qsirecon/utils/ingress.py
13.15%
33 Missing :warning:

qsirecon/interfaces/ingress.py
21.87%
25 Missing :warning:

qsirecon/workflows/recon/anatomical.py
0.00%
23 Missing :warning:

qsirecon/workflows/base.py
0.00%
13 Missing :warning:

qsirecon/interfaces/anatomical.py
35.29%
11 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
- Coverage   33.42%   33.09%   -0.33%
==========================================
  Files          56       56
  Lines        6825     6943     +118
  Branches      894      911      +17
==========================================
+ Hits         2281     2298      +17
- Misses       4446     4547     +101
  Partials       98       98

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

@tsalo @mattcieslak running into some issues. I showed Matt earlier, but it looks like during workflow building, QSIPrep is checking for the BIDSified file (e.g., /bids/sub-100307/dwi/sub-100307_dwi.nii.gz) before it is produced. This precludes Nipype workflows from starting, and therefore no working directory as well.

Is there a particular node that expects the file to exist?

Yes
summary = pe.Node(
        SubjectSummary(
            subject_id=subject_id,
            subjects_dir=config.execution.fs_subjects_dir,
            std_spaces=["MNIInfant" if config.workflow.infant else "MNI152NLin2009cAsym"],
            nstd_spaces=[],
            dwi=dwi_files,
        ),
        name="summary",
        run_without_submitting=True,
    )

Full traceback:
Process Process-2:
Traceback (most recent call last):
  File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon/cli/workflow.py", line 140, in build_workflow
    retval["workflow"] = init_qsirecon_wf()
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon/workflows/base.py", line 61, in init_qsirecon_wf
    single_subject_wf = init_single_subject_recon_wf(subject_id=subject_id)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsirecon/workflows/base.py", line 301, in init_single_subject_recon_wf
    SubjectSummary(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 563, in __init__
    super(SimpleInterface, self).__init__(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 202, in __init__
    self.inputs.trait_set(**inputs)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/has_traits.py", line 1520, in trait_set
    setattr(self, name, value)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/nipype/interfaces/base/traits_extension.py", line 424, in validate
    value = super(MultiObject, self).validate(objekt, name, newvalue)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/trait_types.py", line 2699, in validate
    return TraitListObject(self, object, name, value)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/trait_list_object.py", line 582, in __init__
    super().__init__(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/trait_list_object.py", line 213, in __init__
    super().__init__(self.item_validator(item) for item in iterable)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/trait_list_object.py", line 213, in <genexpr>
    super().__init__(self.item_validator(item) for item in iterable)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/trait_list_object.py", line 865, in _item_validator
    return trait_validator(object, self.name, value)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/trait_handlers.py", line 873, in validate
    return self.slow_validate(object, name, value)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/trait_handlers.py", line 881, in slow_validate
    self.error(object, name, value)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/traits/base_trait_handler.py", line 74, in error
    raise TraitError(
traits.trait_errors.TraitError: Each element of the 'dwi' trait of a SubjectSummaryInputSpec instance must be a pathlike object or string representing an existing file or a list of items which are a pathlike object or string representing an existing file, but a value of '/bids/sub-100307/dwi/sub-100307_dwi.nii.gz' <class 'str'> was specified.

We could switch it from requiring existing files to just requiring filenames. What about adding run_without_submitting=True, to the HCPIngress node?

adding run_without_submitting=True did not fix it, same message

In that case I recommend changing the SubjectSummary interface to not require an existing file.

@tsalo that seems to have worked!

Now working on it at https://github.com/PennLINC/ingress2qsirecon/pull/1

Closing in favor of #102


Steamworks flat interface overhaul

Hey Gramps!
I've just updated the Steamworks SDK.  Version 1.48 includes a pretty big overhaul to the flat interface, and a new windows-event-like manual callback dispatch mechanism.  The goal is to make binding layers like this easier to write.  Less manual maintenance, and less gross hackery under the hood.
When you get a sec, please take a look at it, and if you have any questions or complaints, email me.

Hey Fletcher,
That's awesome!  I was just in the Steamworks site today and didn't see the 1.48 update but just logged in and there it is!
An overhaul to the flat interface is very exciting as is the new callback dispatch.  I will dig into this all over the weekend.  Glad to hear this is going to make everything easier.
Thank you so much for the update and I'll definitely let you know if I have any questions or such!  Cheers!


⚠ Bofrost.at has degraded performance

In 61c689b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1647 ms

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


A minor code redundance in engine/test.py

in engines/test.py, under semsegtester, there is this snippet of code:
for i in range(len(fragment_list)):
# fragment_batch_size = 1
 s_i, e_i = i * fragment_batch_size, min((i + 1) * fragment_batch_size, len(fragment_list)')
input_dict = collate_fn(fragment_list[s_i:e_i])
I found it to be quite redundant, since fragment batch size is always 1, why not simply do
 input_dict = collate_fn(fragment_list[i])?

As code supports custom fragment_batch_size, but I manually block this function as not enough time to verify the accuracy.


change function doesn't work

  const wysiwygeditor = $('#lastP').wysiwyg({
  }).change(() => console.log('change')).focus(() => console.log('focus')).blur(() => console.log('blur'))

I get console logs for both focus and blur but not the change

This is working for me with
    let element = this.$.editor1;
    $(element).wysiwyg({
        class: this._getCSSClass(),
        buttons: this._getButtons(),
      })
      .change((evt) => this._handleChangeContent(evt, element));

What's the release or commit id you're working on?


Add dishwasher control cluster xml

This PR primarily adds the dishwasher control cluster XML prior to the start of the SDK work needed to implement the dishwasher device type for Matter 1.2.

@rbultman You need to run zap_regen_all.py, looks like?

Should I be committing all of the C, java, and other files that get updated when zap-regen-all is run?

Yes.

I assumed those were essentially "build" files and would not need to be committed.

There is some build-time codegen, but the files that are generated at build time are not committed at all, and are not present in the source tree at any point, generally.  The files you see getting modified when zap-regen-all is run need to be committed in the modified state; they are not generated at build-time.

Android fails with
INFO    2023-05-05 17:34:00 CRITICAL    'jni/DishwasherControlClient-ReadImpl.cpp' was generated but not expected
INFO    2023-05-05 17:34:00 CRITICAL    'jni/DishwasherControlClient-InvokeSubscribeImpl.cpp' was generated but not expected

you should add the new files into src/controller/data_model/BUILD.gn

The dishwasher control cluster is being removed from the 1.2 ballot so this PR is being closed.


Fix Vulnerabilities in the Hatchet Docker Image

403 vulnerabilities have been found in the Hatchet Docker image obtained from ArtifactHub. The image requires a thorough security review and patching of all identified vulnerabilities.
https://artifacthub.io/packages/helm/hatchet/hatchet-stack

Hi @chaitanyakoodoo, the hatchet-stack image bundles rabbitmq and postgres as dependencies, which is where the vast majority of these vulnerabilities are coming from, and most of them are not fixed in any rabbitmq/postgres version and are  likely not considered vulnerabilities by those projects.
We'll go through and look at any criticals reported in the Hatchet images there.


Move ReplacedBy to org.gradle.api.work

So other work related annotations and types can be next to it.

We'll leave the annotation in org.gradle.api, given that it is used for non-work related stuff as well.


Allow saving/serializing a const Model

TinyGLTF::WriteGltfSceneToFile currently take a non-const Model.
It looks trivially scattering a few 'const' keywords will almost allow a const Model to be saved.
In doing so, see https://github.com/syoyo/tinygltf/pull/393, there are a couple of places that cause problems.

The WriteImageDataFunction callback takes a non-const Image and
the default implementation expects to be able to write the written URI back to the source.

This might not be possible to do as it'd break the feature of being able to inspect the image URIs after saving. Is this worth persuing or would it break too much? (feel free to close the pull request if so)

@pknowlesnv Thanks! Let me give some time to review PR.

The WriteImageDataFunction callback takes a non-const Image

I think I(or contributor) simply forget to add 'const', so const should be added to Image. This won't break the app which uses WriteImageDataFunction so much.

Closed via https://github.com/syoyo/tinygltf/pull/393


Directory level config.  Directory level IP request filter.

Added directory level config.json processing for ignore and filter rules.
The purpose for this is to allow the "ignore" and new "filter" rules to be defined within a directory.  This allows for a directory to contain previously allowed files / folders that are then ignored by the specific rules.  This also allows for directory level filters to be applied for limiting request access.
Added ip request filtering (config key filter.ips).
The purpose of this filter is to restrict access to a folder by remote ip address.  This filter is evaluated during the tree build and prevents the node from being added to the tree object entirely.
	{
		"filter": {
			"ips": ["<IP_ADDRESS>"]
		}
	}

I gave this a thought and I might have an idea to make this solution more generic.
First, I would separate this in two features/Pull requests :

Directory level configuration handling
IP Filtering

Directory level configuration handling
This one could be handled in two different ways, the first and most obvious one is to read a config.json file in the folder in question. as you did.
I thought of the second one when I was trying to figure out how to store the configuration to a folder in the configuration without cloning it (cloning the configuration is dangerous as I use the fact the object is shared across the whole application to propagate configuration changes; like theme rebase on generation) We could simply have this configuration in config.json at the root of the documentation:
{
 "directory": {
    "More_Examples": {
      "ip_filter": "<IP_ADDRESS>"
    },
   "More_Examples/subdirectory": {
      "ip_filter": "<IP_ADDRESS>"
   }
 }
}

Both ways to configure would be complementary to each other, and the configuration would be retrieved by a call to getLocalConfiguration() on a Directory instance.
What do you think about that ?
IP Filtering
I think this feature is pretty much an edge case, I'm not sure a lot of people will use that feature.
That said, if you're willing to add it and will use it, I see no reason to refuse it.
What I propose you is to implement it as a Processor, by adding a hook on all directory creations.
What do you think ?

I appreciate you thinking this through, and I always prefer the generic solution.  These are certainly two unique topics that merit their own consideration.
Directory Level Configuration
I agree that cloning the configuration can lead to serious complications, and your solution does solve that problem.
The scenario in which we found the inheritance useful was when using the software to display documents from multiple sources.  We have a separate repository for each document package, and have mapped them into a single docs folder to work with the app logic.  We prefer that each repository stay compartmentalized.  Without having some mechanism for configuration inheritance, we are forced to translate changes from each repository into the single configuration.  This can obviously lead to integrity issues.
Your solution for name spacing the directory specific configuration values is wonderful.  I can imagine how that can be expanded with future values, like entry specific theme or route options, while maintaining separation from core system values.
To achieve this we can adjust your assertion that config.json be found only in the root folder, and merge the two concepts to allow subsequent config.json files to be parsed within a directory node, but inherit those values into the "directory" portion of the configuration object.  We can rename "directory" to "entry" so that the logic can translate to any node.  We could go a step further and allow import to include a "entry" array that is merged with the existing, allowing a single config.json file for a repo to control all subsequent content.
/config.json
{
  ... main values ...
  "entry": {
    "PackageA": {
      "ip_filter": "<IP_ADDRESS>"
    }
  }
}

/PackageA/config.json
{
  "ip_filter": "<IP_ADDRESS>"
  "entry": {
    "Introduction": {
      "ip_filter": "<IP_ADDRESS>"
    }
  }
}

** resulting configuration **
{
  ... main values ...
  "entry": {
    "PackageA": {
      "ip_filter": [ "<IP_ADDRESS>", "<IP_ADDRESS>" ]
    }
    "PackageA/Introduction": {
      "ip_filter": "<IP_ADDRESS>"
    }
  }
}

Value precedence would still be an issue and may be relegated to the type of value and definition.  In the preceding example, the original value of entry.PackageA.ip_filter is appended to contain both values.  Precedence could be simply a hard merge or overwrite rule.  The merge option could be the safest option, and for cases where a single value is needed the last in the stack is assumed.  Thinking out loud...
There are I'm sure other considerations to be made here, but I believe this approach can provide a safe convention for node specific arguments that can be defined at any level of the tree.
Thoughts?
IP Filtering
We are already using it so yes it would be useful for us, but we could work from a fork if necessary.
Regarding placement, this would be nice to have isolated in the processor and hooked into the directory.  We would need to overload the Daux\Tree\Directory constructor to prevent setParent from being called. Alternatively we could parse the whole tree and then implement the filters within the routing or navigation display operations.  For simplicity though I think aborting during the build is our best option.

That's right, an entry could also have a configuration, I was thinking that this could be handled by markdown content metadata. but this works also.

I think this should go in a plugin once this is supported


Label cannot be multiline in Arabic text

Tried numberOfLines = 2
And Height is also enough to accommodate.
Following is the code, where lblPrivacyPolicy is the label
lblPrivacyPolicy.numberOfLines = 2
let customType = ActiveType.custom(pattern: "\\sخدمة وسياسة\\b")
lblPrivacyPolicy.enabledTypes.append(customType)
lblPrivacyPolicy.text = "أوافق على بنود خدمة وسياسة خصوصية تطبيق ميحد حمد"
lblPrivacyPolicy.textColor = .white
lblPrivacyPolicy.customColor[customType] = kGoldColor
lblPrivacyPolicy.customSelectedColor[customType] = .white
lblPrivacyPolicy.handleCustomTap(for: customType) { _ in print("Custom type")
            self.poppop()
}

is still this issue is this issue still exist ?

Hi @RajChanchal, if you change your lblPrivacyPolicy.text to English with the same number of character or more, does it show without truncating?
Just checking to make sure this doesn' happen because of other reasons. We have users who are using RTL languages and never reported something like this.

Hi @maziyarpanahi  This issue only appeared with System font as I know. and I find another issue if include ActiveLabel in Cells inside table view it's causing a lag in scrolling.

I was about to say this about system fonts for RTL languages. So I close this issue as this has not related directly to the library. Feel free to open a new issue for the performance. (There is a closed issue about performance also related to the RTL language, I suggest to take a look at that maybe it helps)


Code refactor

Code refactored,
test cases updated
test containers used for Postgres verticle.

Resolved all issues in #52

retest this please


doctor reports valid JDK path as invalid

On MacOS, Bubblewrap is declaring the path to the JDK as invalid.
To Reproduce
Steps to reproduce the behavior:

On MacOS, Install a JDK and Bubblewrap
Run bubblewrap doctor

Expected behavior
doctor reports the JDK as correctly configured.
Actual behavior
It shows an error:
doctor ERROR The jdkPath isn't correct, please run the following command to update it:
bubblewrap updateConfig --jdkPath <path-to-jdk>, such that the folder "here" contains the file "release". Then run bubblewrap doctor again.
ENOENT: no such file or directory, open '/Users/andreban/IdeaProjects/sdks/jdk/release'

Desktop (please complete the following information):

OS: MacOS

Additional context
On MacOS, the release file the doctor command is looking for is under a different folder, under Contents. Example: /Users/andreban/IdeaProjects/sdks/jdk/Contents/Home/release. JdkHelper implements this for other cases.
@chenlevy24

Closed via #312


The RSA key is already a 4096 bit-length by default.
Use a service like Qualsys SSL Server Test/ to list parameters of the generated certificates.

Just a comment to say 4096 bit keys take out 10x longer to process (and possibly more, depending on the mobile device, hardware acceleration, even the kernel) - and they add zero value compared to 2048 bit keys for now at least.


Disabling crawler shows inconsistent behaviour on static site generation, also breaks navigation and route payload

Im creating a static website with data from an API.
First I request the navigation structure and the pages content at the build:before hook and store it in JSON files which are manipulated via APIService.js file.
After this I create the routes and respective payloads at generate:before hook inside the  dynamicRoutesGenerator.js module.
Also created a plugin staticAPI.js where I expose objects with the data from the JSON files and also some functions to help me find the data I need.
This may not be relevant to the issue, but I'm new to nuxtjs and would like to find someone or a place to discuss my approach, which I don't find much elegant but gets the job done. I already read and tried a bunch of stuff. While I was testing I found some of the code would run twice. At this point I already read about the crawler feature and tried to disable it.
I think I don't even need the crawler: false option to get my project running. Thinking about performance, with more routes to generate, it could be something necessary.
This is a weird issue worth of being described and I also figured out it could be a good chance to get involved and help nuxtjs improve in some way.
Versions

nuxt: v2.15.4
node: v12.18.4

Reproduction
https://github.com/brunomptavares/nuxtjs-crawler-issue-repro
Steps to reproduce
Clone the repository and run 'npm run generate'
What is Expected?
That everytime the command is run, the proper folder structure is created inside the /dist folder. For this repro 3 folders should be created inside /dist folder: A, B and C, corresponding to 3 different routes.
Payload files are created inside the respective folders according to the routes.
Navigation should be normal.
What is actually happening?
When run for the n try the folder structure is created like mentioned above. When run for the n+1 try the folders will not be created. And this keeps happening as long the generate command is run. On my full project, for the n+1 try only 1 out of 15 the folders is created.
The payload files are not created with the expected folder structure, however there is one payload file which looks like it has all the payload info.

Navigation gets broken. Clicking on the navigation links changes the route but does not show the content. Refreshing the page briefly shows the content but suddently dissapears and errors are thrown in the console.

@danielroe Inside each hook I log to the console the hook name and in every run I see it being logged to the console. Everytime this is the output in the console, although the routes order may change.

About the payload I'm already using that feature, but I don't think it's feasible to store all the web site data in the payload because, from what I understand, that means the data will be stored in a payload file, for each route created, right?

@danielroe You are totally right, I was getting confused by the generate:before log. It doesn't look the best hook to perform such actions. I appreciate your explanation about the payload.
However, it seems that even if the hook it's not being called (at n and n+1), the described issue is still present. Even if I change the files and the build:before hook is actually triggered (at n or n+1)  I get the same behaviour.

Actually if I remove the dist folder before the generation it never raises this issue. Sounds like an (relative) easy fix. I would like to work it out but have no clue on where to start.


fix(derive-alloy): changelog

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#752 👈
main

This comment was automatically generated by st.


States in a country

Add command to list the number of states in a country

Also, provide a functionality where -c gives the name of the capital


Unable to display Unicode characters

alacritty is apparently unable to type Unicode characters, such as æøå. On the empty lines in the attached screenshot, I’ve tried typing “æøå“.
Interestingly, it is possible to paste Unicode characters into the terminal.

alacritty has problems accepting input from non-us keyboard layouts, that might be the reason

That would explain it. The keyboard layout in this case is Norwegian (bokmål) on Linux.

I found keyboard input to hang (no longer accepting input until restart) when typing Option-` on the US layout or the equivalent key on the ISO Spanish layout. I'll keep watching this and try again of this is improved, great work though!

I think it's a keyboard input method issue rather than not handling unicode since you're saying you can paste them.
This seems to be the same thing as issue #55 and can be fixed by modifying the version of glutin alacritty depends on.

If you want a quick fix for these particular letters, update https://github.com/jwilm/glutin/commit/af7fe340bd4a2af53ea521defcb4f377cdc588cf with (and make alacritty depend on your version):
diff --git a/src/api/x11/events.rs b/src/api/x11/events.rs
index 4754b1dc..5fb1771a 100644
--- a/src/api/x11/events.rs
+++ b/src/api/x11/events.rs
@@ -305,8 +305,8 @@ pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> {
         //ffi::XK_Acircumflex => events::VirtualKeyCode::Acircumflex,
         //ffi::XK_Atilde => events::VirtualKeyCode::Atilde,
         //ffi::XK_Adiaeresis => events::VirtualKeyCode::Adiaeresis,
-        //ffi::XK_Aring => events::VirtualKeyCode::Aring,
-        //ffi::XK_AE => events::VirtualKeyCode::Ae,
+        ffi::XK_Aring => events::VirtualKeyCode::Aring,
+        ffi::XK_AE => events::VirtualKeyCode::Ae,
         //ffi::XK_Ccedilla => events::VirtualKeyCode::Ccedilla,
         //ffi::XK_Egrave => events::VirtualKeyCode::Egrave,
         //ffi::XK_Eacute => events::VirtualKeyCode::Eacute,
@@ -325,7 +325,7 @@ pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> {
         //ffi::XK_Otilde => events::VirtualKeyCode::Otilde,
         //ffi::XK_Odiaeresis => events::VirtualKeyCode::Odiaeresis,
         //ffi::XK_multiply => events::VirtualKeyCode::Multiply,
-        //ffi::XK_Ooblique => events::VirtualKeyCode::Ooblique,
+        ffi::XK_Ooblique => events::VirtualKeyCode::Ooblique,
         //ffi::XK_Ugrave => events::VirtualKeyCode::Ugrave,
         //ffi::XK_Uacute => events::VirtualKeyCode::Uacute,
         //ffi::XK_Ucircumflex => events::VirtualKeyCode::Ucircumflex,
diff --git a/src/events.rs b/src/events.rs
index 69b4710d..a3d01614 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -254,8 +254,10 @@ pub enum VirtualKeyCode {
     AbntC1,
     AbntC2,
     Add,
+    Ae,
     Apostrophe,
     Apps,
+    Aring,
     At,
     Ax,
     Backslash,
@@ -291,6 +293,7 @@ pub enum VirtualKeyCode {
     NumpadEnter,
     NumpadEquals,
     OEM102,
+    Ooblique,
     Period,
     PlayPause,
     Power,

Hopefully this will all get fixed when glutin stabilises!

It's handling keyboard layout fine, including custom x remaps of course. Inserting uncode like €, ¿ or · is also fine, but not å,ä or ö nor their capitals.
Dead keys in the key layout are also not handled. (AltGr and diaeresis then space → ~).

I just pushed a branch with fix-intl-input. I think this should solve a lot of the problems mentioned here. Would anyone be willing to try it?

Just tried fix-intl-input, now äöå are working. Thanks!

I think the original issue being discussed here has been resolved. Closing in favor of #211.

@jwilm forgot to close? ;)

@theduke thx


Link to src from documentation

Here: http://eonasdan.github.io/bootstrap-datetimepicker/
Please add link like "fork me on GitHub".

+1 and some way to download from the documentation pages. And installation instructions there.


http/2: correctly handle reset after complete response

nghttp2 will cancel outgoing frames if a reset frame is submitted before
previous headers/data frames are sent. We handle this case by deferring
the reset until we actually send the full response.

@lyft/network-team


Testfailures  - Try to repair

Tests succeed. I had to fix the test syntax, and then update the Robolectric framework to a version compatible with the current SDK. While I was in there, I updated Gradle and a few other components.


Correct invalid use of headers and improve install argument example

I noticed some invalid markdown when browsing the composer package on chocolatey.org
and figured to open a PR to fix those.
Also corrected the statement of using package parameters (which is untrue, as it is installer arguments) as well as improving a little on the example of passing the installer arguments.

@AdmiringWorm
Thanks, that is brilliant (I'd already spotted the invalid markdown and was gonna leave it for the next release).
Now to get it working on the Verification Tester (I'll set up an local test environment, which I probably should have done in the first place!). Do I still need to push a revised version, now that it ias failed?

@johnstevenson I would wait with pushing a revised package version, at least until you have managed to set up a local test environment to figure out the correct cause of the build failure.
But yes, to get the build failue fixed you would need to push a new version.
If there isn't anything to fix, but need to add the exemption again, then you can use the Contact Site Admins as you did earlier. You may in that case also be asked to add the same statement in the review box so there is a paper trail.
Personally I do not think the failure is because of the PHP package, more likely it is due to one of its dependencies requiring a reboot. But I could be wrong of course.

@AdmiringWorm Spot on.
php won't actually execute. Hmm, I thought things had moved on, so I'll request an exemption again!
I only wanted the nice green ball (rather than half of one!) because I'm going to submit the chocolatey composer package to be included on Window Server 2019 builds for GitHub-hosted virtual environments (https://github.com/actions/virtual-environments) and thought it might help my case.
Is it worth submitting this as an automatic package to https://github.com/chocolatey-community/chocolatey-coreteampackages ?

php won't actually execute. Hmm, I thought things had moved on, so I'll request an exemption again!

Yeah, unfortunately everything that requires a reboot to successfully install won't work without an exemption on the community repository. There are plans to make the verifier to handle reboots, but it is not there yet.

Is it worth submitting this as an automatic package to chocolatey-community/chocolatey-coreteampackages ?

That depends really, on what the expectations would be.
While we don't reject PR's for migrating packages to the core team packages repo (as long as they follow the guidelines), there are certain conditions that are expected out of you (as you are the current maintainer).
The main condition is that you would still be responsible for fixing errors that occurs (whether they be for install/uninstall/upgrade or updates), as well as responding to users with questions regarding the package (this is more as you are more familiar with the software than we would be).
^^ That don't mean that me or other maintainers won't step in at times to fix/respond to issues of course.

@AdmiringWorm Sure, I understand.
I do reply to all the issues at https://github.com/composer/windows-setup (this was initially my repo at https://github.com/johnstevenson/composer-setup which was transferred).
And I did respond to the single chocolatey user issuer: http://chocolatey.org/packages/composer#comment-3719620112
It is entirely up to you,

@johnstevenson you are free to migrate the package over if you want.
We in the core team repo usually don't migrate packages for others, but rather other users and/or maintainer migrate them over.
Just make sure it follows: https://github.com/chocolatey-community/chocolatey-coreteampackages/blob/master/CONTRIBUTING.md
and the migration guidelines: https://github.com/chocolatey-community/chocolatey-coreteampackages/wiki/Package-migration-process (Don't actually delete the files until after the migration is complete).


IaaS definition

Please provide your feedback

Thanks, @kumardeni. Please give us a little time to review and get back with feedback.


Fixed up a new Structured Output Mode

This adds support for OpenAI's new structured output mode with instructor using the same conventional api that we're using otherwise.

:rocket:
This description was created by Ellipsis for commit b0907147a1191fb8fab3d8d7656e5994dab63679

Summary:
Introduced structured output mode for OpenAI API with updates to client, response processing, and tests.
Key points:

Added support for OpenAI's structured output mode.
Updated Mode.STRUCTURED_OUTPUTS in instructor/mode.py.
Enhanced instructor/client.py for STRUCTURED_OUTPUTS mode.
Modified instructor/function_calls.py to parse structured outputs.
Adjusted instructor/process_response.py for STRUCTURED_OUTPUTS mode.
Updated instructor/retry.py for STRUCTURED_OUTPUTS mode and validation warnings.
Changed test client initialization to instructor.patch.
Removed STRUCTURED_OUTPUTS from tests/llm/test_openai/util.py.
Updated .github/workflows/pyright.yml and pyproject.toml for dependency updates.
Fixed dump_message in instructor/utils.py for JSON content handling.

Generated with :heart: by ellipsis.dev

why instructor still has more features

To help grease the wheels for whoever is working on this

arbitrary Python-executed @model_validator code ofc.
retries when these validators fail, passing error messages back to LLM
default parameters and optional fields are fine with Instructor

Sure thing. I kind of wanna let their API stabilise a bit more too before pushing out a new release, there's a lot of things they don't support (Eg. Streaming ) and I'd like to document some of these individual modes before we push it out,.

They also don't support certain things inside the schema definitions such as "min_length", "default", ... I don't have an exhaustive list, but I believe instructor should filter these out and treat those in the old way through retrying

We would greatly appreciate expedient merger of this PR. If it is not merged in the next few days it is likely we will need to abandon instructor.

aside from documentation what else needs to be done?

@jxnl Check my comment, unless you suggest doing that in a separate PR

We would greatly appreciate expedient merger of this PR. If it is not merged in the next few days it is likely we will need to abandon instructor.

That's fine. Can't say no to one less dependency.
Just be warned that many things in Pydantic are not supported and it's slower.

We're very interested in this feature as well as a way to streamline conversion to the structured API as soon as possible, and the other instructor functionality feels more than valuable enough to justify its continued use. But, could anyone shed light on why "it's slower"?

We're very interested in this feature as well as a way to streamline conversion to the structured API as soon as possible, and the other instructor functionality feels more than valuable enough to justify its continued use. But, could anyone shed light on why "it's slower"?

From my understanding there are two main things that make it slower

It's using constrained sampling behind the scenes - this means that they need to manually parse your json schema and convert that to a grammar protocol. This can take up to 10s for more complicated issues
it might be faster for subsequent requests but these structured outputs are no longer under the zero data retention policy, they do cache some of your data as a result to make it faster.

General 2 cents is that most models work decently well with the normal. tool calling, might as well use that and hook into retries

Implemented a better version in #938 which adds support for streaming, iterables and more


I can't see tracks which are now playing

I just can't see the tracks which are being scrobbled right now and like i can't / don't know how to adjust the how much scrobbing in the plugin

I'm not sure what you mean. Is the script running without errors?

i meant like the songs i am playing should be updated in real time instead of like me waiting for it scrobble then i can show what i am listening to.

"and don't know how to adjust the how much scrobbing in the plugin"
here i wanted to like adjust the scrobbling rate (which is like after the song gets to 50%/60%/70% the track is scrobbled and added to last fm)to like x y z percentage

i meant like the songs i am playing should be updated in real time instead of like me waiting for it scrobble then i can show what i am listening to. so thats a hit or a miss most of the times

If this is the feature you're referring to, unfortunately, I have no plans to add this.

"and don't know how to adjust the how much scrobbing in the plugin"
here i wanted to like adjust the scrobbling rate (which is like after the song gets to 50%/60%/70% the track is scrobbled and gets added to last fm )to like x y z percentage

And that's for this exact reason, scrobbles are made as soon as the track starts playing, so these features would go hand-in-hand, I would recommend implementing the Last.fm API recommended scrobble rules, rather than a percentage of the track, those rules are:

The track must be longer than 30 seconds.
And the track has been played for at least half its duration, or for 4 minutes (whichever occurs earlier.)

One could implement this feature by creating a "Now Playing" request on mpv's start-file event and storing the track metadata in a temp file (Overwriting any existing metadata). Then, since we have the total track duration handy, you could have the script sleep until the halfway point of the track, and which point it will read the metadata from the temp file, and if it differs from the metadata stored before it slept, it scrobbles the track.
If this sounds like something you (or anyone reading this) would like to have, and are capable of implementing without any dependencies, feel free to make a Pull Request :)


Add lda impliment

Thanks. I'll merge this, but it would be good to get some more tests for this, maybe on longer documents? Although I'm not very sure about how they should look.


PushGateway support

Hi,
Are there any plans to add support for pushing metrics to Push Gateway? The reason I'm asking it that we're running lots of containers on ephemeral ports, and scraping them with Prometheus is really non-trivial. In theory we could aggregate with cAdvisor, but its app metrics support is in alpha and isn't easy to set up either.
So using PushGateway as a workaround (similar to andrasm/prometheus-net) could be a decent solution to this.
Thanks.
@alhardy

@bdrupieski I will move it over to this repo, I left it for now when combining repos because it was failing to build.

I also face issues in pushing metrics to prom/pushgateway. Here is my solution code:
`var metrics = new MetricsBuilder()
.Report.ToConsole()
.Report.OverHttp(options =>
{
options.HttpSettings.RequestUri = new Uri("http://<IP_ADDRESS>:9091/metrics/job/myjob");
options.MetricsOutputFormatter = new MetricsPrometheusProtobufOutputFormatter();
})
.Build();
            var counter = new CounterOptions { Name = "my-counter"};
            metrics.Measure.Counter.Increment(counter);

            await Task.WhenAll(metrics.ReportRunner.RunAllAsync());`

Hope someone find it helpful.

@saurabhtyagi00 Can you including your using statements and which dependencies you had to install to get this to work? I believe I have the latest version but am just not seeing these extension methods.

@saurabhtyagi00 Can you include your using statements and which dependencies you had to install to get this to work? I believe I have the latest version but am just not seeing these extension methods.

<PackageReference Include="App.Metrics.AspNetCore" Version="4.1.0" />
<PackageReference Include="App.Metrics.Formatters.Prometheus" Version="4.1.0" />
<PackageReference Include="App.Metrics.Reporting.Http" Version="4.1.0" />


Hangs when compiling subprocess.wait "line 1055, in wait"

Nuitka Version: <IP_ADDRESS>
Python Version: 3.6.5
When I try to compile my script using nuitka --standalone file.py, it starts compiling until it suddenly hits a certain point where it hangs and Windows Shell Process starts taking up 80%+ of my CPU. In my script I import the subprocess module. But when it tries to compile the subprocess module it hangs at subprocess.wait and never gets done compiling.
Traceback (most recent call last):
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\site-packages\nuitka\__main__.py", line 218, in <module>
    main()
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\site-packages\nuitka\__main__.py", line 212, in main
    MainControl.main()
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\site-packages\nuitka\MainControl.py", line 815, in main
    main_module = main_module
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\site-packages\nuitka\MainControl.py", line 727, in compileTree
    quiet       = not Options.isShowScons()
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\site-packages\nuitka\MainControl.py", line 594, in runScons
    return SconsInterface.runScons(options, quiet), options
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\site-packages\nuitka\build\SconsInterface.py", line 283, in runScons
    return subprocess.call(scons_command, shell = False) == 0
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 269, in call
    return p.wait(timeout=timeout)
  File "C:\Users\Tearzz\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 1055, in wait

Can you post the output with --scow-scons ?

That did it, realized GCC took quite some time to run on all of the files which is the reason.


Remove images deletion step from e2e test / Update test-infra

Old images cleanup is no longer part of e2e test, this functionality will be moved to a separate job runs periodically.
Proposed Changes
*This part is done in knative/test-infra, updating dependencies in this repo to include this update.
Link to the issue in test-infra: knative/test-infra#276

/cc @adrcunha

/lgtm
/approve

This PR unnecessarily vendored the whole test-infra repo. @chaodaiG please create a follow-up PR that updates only test-infra/scripts like https://github.com/knative/build/pull/479

@adrcunha thanks, will do


Have load_imgs_from_tree also look for .tif files

Is your feature request related to a problem? Please describe.
Could we make the load_imgs_from_tree function also read in ".tif"? I think it's fine if all image files that are being written by ark are ".tiff", but I think it would be helpful to be able to read in images that are ".tif." Especially for my paper, we are marketing Pixie as being very generalizable. I think this would be (hopefully) an easy thing to add back in. I'm only requesting that the 2 Pixie notebooks be able to read in ".tif" files, not the whole pipeline.
To me, it doesn't seem like it would be that bad, since the function is already reading in jpeg and png. Seems like we would just need to change these lines:
https://github.com/angelolab/ark-analysis/blob/a98648c8f3bd11fd713be3b41eb885bf5058d93f/ark/utils/load_utils.py#L134 and
https://github.com/angelolab/ark-analysis/blob/a98648c8f3bd11fd713be3b41eb885bf5058d93f/ark/utils/load_utils.py#L140
to look for ".tif" files as well.
Describe the solution you'd like
Similarly to how load_imgs_from_tree takes in jpeg/pngs, have it take in tif files.
Describe alternatives you've considered
Alex suggested adding something in the beginning to turn everything into "tiffs", but I don't think it's necessary since we already have the ability to read in jpegs/pngs.

Sure, we can add it back in. If we always produce .tiff files, then it's just these couple load functions that need to handle the alternative


Site speed suggestions

Bug Description
We've been searching around the web for cool sites built with SvelteKit and Evidence is a nice one. While checking it out, I noticed some opportunities to improve your score on PageSpeed insights. I hope you don't mind me sharing a couple suggestions
Severity

[X] Low - this is unsolicited feedback, so feel free to ignore. Hope it's helpful, but also understand if it's not a priority!

Expected Behavior
You've got a file chunks/vendor-1b48cd19.js. That indicates to me that you're on a somewhat old version of SvelteKit. Newer versions of Vite have improved the code splitting and the site will likely load a lot less JS when you update to the latest
The other area for opportunity is optimizing images. I wrote an explanation of how to automatically optimize your images with vite-imagetools during build. Right now you've got to copy about 35-40 lines of code from the comment I just linked to be able to do it. Hopefully we'll simplify that to just a few lines in the future, but it might be awhile before we get to that. If you run into any trouble in the meantime, I'd be more than happy to help.

Wow @benmccann thank you for all of your contributions to svelte kit, and for taking the time to look at our project.
We are planning our upgrade to the latest kit, right now and we will definitely incorporate these suggestions.


[WIP] usernetes: add support for CRI-O

Depends on: https://github.com/kubernetes-incubator/cri-o/pull/1729
I will drop the WIP tag once it lands into CRIO upstream and can fix the commit used here.
Closes: https://github.com/rootless-containers/usernetes/issues/11
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

CI failing
[build-crio] ^[[91mCloning into '/go/src/github.com/opencontainers/runc'...
[build-crio] ^[[0mYour branch is up to date with 'origin/master'.
[build-moby] #53 294.8   CC       compel/src/lib/ptrace.o
[build-crio] go build -buildmode=pie  -ldflags "-X main.gitCommit="20aff4f0488c6d4b8df4d85b4f63f1
f704c11abd" -X main.version=1.0.0-rc5+dev " -tags "seccomp" -o runc .
[build-crio] ^[[91mmake: -c: Command not found
[build-crio] make: *** [Makefile:33: runc] Error 127
[build-crio] The command '/bin/sh -c git clone https://github.com/kubernetes-incubator/cri-o.git
/go/src/github.com/kubernetes-incubator/cri-o &&   cd /go/src/github.com/kubernetes-incubator/cri
-o && git checkout ${CRIO_COMMIT} &&   make BUILDTAGS="exclude_graphdriver_btrfs exclude_graphdri
ver_devicemapper" binaries &&   mkdir -p /crio/cni/plugins/ /crio/cni/conf &&   cp bin/conmon bin
/crio /crio &&   cp contrib/cni/* /crio/cni/conf &&   git clone https://github.com/containernetwo
rking/plugins /go/src/github.com/containernetworking/plugins &&   cd /go/src/github.com/container
networking/plugins &&   sh ./build.sh &&   cp bin/* /crio/cni/plugins &&   git clone https://gith
ub.com/opencontainers/runc.git /go/src/github.com/opencontainers/runc &&   cd /go/src/github.com/
opencontainers/runc && git checkout ${RUNC_COMMIT} &&   make BUILDTAGS="seccomp" &&   cp runc /cr
io/runc' returned a non-zero code: 2

CI green :tada: , thanks :+1:
Please feel free to merge if this is no longer WIP

needs rebase, sorry

rebased but please don't merge, stiil testing it :)

dropped the "WIP" tag as it works locally for me


[Objectron] How to make custom model.obj.uuu

Hello. I want to make virtual shoe app using mediapipe objectron.
I think rendering virtual shoe using model.obj.uuu and texture.jpg.
But, I can't understand format for model.obj.uuu.
Does anyone know how to replace this with my shoes?
Thanks.

I think this will be covered in the responses https://github.com/google/mediapipe/issues/1074, so closing as duplicate.


Footer Section

Is your feature request related to a problem? Please describe.
A good website has an awesome footer section.
Describe the solution you'd like
I would like to add a responsive footer section to the website.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Please assign this issue to me so that I can start working on it.

@Swastik1710 could u explain what changes u wanna make as there is already a footer??

Yeah sure.
So as of now the footer section is not quite differentiable due to the color scheme used.
Moreover, the contact column doesn't have any details.
Neither does it contain any icons which provide an awesome look.
The hover effects on the links are quite ordinary.
Also the copyright section is too thick and the text in it is hardly visible.
Do let me know your views on this @Amit366

There is no logo yet so according to the space it would take make the changes. I found it interesting. So I go ahead @Swastik1710 . But after finishing with the footer send the screen shot. If it looks better then current one then u can send the PR.

Okay @Amit366 , I would send you a screenshot regarding this.
Glad you found it interesting.

@Swastik1710 start working on this one but don't send the PR before 10th. As some other project admins are saying that from 10th the program starts.

Yeah okay.
Will keep that in mind.

Can one issue be solved by only one person?

@dgulve yes. Since only one feature can be added.

Here's the footer.
Do let me know your views on this @Amit366

It's looks cool.

Ohkay so I'll send a PR as soon as the program starts.


change article class/file names to tutorial

change article class/file names to tutorial

Hey @amitamrutiya2210,
Do you mind me making some changes? It would be easier that way.

I don't mind. Whatever changes you want to made you can.

Hi @amitamrutiya2210,
Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


[libs/movex] Fix linting Errors in File MovexMasterResource.ts

Where
libs/movex/src/lib/master/MovexMasterResource.ts
What
When you run npx nx lint movex --quiet you get some errors as below:

Why is it important
Because in the close future, the linting command will be part of the Github Actions
Definition of done

running npx nx lint movex --quiet will not return any more errors for this file
tsc passes npx nx tsc movex
all tests pass yarn test
no unnecessary code is introduced

@GabrielCTroia Could you please assign this to me


cmake: toolchain: Don't warn of both ZEPHYR_*_VARIANT envvars defined

Someone doing bisects on Zephyr will have to have both older
ZEPHYR_GCC_VARIANT and newer ZEPHYR_TOOLCHAIN_VARIANT environment
variables defined. Then warning about ZEPHYR_GCC_VARIANT is
confusing. Issue it if only ZEPHYR_GCC_VARIANT is defined, and
ZEPHYR_TOOLCHAIN_VARIANT isn't.
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

This is kinda illustration of the care which should be taken when deprecating such core stuff. Not only it shouldn't be removed/replaced all at once (and indeed, that's not what happens), but it makes sense to think how it'll work for bisects, etc.

Codecov Report

Merging #8035 into master will increase coverage by 9.51%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8035      +/-   ##
==========================================
+ Coverage   55.03%   64.55%   +9.51%
==========================================
  Files         481      420      -61
  Lines       53936    40142   -13794
  Branches    10474     6763    -3711
==========================================
- Hits        29685    25912    -3773
+ Misses      19981    11108    -8873
+ Partials     4270     3122    -1148

Impacted Files
Coverage Δ

tests/kernel/profiling/profiling_api/src/main.c
81.66% <0%> (-1.39%)
:arrow_down:

subsys/net/ip/net_tc.c
91.66% <0%> (-0.34%)
:arrow_down:

subsys/net/ip/icmpv4.c
39.88% <0%> (ø)
:arrow_up:

tests/kernel/mem_pool/mem_pool_api/src/main.c
66.66% <0%> (ø)
:arrow_up:

tests/kernel/mem_pool/mem_pool/src/main.c
92.04% <0%> (ø)
:arrow_up:

tests/kernel/fatal/src/main.c
50.9% <0%> (ø)
:arrow_up:

.../kernel/mem_pool/mem_pool_api/src/test_mpool_api.c
100% <0%> (ø)
:arrow_up:

drivers/ethernet/eth_native_posix.c
22.1% <0%> (ø)
:arrow_up:

kernel/include/kernel_structs.h
100% <0%> (ø)
:arrow_up:

...rnel/mem_pool/mem_pool_api/src/test_mpool_extern.c
100% <0%> (ø)
:arrow_up:

... and 63 more

Continue to review full report at Codecov.

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


No bundle URL present error on iOS real device

Description
I am running a project on 0.70.1 version. The issue appears to be on the real device, on simulator it works fine. It narrows down to RNSplashScreen implementation in my case.
Version
0.70.1
Output of npx react-native info
System:
OS: macOS 12.6.2
CPU: (4) x64 Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Memory: 861.44 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8512546
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: <IP_ADDRESS> - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Install the app on Release mode or make an archive and install on real device.
Snack, code example, screenshot, or link to a repository

uninstall the app and run "yarn ios" again

uninstall the app and run "yarn ios" again

Did that, no luck.

In my case it is due to Sentry, 'cause auto-linking doesn't work as it should for version 4.14.0 so patching the module as described here resolved the issue.


Cleanup function

Can you add a destroy method that removes all listeners so that this doesnt leave open memory for SPA applications.
var accordion = new Accordion('.accordion-container');
accordion.destroy(); // cleans up all memory and events

Hi
Thanks for the idea. I will look into it in my free time.

Added in v2.8.0


Compiling as c++

There's currently several errors when trying to compile as c++, most should be fixeable with just casts.

Hello. Thanks for the issue :)
I've make quick fix this for gcc here https://github.com/lieff/minimp4/commit/d985e07ac3c458f4981f0d0204762f4111bbacb8 . Not tested not other compilers yet.

Checked clang and msvc, closing. Feel free reopen is it's still an issue.


Correct GetEnvVariable logic for AsyncStreams tutorial

Summary
Updated Program.cs for the start and finished samples of the AsyncStreams tutorial.
The github personal token is fetched using the method GetEnvVariable, wherein defaultValue is currently unused and should be returned if supplied and the environment variable is found to be empty.
Fixes #1560

 All CLA requirements met.


Slow Result

I am not sure about this but testing go vs python, python version is significantly faster than go. I am testing on Intel Ultra 5. I am not sure if it's because MKL or not, any idea?

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Decorate source with Cython extensions where it helps

Considerations:

If we do this, will it break PyPy?
Can we use some kind of pre-processor step to add extensions so we can keep a pure python version around?

See also: http://nbviewer.ipython.org/6245c96743db51020c3b

The trick with cffi is that thunking across to C can offset any potential gains in performance. It would only be useful for chunks of code that consume relatively large amounts of CPU time.
Regardless, there may be an argument for just saying "use pypy" if you want things to go faster overall. 😄

P.S. - Cython's "pure python mode" may allow us to implement some optimizations while retaining pypy compat. See also: http://docs.cython.org/src/tutorial/pure.html

We have implemented some critical code paths in Cython (for CPython) since, more to come.


add floating-action-button under the action bar

can you help me to add floating-action-button to action bar and after collapsed it hide

Sure! Provide me your code please.


Automatically update Linux repository packages

Using Arch Linux as an example, @dcelasun currently seems to handle the AUR packages for the stable and insider builds. This seems like it could be integrated into the deployment of new releases which could lead to faster availability for Arch Linux users. The latest insiders builds could then also be tested by Arch Linux users.
This could then also be done for other Linux distros? This could be merged with #5458 where @Tyriar mentions that he'd like to add the Ubuntu snap to the CI/CD so it's automatically deployed I assume.

There has been some discussion around this topic in the past. While officially publishing a snap/flatpack etc. is a good idea, I think distro specific packaging should still be done by distros and their users.
For Arch Linux, the insiders build always fetches the latest build (see pkgver) so I don't have to release a new version for every build.

I've been struggling to get the time to finish off the snap support, so I completely agree with @dcelasun 😄


1 contract poll master

poll contracts and interfaces
poll factory
still buggy

beginning test helpers and first tests (certifier, internals functions)
first corrections of poll contracts


Is there a way do define RLS with a decorator?

Im trying to enable RLS from code, and cant seem to find how to do it.
if you know of a way ill be happy to know about it, and if not, we can create a decorator in this repo.

Can you please elaborate what is the expected function you'd like ? I am not sure what you mean by "enable RLS from code".
Maybe you can give a few examples ? @od-cyera

I mean like a migration or some other config to enable row level security on the db and define the policies during synchronize. currently i just wrote a migration to to that, but seems nice to me if it would be integrated

This package is only responsible for setting up the correct runtime parameters. Creating the policies is outside of the scope for this.
I believe that if we add support for policies we would potentially need to support many permutations of them. Another consideration is that the policies are (and should be) custom per each use case.
This feature would sound more like a typeorm feature instead: whenever a new table is created, apply this sql query for it (this is where you'd add your policy).
The way I handle the policies is by creating utility functions to abstract away some of the boilerplate code needed for each table and using that after each table creation in the migration directly.

I'm not sure i fully understand your solution, could you share a snippet?
maybe there is a way to add that abstract function to the repo so other people wont have to write the migration from scratch..
I don't know typeorm in depth.. maybe there is a feature that can help here..

What i'm trying to say here is that this package is not responsible for the policies that need to be applied at the database level.
The RLS policies are independent and custom for each consumer of this library and wouldn't want to add constraints on how to write those policies.
The policy from the Readme is an example and it is there to emphasise the fact that this library will set the values rls.tenant_id and  rls.actor_id. The creation of the policy is up to every user.
With that out of the way, here's an example of some helper functions I created to make things easier when creating tables:
export function createTenantRLSPolicy(
  schema: string,
  tableName: string,
  property: string,
) {
  return `
        CREATE POLICY rls_tenant_isolation ON "${schema}"."${tableName}" for ALL
        USING ("${property}" = current_setting('rls.tenant_id')::uuid);
    `;
}

export function enableRLS(schema: string, tableName: string) {
  return `
        ALTER TABLE "${schema}"."${tableName}" ENABLE ROW LEVEL SECURITY;
    `;
}

You'd end up using this within the migration that creates a table. For example:
    await queryRunner.query(`
        ${createTenantRLSPolicy('schema', 'table', 'tenant_column_name')}
        ${enableRLS('schema', 'table')}
    `);

For examples on how to write those policies, I'd suggest that you refer to:

https://www.postgresql.org/docs/current/ddl-rowsecurity.html
https://www.postgresql.org/docs/current/sql-createpolicy.html
https://www.enterprisedb.com/postgres-tutorials/how-implement-column-and-row-level-security-postgresql
https://aws.amazon.com/blogs/database/multi-tenant-data-isolation-with-postgresql-row-level-security/

I will update the readme to be more clear in a future release and add some examples there.

I closed this issue. We can mark this as resolved for now.
Please feel free to write down your findings if you'd like :)


Hbm transformations

Adds HbmTransform a transformation to make an SDFG use HBM, via packing it into a top level unrolled map, and changing memlet paths + bank assignments
Add HbmCopyTransform a Transformation to distribute/gather memory on/from HBM
Add 2 util functions that are frequently used for HBM
Adds a HBM implementation of Axpy to blas nodes, as a test for HbmTransform and HbmCopyTransform
Adds a seperate second test for HbmCopyTransform

Explanation why HBMTransform is done the way it is done; for how it is done see the comments in code.
In principle one could achieve the same (or even a bit more) if one would have 2 or 3 transformations, one that can split maps into 2 maps in the same fashion as HbmTransform does, one that places arrays on HBM, and one (maybe it would make sense to combine this with one of the others) that updates the paths for arrays placed on HBM. However this would always lead over invalid SDFGs, because we need to update all those things together to have a valid SDFG. Even more problematic it requires quite a lot of work from the user, because it has to deal with a lot of transformations that can be applied in many places; If one actually wants to have fine grained control one can also have this now, via transform_sdfg_for_hbm, or even more fine grained via modify_bank_assignment/other utilities. The amount of work/knowledge required is likely comparable to the one for handling multiple transformations. Therefore it makes sense to have just one huge transformation, that operates more or less in complete absence of user input.

The HBMTransform and HBMBankSplit PR's are separated.


Mac Support

Hi.
Any plans to support other OSes and timeframe?

lgo kernel relies on -buildmode=shared and -linkshared of go build.
As of go1.10, -linkshared is still experimental feature and supported only in Linux, thus there is no short term plan to support other OSes.
go started to support buildmode=shared on Mac from go1.10. I hope -linkshared is also supported on Mac in upcoming versions of Go. But I don't know they have plans.

Thanks for the update, hopefully linkshared comes to to macs soon.


morphia support/ remove reflection.org

add morphia (https://github.com/mongodb/morphia) support
remove reflection.org and add own implementation to find ChangeSets

Hi, Thanks for your support. I'll review the changes when I'm available.

Can't find files in a packaged jar.
I will search a new solution.


Star widget on yii2 scroll pager

Hello All,
Please help me on this.
I am using the yii2 scroll pagination and in the pagination use the ListView::widget.
when i scroll the page a button shows names as "load more " when i click on that link it load the items but rating start is not showing. Can you please help me on this.

++

hi @ivanmfan  and @rajanmidd  you can use the following approach to load star rating after page load , add the following option inside the pager option in the list view
 'eventOnRendered' => new \yii\web\JsExpression ( 'function(){var optVar = $("your_target_input_object_or_selector").attr("data-krajee-rating");options = window[optVar];$("your_target_input_object_or_selector").rating(options);}' )
hope this solves your problem

$script =<<<JS
jQuery.ias().on('rendered', function(items) {
$(".rating-widget").attr("data-krajee-rating"); // rating-widget given class to rating widget
options = window[optVar];
$(".rating-widget").rating(options);
});
JS;
$this->registerJs($script);

$script =<<<JS
    jQuery.ias().on('rendered', function(items) {
        $(".rating-widget").attr("data-krajee-rating"); // rating-widget given class to rating widget
        options = window[optVar];
        $(".rating-widget").rating(options);
    });
JS;
$this->registerJs($script);``

I have fixed this problem.
according "omer-sds commented on 21 Jul 2017" answer that we could maybe fix one time in instance but Multiple instances.
so here the deal.

put this code after the starRating widget like this :
 'rating',
 'id' => 'YOUR ID NAME HERE',
 'pluginOptions' => [
 'min' => 0,
 'max' => 5,
 'step' => 0.5,
 'size' => 'sm',
],
 ]);
 ?>

At last thank to omer-sds


KV support

Added the most common APIs endpoints for KVs.
Ref. C84J-8

Can we remove DynamoEntity, C8Dynamo and DynamoAttributeDefinition. They will be a part of my commit. @StoyanTc

Can we remove DynamoEntity, C8Dynamo and DynamoAttributeDefinition. They will be a part of my commit. @StoyanTc

@arpitamishra-macrometa - Done.


Get .env switching working for staging

Test Steps:

Build frontent_react client in ci/cd for staging.
Check build's  (which should include STAGING)
Result: It's the release build.

Changes

.github action for build_frontend.yaml to make build type conditional (yarn build -> yarn build:staging or yarn build:release)
Client builds load different .env based on the build type. These have unique script names in the package.json (build:staging vs build:release vs start:localdev)
Consolidate/refactor the various .env files so each build just uses one.
See issue https://github.com/CDCgov/prime-reportstream/issues/2133 for more discussion

Testing

[x] Build/run locally (localhost)?
[x] Build PR ci/cd?
[ ] Build staging ci/cd?
[ ] Build production ci/cd?
[x] (For Changes to /frontend-react/...) Ran npm run lint:write?
~- [ ] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?~
~- [ ] Added tests?~

Process
~- [ ] Are there licensing issues with any new dependencies introduced?~

[x] Includes a summary of what a code reviewer should test/verify?
~- [ ] Updated the release notes?~
~- [ ] Database changes are submitted as a separate PR?~
[ ] DevOps team has been notified if PR requires ops support?

Fixes

See issue https://github.com/CDCgov/prime-reportstream/issues/2133

@cwinters-usds Can you review my github action changes for correctly AND code smell?
CC: @ahay-agile6 @kevinhaube Just a heads up since this changes the build a bit.
Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

MauriceReeves-usds
36
15h 21m
6

cwinters-usds
25
5h 21m
15

carlosfelix2
23
4h 34m
92

clediggins-usds
21
1h 30m
35

kevinhaube
20
6m
3

sean-usds
17
1h 30m
3

RickHawesUSDS
14
4h 15m
18

jimduff-usds
14
13h 6m
21

whytheplatypus
10
2h 23m
20

TomNUSDS
9
1h 28m
6

brick-green-agile6
5
13h 50m
1

jeremy-page
4
14m
0

sethdarragile6
3
3h 19m
10

ahay-agile6
2
1d 9h 28m
0

ronaldheft-usds
2
9m
1

jbiskie
2
1h 5m
0

JosiahSiegel
1
5d 2h 55m
2

jorg3lopez
1
1h 48m
0

MikeC-A6
1
16h 19m
1

rhood23699
1
14h 10m
0

@kevinhaube Can you re-review and make sure I got the urls correct? (I need your approval to merge)

@kevinhaube OK. I think this is it. Sanity check me?

related fix from @cwinters-usds: https://github.com/CDCgov/prime-reportstream/pull/3336


fix(package.json) update devDependencies

Update devDependencies to use latest cspell-tools version.

Related to:
https://github.com/Jason3S/cspell-dicts/issues/4

Thank you.


Compile-on-save does not honour const enums when declaration is in an external file

Hi,
TS: 1.4
To reproduce.

Create a TypeScript project in Visual Studio with "Compile on save" set to on.

Add file enums.d.ts with code:

declare module enums {
const enum Bar {
one = 0,
two = 1,
}
}
* Add file `foo.ts` with code:

```TypeScript
/// <reference path="enums.d.ts" />
var foo = enums.Bar.one;

Compile the project and check that the output foo.js is correct:

/// <reference path="enums.d.ts" />
var foo = 0 /* one */;

Now trigger compile-on-save by saving foo.ts.
The output in foo.js is now broken:

/// <reference path="enums.d.ts" />
var foo = enums.Bar.one;

The following point is relevant: If the enum declaration is moved to foo.ts then things work correctly.
This is a significant issue because the code fails with a runtime error.

I had the same problem, it seems to be fixed in master. See https://github.com/Microsoft/TypeScript/issues/1812 and comment https://github.com/Microsoft/TypeScript/issues/1812#issuecomment-71576781 of how to build latest

@Stompf, yes, looks to be a duplicate. Thanks.


Ensure UseHttpsRedirection ignores /healthz route

Currently the UseHttpsRedirection middleware is causing the /healthz route used for liveness probes v in k8s to fail.
We need to ensure that the /healthz route is ignored by the UseHttpsRedirection middleware.

Closed by #132 & #133


Idea: A "skyblock" HealthBarStyle

Basically, the HealthBarStyle.SKYBLOCK style would format the health portion of the mob as follows:

8/20❤

where the "8" (current HP) would be shown in yellow if the mob is at less than or equal to half health or green otherwise, followed by a white slash, followed by the mob's max health in green, followed by a red heart.
Because HP values in vanilla Minecraft rarely ever exceed 1,000 (and most mobs have 100 HP or less), the current HP can be shown to two decimal places, like this:

8.25/20❤

The above example in full form would be:

Zombie 8.25/20❤

A few more examples:

Horse 25/25❤

Iron Golem 85/100❤

Cod 3/3❤

Wither 298/300❤

Thanks for the suggestion! Doesn't sound too hard to implement :)

A screenshot example of the style that I'm going for with my idea:

The mob on the left is the half-health example, while the mob on the right is the full-health example. Pay attention to the health counters; ignore the red coloring of the mob's name and the level counter.

Something like this?

Fixed the slash & heart icon

That's pretty much exactly what I was looking for.

Health tag colors match exactly
Level of precision is correct

I guess I can close this then :).

Do you plan on making a release for this soon so that I can test it out?

You can already test it with current sources


Nulls instead of vector for Alibaba-NLP/gte-multilingual-base on T4 GPU

System Info
Model - Alibaba-NLP/gte-multilingual-base
Image - text-embeddings-inference:turing-1.5
Azure VM - Standard_NC4as_T4_v3
GPU - Nvidia Tesla T4
AKS version - 1.28.14
OS - Ubuntu 22.04
Command -
command: ["text-embeddings-router"]
args:
[
      "--model-id", "Alibaba-NLP/gte-multilingual-base",
      "--port", "8080",
      "--max-client-batch-size", "2000",
      "--payload-limit", "200000000",
      "--max-batch-tokens", "260000",
      "--revision", "refs/pr/7",
      "--auto-truncate"
]

Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
When executing the following request the first time:
POST /v1/embeddings
{
 "input":  "test",
 "model": "Alibaba-NLP/gte-multilingual-base"
}

The response is following
{
    "object": "list",
    "data": [
        {
            "object": "embedding",
            "embedding": [
                -0.055719655,
                0.06356562,
                -0.030253513
                ......................
            ],
            "index": 0
        }
    ],
    "model": "Alibaba-NLP/gte-multilingual-base",
    "usage": {
        "prompt_tokens": 3,
        "total_tokens": 3
    }
}

However, when repeating the same request the second time, I am getting:
{
    "object": "list",
    "data": [
        {
            "object": "embedding",
            "embedding": [
                null,
                null,
                null
                ......................
             ],
            "index": 0
        }
    ],
    "model": "Alibaba-NLP/gte-multilingual-base",
    "usage": {
        "prompt_tokens": 3,
        "total_tokens": 3
    }
}

I tried setting USE_FLASH_ATTENTION=False, however, it seems that this env variable is ignored for GTE models. I understand that Turing support is marked as experimental, but is there any way to run this on T4 with or without Flash Attention v1?
Expected behavior
Do not get nulls instead of vector.

@superchar hi. I guess you can disable flash attention by setting dtype to float32 instead of float16 in general. however, afaik, currently, there's only Flash GTE implementation, which doesn't support CPU or GPU w/o flash attn. maybe we could implement one.


[pytest] if_ethernet tests

Tests implemented:

if_ethernet_aggregate_id
if_ethernet_port_speed
if_ethernet_duplex_mode
if_ethernet_auto_negotiate

Tests not implemented yet:

get if_ethernet_port_speed_state remaining for implementation

@sbarguil
Tests being skipped: #21
Question: Since this is not a configurable param, are we testing it? Do we test just the get operation? get if_ethernet_port_speed_state


AuthResponseOperationFilter swagger parameter

As shown in multiple live streaming, it would be useful add a AuthResponseOperationFilter object to automatically add responses for 401 and 403 status codes when the api supports authentication and authorization

As this concerns Authentication and Authorization, this Operation Filter is available in the SimpleAuthentication library: https://github.com/marcominerva/SimpleAuthentication/blob/2a3ef5e436b7b09cbe3bf5c2a932af9cc3e919b3/src/SimpleAuthentication/SwaggerExtensions.cs#L76.

Okay thank you so much for the clearance :)


miner: select active sets that were received 2 hours before start

related: https://github.com/spacemeshos/go-spacemesh/issues/5282
this should reduce variability in encoded active sets.
previous grader was using hare preround delay, which is 25s and not sufficient for atx to propagate across the network.

bors merge


feat: get dataset without create in order to avoid to add a role create

Actually, the target try to create the dataset to verify that it exists.
It's need to add a role bigquery.datasets.create that your organization can blocked.
Now we only try a get and create if not exists and be WRITER on dataset is sufficient to run the target.

@tchiotludo, apologies for the delay, your feature has been released and you've been credited in our release. Thank you for your contibution!


[DC-971] Develop utility and call data in line with DC-954

Created deactivated_participants.py to fetch participants with suspensionStatus = NO_CONTACT

@lrwb-aou after talking to @nishanthpp93 about the circleCI unit test check error: google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application
it was determined that I cannot unit test the get_access_token due to it explicitly calling external services. I will need to add this to the integration test for DC-972. I noted this change in the ticket. The unit test is now passing.

@dcampbell-vumc Actually, mocking explicitly allows you to mock calls to external products and set expected return values to allow unit testing.  So, unit testing could be done.  But in this instance, the function isn't doing anything else, so mocking won't provide the same type of validation.  You would instead be interested in making sure the mock was called with the expected values.  Yes, an integration test will be nice.

@lrwb-aou after talking to @nishanthpp93 about the circleCI unit test check error: google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application
it was determined that I cannot unit test the get_access_token function due to it explicitly calling external services. I will need to add this to the integration test for DC-972. I noted this change in the ticket. The unit test is now passing.

unit_test_patch.txt
Here is a patch file for you to test.  You can use it by downloading, changing to your curation directory, and applying with git apply <path to downloaded patch>.  I also ran this command from curation.  pylint data_steward/utils/participant_summary_requests.py .  This give the following info.  You can ignore the first line and look at the other 4 suggestions.
data_steward/utils/participant_summary_requests.py:68:0: W0612: Unused variable 'get_deactivated_participants' (unused-variable)  <<-- this comment does not need to be addressed.
data_steward/utils/participant_summary_requests.py:12:0: C0411: third party import "from google.auth import default" should be placed before "from utils import auth" (wrong-import-order)
data_steward/utils/participant_summary_requests.py:13:0: C0411: third party import "import google.auth.transport.requests as req" should be placed before "from utils import auth" (wrong-import-order)
data_steward/utils/participant_summary_requests.py:14:0: C0411: third party import "import requests" should be placed before "from utils import auth" (wrong-import-order)
data_steward/utils/participant_summary_requests.py:15:0: C0411: third party import "import pandas" should be placed before "from utils import auth" (wrong-import-order)

Thank you for the changes.  I'll get out of your way now.  :)


Automatically use pod build strategy in "AllNamespaces" setup

I was thinking we can inspect the WATCH_NAMESPACE env variable in the operator and if it's empty (meaning all namespaces) we can set the build mode to pod on the platforms that the user will create.
This way we enable multi-tenancy (although not optimized yet) and we can enable the AllNamespaces setup on operator hub.
Wdyt @astefanutti ?

I think this is a very good idea!
The builds will be serialized by namespace, and there won't be any Maven cache concurrent access issues, given the current pod build strategy implementation. The Kaniko cache should be able to handle concurrent RO accesses and the Kaniko publisher already creates unique temp directories for each build, so we are safe there too. Hopefully the PV is already configured correctly.
The (existing) limitation is that all the builds will be scheduled on the same node as the operator. But that is acceptable and can be tackled separately.

I remember we had some discussion around affinity, but I suspect we missed the point.
For the pod strategy to work, there's need that the builder pod and kaniko pod to be on the same node, but there are no requirements on the operator... right?

I remember we had some discussion around affinity, but I suspect we missed the point.
For the pod strategy to work, there's need that the builder pod and kaniko pod to be on the same node, but there are no requirements on the operator... right?

Right. It's actually for re-using the Kaniko warmer cache. So, for the moment, the operator pod node is used, so that the host PV contains the cache and the build output.

I guess one of the issues we can encounter is that the cache can be possibly used concurrently by 2 platforms in different namespaces.
Uhm.. but I guess the current way we use to specify affinity doesn't work across ns boundaries...

I'd try to have a working version for next 0.3.4 release


[5.9 🍒][Dependency Scanning] Unify path-escaping handling using TSC's spm_shellEscaped

Cherry-pick of https://github.com/apple/swift-driver/pull/1354
Command lines generated for libSwiftScan (either for actual dependency scanning queries, or for target-info queries) do not go through the shell, and are instead tokenized at the entry-points (inside libSwiftScan). In order for them to be correclty tokenized, we must ensure that all the various filepaths are escaped in case they contain whitespace characters, to ensure they get treated as a whole path, rather than multiple strings.
The driver previously relied on a separate mechanism to do this for libSwiftScan command lines, by getting the 'ArgsResolver' to always escape '.path' arguments. This turned out to be insufficient, because it happens to miss a whole class of paths specified on the command-line that the driver cannot/doesn't recognize as paths: arguments forwarded to tools, such as '-Xcc' or '-Xfrontend' or '-Xclang-linker'. As a result, it is possible for such paths to end-up unescaped and fail to get tokenized correctly by libSwiftScan.
Instead, this change switches the formulation of these command-lines to use the existing 'spm_shellEscaped' mechanism from TSC which is a robust way to achieve exactly the desired behavior: produce shell-escaped command-line arguments by detecting flags/arguments that contain characters that would prevent correct tokenization: whitespaces, etc, and only quote-escaping them, and doing so in a platform-appropriate manner (e.g. using '"' instead of "'" on Windows)
Resolves rdar://108971395

@swift-ci test


next.config.js to next.config.mjs in nextjs-pages-router-ts example

In this PR, I've converted next.config.js to next.config.mjs. Also I've changed it to align with Next.js recommendations for ES module syntax.
#42568

Thanks but

#44040 is closer to the target, I'm closing this PR. Thanks for looking into this.


Plans to update to 1.12?

I just got into minecraft not too long ago and now am building a wither skeleton farm for the first time. This would be awesome to use. Although it broke for 1.12. Any chance you'd update this? I'm going to make an attempt at it. But I dont know much about writing forge mods. Only spigot. Thanks

This project uses MCP - there is a 1.12 pre 1 version available but no 1.12 final version.  Once there is a final version then I will recompile for 1.12.

Gotcha, awesome sounds good. Thanks

I noticed a bunch of people asking on the forums if you're going to update the mod for 1.12. I have really enjoyed your mod and hope you will consider doing that as well. If it helps, I created a brand new Forge 1.12 server and only installed your mod and the crash report is attached.  I hope it might help.
crash-report.txt

Is there a serious harm by using the pre release? The differences between the pre versions and the final are usually not that big so that updating it again isn't much work (if any at all).

@BrainStone the 1.12 pre 1 version of MCP doesn't seem to work on my main development machine - all previous versions do tho.  I am also in the middle of moving from UK to USA, and living out of suitcases, so haven't had the time to try to figure out why it's not working!

@darrenhollick as stated 20 days ago I will upgrade to 1.12 as soon as I am able - see my previous comment from 1 minute ago to explain why that hasn't happened yet.

@irtimaled Ah ok. Didn't know that. That's of course a fair reason. I hope the relocation goes well and you can continue working on it again soon. :)

I didn't know there was a pre release I will try that!  I hope your move goes well and that you can get settled.  Welcome to the U.S.!

https://github.com/irtimaled/BoundingBoxOutlineReloaded/releases/tag/1.0.0-beta17


[Feature request] Ability to specify minDurationMs for LineChartCursor gesture handler

Thank you for the amazing library.
It would be quite useful to be able to override gesture handler config of LineChartCursor from LineChart.CursorLine
<LineChart.CursorLine
    {/* So chart doesn't conflict with navigation back gesture and scroll views  */}
    minDurationMs={300}
/>

This is already implemented.

Ah I see they forgot to forward the props onto LineChartCursor.

If you use LineChart.Cursor directly, you're able to do this. So you might want to use that and add your own line by forking their line for now.

My PR at #120 would fix this.

@daginfinity can you?

How do you delay the scrolling for a few seconds? I couldn't get it to work by using minDurationMs


Remove broken git tag v3.11.0

Bug Report
See https://github.com/operator-framework/operator-lifecycle-manager/tree/v3.11.0.
v3.11 is an OpenShift version, dated Sept 2018, and it's > v0.18.3 which is the current OLM version. This breaks semver.

This probably can't be removed right now because the older versions of OLM (downstream) are still being managed from this repo.
We may have to configure the 3.11 build to look outside of this repository. Cleaning up our git tags is a good upstream initiative to take on.

@exdx Alternatively, bump olm version to v4?

@joelanford pointed out that it is possible to exclude a release via the go.mod file. Might be worth checking out.

Proposed solution: create a branch from the v3.11.0 tag, and then delete the tag.

I just deleted the tag. This should be resolved

I just deleted the tag. This should be resolved

This breaks dependabot as the tag is still there in proxies. Could you retract it https://go.dev/ref/mod#go-mod-file-retract


Telnet cannot be enabled in the latest firmware version of Aqara gateway P3

firmware version：4.0.1_0001
model：aqara p3
I have the token, but still can't add

Read the documentation.
Note: Use another integrations for support:
Aqara G2H (ZNSXJ12LM), Aqara H1 CN (QBCZWG11LM), Aqara M1S CN (ZHWG15LM), Aqara M2 CN (ZHWG12LM), Aqara P3 CN (KTBL12LM) - external link

This component doesn't support this model


[stdlib] Add conditional Hashable conformance to optional

This is a spin-off of PR #15382, which is currently stuck in review limbo.
Implements part of SE-0143’s Hashable amendments.
rdar://problem/38432751

@swift-ci test

@swift-ci test linux platform

#15382 has landed on master; this PR is now superfluous and can be closed without merging.


Update notification.mdx

The explanations for status and alert role seems to be flipped?

Good catch. Thanks @xuanduc987!


Binding to a specific event

The code specifies binding to any event under the channel. e.g
final myChannel = await pusher.subscribe(
  channelName: "my-channel",
  onEvent: (event) {
    print("Got channel event: $event");
  }
);

What if i have a specific event "my-event" under channel "my-channel" i want to bind to? Where do i specify the event name?

You will need to do a filter the event name yourself. For example:
void onEvent(PusherEvent event) {
    if (event.eventName.compareTo("event1") == 0) {
      log("event1 logged");
    } else {
      log("some other event: $event");
    }
  }

Unfortunately this library doesn't do the event name filtering like our other libraries due to its design.

I will close this due to no further responses.


Dynamic framework created by older version of the compiler (xcode 7.3)

Goals
Compile RealmSwift.framework again using xcode 7.3.
Expected Results
That the RealmSwift.framework is built using the new version of the compiler.
Actual Results
Won't compile with the new xcode version.
Error: Module file was created by an older version of the compiler rebuild "RealmSwift" and try again.
Steps to Reproduce
Build project using the dynamic framework from realm.io with the new xcode version and that will fail.
Version of Realm and Tooling
Realm version: 0.98.5
Xcode Version: 7.3 (7D175)

How have you installed RealmSwift.framework? Did you drag in a precompiled .framework bundle from our release zips? If so, building your project containing that framework with Xcode won't rebuild the framework. See #3355 for more on that.

So the precompiled RealmSwift.framework can't be used for xcode 7.3 yet?
When will it be rebuild using the new version?

we'll be making a release with binaries built using Xcode 7.3 in the coming days. Until then, build it from source using one of the methods described in #3355

We have just released Realm Swift v0.98.6, built with Xcode 7.3, to address this issue.


Camera calibration matrix of Cambridge landmark

Could you tell me the camera intrinsic of Cambridge landmark? It seems the camera intrinsic you provided in your code belongs to 7 Scenes.

Hi, the data package linked in the Github readme contains configuration files for each dataset. You find all calibration parameters there.
Kind regards,
Eric

Save yourself the 6.1GB download, this is the contents of cambridge/default.config:
#dataset parameters
fl      744.375
xs      0.0
ys      0.0
iw      852
ih      480
#testing parameters
rI      256
rRI     100
rT      10
rdraw   1


fix: set initital cookies on _app.tsx

retrieve cookies on _app.tsx instead of UserContext
set initial userState value to cookies
set cookies value to userState on init

@xMartin  previous changes didn't work when cookies was not set yet :see_no_evil:
Can you check if this implementation is a bit more in the direction you where thinking of?