Update configure-adfs-sso.md

@dknappettmsft
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Closing as the changes don't follow writing guidelines and contains errors. The guidance is already covered in the link provided.
#please-close


Add the name of the school

@Imagine-bright I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host imaginelearning.academy not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


[Documentation]: Llama_Index Vectara AutoRetriever not working based on documentation

Documentation Issue Description
By following the current documentation on llama_index autoretriever for Vectara: https://docs.llamaindex.ai/en/stable/examples/retrievers/vectara_auto_retriever.html
I started with an existing index, when I reach retriever.retrieve(query), I get the following error:
pydantic.v1.error_wrappers.ValidationError: 2 validation errors for VectorStoreQuerySpec
query
field required (type=value_error.missing)
filters
field required (type=value_error.missing)
Looks like several steps are missing in the document. Please find my code snippet below:
index = VectaraIndex(vectara_customer_id=VECTARA_CUSTOMER_ID,
                     vectara_corpus_id=VECTARA_CORPUS_ID,
                     vectara_api_key=VECTARA_API_KEY)

vector_store_info = VectorStoreInfo(
    content_info="information about a movie",
    metadata_info=[
        MetadataInfo(
            name="price",
            description="Price of the movie ticket",
            type="integer",
        ),
    ],
)

retriever = VectaraAutoRetriever(
    index,
    vector_store_info=vector_store_info,
)

retriever.retrieve("Show me movies")

Documentation Link
https://docs.llamaindex.ai/en/stable/examples/retrievers/vectara_auto_retriever.html

Steps are not missing -- seems like the LLM just decided not to write a query or filters

@logan-markewich I've run this a dozen more times and it's not working.
From what you said, my understanding is the underlying LLM to generate the metadata filter is not generating anything. Do I need to specify which LLM to use? Seems strange that it would use an LLM to do this without connecting to anywhere and without me specifying API keys, or is it connecting to OpenAI and reading my default environment API key?

It's defaulting to gpt-3.5 yes (which is the default llm/behavior for the entire library)

@logan-markewich anything else I can try?

I am also facing the same problem. I have tried with GPT3.5, GPT4, GPT4o with temperature from 0-1 but nothing is working.

I have did multiple tests and it seems like I found an answer what could be the problem.
This is how I am making VectorIndexAutoRetriever:
vector_store_info = VectorStoreInfo(
    content_info="Brief summary of a Product",
    metadata_info=[
        MetadataInfo(
            name="price",
            description="price of the product",
            type="float",
        )
    ],
)

for index, row in data.iterrows():
        attr = json.loads(row["attributes"])
        text = row["title"]
        embeddingg = json.loads(row["Title Embedding"])
        if "price" in attr:
            node = TextNode(text=text, metadata={"price": attr["price"]}, embedding=embeddingg)
        else:
            node = TextNode(text=text, metadata={"price": 0}, embedding=embeddingg)
        new_nodes.append(node)

vector_index = VectorStoreIndex(nodes=new_nodes)
retriever = VectorIndexAutoRetriever(
            vector_index, vector_store_info=vector_store_info
        )

In the metadata above price is a variable value which can go from 1 to 1000 or even more so if I change from attr["price"] to lets say 5 for each node then it works fine but if for every node price is different then it gives the above error;
Now, I don't know how to fix this as I will have to read all the underlying code of Llamaindex VectorIndexAutoRetriever.

I was facing the same issue and its like @logan-markewich already said.
The solution was to give a more descriptive VectorStoreInfo


The core and notary pods cannot start up when reinstall the Harbor instance

It seems that the secret which contains the database password isn't deleted when removing the Harbor instance, this causes the core and notary pods reporting invalid database password when starting up

@Ghostbaby
Please do an investigation on this issue first.


Chat - User is logged out if a workspace is created while logged in with another device

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.12-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/41665
Action Performed:

Chrome incognito: Navigate to https://staging.new.expensify.com/
Chrome incognito: Log in with a new Gmail account
Chrome: Navigate to https://staging.new.expensify.com/
Chrome: Log in with the same account
Chrome incognito: Click on FAB - New workspace
Chrome: Navigate to Account settings - Workspaces

Expected Result:
The user should say logged in and a workspace should be created. It should be visible with a secondary device
Actual Result:
User is logged out if a workspace is created while logged in with another device. The workspace isn't created
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/416048aa-3800-4fe2-9be3-82d3db9a8eb2
View all open jobs on GitHub

@jliexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp

@neil-marcellini and @fedirjh - assigning as it's related to https://github.com/Expensify/App/pull/41665 (is it a regression?)

@jliexpensify I don't see why it would be related to #41665. I think it's more that the bug happened to be found while testing that PR. I will investigate a bit. It kind of sounds like a backend issue.

Not reproducible. Closing.


[Feature request] Call statistics

It would be awesome to provide statistics as part of fn calls.
At this moment Fn can ship function statistics like:

container stats (RAM, CPU consumption, disk and networking IO usage)
timestamps (Created At, Started At, Completed At)

As developer i'd like to see the following:

provide execution time for each call (to enable external visualization tool implementation must spit out JSON object): <call-id>: <execution-time>

average execution time for calls filtered by the particular path (--path) within last hour (or since )

average RAM consumption for calls filtered by the particular path (--path) within last hour

Maybe something else?

it's possible to calculate this info now from API on the small scale, and i'm not sure this is an API that would be very fun to support in a really scaled up environment -- we're essentially running map-reduce queries against our database. this seems like some UI / tooling sugar (for UI, could work off a read replica of the data to not disturb main db, but this gets really involved), if we bake into default tooling we risk same scale issues. most of this we're going to want to yank out of some metrics backend I assume, but am not sure how this would look if it were part of normal API ?(UI using prometheus endpoint to aggregate across fn already, this seems like a good starting point)

We're doing something like this for 1.0, restricted to [last 1000 || last 24 hrs), with aggregated stats for successful calls and per-function details for failures. Still working out details and plumbing but It's likely that the existing calls API will evolve/get replaced as it doesn't really scale when you start pointing CLI at a big production system.

(And @rdallman is correct, it does get really involved...)


Problem with conda environment in WSL 2

I have the similar issue with ModuleNotFoundError in wsl 2. Base env works fine, some env that I created installing env package with "pip install -e ." works perfectly. Only env created with "conda create --name myenv" has issue only with .ipynb notebook files.

.py files run fine within wsl2 and vs code inside conda created env.
.ipynb files run fine inside web browser jupyter notebook and installed conda env. outside wsl 2
Conda env can be activated inside vs code terminal and has necessary packages installed (within wsl2).
i have the issue running .ipynb inside vscode and wsl 2. any module (import pandas etc) other than python native (import os, sys etc.) is not recognized inside vs code jupyter notebook (while it works fine in terminal or .py run file)

Any ideas?
Originally posted by @VokaCv in https://github.com/microsoft/vscode-jupyter/issues/9886#issuecomment-1120139399

Isn't the root cause of this issue the fact that Python isn't in the conda environment. Creating conda environments using conda create --name myname could be a conda environment for java, hence Python will not be found in that environment.
I believe this is something that Python team was working on.
Basically such environments cannot be used by us until & unless we install Python into the environment first.

@VokaCv
To unblock you from the current situation please could you provide the following information:

Version of Python & Jupyter extension
Version of VS Code
Version of conda conda --version

Conda env can be activated inside vs code terminal and has necessary packages installed (within wsl2).

Please could you actiavte the above newly created conda environment in the terminal and run the following code:

import sys
print(sys.executable)

* provide the output you get from the terminal.
* Provide the name of the newly created conda environment

Please could you open a notebook in VS Code and ensure you select the above newly created conda environment

Run the following cell and provide the output.

import sys
print(sys.executable)

Provide the output from the Jupyter output panel (use the command Jupyter; Show Output to get to the output window)
Provide the output from the Python output panel (use the command Python; Show Output to get to the output window)

Hi,
thanks for your answers.
I had a task to deliver so i could not wait. I will be unable to provide you the info since I hard reset all my system (uninstall vs code and all extensions, uninstall ubuntu, uninstall anaconda, disable wsl2) and then reinstall all.
After hard reboot now it works as expected.

thanks, closing for now


Endpoint /kas_public_key returns PEM CERTIFICATE instead of PUBLIC KEY

endpoint is not as expected.
Also, opentdf.yaml is not as expected
      ec:
        123:
          publicKeyPath: kas-ec-cert.pem

The HSM endpoint returns PUBLIC KEY, not certificate

We need a Diffie-Hellman key to do key exchange. We can't create a certificate with DH X22519 key


Insiders randomly crashing

VSCode Version: bbcd10ae
OS Version: Windows 10 x64

Steps to Reproduce:

Typing in Typescript file
Get a random crash

I couldn't find a reliable way to replicate, but it crashed 3 times since I've updated insiders to the latest nightly. Since it's crashing to the desktop, I have only the Event Viewer event
Faulting application name: Code - Insiders.exe, version: <IP_ADDRESS>, time stamp: 0x591206a2
Faulting module name: Code - Insiders.exe, version: <IP_ADDRESS>, time stamp: 0x591206a2
Exception code: 0xc000041d
Fault offset: 0x00295dbf
Faulting process id: 0x25fc
Faulting application start time: 0x01d2e4362b08e820
Faulting application path: F:\Program Files (x86)\Microsoft VS Code Insiders\Code - Insiders.exe
Faulting module path: F:\Program Files (x86)\Microsoft VS Code Insiders\Code - Insiders.exe
Report Id: b72c615a-5c8f-41d9-a600-ebddf4803cbb
Faulting package full name:
Faulting package-relative application ID:

Fault bucket<PHONE_NUMBER>63, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: Code - Insiders.exe
P2: <IP_ADDRESS>
P3: 591206a2
P4: Code - Insiders.exe
P5: <IP_ADDRESS>
P6: 591206a2
P7: c000041d
P8: 00295dbf
P9:
P10:

Attached files:
\\?\F:\Users\Paulo\AppData\Local\Temp\WER1979.tmp.WERDataCollectionStatus.txt
\\?\F:\ProgramData\Microsoft\Windows\WER\Temp\WER2D1D.tmp.csv
\\?\F:\ProgramData\Microsoft\Windows\WER\Temp\WER2D4D.tmp.txt

These files may be available here:
F:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Code - Insiders._5473dc6fce759f1be93536b34ef97ae7cf6a2c8_127c4c61_455d4e23

Analysis symbol:
Rechecking for solution: 0
Report Id: b72c615a-5c8f-41d9-a600-ebddf4803cbb
Report Status: 268435456
Hashed bucket: 0f995e98384851a39f8b710e266a3f76

contents of the Report.wer https://pastebin.com/r6Kx6eHv
at the current state, Insiders is unusable

found a quick way (but not always reproducible) to make it happen: open a big typescript file, go to Help > Toggle Developers Tools, do it a couple of times, it will crash

I'm able to reproduce this by opening and closing the dev tools quickly, but I don't think that one is TS specific. Here's a crash while working in a small json file: crash.txt

yeah, it doesn't seem to be specific to TS, but most of the time I'm editing a TS file, it's crashing

The dev tools crash is unrelated. Does it crash without dev tools involved?

yes, it does, just by typing in a Typescript file like I said

I'm unable to reproduce this. I'm also not sure how the TS extension could be brining down the VSCode process
@pocesar:

Does this happen if you disable all extensions by starting code with --disable-extensions
Does this happen in other file types?
Does this happen in all TS files or just some file?

c89a5f66 is giving this upon starting

while 73015a5e isn't crashing anymore while editing TS files, it's still crashing when opening the devtools at least twice

Thanks @pocesar. I've opened #29063 to track the devtools issues.
Closing out this issue since it sounds like it no longer is happening. Perhaps you were just on a bad insiders build.


Use containing Android sdk and build tools version numbers

This avoids compilation problems caused by conflicting versions in the containing project and this dependency.

Please merge this, otherwise the package doe not work in 0.59


Cleaned up some logic. [STATUS: STABLE]

In case you want to take my cleaned up version rather than do it yourself

Tried to clean up the code. Of course, you can be the final judge of that :)
Auto port detection seems to work just fine
Fixed a bug where the window would not update if the mouse was over it

The above was confirmed with the help of @Nullkraft

Another interesting side-effect of my code changes is that I don't get a weird extra 3rd packet per cycle being the single byte "\n" anymore.

I think you'll find that 3rd frame was an artifact of the 1-off issue originally.
Easy way to test, get @nullkraft to try the master with the debug mode again.

Either way i'm pretty certain it's ready to merge when you're ready to review.
@Nullkraft could you test the latest version of @inflex 's build before this gets merged in debug mode and see if you get the erroneous 3rd frames?

I'm at work right now so it'll be about 8 hrs from now before I can test it.

@Nullkraft 's results are in the closed units prefix thread. We still get odd frames sometimes but less consistently. I think the same is true for my code.
Louis said he hasn't updated yet. I'd recommend merging in my fixes before he updates so he gets all the features at once if he does update since it's an uncommon event!

Can I get 100% confirmation that the software works with the old parameter style too; because Louis will be using an overwrite of the software, so the old parameters will still exist (no autodetection).

@nullkraft did many tests with -p and it still works

do you have a sample parameter string to test? he tested -p, -d, and -m explicitly.

Use the one that's detailed in the help section (with appropriate com port of course :) )

just noticed "bk390a.exe -z 120 -p 4 -m -fc #ff1010 -bc #000000 -fw 600" should probably be "win-bk390a.exe -z 120 -p 4 -m -fc #ff1010 -bc #000000 -fw 600".  i'll add that change too in my fork.
@Nullkraft, can you try running the program with -z 120 -p 3 -m -fc #ff1010 -bc #000000 -fw 600 or something similar as a final confirmation? Thanks so much for your support!

@Nullkraft said:

I tried the command line: win-bk390a.exe -z 120 -p 3 -m -fc #ff1010 -bc #000000 -fw 600
and everything seems to be working fine. I changed -z a few times and had good control. I got a rather large red font in the display.

I will mention one thing, when I set -z to a relatively small value (less than 25) the display began to cutoff portions of the information, namely the description(?) such as the word 'Frequency'.

Just moving it to our correct discussion thread. Thanks for the info! Looks ready to rock and roll :)

You're right about the font width issue; that's because there's no function that I can see in the GDI system that lets you know the width of the text box that you've created (maybe there is, I haven't found it yet), either that or I was too lazy to work it out and just thumb-sucked it.... both scenarios are equally likely ;)

Anything else you want tidied up before merge? I have about 40 minutes of free time atm

Fantastic. Do you want to increment the version again?  Just curious.
I'm going to follow this project and will help if more development is required. Fun working with you :)

I'm fixing up the version thing right now - don't make any changes yet, I'm tying it to git releases

New versioning information system is added. Pulls from the git release data.


Return :error on deserialization failure

Coverage remained the same at 90.123% when pulling 7e777171c494a0271ff17d38b448582b1f6c80e7 on pguillory:error into b3ec59a87b3123bdae2a9699f506ff317fc7beb7 on pinterest:master.

Coverage remained the same at 90.123% when pulling b8ca34f9761d954007518db3459356b80cc0d590 on pguillory:error into 1e06f48b1ea9d1ff08cb0ed090246f719271d842 on pinterest:thrift_tng.

Imagine I'm writing a server on top of this. I think having {:error, :decode_failed} is better, since the server could have {:error, :tcp_closed}.
:error doesn't give me a lot to go on.

Spoke with scohen. We're going to change the deserialize response to {:ok, struct, rest_of_binary} | {:error, reason}. I'll go ahead and merge this and make that change in another commit.


Vendor<EMAIL_ADDRESS>

What this PR does / why we need it:
Vendor<EMAIL_ADDRESS>Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/6567
Special notes for your reviewer:
Release note:

The following dependency is updated:
- github.com/gardener/machine-controller-manager v0.45.0 -> 0.47.0

Failure is due to https://github.com/kubernetes-sigs/kind/issues/2863.

Opened https://github.com/gardener/machine-controller-manager-provider-local/issues/9


Error during training

Hello,
Thanks for sharing your code, appreciate it a lot.
I want in the future to train on my own data, but first I'll try to just train a model on your dataset as you described in the Readme file.
Im working on a RTX2060 GPU, which gives an error caused by excessive memory usage. So, for that reason I have lowered the batch size in the config file under #training settings from 8 to 5, but then I get another error due to:
"indices[15] = [15, 1] does not index into param shape [16,1,4]"
Do I have to change the batch size in other places than just the config file, or does this implementation work specifically with a bath size of 8?
Thanks for the reply in advance! :)

Hi, unfortunately, we did not try to make the implementation work with all batch sizes. You might try some other ones and see if that helps. Then again, the batch size should not be much smaller so that the 3dconvs can still learn some temporal context. If you have excessive memory usage, it might help to decrease the input image size.


test(jsx-sort-props): add test with comments between props

Description
Add test for jsx-sort-props with comments between props
Linked Issues
#549
Additional context

@antfu could you please approve workflows?


Modify: OpenJS.NodeJS version 22.3.0

Checklist for Pull Requests

[X] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@aisgbnok Please do not add UpgradeCode to the manifest. Both OpenJS.NodeJS and OpenJS.NodeJS.LTS are using the same UpgradeCode and adding it to the former one will cause the latter to be recognized as the former. (And adding it to both may cause some users unable to update)

@aisgbnok Please do not add UpgradeCode to the manifest. Both OpenJS.NodeJS and OpenJS.NodeJS.LTS are using the same UpgradeCode and adding it to the former one will cause the latter to be recognized as the former. (And adding it to both may cause some users unable to update)

@SpecterShell, I see. That makes sense. Thank you for the insight and for flagging this. I will correct my mistake.

(And adding it to both may cause some users unable to update)

Do you happen to know if adding it to say just OpenJS.NodeJS and not OpenJS.NodeJS.LTS would cause this issue as well? I'm removing it from both, but I'm curious. I haven't had a chance to look deeply at how winget-cli works regarding ARP outside of the docs in this repo yet. Thanks again.

@aisgbnok Please do not add UpgradeCode to the manifest. Both OpenJS.NodeJS and OpenJS.NodeJS.LTS are using the same UpgradeCode and adding it to the former one will cause the latter to be recognized as the former. (And adding it to both may cause some users unable to update)

@SpecterShell, I see. That makes sense. Thank you for the insight and for flagging this. I will correct my mistake.

(And adding it to both may cause some users unable to update)

Do you happen to know if adding it to say just OpenJS.NodeJS and not OpenJS.NodeJS.LTS would cause this issue as well? I'm removing it from both, but I'm curious. I haven't had a chance to look deeply at how winget-cli works regarding ARP outside of the docs in this repo yet. Thanks again.

For MSI installers, UpgradeCode has a higher priority than any other entries.
If one of the two packages have the UpgradeCode entry, all versions of NodeJS (LTS or non-LTS) will be matched to that package.
And if both packages have that entry, WinGet will complain in the log that there are multiple packages matched. If neither of them has been installed through WinGet (i.e., installed through the installer directly), the installation will remain unmatched. If one of them was installed through WinGet (which will be recorded in installed.db), the installation will be matched to that package, regardless of whether it is LTS or non-LTS.

@aisgbnok Please do not add UpgradeCode to the manifest. Both OpenJS.NodeJS and OpenJS.NodeJS.LTS are using the same UpgradeCode and adding it to the former one will cause the latter to be recognized as the former. (And adding it to both may cause some users unable to update)

@SpecterShell, I see. That makes sense. Thank you for the insight and for flagging this. I will correct my mistake.

(And adding it to both may cause some users unable to update)

Do you happen to know if adding it to say just OpenJS.NodeJS and not OpenJS.NodeJS.LTS would cause this issue as well? I'm removing it from both, but I'm curious. I haven't had a chance to look deeply at how winget-cli works regarding ARP outside of the docs in this repo yet. Thanks again.

For MSI installers, UpgradeCode has a higher priority than any other entries.
If one of the two packages have the UpgradeCode entry, all versions of NodeJS (LTS and non-LTS) will be matched to that package.
And if both packages have that entry, WinGet will complain in the log that there are multiple packages matched. If neither of them has been installed through WinGet (i.e., installed through the installer directly), the installation will remain unmatched. If one of them was previously installed through WinGet (which would be recorded in installed.db), the installation will be matched to that package, regardless of whether it is LTS or non-LTS.
2024-06-13 15:16:30.701 [REPO] Finding available package from installed package using system reference search: Query:[none] Include:ProductCode='{97761326-7202-4cb0-9886-6282d9f456b1}'[Exact] Include:UpgradeCode='{47c07a3a-42ef-4213-a85d-8f5a59077c28}'[Exact] Include:NormalizedNameAndPublisher='nodejs'+'nodejsfoundation'[Exact]
2024-06-13 15:16:30.701 [REPO]  ... searching source: msstore [StoreEdgeFD]
2024-06-13 15:16:30.701 [REPO] Performing search: Query:[none] Include:ProductCode='{97761326-7202-4cb0-9886-6282d9f456b1}'[Exact] Include:UpgradeCode='{47c07a3a-42ef-4213-a85d-8f5a59077c28}'[Exact] Include:NormalizedNameAndPublisher='nodejs'+'nodejsfoundation'[Exact]
2024-06-13 15:16:30.702 [REPO] PackageMatchField not supported in this version: UpgradeCode
2024-06-13 15:16:30.702 [REPO]  ... searching source: winget [Microsoft.Winget.Source_8wekyb3d8bbwe]
2024-06-13 15:16:30.702 [REPO] Performing search: Query:[none] Include:ProductCode='{97761326-7202-4cb0-9886-6282d9f456b1}'[Exact] Include:UpgradeCode='{47c07a3a-42ef-4213-a85d-8f5a59077c28}'[Exact] Include:NormalizedNameAndPublisher='nodejs'+'nodejsfoundation'[Exact]
2024-06-13 15:16:30.704 [REPO]  ... setting latest tracking package to: OpenJS.NodeJS
2024-06-13 15:16:30.704 [REPO] Performing search: Query:[none] Include:ProductCode='{97761326-7202-4cb0-9886-6282d9f456b1}'[Exact] Include:UpgradeCode='{47c07a3a-42ef-4213-a85d-8f5a59077c28}'[Exact] Include:NormalizedNameAndPublisher='nodejs'+'nodejsfoundation'[Exact]
2024-06-13 15:16:30.704 [REPO] Found multiple matches for installed package [ARP\Machine\X64\{97761326-7202-4CB0-9886-6282D9F456B1}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{97761326-7202-4cb0-9886-6282d9f456b1}'[Exact] Include:UpgradeCode='{47c07a3a-42ef-4213-a85d-8f5a59077c28}'[Exact] Include:NormalizedNameAndPublisher='nodejs'+'nodejsfoundation'[Exact]]
2024-06-13 15:16:30.704 [REPO]   Checking match with package id: OpenJS.NodeJS
2024-06-13 15:16:30.704 [REPO]   Checking match with package id: OpenJS.NodeJS.LTS
2024-06-13 15:16:30.704 [REPO]   Found multiple packages with strong match fields
2024-06-13 15:16:30.705 [REPO]   Appropriate available package could not be determined
2024-06-13 15:16:30.705 [REPO]  ... using tracking package: OpenJS.NodeJS
2024-06-13 15:16:30.705 [REPO] Performing search: Query:[none] Filter:Id='OpenJS.NodeJS'[CaseInsensitive]
2024-06-13 15:16:30.705 [REPO]  ... adding available package: OpenJS.NodeJS

I see. Thank you again for your help.


Managed ID Resolution - FTA Update

#1966  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @craig-statsig and the rest of your teammates on  Graphite

🚀 Deployed on https://66d76cfbe19000b50860ed6c--cozy-fox-0defec.netlify.app


Adds tab pane to the data/style form

First task of #6511

CR: @xavijam
/cc @viddo

Ok, suggestions implemented.

Yeah! :+1:


How to use with tagged union types?

Assume we have a reducer using tagged union types - i.e. function reducer(state: AppState, action: ActionTypeA | ActionTypeB | ActionTypeC): AppState { return state; } - and wanted to handle a router action. This doesn't seem to work out of the box since the actions are untyped.

This should still work in your reducer. The type is still a string.
  switch (action.type) {
    case foo.ActionTypes.BAR:
      return Object.assign({}, state, { foo: bar });

    case routerActions.UPDATE_LOCATION:
      return state;

    default:
      return state;
  }

The problem with that usage is that it seems to break the type inference magic typescript does w/ the union types and consequently I lose type checking on the action payload.

I see. I'll looking to adding typed actions soon. You can also create your own typed action and use it in the reducer.
import { Action } from '@ngrx/store';
import { type } from '../utils/type';
import { routerActions, RouterMethodCall } from '@ngrx/router-store';

export const ActionTypes = {
  FOO: type('[Category] Foo'),
  UPDATE_LOCATION: type(routerActions.UPDATE_LOCATION)
};

export class ActionTypeA implements Action {
  type = ActionTypes.FOO;

  constructor(public payload?: boolean) {}
}

export class UpdateLocationAction implements Action {
  type = ActionTypes.UPDATE_LOCATION;

  constructor(public payload: RouterMethodCall) {}
}

export type Actions = ActionTypeA | UpdateLocationAction;


As a marketing department employee I want to produce a report showing all the capital cities in a continent organised by largest population to smallest so that I can support and influence business decisions of my organisation (for example when it comes to launching/testing a new product).

Continents to check
Africa
Asia
Europe


try fixing h5py error

https://stackoverflow.com/questions/51593527/oserror-unable-to-open-file-unable-to-open-file
/edit: that was not it. I’ll set up a Python 3.7 venv and look if I can reproduce it locally
/edit: nope, cleaning caches …

cleaning caches did the trick. let’s see if the absolute path is also needed (rebuilding master): https://travis-ci.org/github/theislab/scanpy/builds/663442852


Add Adapters to ALBERT

This PR adds adapters to the ALBERT model.
All tests run through except some class conversation tests. I think the error must be in the STATIC_TO_FLEX_HEAD_MAP in head_utils.py, but I am not 100% sure. Can you take a look at this, @calpt or @hSterz ?

Thanks for the review @calpt. Everything you noticed should be fixed now


Setting state via API removes state attributes

I am testing IFTT as a device_tracker. I use the IFTT Maker channel to set the state of my device via a API-call. I have setup a device in the known-device.yaml and control the state of the device via IFTT location triggers. This is working, but using a API-call to set the state unfortunately removes the state attributes like entity_picture and friendly_name.
API url: /api/states/device_tracker.iphonevanrichard
JSON Body: {"state":"home"}
I added the state attributes to my API-call so they do not get removed. But shouldn't it be the case that a API-call only changes the actual state and not the attributes if no attributes are given in the API call?

I use IFTTT as device_tracker too, this is my Maker config:
{ "state": "home", "attributes": { "entity_picture": "/local/dani.jpg", "friendly_name": "Dani" } }

Each new state replaces the previous one. You can do as @danichispa suggests and put the data you want in there. It would be better however to use the see service provided by device tracker.


build failed

1: Task failed with an exception.

Where:
Build file '/Users/mac/.pub-cache/hosted/pub.dev/chaquopy-0.0.18/android/build.gradle' line: 28

What went wrong:
A problem occurred evaluating project ':chaquopy'.

Failed to apply plugin 'com.chaquo.python'.
Could not find matching constructor for: com.android.build.gradle.internal.api.DefaultAndroidSourceDirectorySet(String, org.gradle.api.internal.project.DefaultProject_Decorated, com.android.build.gradle.internal.api.artifact.SourceArtifactType$JAVA_SOURCES)

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.

Where:
Script '/Users/mac/fvm/versions/3.7.12/packages/flutter_tools/gradle/flutter.gradle' line: 390

What went wrong:
A problem occurred configuring project ':chaquopy'.

Failed to notify project evaluation listener.
Could not find matching constructor for: com.android.build.gradle.internal.api.DefaultAndroidSourceDirectorySet(String, org.gradle.api.internal.project.DefaultProject_Decorated, com.android.build.gradle.internal.api.artifact.SourceArtifactType$JAVA_SOURCES)
Cannot invoke method substring() on null object
com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

same problem have anyone find out how to solve the question

This Problem is resolved in the newer version, kindly use latest version of chaquopy.


Add class interfaces to better web editor experience

I think it would be much better if exercises had predefined method interfaces required to implement.
https://exercism.org/tracks/ruby/exercises/series

Thank you for exploring this @woarewe !


Cells have no padding on qutebrowser

On initial test column overflows don't seem to render correctly either
Version info:
         ______     ,,
    ,.-"`      | ,-` |
  .^           ||    |
 /    ,-*^|    ||    |
;    /    |    ||    ;-*```^*.
;   ;     |    |;,-*`         \
|   |     |  ,-*`    ,-"""\    \
|    \   ,-"`    ,-^`|     \    |
 \    `^^    ,-;|    |     ;    |
  *;     ,-*`  ||    |     /   ;;
    `^^`` |    ||    |   ,^    /
          |    ||    `^^`    ,^
          |  _,"|        _,-"
          -*`   ****"""``

qutebrowser v2.4.0
Git commit:
Backend: QtWebEngine 5.15.8, based on Chromium 87.0.4280.144
Qt: 5.15.3 (compiled 5.15.2)

CPython: 3.10.2
PyQt: 5.15.6

sip: 6.5.1
colorama: 0.4.4
jinja2: 3.0.3
pygments: 2.11.2
yaml: 6.0
adblock: 0.5.2
PyQt5.QtWebEngineWidgets: yes
PyQt5.QtWebEngine: 5.15.5
PyQt5.QtWebKitWidgets: yes
pdf.js: no
sqlite: 3.38.0
QtNetwork SSL: OpenSSL 1.1.1m  14 Dec 2021

Style: QFusionStyle
Platform plugin: xcb
OpenGL: Intel, 4.6 (Compatibility Profile) Mesa 21.2.5
Platform: Linux-5.16.12-arch1-1-x86_64-with-glibc2.35, 64bit
Linux distribution: Arch Linux (arch)
Frozen: False
Imported from /usr/lib/python3.10/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib/qt/libexec, data path: /usr/share/qt

Paths:
cache: /home/sliebau/.cache/qutebrowser
config: /home/sliebau/.config/qutebrowser
data: /home/sliebau/.local/share/qutebrowser
runtime: /run/user/1000/qutebrowser
system data: /usr/share/qutebrowser

Autoconfig loaded: yes
Config.py: no config.py was loaded
Uptime: 16:37:28

should be fixed in e78462ef5e36bca27fb57d2e75d2bd670334d415


Improve robustness of test in different env

@tamarrow can you please review this? I upgraded the channel we use to test the cli and needed to make some changes to our tests.

@jsancio LGTM when tests pass


Improve warning behaviour in set_item_codes()

Currently um2netcdf.set_item_codes() skips setting/overwriting the stash code if one already exists. This causes several warnings in the unit tests, which would be good to clean up.
There's several options to fix:

Simply overwrite the stash code
Determine which tests reassign stash codes & decide on best action
Something else?

Here's a ~ September 2024 variant of set_item_codes():
https://github.com/ACCESS-NRI/um2nc-standalone/blob/c1a4a54404347ccba925a5c18249049482309caa/umpost/um2netcdf.py#L642-L651
Line 650 retrieves & converts cube sourced stash codes to item codes.
Line 651 adds this as an attribute.
I think the warning implementation was an overly defensive approach while early test coverage was sparse & less was known about the codebase. Setting/adding the item_code from the cube's own attributes should be safe, it's always setting the same value again unless attributes are modified during runtime (this would have to be external to um2netcdf.py). The warning doesn't seem to serve a purpose now.
Proposed fix:

Delete the check & warning from set_item_codes()
Add set_item_codes() docstrings
In the tests:

Delete def test_set_item_codes()
Delete test_set_item_codes_avoid_overwrite()

Tests for process() call set_item_codes(), therefore I suggest this covers testing item codes within more general test cases.
Are there any comments on this approach or something I've missed?

An initial implementation is on a new branch https://github.com/ACCESS-NRI/um2nc-standalone/commit/1ce80498714dce8155f2d109ad68298e68aa251f


Race condition prevention: use conditions on save() for ticket assignment in RPC API

Reported by pegro on 6 Jan 2014 16:55 UTC
Use conditions on save() for ticket assignment in RPC API to prevent race conditions between concurrent requests of different workers.

Comment by texec on 5 Sep 2014 20:10 UTC
This was fixed a long time ago, but propably broke some time later when the signature of Model::save changed. Fixed in [changeset:8140621].

Comment by texec on 5 Sep 2014 20:19 UTC
[was nonsense, changeset:5483b85 did it!


Adds a "general" SMS subscription topic

What's this PR do?
This pull request adds general to the list of valid SMS subscription topics, in addition to voting (added in #998).
How should this be reviewed?
👀
Any background context you want to provide?
This will be used to better segment users who may only want to receive SMS broadcasts about voting. The SMS Subscription Topics one-pager goes into details about how this will be used, if you're interested to know.
Next up for a future PR: give users the general and voting SMS subscription topics by default if their sms_status is created/changed to active or less. Opened this as-is to keep things easier to review.
Relevant tickets
References Pivotal #171848124.
Checklist

[x] This PR has been added to the relevant Pivotal card.
[x] Documentation added for new features/changed endpoints.
[ ] Added appropriate feature/unit tests.
[x] If new attributes were added to users, there is a corresponding PR to surface these in Aurora.
[ ] If new attributes were added to users, then the data team already knows about these changes.

Yep, we'll backfill with both topics!


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1977 ms

Resolved: Bofrost.be performance has improved in be5b490.


[SPARK-28305][YARN] Request GetExecutorLossReason to use a smaller timeout parameter

What changes were proposed in this pull request?
Request GetExecutorLossReason to use a smaller timeout parameter.
In some cases, such as NM machine crashes or shuts down,driver ask GetExecutorLossReason,
AM getCompletedContainersStatuses can't get the failure information of container.
Because the yarn NM detection timeout is 10 minutes, it is controlled by the parameter yarn.resourcemanager.rm.container-allocation.expiry-interval-ms.
So AM has to wait for 10 minutes to get the cause of the container failure.
Although the driver's ask fails, it will call recover.
However, due to the 2-minute timeout (spark.network.timeout) configured by IdleStateHandler, the connection between driver and am is closed, AM exits, app finish, driver exits, causing the job to fail.
How was this patch tested?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

AM LOG:
19/07/08 16:56:48 [dispatcher-event-loop-0] INFO YarnAllocator: add executor 951 to pendingLossReasonRequests for get the loss reason
19/07/08 16:58:48 [dispatcher-event-loop-26] INFO ApplicationMaster$AMEndpoint: Driver terminated or disconnected! Shutting down.
19/07/08 16:58:48 [dispatcher-event-loop-26] INFO ApplicationMaster: Final app status: SUCCEEDED, exitCode: 0
Driver LOG:
19/07/08 16:58:48,476 [rpc-server-3-3] ERROR TransportChannelHandler: Connection to /xx.xx.xx.xx:19398 has been quiet for 120000 ms while there are outstanding requests. Assuming connection is dead; please adjust spark.network.timeout if this is wrong.
19/07/08 16:58:48,476 [rpc-server-3-3] ERROR TransportResponseHandler: Still have 1 requests outstanding when connection from /xx.xx.xx.xx:19398 is closed
19/07/08 16:58:48,510 [rpc-server-3-3] WARN NettyRpcEnv: Ignored failure: java.io.IOException: Connection from /xx.xx.xx.xx:19398 closed
19/07/08 16:58:48,516 [netty-rpc-env-timeout] WARN YarnSchedulerBackend$YarnSchedulerEndpoint: Attempted to get executor loss reason for executor id 951 at RPC address xx.xx.xx.xx:49175, but got no response. Marking as slave lost.
org.apache.spark.rpc.RpcTimeoutException: Cannot receive any reply from null in 120 seconds. This timeout is controlled by spark.rpc.askTimeout

Can one of the admins verify this patch?

Interesting, this makes sense, but I'm wondering does the same happen in other places as well.  I assume if you configure the spark.rpc.askTimeout to be <  network timeout, that also works around the issue?  Or if you io.connectionTimeout to be larger?

In the yarn-client mode, the driver closes the AM connection, causing the entire job to exit, causing unnecessary failures.
I searched the code and used the ask+recover method very rarely.
Adjust parameters should be work.
spark.rpc.askTimeout 120s
spark.rpc.io.connectionTimeout 130s

Parameter priority

module
first
second

RpcEndpointRef#ask
spark.rpc.askTimeout
spark.network.timeout

TransportChannelHandler
spark.rpc.io.connectionTimeout
spark.network.timeout

I found a problem with the abnormal exit of the yarn client mode last time, and found and fixed a problem. https://github.com/apache/spark/pull/23989
In the production environment, this patch is used, and there is still a probability of abnormal exit.
Later, I carefully looked at the logic of this piece and found the problem.

right, so to clarify I think you are say yes if you set askTimeout separate it also fixes the problem, correct?
So my concern is that you are fixing this in a single location, I think there are other places that could have the same issue, although the question is whether those are recoverable or not.
In this case it is recoverable because its just trying to get the loss reason and if it doesn't it can go on just fine and the AM will restart and connect back to the driver.
My other concern here is that we are breaking what the configs actually do. This is no longer just the asktimeout or network timeout, its 0.95 times one of those. Which is inconsistent with what is documented and  everywhere else. Let say I set ask timeout different from network timeout, now you are decreasing the ask timeout even more then what I set it to.
so I'm wondering if you can just set the ask timeout globally different or if that causes other issues?

Yes, I used the following configuration to test successfully in the test environment, but not on a large scale in the production environment.
spark.rpc.askTimeout=120s
spark.rpc.io.connectionTimeout=130s

After the Driver closes the AM connection, the AM does not have a chance to reconnect , and the sparkcontext also stops.
finish(FinalApplicationStatus.SUCCEEDED, ApplicationMaster.EXIT_SUCCESS)

Or should I take the minimum of three configuration items?
Later I discovered that this may also be a race condition.
RpcOutboxMessage#onTimeout  call removeRpcRequest
https://github.com/apache/spark/blob/9df7587eead82889ca9a4efaaeb0afa55a0157cd/common/network-common/src/main/java/org/apache/spark/network/client/TransportResponseHandler.java#L84-L91
IdleStateHandler trigger  IdleStateEvent
numOutstandingRequests>0  May contain rpc request that will be deleted by another thread.
isActuallyOverdue=true
https://github.com/apache/spark/blob/9df7587eead82889ca9a4efaaeb0afa55a0157cd/common/network-common/src/main/java/org/apache/spark/network/server/TransportChannelHandler.java#L157-L160
I'm not sure if my example is too extreme, but it does happen in our environment.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Abandonned ?

Modules hasn't been updated since march, documentation website is down and none of the badges in the readme work. 🤔

Hey, I have developed an initial idea for this module long time ago. Since then I have developed other modules and completely forgotten about this one.
I am currently on holidays but I will get back to the topic soon as this functionality may be quite useful now that we have Nuxt 3 stable 🙂


Refactored Gaia parameters

This PR refactors Gaia's configuration parameters which had an inconsistent naming scheme and missed some important documentation.

Codecov Report

Merging #198 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #198      +/-   ##
=========================================
- Coverage   62.22%   62.2%   -0.03%
=========================================
  Files          48      48
  Lines        3934    3934
=========================================
- Hits         2448    2447       -1
- Misses       1081    1082       +1
  Partials      405     405

Impacted Files
Coverage Δ

workers/scheduler/scheduler.go
65.43% <0%> (-0.31%)
:arrow_down:

Continue to review full report at Codecov.

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


Might you adding source and time in cell view?

Screenshot taken from Feeder.

hey there - Source and time are on the list items/cells now. Time is relative. So a post from 1 hour ago will say "1h."
It's harder to tell the difference between the title and subtitle (source). So typography is something I can improve.

Yep! I'm tracking card customization in #140.

heads up - display options will be in the next release per https://github.com/jocmp/capyreader/pull/163 (screenshots for reference). As for the second feature request, I'm only supporting relative timestamps at this time.


Training problem

Hi , nice work !
I also implement image caption model reference from your project
But same config like your's , after 5 epochs loss converge at 2.5
And can't not do well on captioning job
Can you give me some advice?

If you have calculated the loss in the same way as my code, it is normal that loss is about 2.5 (loss 2.5 equals to perplexity 11.97). This means that the model is well trained. I think that something went wrong during the evaluation phase. Below are some good things to try.

Add batch normalization to the top layer of CNN.
This makes training more stable. See here.

Use 0.01 for momentum in BN
The default value of the momentum in BN is 0.1, which can not calculate moving average/variance well for the entire training dataset.

Change the cnn model to eval mode before sampling the caption
Assume that the model is training mode and you give 1 image to the model to generate the caption. In training mode, BN uses mini-batch statistics which makes all activation values 0. To properly generate the caption, give the model multiple images, or change it to eval mode.See here for how to change the model to eval mode.

I hope this helps.


Only lock the ECC when needed

When using an ECC as a keypair provider, the access to the ECC device (e.g. through the i2c driver) is locked at the init and not released until the application is closed (and the system free its ressources).
As this application is a daemon, it should not lock the ECC over its whole lifecycle as it will prevent other applications to use it.
This is currently a dependency constraint, see helium-crypto-rs#22 for details.

This would be very useful for all authenticating with Google cloud iot etc

I'd happily take a PR here, but right now this is not a priority and somewhat fraught with issues at the rate a hotspot is using the ECC


Logging InnerException Separately

Hi all,
This is just a quick question -- the answer may be obvious, and I may not be looking in the right place.
I'm looking to have a database target where Exception, InnerException, and ExceptionData are stored in separate columns, if possible. I have something like the following, which is not working. Is there a way to do this? A brief bit of Googling / SO'ing, it doesn't seem anyone else has a solution for this.
<target xsi:type="Database" name="database" connectionString="AuditDB">
    <commandText>
       INSERT
         INTO LogTable
       (Exception, InnerException, ExceptionData)
       VALUES
       (@Exception, @InnerException, @ExceptionData);
    </commandText>

    <parameter name="@Exception" layout="${exception:format=ToString}" />
    <parameter name="@InnerException" layout="${exception:innerFormat=ToString}" />
    <parameter name="@ExceptionData" layout="${exception:format=Data}" />
</target>

The output currently seems to be the primary exception message (the default format value).

Yes that's possible, see https://github.com/NLog/NLog/wiki/JsonLayout#from-the-api
as example

Ah yes, that's exactly what I'm looking for. Thank you.

:)

I'm have a little bit of trouble getting this to work.
In my config I've added the following parameter:
<parameter name="@InnerExceptionType" layout="${exception:format=:innerFormat=Type}"/>
The internal logging doesn't show any errors. I am deliberately creating a new exception with:
new NotImplementedException("test", new InvalidOperationException("inner test"));
But my database only shows an empty column.

Are you catching and logging the exception? That won't be automatic. If it's still an issue, please open a new issue.


Support for CP1252 Encoding

I was getting an error on a particular file and when I made this change, it allowed it to proceed.

@codepwner, can you please attach that file? I would like to find out why the original code wasn't working correctly with it.

Maybe it has to do with the specific versions of .NET I am using?  Currently, my downstream application is targeting .NET Core 3.1.
Working on creating a sanitized version of the input file I used to be able to share.

I was able to recreate the issue using this file.
Test Case.zip
The SPSS project has no other modifications than the one I checked in.  I was not aiming to do any development in the project, but when the nuget version was throwing the error, I decided to pull the source and was able to make this hack of a fix to get past my issue.

Here are the bytes of the string in the calling method too.

I converted my project to .NET Standard 4.7 (for reasons outside this topic) and decided to run a quick additional test...

@codepwner, thank you for the file. But the library works correctly with that file on my side.
Text and byte representation of the encoding are the same as yours, but the encoding is correctly resolved by the following lines in the GetEncoding() method:
// Try to get encoding parsing codepage
int cp;
if (int.TryParse(Regex.Match(strEncoding, @"\d+").Value, out cp))
{
    info = encInfo.SingleOrDefault(ei => ei.CodePage == cp);
    if (info != null)
        return info.GetEncoding();
}

It seems that the source of the problem is in the Encoding.GetEncodings() method.
It returns 140 encodings in a project which targets .Net Framework 4.6.2.
But it seems than in projects which target .Net Core that method returns only a few default encodings (https://github.com/PowerShell/PowerShell/issues/6580).
So it's better to make this fix more universal in order to support other encodings. Something like this:
// Try to get encoding parsing codepage
int cp;
if (int.TryParse(Regex.Match(strEncoding, @"\d+").Value, out cp))
{
    info = encInfo.SingleOrDefault(ei => ei.CodePage == cp);
    if (info != null)
        return info.GetEncoding();

    try
    {
        var enc = Encoding.GetEncoding(cp);
        return enc;
     }
    catch (ArgumentException)
    { }
}


Support image pull progress deadline for containerd

Kubernetes kubelet provides an --image-pull-progress-deadline option that If no pulling progress is made before this deadline, the image pulling will be cancelled. This docker-specific flag only works when container-runtime is set to docker. (default 1m0s), see https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/.  Unfortunately, this option is only available for the Docker shim.  We'd like an option on containerd to support such a deadline/timeout in order to prevent hung image pulls.  Extending the Kubernetes option to support this would be nice, but that is out of the scope for this issue.

The cri functionality is in containerd core repo. So move it back...

//cc: @qiutongs FYI

Not sure what the status of this issue is by now, but I thought it would be worth pointing out that it looks like kubernetes is deprecating --image-pull-progress-deadline:

https://github.com/kubernetes/kubernetes/pull/106907/files#diff-5dd381e5c058ed2af7d72be5f6d1b540bdba3a5193eaa069214786f8bdf535cfL100

Not sure what the status of this issue is by now, but I thought it would be worth pointing out that it looks like kubernetes is deprecating --image-pull-progress-deadline:

https://github.com/kubernetes/kubernetes/pull/106907/files#diff-5dd381e5c058ed2af7d72be5f6d1b540bdba3a5193eaa069214786f8bdf535cfL100

Should it be configured via kubelet and passed via CRI? I think this may be implemented as a containerd configuration setting.
BTW, is it still in 1.6 milestone?

#6150 is not in milestone 1.6. Rescheduled in 1.7

Awesome!  Thank you all.

@fuweid if we backport this into 1.6.x branch,  do we need to worry about any dependency?
Kindly advise.


Update the coloc pipeline to the newer credible sets and study datasets

This PR includes changes in the code that produces colocalisation results on studies with summary stats. The business logic has barely not changed, so the changes only affect the handling of the new dependencies.

Credible sets are now parsed from the study/locus dataset described in #2826
Studies are parsed from the new study table described in #2827
Both of these datasets include QTL studies already, so hashing them in the coloc code is no longer necessary
The schema has slightly slimmed:

a studyKey column is no longer needed since studyId already uniquely identifies each study.
columns specifying the coordinates have gone away
... we could keep deleting metadata, I haven't yet reviewed this

I've run it only on chromosome 22 without downgrading the performance. However the data is not so straightforward to compare, QTLs inclusion in the credible sets/study table is quite preliminar but the numbers make sense at least overall. I am happy with it.

Coloc with the old data (`gs://genetics_etl_python_playground/XX.XX/output/python_etl/parquet/coloc) has 242_972  rows
New coloc (`gs://genetics_etl_python_playground/XX.XX/output/python_etl/parquet/coloc_refactor) has 224_563 rows
The calculation of H4 seems to be the same at least for overlapping signals between the old and new results:

(
    coloc.select(
        "left_study",
        "right_study",
        f.translate(f.col("left_lead_variant_id"), ":", "_").alias(
            "left_leadVariantId"
        ),
        f.translate(f.col("right_lead_variant_id"), ":", "_").alias(
            "right_leadVariantId"
        ),
        f.col("coloc_h4").alias("old_coloc_h4"),
    )
    .join(
        new_coloc.select(
            f.col("left_studyId").alias("left_study"),
            f.col("right_studyId").alias("right_study"),
            "left_leadVariantId",
            "right_leadVariantId",
            f.col("coloc_h4").alias("new_coloc_h4"),
        ),
        on=["left_study", "right_study", "left_leadVariantId", "right_leadVariantId"],
        how="inner",
    )
    .show(5, False, True)
)

-RECORD 0---------------------------------
 left_study          | NEALE2_23111_raw
 right_study         | GCST90002385
 left_leadVariantId  | 22_38184910_G_T
 right_leadVariantId | 22_38203760_C_G
 old_coloc_h4        | 0.9854346777716111
 new_coloc_h4        | 0.9854346777716111
-RECORD 1---------------------------------
 left_study          | GCST90002404
 right_study         | GCST90002310
 left_leadVariantId  | 22_37110370_T_C
 right_leadVariantId | 22_38216597_G_A
 old_coloc_h4        | 0.9947585251163407
 new_coloc_h4        | 0.9947585251163407
-RECORD 2---------------------------------
 left_study          | GCST90002404
 right_study         | GCST004602
 left_leadVariantId  | 22_42745014_G_A
 right_leadVariantId | 22_42745014_G_A
 old_coloc_h4        | 0.9936330241285781
 new_coloc_h4        | 0.9936330241285781
-RECORD 3---------------------------------
 left_study          | GCST90002389
 right_study         | GCST90002369
 left_leadVariantId  | 22_21591689_G_A
 right_leadVariantId | 22_21557957_A_G
 old_coloc_h4        | 0.9370848046199054
 new_coloc_h4        | 0.9370848046199054
-RECORD 4---------------------------------
 left_study          | NEALE2_3064_raw
 right_study         | GCST004611
 left_leadVariantId  | 22_30197423_A_G
 right_leadVariantId | 22_29840599_G_T
 old_coloc_h4        | 0.7951962513728755
 new_coloc_h4        | 0.7951962513728755

Codecov Report

Merging #54 (9528b72) into main (52a4ee2) will increase coverage by 1.06%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
+ Coverage   52.83%   53.89%   +1.06%
==========================================
  Files          33       35       +2
  Lines         583      590       +7
==========================================
+ Hits          308      318      +10
+ Misses        275      272       -3

Impacted Files
Coverage Δ

src/etl/coloc/coloc.py
59.25% <0.00%> (+6.13%)
:arrow_up:

src/etl/coloc/overlaps.py
33.33% <0.00%> (-2.39%)
:arrow_down:

src/etl/coloc/utils.py
60.00% <50.00%> (ø)

src/run_coloc.py
52.38% <50.00%> (+2.38%)
:arrow_up:

src/conftest.py
100.00% <0.00%> (ø)

src/__init__.py
100.00% <0.00%> (ø)

I made some changes to remove the phenotype/gene LUT from this pipeline (see https://github.com/opentargets/issues/issues/2827#issuecomment-1344166295)
Output: gs://genetics_etl_python_playground/XX.XX/output/python_etl/parquet/coloc_refactor_all


How to get element with 'ref'

This doesn't seems to work:
            <TextareaAutosize
                minRows={3}
                ref={textarea => this.textarea = textarea}
                {...rest}/>

I would like to have reference to DOM node.

It depends on what kind of ref you would like to get. This should work, but will give you a ref of TextareaAutosize instance. If you need access to the underlying DOM element please use inputRef={textarea => this.textarea = textarea}


[BUG] Mod no longer works with PS5 controllers

I believe the mod was working perfectly as of the release of v55 of Lethal Company, and from what I saw mostly working on v60.
As of the latest release though it's broken with a PS5 controller plugged into my PC.
I have the following mods installed: ReservedItemSlotCore v2.0.34, ReservedFlashlightSlot v2.0.7, and ReservedWalkieSlot v2.0.6.
I've noticed the following:

Starting the game with a controller active makes the Walkie slot not appear.
Plugging in a controller after means the slot is there but then the items appear in the normal slots and the reserved slots.
Dropping the torch (not tested with the walkie yet) keeps the item in the reserved slot but prevents me from interacting with anything else, including doors and other items.

Any suggestions on things to change in the config files that may get this working? I'm using default controller settings, I'm not using DS4Windows currently. I'm managing the mods through r2modman 3.1.49.

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1 In the installer menu, select "gcc."

That appears to be a trojan virus.

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Sorry about the comments I deleted, but I don't want any download links that may potentially have viruses. Linking to other sources that talk about this issue would be more preferble.

As for your issue, I'm not sure why it's not working all of a sudden, but not much has changed about my mod that I can think of that would affect that. I can look into it when I have some free time.

It certainly is an odd one. It mostly works if I plug the controller in after loading the game and don't drop my torch.
Sure thing, do you think it'll just be the core mod or the extra ones as well?

I rolled back to ReservedItemSlotCore v2.0.32 and it seems to be working fine.

And for sure won't work on 2.0.34?
Is that the only controller you have that you could test with?
I'll double check that my xbox controller works.

Yeah, the latest version seems to work fine on my xbox controller.
So what part doesn't work? Do you even see the controls that say Hold: [RB] (or whatever control it is) appear when you try to use inputs from you PS5 controller?

Yeah I see the button prompts but it just kind of locks the buttons from doing anything.  Even the default keyboard bindings don't work. Even when I disconnect the controller.
I can test on a PS4 controller as well. I have the PS5 controller connected by cable but I tried wirelessly too but it didn't seem to work.

Below is an error message from the BepInEx window.

[Warning: Unity Log] Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.
[Error  : Unity Log] ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
Stack trace:
UnityEngine.InputSystem.Utilities.ReadOnlyArray`1[TValue].get_Item (System.Int32 index) (at :0)
ReservedItemSlotCore.Patches.HUDPatcher.UpdateHotkeyTooltipText () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.Patches.HUDPatcher.UpdateUI () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.Patches.HUDPatcher.OnUpdateReservedItemSlots () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.SessionManager.UnlockReservedItemSlot (ReservedItemSlotCore.Data.ReservedItemSlotData itemSlotData) (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.SessionManager.UnlockAllPendingItemSlots () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.Networking.SyncManager+d__33.MoveNext () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)

[Error  : Unity Log] ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
Stack trace:
UnityEngine.InputSystem.Utilities.ReadOnlyArray`1[TValue].get_Item (System.Int32 index) (at :0)
ReservedItemSlotCore.Patches.HUDPatcher.UpdateHotkeyTooltipText () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.Patches.HUDPatcher.UpdateUsingController (StartOfRound __instance) (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
(wrapper dynamic-method) StartOfRound.DMDStartOfRound::Update(StartOfRound)

[Info   :ReservedItemSlotCore-2.0.34] Beginning grab on reserved item: Pro-flashlight Previous item slot: 0
[Warning: Unity Log] Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.
[Error  : Unity Log] ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
Stack trace:
UnityEngine.InputSystem.Utilities.ReadOnlyArray`1[TValue].get_Item (System.Int32 index) (at :0)
ReservedItemSlotCore.Patches.HUDPatcher.UpdateHotkeyTooltipText () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.Patches.HUDPatcher.UpdateUI () (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
ReservedItemSlotCore.Patches.PlayerPatcher.GrabReservedItemClientRpcPostfix (System.Boolean grabValidated, Unity.Netcode.NetworkObjectReference grabbedObject, GameNetcodeStuff.PlayerControllerB __instance) (at <2d4f15d4ae8049ebba252d7f1057f548>:0)
(wrapper dynamic-method) GameNetcodeStuff.PlayerControllerB.DMD<GameNetcodeStuff.PlayerControllerB::GrabObjectClientRpc>(GameNetcodeStuff.PlayerControllerB,bool,Unity.Netcode.NetworkObjectReference)
GameNetcodeStuff.PlayerControllerB.__rpc_handler_2552479808 (Unity.Netcode.NetworkBehaviour target, Unity.Netcode.FastBufferReader reader, Unity.Netcode.__RpcParams rpcParams) (at <066a7b7eb8c24d4facd1e255e669803f>:0)
Unity.Netcode.RpcMessageHelpers.Handle (Unity.Netcode.NetworkContext& context, Unity.Netcode.RpcMetadata& metadata, Unity.Netcode.FastBufferReader& payload, Unity.Netcode.__RpcParams& rpcParams) (at <895801699cfc4b4ab52267f31e2a4998>:0)
Rethrow as Exception: Unhandled RPC exception!
UnityEngine.Debug:LogException(Exception)
Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)
Unity.Netcode.ClientRpcMessage:Handle(NetworkContext&)
Unity.Netcode.NetworkBehaviour:__endSendClientRpc(FastBufferWriter&, UInt32, ClientRpcParams, RpcDelivery)
GameNetcodeStuff.PlayerControllerB:DMD<GameNetcodeStuff.PlayerControllerB::GrabObjectClientRpc>(PlayerControllerB, Boolean, NetworkObjectReference)
GameNetcodeStuff.PlayerControllerB:GrabObjectServerRpc(NetworkObjectReference)
GameNetcodeStuff.PlayerControllerB:__rpc_handler_1554282707(NetworkBehaviour, FastBufferReader, __RpcParams)
Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)
Unity.Netcode.ServerRpcMessage:Handle(NetworkContext&)
Unity.Netcode.NetworkBehaviour:__endSendServerRpc(FastBufferWriter&, UInt32, ServerRpcParams, RpcDelivery)
GameNetcodeStuff.PlayerControllerB:GrabObjectServerRpc(NetworkObjectReference)
GameNetcodeStuff.PlayerControllerB:DMD<GameNetcodeStuff.PlayerControllerB::BeginGrabObject>(PlayerControllerB)
GameNetcodeStuff.PlayerControllerB:DMD<GameNetcodeStuff.PlayerControllerB::Interact_performed>(PlayerControllerB, CallbackContext)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

Thanks for the logs! I think this tells me where this is failing. Let me look into this and I'll post any updates here!

Just out of curiosity, do you use the InputUtils mod? It might help me narrow down some specific theories.

Actually, ignore that. I just disabled InputUtils, and now I'm running into the issue.
Okay, so without InputUtils, you can't really rebind my controls, and I just never assigned a keybind to Toggle the Reserved Hotbar, but I did have a keybind that you hold to swap to the Reserved Keybind.
Anyways, long story short, it seems like the game was expecting two keybinds, one for keyboard, and another for controller for the Toggle keybind when that didn't exist for the keyboard.
I will get this fixed soon! Thanks so much for posting this!
By the way, I do recommend getting the InputUtils mod, since most of my mods use this to rebind controls.

Could you let me know if this issue is resolved on 2.0.35? I just pushed the update.

Just tested it, had to manually install the mod as the mod manager I'm using didn't pick it up yet but it seems to be working correctly! Thanks a lot :)


[dotnet6 branch] Member access source generators and basic desktop export

This PR introduces many changes before the upgrade to .NET 6 (from the current .NET 5). After this PR is merged I'll rebase the dotnet6 branch and then push a few other important changes before the branch can be merged into master.
The main changes in this PR:

Greatly reduced the use of unsafe C# pointers. Makes the code safer and easier to maintain. We use by-ref instead of pointers, call Unsafe.AsPointer/AsRef to avoid pinning and use ref structs (stack-only structs) to avoid using the Unsafe class APIs on managed (movable) refs.
Added source generators for accessing C# fields/properties and invoking C# methods without the need for reflection. Future improvements to this source generator will also remove the need for runtime type checking.
Added a base implementation for desktop game export (very barebones right now), that uses dotnet publish which greatly simplifies export code.

This should be ready now.
Keep in mind that for now, since I didn't update the version of nuget packages yet, some manual tinkering is necessary to make sure a project uses the right Godot.NET.Sdk and Godot.SourceGenerators from this branch.

Looking forward to the Net6 version, also when the MONO version can also release APLH

I am looking forward to the NET6 version. I don’t know when there is a test version. If the Net6 version cannot be released as scheduled, will the MONO version update into Alph?


Card upgrade Priority issue

I have trouble understanding bots prioritization strategy.
For example when my balance is:

And the most profitable card I have for the time being is:

With profit ratio of 12,107
But the bot decides to Upgrade this card:
Sleep 5s before upgrade speaking_tv_show

With ratio of 12,500 !!!
My balance is 70KK and is not enough to buy the most profitable card! but enough to buy some other less profitable cards. What I expect from bot is to wait till I mine enough coins to be able to buy the most profitable card and not to spend the whole money for less profitable cards just because I do not have enough coins to buy the most profitable card!
Please tech me if I'm wrong. THANKS

I understand what you say.
I noticed this problem a while ago, but I didn't do anything about it yet. However, I will fix this issue today in my fork and inform you here.

I'm also working on this issue.
I'll share my results here hopefully before you commit...


Remove assumption that only us generate warnings.

In test_max_cookie_size, it is assumed that only Flask warnings are generated. This assumption could be broken if any of Flask dependencies or Python built-in modules produce, say, a DeprecationWarning. This commit asserts only what we can control.

I don't understand this change. If something else is generating warnings, then the test should fail and we should address the warnings.

How are you going to address warnings from built-in libraries? The purpose of this test is to ensure that the warning of cookie oversize is generated. It shouldn't assert anything else. This PR does not ignore warnings. It still asserts that such warning is generated.

If a built-in library is warning about a behavior, then we need to not do that behavior. Presumably it's either deprecated or has a different way to go about it. Are you trying to run the tests and this one is failing because of another warning? If so, report that.


WIP: KMLLayer

For #2217
Change List

New composite KMLLayer

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Ib Green seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing this as KML work is moved to loaders.gl.


Feature/cu kk776f ability activation effect

Inside scene HudEffectsWithAbilityFX a UI can be found with both the health features and the ability CD working (testeable on dash, which is the only ability currently working)

Task linked: CU-kk6zfz VS3 UI Features

Task linked: CU-kk776f Ability activation effect


Allow appending random numbers to CosmosDB database names to be optional

The CosmosDB databases we deploy do not need unique naming to be enforced by appending a random 5-digit number to their names. We need the names specified in our tfvars to be unaltered, which is not possible due to the random-generated number being appended by the module as shown below.
https://github.com/aztfmod/terraform-azurerm-caf/blob/main/modules/databases/cosmos_dbs/sql_database/sql_database.tf#L10
# Create database
resource "azurerm_cosmosdb_sql_database" "database" {
  name                = format("%s-%s", var.settings.name, random_integer.ri.result)

Instead, we would prefer this behavior to be optional, whereby we can indicate whether or not to append random-generated numbers to the database names. This could be achieved by introducing a new boolean flag that can be set in the tfvars for the resource. Then, some type of conditional logic within the module would handle constructing the database name value based upon the value of the flag.

hi @brianfedorcrowe agree with you it's not optimal and should use the naming provider to respect the framework behavior. let's assess the work needed and plan for it. cc @SergioMiyama

Thank you for taking this into consideration and offering to devise a way to address it. Is there anything I can do to help foster this along?


Next.js 12 End of Life

Mage version
9.71
Next.js 12 reached EoL on 21 Nov 2022. Security scans are showing that mage-ai is using v12.3.4 still. I attempted to verify, but could not find it in the package.json.
Version should be upgraded.

We are using NextJS v12 right now, but do plan to upgrade the version later, just not right this moment.

Are there any updates on plans to upgrade Next.js to the latest version?


patch: Fix intel-nuc getting started

Signed-off-by: Vipul Gupta (@vipulgupta2048) <EMAIL_ADDRESS>

Please make sure to read the CONTRIBUTING document before opening the PR for relevant information on contributing to the documentation. Thanks!

@balena-ci I self-certify!


Add kong and postgres to oci scripts for s390x support

Added kong and postgres to oci scripts and tested on LinuxONE.  This PR incorporates a multi-arch kong image that includes s390x.

At this point, we are still running Kong alongside our existing implementation. There's an issue to configure the LFH API in Kong & that is probably a good time to lock down the non-kong ports.


Search results sorted by line number

vim or neovim?

[ ] vim
[x] neovim

Operating system:

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Configurations related to LeaderF in vimrc:

" Leaderf() {

let g:Lf_PreviewResult = {
  \ 'Rg': 1,
  \ 'Line': 1
\}
let g:Lf_HideHelp = 1
let g:Lf_UseCache = 0
let g:Lf_UseVersionControlTool = 0
let g:Lf_IgnoreCurrentBufferName = 1
let g:Lf_ReverseOrder = 0
let g:Lf_CommandMap = {'<C-K>': ['<Up>'], '<C-J>': ['<Down>']}
let g:Lf_WindowHeight = 0.2
let g:Lf_PreviewHorizontalPosition = 'right'
let g:Lf_DefaultMode = 'Fuzzy'
"let g:Lf_EmptyQuery = 0
"let g:Lf_ReverseOrder = 1
function! Find_current()
  let g:Lf_PreviewInPopup = 0
  execute 'Leaderf rg --bottom --current-buffer'
endfunction
function! Find_file()
  let g:Lf_PreviewInPopup = 1
  execute 'Leaderf rg --bottom'
endfunction
let g:Lf_NormalMap = {
    \ "_": [
    \   ["<C-p>", "p"]
    \ ]
\}

" }

Describe your question, feature request, or bug.
This is just a simple question about feature, so I eliminated the irrelevant information provided on the issues template.
Is it possible to sort the search results by line number?
是否能够依据当前的搜索结果进行排序？
If so, it would be better to make it so that it sorts downwards from the line number where the current cursor is located.
如果可以，最好可以做成依据当前光标所在行号开始进行向下排序
I went through the documentation and found two settings, such as 'g:Lf_ReverseOrder', but they didn't work as well as I had hoped
我翻阅过了文档，找到诸如这个设置 'g:Lf_ReverseOrder'，但是它所起到的效果并不是我所预期的那样
And, I also went through the issues and found a similar one https://github.com/Yggdroot/LeaderF/issues/679 that was closed by because it was not possible to implement. But I found the same fuzzy search feature in the 'CocList line' plugin, and the coc-list search results can be sorted by line number.
并且，我也查找过相关 issuse，并找到一个相似的问题，遗憾的是，他所关闭的理由是因为无法实现.
但是，我在 'CocList line' 中发现了相同的模糊搜索的功能，并且它所反馈出来的结果是能够依照行号进行排序的
It's not really a good idea to compare leaderf and coc when I don't really know how they're implemented, but my intention was just to get a sense of what's going on. Your help will be appreciated. Thankd

What command do you mean? Leaderf line?
Yes, it sorts the result according to the fuzzy matching but not line number.
No fuzzy matching sort is the sort by line, i.e., just filter the result. Is it what you expect?

Thank you for your response, and I'm sorry it's taken so long to respond.
I have noticed the regx pattern you are talking about, please forgive me for neglecting to include this feature.

我很抱歉重新打开了这个问题，我发现了我遗漏了一点，即: 在 regx 模式下的匹配结果，是否能依据当前光标所在行号开始进行向下排序

我很抱歉重新打开了这个问题，我发现了我遗漏了一点，即: 在 regx 模式下的匹配结果，是否能依据当前光标所在行号开始进行向下排序

例如，aaa 匹配串分别在 100 行和 500 行各有一例，假设当前光标所在行为 490 上，那么匹配结果应当把 500 行的结果放在首位，100 行次之

本身就是以行号排序的，只不过是按照从小到大的顺序。

本身就是以行号排序的，只不过是按照从小到大的顺序。

感谢您的回复
是的，现在这款插件其实已经非常的完美了，如果硬要在鸡蛋里头挑骨头，还是有一点小小的建议，如果这个排序次序，能够以当前光标所在行为基准进行向下排序那就更好了

不太好做。


PN5180 reader support for longer range NFC

Hi,
your app works like a charme! Very nice to see support for different reader types! Tested with different RFID readers, all work fine but have a very short detecting distance..
I saw some cheap chinese board with NXP PN5180. It seems that this chip has more features for longer detection range than MFRC522 and PN532 and dynamic power for better battery save. And it is cheap arround 6$, see here
I wonder if it is possible to use it with your library. Unfortunatly i haven't found any existing arduino library so far. The board seems to use SPI half duplex for communication but i was unable to connect it with your rfid reader library. There is a NXP reader library with huge overlay, found this: https://community.nxp.com/thread/437631
What do you think? Is it possible to support this board?
Best Dirk

We need to someone to develop a Arduino compatible library for it and it seems this chip is more advanced than RC522 which has eeprom and tons of registers.

Closing for now, i do not have enough time to implement it myself.

Just came across this thread having pondered the same question myself - I have a PN5180 in-hand, and it certainly seems significantly more capable that RC522/PN532 on paper. I have the official NXP Linux driver distro (all 10Mb of it...) and have written some Arduino libraries in the past, but nothing this complex. Would be happy to contribute to an effort to get this working though!

Currently work is in progress. Feel free to contribute! Especially looking for ISO 14443 contributors!
ISO 15593 is already working, thanks to andreas! This library looks promising, works fine on ESP32 / UNO / Nano:
https://github.com/ATrappmann/PN5180-Library
Best regards
Dirk

Oh great, thanks - will definitely take a look and see what I can contribute! (for some reason, a Google search of "github PN5180" doesn't reveal that repo :( )


Hacktoberfest

👋 Hello everyone!
🎉 We're gearing up for a fantastic Hacktoberfest event at my company this year! As part of our preparations, we're scouting for great open-source projects to contribute to, and we'd like to suggest that repositories participating in Hacktoberfest consider adding the "Hacktoberfest" label to make it easier for contributors to find relevant issues and pull requests. 🏷
By doing this, you not only encourage us but also many others in the open-source community to get involved in your project. Rest assured, we'll adhere to your project's guidelines and contribute meaningfully.
If your project has specific Hacktoberfest participation guidelines, kindly let us know, and we'll ensure our contributions align with your expectations.
Thanks for considering our request, and we look forward to contributing to your project during this exciting event! 😄

Hi there! 👋
Thanks for organizing Hacktoberfest! I'm excited to contribute and will follow your guidelines closely. Could you let me know if there are any specific issues or areas you'd like help with? I'm skilled in .NET and especially in C#, and I’m ready to contribute meaningfully.
Looking forward to contributing!


Fix nix-direnv build issue

Fixes #2.

@jhodgdev - if this fixes your issue, let's merge.

@kozross can confirm: issue fixed :+1:


joern-export does not generate pdg as expected

When parsing the following code(temp.c):
static int sclp_ctl_ioctl_sccb(void __user *user_area)
{
	struct sclp_ctl_sccb ctl_sccb;
	struct sccb_header *sccb;
	int rc;

	if (copy_from_user(&ctl_sccb, user_area, sizeof(ctl_sccb)))
		return -EFAULT;
	if (!sclp_ctl_cmdw_supported(ctl_sccb.cmdw))
		return -EOPNOTSUPP;
	sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
	if (!sccb)
		return -ENOMEM;
	if (copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), sizeof(*sccb))) {
		rc = -EFAULT;
		goto out_free;
	}
	if (sccb->length > PAGE_SIZE || sccb->length < 8)
		return -EINVAL;
	if (copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), sccb->length)) {
		rc = -EFAULT;
		goto out_free;
	}
	rc = sclp_sync_request(ctl_sccb.cmdw, sccb);
	if (rc)
		goto out_free;
	if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), sccb, sccb->length))
		rc = -EFAULT;
out_free:
	free_page((unsigned long) sccb);
	return rc;
}

using commands:
joern-parse temp.c
joern-export --repr pdg --out temp

there is no correct dot file in the folder, and only exists an empty one.
Is this a bug?

I'm not a C expert, but what's that __user in the parameter list of your method declaration? It trips up our c frontend. If you remove it, it works.
cc @max-leuthaeuser

It's a macro used in the linux kernel to denote data that is coming from userspace. If it trips up our frontend, then we need to find a way of fixing that as it is very common.

The macro needs to be available to Eclipse CDT (our underlying parser).
Two options:

Include it: #include <linux/compiler_types.h> (needs to be available on your system and run c2cpg with --with-include-auto-discovery)
Define it: # define __user		__attribute__((noderef, address_space(__user)))
(see: https://github.com/torvalds/linux/blob/master/include/linux/compiler_types.h)

As the parser actually works with these macros they need to be around.

I see, thank you.


[Repository] Understand install plans and their use and provide documentation

It's not very clear to users what install plans are used for which quickstarts in some cases. We have  directory of installplans with descriptions and a general overview of install plan functionality but how do users know if they can use an existing install plan to improve or create a new quickstart?
example questions

Is there any reason why this RDS Enhanced quickstart for AWS couldn't use the same install plan as the AWS RDS quickstart?
How can I just invoke the installation of a dashboard with no agent? Here is an example of how we’ve enabled the browser quickstart to have dashboards installable without a direct agent associated.
how do we know what existing install plan to use?
If a new one must be built, how do we know it will work as intended?
If a quickstart has an existing plan associated with, how can we test it's actually working as expected before merging in?

Acceptance Criteria

[ ] Pair engineer to engineer with the virtuoso team to share the knowledge on install plans
[ ] Update our developer guide or creates a new one,  on the use of install plans and their purpose.
[ ] Update our contributing documentation

@natecanfield822 this ticket relates to our conversation on improving how we explain install plans, happy to pair on this as needed.

this work has started and more info can be found in the epic plan  on G-drive: [DevEn] I/O Quickstart Improved Contributor Docs

with our approach to convert install plans to data sources and simplify this, this isn't needed.


Implement RBAC

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes #2280

License
Apache 2.0

What's in this PR?
Authorize users based on their roles.
Checklist

[x] Implementation tested (with at least one cloud provider)
[x] Error handling code meets the guideline
[x] Logging code meets the guideline (TODO)

As a general comment, I would expose the membership role under the /pipeline/api/v1/orgs endpoint, so users can check it on the UI and in the CLI as well.

Good idea. Can you open an issue?

yes! https://github.com/banzaicloud/pipeline/issues/2319

Thanks!


Remove the @git_cmd macro

This is not part of the public API, so it is not a breaking change.

cc: @fredrikekre @gunnarfarneback


remote_server: Handle exceptions in status endpoint.

This lgtm but I'll leave it for you to confirm you're ready for it to be merged.

Can we be more specific than except Exception as e? Maybe except (requests.RequestException, orjson.JSONDecodeError, JsonableError) as e?

Looks good to me, marked to merge once CI passes.


Pretty-printing

Currently we just dump expressions as Strings using some custom functions. We should use a proper pretty-printing library and be agnostic about the final string type. Precedence and associativity of operators should also be taken into account.
I've started writing a suitable library (mostly by extracting various pieces from the plutus-core codebase).

Add a separate pretty printing pass for golden testing.

@effectfully was the pretty printing library released?

Nope, but we can directly depend on the prettyprinter-configurable subfolder of the Plutus repo.

Urgh, got hit by https://github.com/commercialhaskell/stack/issues/5004
Do you have anything against git submodules?


Ionic 2: White screen of death when calling nav.setRoot() from app.module.ts

Ionic version:  (check one with "x")
[2] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
Current behavior:
Call nav.SetRoot() from app.module.ts, white screen of death, see gif.
Expected behavior:
Normal navigation occurs
Steps to reproduce:
This is a well known bug that keeps being closed/marked as fixed.  This is NOT fixed.  It is a critical problem in the nav code of the framework.
This really needs to be addressed before apps can be deemed production ready.
See gif:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Your system information:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: OS X El Capitan
Node Version: v4.3.0
Xcode version: Xcode 8.1 Build version 8B62```

Hello, thanks for using Ionic! Sorry your having this issue, would you be able to post a repo or a plunker that we can use to reproduce this?

Here's a plunkr:
http://plnkr.co/edit/fYpX4KikzWFRo7repnkG?p=preview
But it doesn't happen on rc2, which the plunkr is based on.
The gif above is from ionic serve on 2.0.0

Hello, I have same problem with 2.0.0 version.
I go through nav.canGoBack() and after nav.pop() there is only blank screen.

Update: I have found the issue.  There is a situation where calling setRoot(), THEN calling popToRoot() causes the white screen.
Commenting out the popToRoot() and just using setRoot() fixes this issue.
Is this expected behaviour?

I have white screen after setRoot() and simply pop() afterwards..

Hello @daveshirman , thanks for updating the plunker and sorry it has taken me a few days to get back to you (: So yeah, this is going to be whats causing the issue. In this case when you run setRoot it will go ahead and navigate your app to the root page. With you calling popToRoot right after this it breaks the nav stack. Because this was user error I am going to close this for now.

But I have white screen after setRoot() -> push() -> pop(). I think, that there is a bug..

@jgw96 I don't think it should be possible for popToRoot() to pop ALL the pages off the stack, that's ludicrous!
See @lumitor2 's issue too, which is clearly related.


Add operation to add potion effects to entities while a set is active

The ideal solution would:

Allow you to specify the effect
Allow you to specify a list of matchers to match on various conditions (almost all mob shed matchers should work)

So the effect will remain on the entity as long as the conditions are true? Or are they only tested when the set is applied?

I was originally going with just being tested when the set was applied, but realized that was a weak implementation, instead, they'll act basically exactly like mob sheds where they're tested every N seconds (which will be another config setting), and you can apply a duration to it if you want.
I figure that way you can either have a potion effect on the player for the entire duration the set is applied, or you can apply it for an amount of time based on a given set of conditions.

And I just realized this will simplify things for me again. I can tie the Curses/Blessings directly to the scoreboard value for that deity and not have to worry about resetting quests in the right order :) Time to rearrange my flowchart again.

And here I was thinking it could just be used to randomly apply regen 3 to every hostile creature on the map during specific times, since you mentioned Blood N' Bones earlier. :)

Uh, no I'm not that nice. The more they kill mobs that spawn in a chunk the stronger but less frequent the following mobs get. So they wont know if that cute little skeleton is going to one shot them or not unless they see where it spawned and have been keeping track of how many spawned there.
Eventually though the chunk will stop spawning mobs for a certain amount of time, or even permanently. Basically its the anti mobfarm measure plus allowing a safe area to build in.

I really like that approach.  I may have to... borrow it if/when I get around to making my own pack.
I suppose I should mention that I'm also planning on taking a crack at mob spawn controls at some point in the future...

And suddenly the apply regen 3 randomly makes sense :)
Hmm, what sort of controls? I'd assume at least health/potion effects on them?

And now I'm having evil ideas again. Dynamically altering spawns so just before sunrise the mobs start spawning with a high chance of a helmet ;)

It's still only a half baked idea, but, the general thought was something akin to how Peaceful Surface lets you control, say, "Only allow hostile mobs to spawn at light level 1 or lower", or "Allow this type of mob to spawn when raining"... just... with all the functionality of the matcher system, and the option to either replace all spawns, or just add the chance of new ones.
But now that you mention it, it would also probably make sense to have some form of "onSpawn" callback, so that you could, as you mention, add potion effects and equipment (+ named mobs?) and things like that.

Oh and feel free to borrow the initial idea. I'd be interested in seeing how you improve it since you seem to do that with all my ideas :)

I can see some nice uses of the adding spawns with matchers involved. It could be used in some interesting ways like causing increasingly large hoards to spawn for a certain amount of time until conditions are met.

Hmm though now I'm wondering, how do I specify any mob for aroundMobs rather than a specific type? For a horde type scenario a mob cap would definitely be needed.

Checks if there are 30 mobs within 15 yards:
aroundMobs: { what: [], min: 30, dist: 15 }

Mind you, this would also check all peaceful mobs as well, so, I may have to extend the aroundMob commands to have an optional flag to say if the matched mobs should be "hostile", "peaceful" or "player" type.

Actually I rather like the idea of being able to change the spawnable light levels dynamically. It could be used to slowly ramp up the difficulty. ie, at first they get normal spawns but the longer they are in that world/area the more things notice them and come looking for them. Slowly raising the light level they spawn at would simulate that effect nicely.

Hrm.  Yeah.  But, that brings up the problem of how you determine if the player's been in a particular area for an amount of time, and then controlling the spawns only in that area.  Per world wouldn't be too bad, but, doing it on a finer grained control than that could prove a little more difficult under the current system.

You could do it indirectly. ie, reset the set progression to the beginning when they find something in world (in my case it would be when they activate another shrine).

Or have it just be an ongoing cycle. ie, every 10 days it moves to the next set, when it reaches set n, it resets to set 1.


Introduce standard library

At a minimum, include linked list type.

May require introducing a module system of some sort.

Will need a way of testing this; perhaps as part of #67?

Will need a way of testing this; perhaps as part of #67?

Started with #77; infrastructure for stdlib is there, along with some basic functions.

Started with #77; infrastructure for stdlib is there, along with some basic functions.

Linked list introduced in #81, with some fine-tuning in #82.

Linked list introduced in #81, with some fine-tuning in #82.


Rename/Remove default sheet name as Sheet1

Description
I am trying to looking for some method so that I can rename the default sheet name or I can remove the default sheet named as Sheet1

go version go1.17.6 darwin/amd64
Describe the results you received:

Please rename sheet name with SetSheetName.

And how it can be deleted?

@xuri  I am stuck in resizing the cell width according to the cell data. Is there any way to may it possible to resize the cell size automatically?

This library support setting the text font size fit cell by setting the ShrinkToFit style for cells, but doesn't support set columns width or rows height to fit the cell, also reference issue #92.

I was also wondering about deleting Sheet 1 after creating other named sheets in a loop. Found out you can with DeleteSheet() but only after you've added other sheets, so just append the delete after your loop

Hi @esodell, as the documentation of the DeleteSheet function says: it will be invalid when only one worksheet is left. This behavior was similar to Excel.


Keyboard shorctuts

We already have a few hardcoded shortcuts:

Ctrl-1, Ctrl-2, ..., Ctrl-4 cycle through the side bar menus
Ctrk-k opens the command bar

We now want to have more available shortcuts, and to have them all configurable through the app's settings.
Functionality
In addition to the above shortcuts, here's a list of some extra ones we may want:

switching between wallets (probably through number keys somehow?)
switching between the sidebar menus (I believe you can already Ctrl-1, Ctrl-2, etc)
open/close settings
toggle fast mode

One potentially tricky detail here is that we need to distinguish between macOS and Windows/Linux, since one has Cmd and the others have Ctrl
UI
What I'm thinking is a UI along these lines (taken from Obsidian, a markdown note-taking app):

don't think I'll be looking at this anytime soon. it honestly needs some validation on whether it is actually used
if revisiting in the future, I'd consider instead going with a vimium-like approach, so that we can achieve full keyboard navigation globally and in a less opinionated way


dropdownMenuTheme missing from Schema definition

We are using json_theme 6.5.0 with Flutter 3.22.3 and want to style a dropdown menu.
Therefore we set the following in our theme.json:
  "dropdownMenuTheme": {
    "menuStyle": {
      "surfaceTintColor": "#ff9ecaff"
    }
  }

This works fine and the color is applied as expected but when schema validation is enabled in debug builds, this fails, because the dropdownMenuTheme key is missing from the schema definition under https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/theme_data.json
We have to set SchemaValidator.enabled = false; to make this work.

Thanks.  This was fixed today with 6.5.3.


Not able to clear contents of cacerts in HA setup .

**Rancher versions: v2.0.1-rc1
Brought up a rancher HA setup with 2 rancher-server instances ( setting replica to 2 for rancher/rancher container).
In this case I have  used  "Certificate Signed By A Recognized Certificate Authority" .  I would have to clear the auto generated certs  (because of https://github.com/rancher/rancher/issues/11388) .
When I try to clear cacerts from settings option , it always gets regenerated.

@sangeethah can you re-test with the new HA?

Since this issue is addressed now - https://github.com/rancher/rancher/issues/11388 and we have --no-cacerts flag to tell rancher to not generate certs in setups which uses "Certificate Signed By A Recognized Certificate Authority" , the issue mentioned in the bug is obsolete.


Competitive analysis

Check what cool features other products like Obsidian Publish or Quartz have, that we would like to provide as well.
Also check out other broader alternatives beyond obsidian e.g.

[ ] Cloud platforms e.g. gitbook, readme.io
[ ] Tooling especially for docs e.g. mkdocs-material, docosaurus, vitepress (vuepress 3)
[ ] static site generators especially low maintenance ones e.g. 11ty, zola

Tasks

[ ] Database of examples

In doing this i'd like to test out my idea for product comparisons ... hmmm.


HTML link

Hello , want to achieve such effect about the HTML：
Thinking of life and health management of innovatorsIntroduction to course
:Course from the Angle of innovation thinking and talking about life mentor application pioneering "life space theory",
from the Angle of human space life objective rules,
law of human body structure and physiological pathology,
and by applying the theory of traditional Chinese medicine with modern scientific approach to development and innovation.
but the result is this filter out the newline:   Thinking of life and health management of innovatorsIntroduction to course:Course from the Angle of innovation thinking and talking about life mentor application pioneering "life space theory", from the Angle of human space life objective rules, law of human body structure and physiological pathology, and by applying the theory of traditional Chinese medicine with modern scientific approach to development and innovation.
How can I solve it？

I have already solved the problem。 I replace \n -> br