0.1.1

Adds sideEffects: false to package.json, making tree-shaking much easier for bundlers (webpack, rollup).

FYI -- @jbms


No support in JS for setTimeout method

Primary purpose of setTimeout is to introduce a delay in the execution of code. It allows you to schedule a function or expression to be executed after a specific period of time.
Exp Syntax:
function sayHello() {
console.log("Hello, world!");
}
setTimeout(sayHello, 2000); //delayed by 2 seconds

@vusters this was fixed right?

@RuthLHanan use ensemble.startTimer, it is supported.


Change Selected Day Color

Hi,
How can change the selected day color?
Currently I can change only the primaryColor in theme.
Can you also update this as well?
Thank you for your work and effort!
Cheers!

Hey there. It's not possible at the moment.
Feel free to make a PR, I'll review it and merge it right away.
https://github.com/noona-hq/react-native-week-month-date-picker/blob/main/src/components/DatePickerItem/index.tsx


Fix/homepage alignments

What
This PR contains a few tweaks for alignment on the homepage, specifically so that the promotional banners align with the population main figures
How to review

Ensure the changes align with what's described

Who can review
Anyone but me

Sorry, had to merge Develop in. I also fixed a small markup issue in the homepage template too, seeing as the review was subsequently dismissed


Extend block parameter methods to accept 'finalized' and 'safe' as block tags

Signed-off-by: Fabio Di Fabio<EMAIL_ADDRESS>

PR description
Fixed Issue(s)

fixes #3947
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if
updates are required.

Changelog

[x] I thought about the changelog and included a changelog update if required.

ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/AbstractBlockParameterMethod.java

what do you mean?


If I use git clone link, how do I set authentication?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When I used git clone link, an authentication error occurs as shown below. Please let me know the problem.
"git clone - failed: remote authentication required but no callback set"
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@berrynana , Please share the commands you ran.
Did you clone the private git?

Please let me know what to do if it's a git clone that requires authentication.

I would like to work on this issue.


Firebase: add Google account signin option to FirebaseContext

Description
This PR

Adds SignIn with Google acount to firebase configuration
Adds user id to DB if he is not present. (needs changes in database)
Implements handleLogin handleLogout methods in Menu (needs changes in menu links)

Fixes #124
How to test?
in menu click Login/Logout
Checklist

[x] I have performed a self-review of my own code
[x] I have followed the name conventions for CSS Classnames and filenames, Components names and filenames, Style filenames, if you are in doubt check the the project README.MD and here https://github.com/HackYourFuture-CPH/curriculum/blob/master/review/review-checklist.md
[x] I have commented my code, particularly in hard-to-understand areas, if you code was simple enough mark the box anyway
[x] I have made corresponding changes to the documentation, if you code was simple enough mark the box anyway
[x] This PR is ready to be merged and not breaking any other functionality

@Jul-S I just tried testing locally but got this error? Have you seen that before?

There's a few changes need to be make to db and menu component, otherwise it worked. I decided to live those changes out of this PR.


Minimina - Publish and document alpha version on MinaFoudation Dockerhub

Problem
We need to publish the first iteration of minimina in order to get traction and feedback.
Minimina currently lives in our internal ECR.
Acceptance Criteria
Users are familiar with minimina.
User are able to spin up a Network locally
User can perform a transaction between two accounts
Tasks

[x] Create a dockerhub account for the MinaFoundation
[x] Store dockerhub account credentials on AWS Secret Manager
[x] Create a Minimina docker repository
[x] Publish the first iteration of Minimina
[x] Write getting started documentation

https://hub.docker.com/repository/docker/minafoundation/minimina/general

cc: @halsaphi


Make Attachment conform to CustomStringConvertible.

This PR adds CustomStringConvertible conformance to Attachment. Note that if the attachable value is a move-only type, the conformance is not available in the stdlib, but we still provide a description property.
Checklist:

[ ] Code and documentation should follow the style of the Style Guide.
[ ] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci test


ci: fix tools

Checklist

[ ] make test passes
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message follows commit guidelines

Affected core subsystem(s)

Description of change

What is wrong with tools? 🙂

@bakkelim  We were missing some in tools.go so for new developer it was impossible to run generate proto, run linter etc

@arxeiss Was it related to Mac? Because I ran make install-tools on a mac yesterday and gci did not get installed

Not sure. It always worked for me, because those tools were installed from jarvis-proto already. But Hanka came on clean computer (not Mac :green_apple: , but Linux :penguin: ) and those tools were missing for her.


Add module sorting

For better overview over existing modules nxc will now sort modules by privileges needed for execution.

Something i wanted to do for a long time. Now you get a better idea what modules you can use if you aren't DA yet


Turn off terminal warning

Hello, can we switch off the "Components will cause degraded performance. Ideally, you should use DOM elements instead." warning in the terminal some how?

Thank you! 🙌

Added in commit e635ea3, will be released in next patch

Great!

Fixed in 2.4.6


Add goenv plugin

This PR is a continuation of #1510, which was closed.
In reviewing the goenv project page as part of testing this, I realized that there are several other projects that implement a goenv feature.
I was thinking we might want to qualify this plugin name with the author's name (i.e. goenv-syndbg) but looking into it further it appears that the implementations I googled have been unmaintained for a while now and this one appears to be actively maintained.  Additionally, this is the one that has the goenv Brew package.
So I'm okay leaving the plugin name unqualified for now, but happy to rename if it we think that's useful.
Additionally, we may want to mention something in the plugin description about exactly which goenv implementation we're supporting.  Open to ideas of what that might look like.
Tested locally
-DF

cc: @nwinkler, @cornfeedhobo, @syndbg

I've had a look at both PRs (this one and #1510). Can someone explain the main differences in a short and concise manner to me? It looks like both are similar in what they are doing (setting env variable, running goenv init), but differ in some default behavior.
I don't use goenv, so can't really comment on the tool. A quick glance at both PRs didn't help with a decision...
Can we try to come to a compromise that works for both of you? You're both valued contributors here, and I'd like to see us come up with something that works and where neither of you says "I'm not going to use this!"
The code in both PRs looks simple enough - maybe it's about defining expectations and assumptions. Can one of you please summarize these?

The code in both PRs looks simple enough - maybe it's about defining expectations and assumptions. Can one of you please summarize these?

I'll take a shot. I think these intentions hold true for both PRs:

If $GOENV_ROOT is not already set, then default it to ~/.goenv .
NOTE: The goenv tool does not require the variable to be set, and will internally default to ~/.goenv (which is why we chose it as our default), but the user may depend on its value being present.

If goenv is not already on the path, but is present in $GOENV_ROOT/bin, then add $GOENV_ROOT/bin to the path.
NOTE: The default install technique would place the binary at$GOENV_ROOT/bin, which would likely not already be on the path.  However, if the user used a package manager like homebrew to install the binary, it would reside outside of $GOENV_ROOT and would likely already be on the path.

If, ultimately, goenv is still not available, then don't execute the eval.
NOTE: This is to avoid an error if the user doesn't actually have goenv installed.  Whether or not to "fail loudly" is open to dicussion, since it looks like many plugins just assume the related binaries are available.

In addition to the above, my PR adds another small piece of logic:

If the eval is not executed, then don't export $GOENV_ROOT
NOTE: This is to prevent the case of setting the default value, but then NOT doing anything with it.  I don't think the user needs to have the value as part of their environment if it its NOT already set AND goenv is not on the path, as this likely indicates that the user doesn't actually have it installed.

I think the comments in my PR communicate all of the above intentions, but I'm happy to clarify any you think might need it.
-DF
PS: I do believe the shared intentions above apply to both PRs, but I also believe the other PR has a couple of bugs in it that miss the nuances of the intentions.  I've worn out my welcome on that PR and so will not make any comments there, but if you choose to merge that PR, I will likely submit a follow-up PR for review.

Thanks for the explanation, @davidpfarrell
@cornfeedhobo Any comments?

@cornfeedhobo Any comments?

@nwinkler if you are waiting on a response from cornfeedhobo, please post your original question on Their PR (#1510) as they may not be inclined to post here on this PR.

@nwinkler Sorry for the delay. Crazy times right now! My reviews have been about consistency and roadblocking. IMHO, it makes sense to add the plugin following the existing pattern, then make a follow up PR that addresses any concerns. However, to address their concern head-on: this seems to come down to them wanting a plugin to gracefully degrade, where my point of view is why activate a plugin in the first place? I kinda want to know when it's not acting as expected, because I went through work to activate it!

@nwinkler Sorry for the delay. Crazy times right now! My reviews have been about consistency and roadblocking. IMHO, it makes sense to add the plugin following the existing pattern, then make a follow up PR that addresses any concerns. However, to address their concern head-on: this seems to come down to them wanting a plugin to gracefully degrade, where my point of view is why activate a plugin in the first place? I kinda want to know when it's not acting as expected, because I went through work to activate it!
I didn't press this last point because I really just needed this to work so I could get back to work, and that's a larger discussion about bash-it conventions (do we want to gracefully degrade?). This was a lot of road blocking for someone that doesn't use the tool and is really only upset about established patterns. I can not stress that enough, I just wanted to get back to work. We could have had this whole debate in a follow up PR.
At this point, I lost more than a day to this and I made a fork where I've merged my PR in. IMHO, I'd merge #1510 and reboot this entire discussion under the context of changing established conventions and how we expect users to be managing plugins (do people just activate everything?).

@nwinkler Sorry for the delay. Crazy times right now! My reviews have been about consistency and roadblocking. IMHO, it makes sense to add the plugin following the existing pattern, then make a follow up PR that addresses any concerns. However, to address their concern head-on: this seems to come down to them wanting a plugin to gracefully degrade:

This is to prevent the case of setting the default value, but then NOT doing anything with it. I don't think the user needs to have the value as part of their environment if it its NOT already set AND goenv is not on the path, as this likely indicates that the user doesn't actually have it installed.

This concern is pretty tiny. Why has the user activated the plugin in the first place? I like to know when it's not acting as expected, because I went through work to activate it!
I didn't press this last point because I really just needed this to work so I could get back to work, and that's a larger discussion about bash-it conventions (do we want to gracefully degrade?). This was a lot of road blocking for someone that doesn't use the tool and is really only upset about established patterns. I can not stress that enough, I just wanted to get back to work. We could have had this whole debate in a follow up PR.
At this point, I lost more than a day to this and made a fork where I've merged my PR in, so you can do what ever you think is right. IMHO, I suggest you merge #1510 and reboot this entire discussion under the context of changing established conventions and how we expect users to be managing plugins (do people just activate everything?). This should include the other env plugins too.

Hi @cornfeedhobo,
Per @nwinkler's question re:

... maybe it's about defining expectations and assumptions. Can one of you please summarize these?

I wrote this above post to attempt to answer his question.
If there are any assumptions/intentions listed there that you don't agree with, or others you have that were not mentioned, please feel free to mention them.
NOTE: The question is about defining expectations and assumptions, so please don't just say "existing pattern" -- It will really help to actually define what your intentions are (as I have taken the time to do) -- BUT again, only if they differ from what I wrote in my post.
Please also note: At this time, both of our PR's at least try to match the primary intentions listed (my PR has 1 added intention that's called out in that comment), so I will be very surprised if you disagree with them.
Thank you,
-DF

I mean, if you've barred me from saying the best reason that every manager should be able to understand, I'm at a loss. We should not pick arbitrary points in the road at which to block progress based on personal viewpoints when there is established work. Both can happen in paralell.

@davidpfarrell I believe I answer his question. If it's unclear to you, I can try to further explain, but please stop telling me what I can and can't say. Just because you don't understand the value of something doesn't mean that is how we all feel.

@davidpfarrell I believe I answer his question but I'm sure we could just wait for him to say so. Now, if it's unclear to you, I can try to further explain, but please stop telling me what I can and can't say. Just because you don't understand the value of something doesn't mean that is how others feel.

OK, thanks for the additional details to both of you. TBH I don't see the issue with either of these PRs (but I haven't spent a lot of time with them either, and I don't use goenv, to be fair).
Here's what I'm going to do:

Merge #1510
Close #1515

We can then start another (civil!) discussion about how we want to handle any failure cases. Again, I don't see a huge amount of value in this, since I feel that if someone wants to enable the goenv plugin in Bash-it, I assume that they either have spent some time on installing goenv, or intend to spend some time with it. We can't cater for all cases.
At this point, I'd rather have a working version of something that covers 90% of the cases, than having something that's 100% bulletproof. I'm not sure how many times people will run into these corner cases.
Thanks again to both of you - your contributions to Bash-it have been highly appreciated, and I'm glad to have you as contributors!


Revisit equivariance

In this PR I centralize the tests pertaining to equivariance, which are now performed exclusively on ScoreNetwork objects.
In summary:

I fix "bugs" in the MACE-related architectures where we were previously a bit fast and dirty when distinguishing cartesian_scores and coordinates_scores. This only matters for non-cubic cells, which we have not been using so far. I claim that this "bug" has had no serious impact on our previous studies.
The EGNN structures no longer 'pass too many tests' as I mentioned verbally in the past. That being said, it should be remembered that our current implementation of EGNN depends on the assumption that we have a cubic unit cell: the architecture (and the formalism!) must be reviewed for a non-cubic unit cell.

I also remove a few (now useless) tests that were checking equivariance at a level other than the ScoreNetwork.

I'll wait until you merge your PR before trying to merge this. I'll manage the conflicts, if any.


LWMS ID: 11520 - Initial creation of Livelab "Heatwave Lakehouse: Rea…

…ltime Asset Maintenance"
Added All created and tested labs
Lab 1: Create Demo Compartment and ObjectStore Buckets and upload Data Lab 2a: Create VCN and Compartment for workshop
Lab 2b: Create Compute instance for workshop and configure MySQL Shell Lab 2c: Create MySQL Database System in Oracle Cloud Lab 2d: Enable Lakehouse and Create MFG_SENSOR Database/Table in MySQL Database System Lab 3: Build ML model API to evalaute the probablity of device faiures Lab 4a: Set up OCI Stream service & Execute Sensor Data Simulator Lab 4b: Setup Dynamic Group for function to manage stream/objects Lab 5: Set up and Deploy OCI function and connect to service connector Hub Lab 6(a): Set up OCI Dataflow and deploy a Pyspark Application and load the datasets Lab 6(b): Load the datasets from demo-events-silver-mysqlhw to MYSQL HW Lab 7: Design and Develop OAC Dashboards
Lab 8: Set up OCI Data Catalog
Add here your WMS ID
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

https://github.com/plforacle/database
https://github.com/plforacle/database/tree/main/heatwave-lakehouse-cdp
https://plforacle.github.io/database/heatwave-lakehouse-cdp/workshops/livelabs/index.html
Perside Lafrance Foster | MySQL Principal Partners Solution Engineer
email<EMAIL_ADDRESS>phone: 1.786.877.9063
Oracle  Florida
From: Ramona Magadan @.>
Sent: Thursday, November 28, 2024 3:14 AM
To: oracle-livelabs/database @.>
Cc: Perside Foster @.>; Mention @.>
Subject: [External] : Re: [oracle-livelabs/database] LWMS ID: 11520 - Initial creation of Livelab "Heatwave Lakehouse: Rea… (PR #728)
@ramonamagadan18 commented on this pull request.
Hi @plforaclehttps://urldefense.com/v3/__https:/github.com/plforacle__;!!ACWV5N9M2RV99hQ!PrPfhpOyj8yWkstP_5uvMqk9FvU9IEUojg_1UqNaUdnx_IOaBEMidqLk6NoZCireHUytku51WTkgv8OMaHCtGNNeQOmX$! Can you please send me the development link for this workshop? Thank you!
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/oracle-livelabs/database/pull/728*pullrequestreview-2467054854__;Iw!!ACWV5N9M2RV99hQ!PrPfhpOyj8yWkstP_5uvMqk9FvU9IEUojg_1UqNaUdnx_IOaBEMidqLk6NoZCireHUytku51WTkgv8OMaHCtGGGNSQbZ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AMYQBSV4M3NO7E5XUSFM2GL2C3GGHAVCNFSM6AAAAABSTRMFKGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDINRXGA2TIOBVGQ__;!!ACWV5N9M2RV99hQ!PrPfhpOyj8yWkstP_5uvMqk9FvU9IEUojg_1UqNaUdnx_IOaBEMidqLk6NoZCireHUytku51WTkgv8OMaHCtGOqSoyUQ$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Team,
Please try to deploy this pull request as soon as possible and move this LiveLab to production. The HeatWave PM team needs to have this published for their next step session. I will be away from my computer from Dec 4th to Dec 16th and will not be able to make any more changes until then. So, please help me finish this task by the end of day Friday. I live in Florida and will be available to connect at 7 am ET. Thank you in advance.

Team,
Bhushan and I have made all of the requested changes. Please approve and deploy to production as soon as you can. Thank you.


Updated quicli from 0.3.0 to 0.3.1

The update fixed issue #89

@killercup Sorry for that, I probably did it by automation :/


en_AU updated to values metric and corrected date

local "en_AU" had some incorrect values, Australia is fully metric, and date is %d/%m/%y.

Great - thanks!


Compile error when Create MapType instance use Type::create

https://github.com/facebookincubator/velox/blob/5176ce40f4612998d792990229b74bdc6cbf11af/velox/type/Type.h#L452
the follow code compile fail:
std::shared_ptr<const MapType> MAP(
    std::shared_ptr<const Type> keyType,
    std::shared_ptr<const Type> valType) {
  return Type::create<TypeKind::MAP>(std::move(keyType), std::move(valType));
};

Error message:
no matching function for call to 'forward'
Development environment:
clang 13.0.0 c++11
suggest:
  template <TypeKind KIND, typename... CHILDREN>
  static std::shared_ptr<const typename TypeTraits<KIND>::ImplType> create(
      CHILDREN... children) {
    return TypeFactory<KIND>::create(std::forward<CHILDREN>(children)...);
  }

C++17 is the standard used by Velox. How are you building the code? Are you using any editor?

@zwykmm Have you tried upgrading to C++ 17 ? Do you still experience build failures?

@zwykmm Are you still blocked? Have you been able to resolve the issue by upgrading to C++ 17?

@zwykmm I haven't heard from you for some time now. I assume you are no longer blocked. I'm going to close this issue, but feel free to reopen if you need further help.


Minor Update: Update "let's go" button on homepage

Update the "let's go" button to look like the Figma and make clicking it redirect to the demo page.

I forgot to reference the issue in my commit messages, but the following commits reference this issue:
a4d618a725ccce3103c3ebff07fe37294b3add17
206429c93321fe2a5a9b328856dc2604da8e5cb6

Start button onclick method links to "/lesson-1" because no "why-pointers" page exists yet. This should be fixed in a future issue.

I was getting an error with a fresh yarn.lock file, but solved using git checkout origin/main -- yarn.lock as explained here:
https://github.com/yarnpkg/yarn/issues/6152#issuecomment-469490433

Don't worry about referencing the issue in commit messages, just reference it in the PR itself (and maybe the branch name). The PR linked will close the issue automatically, so that is probably most important.

Update the "let's go" button to look like the Figma and make clicking it redirect to the demo page.


Messaging - Schema Registry for Python (January-June 2021)

This tracks the work for Messaging - Schema Registry for Python.

There is no planned work for Schema Registry for this semester at the moment.
cc @lmazuel


Allow keyboardAppearance to be set

How about allowing keyboardAppearance to be set?
<SmoothPinCodeInput keyboardAppearance="dark" {...opts} />

Just pass that prop down to the <TextInput />.

You could use #24
<SmoothPinCodeInput
    inputProps={{
        keyboardAppearance: "dark"
    }}
    {...opts}
/>

Perhaps this should be documented.

Thank you 🙏💯

Is it me or does the above not work for everyone?


changing priority rules are unsuccessful

In the past several days, I've been unsuccessful with changing the priorities of certain tasks
When I filter tasks by property there are matching tasks available and only in the low, medium priority:

I would like the same tasks set to High so I changed the priority rules to use the same property filter, but it doesn't appear to be doing so. Am I misunderstanding how this works?

Hi @govvin can you provide some more details on what you're trying to do and what is happening? I've just tried reprioritizing tasks based on a property and it seemed to work. Also, can you take another look at the challenge and see if it's still incorrect? Maproulette has been a little bit sluggish recently and may be taking longer to reprioritize than usual.
If it's still incorrect, details about the challenge, the filters you're setting up, etc. would be helpful in aiding an investigation.

Hi @nrotstan .
I was just reviewing the challenge, and for some reason, the priority rules are now empty:
 .
I'm pretty sure there were existing rules we were using before that worked okay, and I'm not sure what happened here. I'll setup the rules again, and get back to this.

I think PR maproulette/maproulette2#788 will likely address the problem with updated priority rules sometimes not being applied


Captcha not working sometimes

greetings everyone
i have this issues where Captcha work sometimes and sometimes not, it says captcha check faild while it's correct, plus sometimes i can't sign in as admin or as normal user, i use Ubuntu and windows 10, both firefox and chrome on Ubuntu doesn't work anymore, it was working fine but don't know what cause this, on windows 10 it does work most of the time,
note: i'm not newbie! if the script was working without issues i won't be here ask many questions.

I also had trouble to login as Admin a few times. Captcha not working. I always thought it was due to me having multiple Admin sessions (simultaneously) while testing my site in multiple devices. I believe I found I couldn't log as Admin twice. Only once. That's my perception. Not due to a software perception. Anyway I would like to hear some views on the matter 🙂

How can something not work sometimes? You have to give us more to work with than this... Sharing your log is generally a good initial step!


doc: AwsSolutions-APIG4: The API does not implement authorization.

Describe your issue?
I receive the following error:
[Error at /ApiService/Instance/Default/OPTIONS/Resource] AwsSolutions-APIG4: The API does not implement authorization.

Upon further inspection, I discover that the following protects all methods, but the OPTIONS method.
const gateway = new apigateway.LambdaRestApi(this, "Instance", {
    ...
            defaultMethodOptions: {
                authorizationType: apigateway.AuthorizationType.COGNITO,
                authorizer,
            },
    ...
        });

Found the following discussion relevant to this topic: https://stackoverflow.com/questions/67336080/cdk-api-gateway-default-authorizer-exclude-options-method
What is the way to enable authorization for OPTIONS?

Do you have a reproduceable example? If you are  a properly creating an OPTIONS method and applying authorization to it this may be a better issue to raise with the CDK than here.
If it is a CDK issue that needs to be resolved you may need to follow this example from the README to resolve this isntance


Realm crash on 2nd crash onwards -- RLMRealm notification listener thread gets signal SIGABRT

Goals
What do you want to achieve?
I'm trying to launch my app more than once in simulator (iOS 10, Xcode 8) without having to "Reset Content and Settings"
Expected Results
What did you expected to happen?
The app launches successfully repeatedly.
Actual Results
What did happened instead?
First app launch after a "reset content and settings" is fine, but successive launches always crash. I've documented as much as I could in this Stack Overflow question (which started as a question referring to Crashlytics as the culprit, but seems Realm actually is...): http://stackoverflow.com/questions/40228446/ios-10-simulator-crashes-on-launch-from-realm
The stack trace I'm seeing is in that question :)
Steps to Reproduce
What are steps we can follow to reproduce this issue?
Not quite sure what how I can share this repro case, as it seems to be specific to my personal project (which I can't share). I have, however, as described in the SO question, tried with both Realm v1.0.2 AND v2.0.2 and no difference in behavior between either.
Code Sample
Not sure what I can provide here, which is kind of part of the problem. I have another project that is working fine with Realm, yet this project crashes on the 2nd launch (and every launch after that) consistently. I'll provide as much as info as I can as requested.
Version of Realm and Tooling
In the CONTRIBUTING guidelines, you will find a script,
which will help determining these versions.
Realm version: v1.0.2 && v2.0.2
Xcode version: 8.0
iOS/OSX version: 10.0
Dependency manager + version: Cocoapods 1.1.0.rc.3

I am having the same issue.

None of the information provided here or in the aforementioned Stack Overflow post indicates that Realm is responsible for these crashes.
Although Realm's notification listener is running in a separate thread in the screenshot of the paused debugger in the Stack Overflow post, it's not the active thread where lldb is paused. According to the Stack Overflow post, the offending line is in application(_:didFinishLaunching:) when calling Fabric.with([Crashlytics.self]).
I'd be happy to take a closer look if a project were shared that exhibited this behavior, or if a stack trace were shared that demonstrated Realm itself as being responsible for the crash, but so far that's not what the information provided indicates.

Closing as we got very little info on this.


CAN bus peripheral drivers not present in esp-idf (IDFGH-9335)

The espressif api-reference shows how to use the can bus peripheral here:
https://docs.espressif.com/projects/esp ... s/can.html](https://docs.espressif.com/projects/esp-idf/en/v3.3.5/api-reference/peripherals/can.html
However the "driver/can.c" and "driver/can.h"are not present in the esp-idf master branch.
How do I use the can bus with the current esp-idf (I'm using the ESP32C3 and ESP32S3 ?)

These peripheral and the driver have been renamed to TWAI in the chip documentation and the code, so the API reference (for the master branch) is now at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/twai.html. The examples are in https://github.com/espressif/esp-idf/tree/master/examples/peripherals/twai.

Thank you.
When you search ESP32 can bus this page is the top espressif result - I think it needs a note adding to the top starting this?: https://docs.espressif.com/projects/esp-idf/en/release-v3.3/api-reference/peripherals/can.html

We have a redirect set up from can.html to twai.html, so for any recent version a URL like https://docs.espressif.com/projects/esp-idf/en/v5.0/esp32/api-reference/peripherals/can.html will get automatically redirected to https://docs.espressif.com/projects/esp-idf/en/v5.0/esp32/api-reference/peripherals/twai.html.
Since release/v3.3 branch is EoL since last year, the corresponding docs will probably not get updated anymore.
Let me see if we can do anything to bring the docs for the latest releases higher in the search rankings for this query.


WIP: Refactor riak_kv_app:start/2 and Add Capabilities for the Query Pipeline

Can one of the admins verify this patch?


async from plenary

There's an open pull request at  nvim-lua/plenary.nvim#83 that takes the same approach we did with async (with inspriation from us apparently :grin:), makes it actually good (they already fixed a few performance concerns I had with my implementation) and adds it to plenary.
Now, I have no idea how widespread plenary actually is, so I have this question to @TimUntersberger and anyone who uses neogit and sees this: If this will be merged, should we actually depend on plenary (and not just for tests) and use their async library?
This would mean users would need to add plenary to their list of plugins if they'd want to use neogit.

I think depending on plenary is good, as much of plenary will likely make it into core at some point, and the async PR has a high likelihood of being merged.

I also feel like depending on plenary is a none issue, since a lot of plugins are already using the "library". Like @mjlbach said, I also think that most of the plenary stuff will make it into core (mostly because tj is the owner of the library).
Changing from our own solution to the async lib from plenary is probably a good idea 👍

And maybe in return you could consider contributing your notification library to plenary? It's really quite lovely, and I'd love to use it as a vim.notify provider...
(Apropos: Not worth its own issue, but it'd look nicer if the notification highlight groups were linked to standard highlight groups -- like MoreMsg, WarnMsg, and ErrMsg -- rather than specific colors. I haven't tested it but from the code it looks like these are set unconditionally, so they would override the ones from a user's init.vim or color scheme should they set them there?)

And maybe in return you could consider contributing your notification library to plenary? It's really quite lovely, and I'd love to use it as a vim.notify provider...

I don't think there is any point, because the library is already part of neovim ui

I am also working on async await jobs as a follow up pr.

async await jobs are here! link

async await was merged!

@oberblastmeister thanks for all the work you put into it, looks amazing!


ENH - Adding Pseudo-Inverse to computation.py

[x] Tests added
[ ] Fully documented, including whats-new.rst for all changes and api.rst for new API

Hello @erbian! Thanks for submitting the PR.

In the file xarray/tests/test_computation.py, following are the PEP8 issues :

Line 982:23: E226 missing whitespace around arithmetic operator
Line 982:25: E226 missing whitespace around arithmetic operator
Line 982:38: E231 missing whitespace after ','
Line 982:40: E231 missing whitespace after ','

Unfortunately this requires numpy 1.14. That's a year old - too soon to bump the minimum version?

It's not entirely clear to me where we should draw the line between included wrappers in xarray and leaving this to external packages, e.g., see xr-scipy.readthedocs.io
If we do include this in xarray, I would prefer to have both (1) a clear policy around what we include (e.g., only direct wrappers for numpy/scipy functions) and (2) a separate namespace for wrapped functions, e.g., xarray.linalg or something more generic like xarray.wrapped.
Note that with NEP-18 we'll be able to directly everything in numpy.linalg on xarray objects, without requiring the use of a separate wrapper.
cc @pydata/xarray  for discussion

Note that with NEP-18 we'll be able to directly everything in numpy.linalg on xarray objects, without requiring the use of a separate wrapper.

It would be awesome for those numpy functions to just work! Could we start on this now, making it conditional on numpy 1.16 installed?
Reading the NEP, I think you could literally pass dim=['x','y'] to the numpy function, and it'll pass that onto xarray. Lmk if I'm mistaken.
Speaking for @erbian (my colleague) , no rush to merge this - we thought it would be helpful but have it internally. Even better if we can get a general solution.

Reading the NEP, I think you could literally pass dim=['x','y'] to the numpy function, and it'll pass that onto xarray. Lmk if I'm mistaken.

No, that would give an error message about passing in a bad argument name. We'll need our own wrappers to switch axis to dim.

Since this is basically a one line call to apply_ufunc, I propose that we add it as an example  of using apply_ufunc in the docs. Maybe even emphasize by adding a section on "wrapping numpy functions"?

No, that would give an error message about passing in a bad argument name. We'll need our own wrappers to switch axis to dim.

I understand we'd need to define __array_function__ on xarray objects managed the conversion.
Conditional on that, could someone call np.pinv(da, dim=['x', 'y']? And then DataArray.__array_function__ would receive the dim kwarg.
Or would np.pinv raise if passed a dim kwarg? (if so, we'd still need to declare n wrappers, IIUC?)

Or would np.pinv raise if passed a dim kwarg? (if so, we'd still need to declare n wrappers, IIUC?)

Yes, np.pinv will raise if passed a dim kwargs. This was an intentional choice: http://www.numpy.org/neps/nep-0018-array-function-protocol.html#support-for-implementation-specific-arguments

Yes, np.pinv will raise if passed a dim kwargs. This was an intentional choice: http://www.numpy.org/neps/nep-0018-array-function-protocol.html#support-for-implementation-specific-arguments

Thanks.
With the current state, am I correct in thinking we still need wrappers for any numpy.linalg function that requires a dim kwarg?
(I guess we could use the axis kwarg instead, but that might be confusing things)

Yes, we'll want to add our own wrapper functions. (Or possibly a new
apply() method could do the dim -> axis renaming)
On Fri, Feb 15, 2019 at 4:01 PM Maximilian Roos<EMAIL_ADDRESS>wrote:

Yes, np.pinv will raise if passed a dim kwargs. This was an intentional
choice:
http://www.numpy.org/neps/nep-0018-array-function-protocol.html#support-for-implementation-specific-arguments
Thanks.
With the current state, am I correct in thinking we still need wrappers
for any numpy.linalg function that requires a dim kwarg?
(I guess we could use the axis kwarg instead, but that might be
confusing things)
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pydata/xarray/pull/2766#issuecomment-464254541, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABKS1gNtPViHaVR_wyopKAktKCHgztfUks5vN0phgaJpZM4a4kfe
.

OK, thanks. Being able to call np.pinv(da, dim='x') would be awesome, but ack the downsides you outlined in the PEP

Since this is basically a one line call to apply_ufunc, I propose that we add it as an example of using apply_ufunc in the docs. Maybe even emphasize by adding a section on "wrapping numpy functions"?

@erbian can you change this PR to improve the documention this way?


[Azure] Terraform setup for 2019 Symposium

Packer build
Modularized terraform
Adds GPU support

Resolves #260, Resolves #273.

Fixed by 72e0edd.


JS Migrations Support

Hello! :wave: Thank you for this project!
We're currently writing migrations in JS (no translation needed to use it in the SvelteKit server hook).
By default, kysely-ctl skips JS files: WARN  Ignoring 2024-07-01.js - not a TS file.
By removing these lines, I could make it work:
https://github.com/kysely-org/kysely-ctl/blob/230798d8c2256d62e075d7bab621c6734d48b5ef/src/kysely/ts-file-migration-provider.mts#L27-L30
Would it be possible to relax this requirement, so TS and JS are both supported?

Hey 👋
Thanks for raising this!
This project doesn't require any build step of TypeScript migration files before running commands. They just work at runtime, like in bun and deno.

We're currently writing migrations in JS (no translation needed to use it in the SvelteKit server hook).

Do you plan on running migrations from kysely-ctl and SvelteKit server separately?

Would it be possible to relax this requirement, so TS and JS are both supported?

I'm leaning towards an allowJS config option for migrations, off by default (trying to be TypeScript-first here).

We want to use kysely-ctl in a script that resets the database to a specific state for end-to-end tests. So we delete everything (drop the database and recreate it), run the migrations from scratch and then add testing data.
A allowJS flag in the configuration sounds like a great idea! 🥳

Released in https://github.com/kysely-org/kysely-ctl/releases/tag/v0.9.0.

Thank you very much! It works and we switched from our ugly hack to the new version :-)


[WIP] Computed Property Macros

This PR introduces a formatNumber() computed property macro as discussed in https://github.com/jasonmit/ember-intl/issues/392#issuecomment-257812181. This is marked WIP since I'd like to add more macros, but also because the discussion in #392 wasn't quite finished and I wanted to present a concrete proposal to discuss.
Resolves #392
/cc @jasonmit @marcoow @kellyselden

CLA is valid!

Thanks for taking the time to land this :)
LGTM -- just need to address failing tests.  Ping me on slack if you want to chat.
I've also made you a contributor as I desperately need help managing this project (do so as you feel the need to obviously).

One project more or less to maintain doesn't even matter anymore... :joy:

FWIW, I'm planning on extracting the primitives from ember-awesome-macros (raw, computed (composable version), any others). Not saying you should block on this, but it should be done soon.

Can I do anything to move this along?  Happy to take it over if it's a time thing.

Can I do anything to move this along? Happy to take it over if it's a time thing.

It's unfortunately not a time thing, I just wasn't sure anymore what the right path would be...

I liked the direction.  The only things I'd ask is to drop ref and always default it.  We should also only have to wrap string literals in raw.  If the value type is not a string than it's safe to treat it as raw.
(There might be a use case to keep ref around, just unsure what it is.)

yeah, though I'm not a huge fan of that (see the discussion in https://github.com/jasonmit/ember-intl/issues/392), but ultimately it's your decision.

Consider me persuaded.  I see your point in it helping to reduce confusion


Debugging python embedded in xml file

I just finally made to work PTVS with our software (C++), which embeds the python. I can now debug the .py files etc. But I would like to ask if something else is possible.
We're also using .xml files which could embed the python code. From this .xml, we generated the string which is python definition of the classes, methods etc. which is then run using boost::python::exec() (which does use PyRun_String() internally) and class type object is extracted from the local dict for later use - creating instance of it.
Now, when the instance of the generated class is created, and it's methods are called, I would like to breakpoint in those methods. But I don't know if it is somehow possible. It seems I would need to map the lines from the "string" to the lines in the .xml file. I was searching through the python C API but haven't found the needed functions.
Another option is to dump the generated string to some temp .py file and then do as usual. Then at least in call stack I may be able to go to the location in the given temp .py file.
Is it somehow possible or I shouldn't even try?
Thanks

The trick is to make sure that the code objects for your compiled code have filenames (co_filename) and line numbers (co_lnotab) that correspond to where they come from in XML. I don't know enough about Boost.Python, but in Python itself you'd do it by calling compile() first - which takes an optional filename argument that you can set to your .xml file - and then using eval() on the resulting code object. In C, PyRun_CompileString... also has that option.
With line numbers it's a bit trickier since there's no way to tell the parser to start counting from some other value, it always goes from 1. But you can first parse to AST with ast.parse(), then do ast.increment_lineno() to "move" it to where it was in your XML, and finally give that to compile().
This assumes that you preserve line endings from XML - if not, then you can adjust line numbers in the AST for every node as needed to map them.

Thank You very much for the reply @int19h . I've made the proof of the concept and it is working well! Thanks again ;)


Expect spike rule keeps alert

I would expect the spike rule keeps alert from 10:30 till 10:45 through still (base on realert) , but alert only get trigger at 10:30 once despite of realert was being set, how can I achieve the goal?
Here is my rule:
es_host: xxx.xxx.xxx.xxx
es_port: 9200
name: HTTP_BAD_CODE_400
type: spike
index: logstash*%Y.%m.%d*
threshold_cur: 500
timeframe:
  minutes: 15
spike_height: 5
spike_type: "up"
filter:
- query:
    query_string:
       query: "(dc:dc01 || dc:dc02) && env:production && http_status:400"
alert:
- command:
    command: ["/usr/bin/myscript", "--server", "xxx.xxx.xxx.xxx", "--port", "xxx", "--host", "xxx", "--key", "xxx", "--value", "xxx"]
realert:
  minutes: 3

Here is my data trend:
https://s4.postimg.org/78o586o4t/github.png

@Qmando would you please advice, this is one of important things that I was requested to be done as quick, thanks

The "spike" event is going from very few documents to lots of documents. So it makes sense that it gets triggered at ~10:30. But after that, from 10:30-10:45 and then 10:45-11:00, the number of documents remains roughly the same, so there is no "spike" happening.
If you want it to keep alerting, you need to use frequency type with a fixed threshold.

@Qmando thanks for your advice, it works for me


PEP 541: Add maintainer to thrift (maintainer is unresponsive)

Greetings,
I am on the Apache Thrift PMC, and currently our PMC Chair is the only one listed as a maintainer of the thrift package on pypi.  Our chair has gone unresponsive for a while now, and we're trying to get more folks who are doing releases added to package managers.  In this case, pypi needs additional maintainers of thrift.  If you can add me to the list of maintainers, that will resolve the issue.  My pypi username is jeking3.
On our side, we're tracking this at https://issues.apache.org/jira/browse/THRIFT-4687
For proof of Apache Thrift PMC membership, see: http://people.apache.org/phonebook.html?pmc=thrift

When can I expect a decision or action on this?

The Apache issue you point to was opened on 2018-12-27 and last updated on 2019-01-07.
The thrift project on PyPI was last updated by its maintainer jfarrell on 2018-01-11.
The only email address we have on record for that user is @apache.org. Presumably you've tried to initiate contact using that address? I've also pinged it.
I've pinged the Author email for the project as well.
I find a Github account with a username matching the PyPI maintainer username. It's most recent activity was on https://github.com/apache/thrift/pull/1611 (creating the Thrift 0.12.0 release, which is what the issue linked to in Apache's JIRA was about), where @jeking3 also participated. Both are "contributors" to the project. This was in October 2018. I've pinged that account.
The PEP defines an abandoned project as:

owner not reachable (see Reachability above);

"reachability" is supposed to be tried for six weeks, at least three times.

no releases within the past twelve months; and

Previous release was just over 12 months ago.

no activity from the owner on the project's home page (or no home page listed).

The home page is listed as http://thrift.apache.org but it ultimately does link to https://github.com/apache/thrift

I will update this ticket with the results from the Apache Board, the project asked the board for guidance on how to proceed.

The Apache Thrift PMC is voting on replacing the chair because he is non-responsive.  The other project he is chair for (Apache Aurora) is likely to do the same.  We're also going to ask the apache board to try to contact him with information on file to check on his health and well-being.

The Apache Thrift PMC team voted to elect a new project chair today.  This won't be reflected until the next board meeting in February.  I will update you then.

Any update regarding this issue?

I have asked the new PMC to post here and confirm the change of ownership request.

Hi @ksmets,
I can confirm what Jim wrote. We want to switch the maintainer, since jfarrell is no longer responsive and also no longer the PMC chair (because of that).
Is there anything besides the link(s) below and/or above that you need from me or from the Thrift PMC?

board meeting minutes

Have fun,
JensG

@jeking3, @ksmets: BTW, can we have two maintainers or is it limited to one person?
That would make things easier if one gets under the bus.

We are starting another release cycle.  Sure it should not take as long as it has to fix an ownership issue like this?

Apologies for the delay in tackling this issue but please remember this is a volunteer effort and there is long backlog of PEP 541 requests.

Thanks for your patience on resolving this issue. I will now contact an administrator to proceed to adding your PyPI username jeking3 as an owner of the thrift package.

jeking3 added as Owner.


aarch64 nvm install failure - package 404

Node: not installed yet
Platform: Linux linaro-alip 4.2.4-linaro-lt-qcom #1 SMP PREEMPT Fri Jan 8 09:23:15 UTC 2016 aarch64 aarch64 GNU/Linux
Hardware: DragonBoard-410c
nvm install # attempts fail for all versions, including stable:
linaro@linaro-alip:~$ nvm install 6
Downloading https://nodejs.org/dist/v6.2.2/node-v6.2.2-linux-aarch64.tar.xz...
######################################################## 100.0%
Checksums empty
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Binary download failed, trying source.
######################################################## 100.0%
Checksums empty

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Binary download failed, trying source.
Installing node v1.0 and greater from source is not currently supported

I see the other very recent work done here to treat aarch64 as arm64. NVM is installed manually (git) and I see the commits in the git log as well as in nvm.sh, but there is still a problem - the Node download URL is a 404 (because there is no "aarch64" binary), and the 404 handlers aren't catching this.

Caught the issue - I had changed NVM versions in the process of troubleshooting. After installing NVM manually, nvm_get_arch was still returning aarch64 - I had to source ~/.profile before it returned arm64 as expected.
Not sure why the 404 handlers didn't catch this, that might be a different problem.

Another approach is to just re-set the variable in nvm:

--- nvm.bak	2016-06-27 22:08:23.690813532 +0200
+++ nvm.sh	2016-06-27 22:11:12.654180757 +0200
@@ -962,6 +962,7 @@
   case "$HOST_ARCH" in
     x86_64 | amd64) NVM_ARCH="x64" ;;
     i*86) NVM_ARCH="x86" ;;
+    aarch64) NVM_ARCH="arm64" ;;
     *) NVM_ARCH="$HOST_ARCH" ;;
   esac
   echo "$NVM_ARCH"

This is for the release version of nvm and changes it to download the arm64 version instead of failing with aarch64.
Sorry, but the ``s don't work for this diff output.

@cdjm that patch is unnecessary - #1104 was released last weekend with v0.31.2.


TSC cannot find vuepress-plugin-typedoc/next although it is present in node_modules

TSC complains Cannot find module 'vuepress-plugin-typedoc/next' or its corresponding type declarations. ts(2307) when importing vuepress-plugin-typedoc in config.ts to configure vuepress. However, the dev server works as expected and build passes. Markdown generated by the plugin appears to be correct.
The project is set up according to vuepress docs and there is nothing extra. vuepress-plugin-typedoc is installed with NPM and present in node_modules where I can also see the ./next export in package.json. I also tested with vuepress-plugin-copy-code2 and importing that in config.ts works fine.
I tried creating tsconfig.json and fiddled with some basic options but nothing seemed to work. Is it necessary to have a specific tsconfig.json (or other) when using this plugin? Any other ideas what might be causing this behavior?
Thanks!
EDIT: Versions in question:

"typedoc": "^0.25.3"
"typedoc-plugin-markdown": "^3.17.1"
"vuepress": "^2.0.0-beta.68"
"vuepress-plugin-typedoc": "^0.13.0"

The vuepress plugin has been deprecated. Please use typedoc-vitepress-theme (https://typedoc-plugin-markdown.org/plugins/vitepress) which is VuePress compatible.


Added GatewaySku when using New-AzureRmVirtualNetworkGateway

Added GatewaySku as it's required to create a Policy Based virtual network gateway.

Hi @SenthuranSivananthan, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@cherylmc - Can you review this proposed change?

@yushwang: Please verify that this is technically accurate. Thanks!

Cheryl and I looked at this just now - let's not merge it as it's from a long time back (Feb.) We will have a separate update to add GatewaySku parameter.
Thanks,
Yushun

Closing per feedback from article owners.


功能拓展

Description
你好，请问项目如何对接国产大模型deepseek？
Environment
macOS
Steps to reproduce
请问项目如何对接国产大模型deepseek？
Expected behavior
没毛病
Severity
Minor
Additional Information
No response

@liancoder
deepseek is openai api compatible.
you can use the playground, choose voice_assistant / voice_assistant_stt_integrated(if you are using azure STT).
use module picker to pick openai llm.
in properties editor change following values,
base_uri: https://api.deepseek.com/v1
api_key: <your deepseek key>
model: <deepseek model>

and click save change, you should be good to go.


Added API throttling policy

Closes #123
This is going to need some modifications in frontend as well. Create a branch from this PR's branch and Copy the settings added in this PR from production.py and paste it to local.py to test throttling on local. Then run the backend using docker and show too many requests error message on frontend on all api endpoints.
Before pushing frontend changes remove the settings that were added to local.py. Create a PR from your branch to the branch of this PR.

@devendra0009 Would you like to implement the remaining frontend part of this issue?

Sure @DevilsAutumn , can you elaborate, i didn't get the actual problem

Actually, in this PR I have added adding API throttling, which means setting up a limit for api calls from a particular ip address. This will help us prevent DDoS attacks. If someone makes api calls more than the rate we have defined, it will throw 429: too any requests error, we have to handle this case for every endpoint. If we have too many request error show the msg on frontend.

Sure will handle it , can. You provide the steps to reproduce the error msg 429. Or should i just add a check for it.

Sure will handle it , can. You provide the steps to reproduce the error msg 429. Or should i just add a check for it.

I have added it in the PR description, change the rate to 2/min or something like that. and then try calling API again n again.

@devendra0009  any updates? We are planning to add this in next release.

@DevilsAutumn , sorry my schedule became so busy , i forgot about it . Have you completed it? I'll be working on it if not

@devendra0009 its completely okay. 😊
I did in 2 api contact us and subscribers, events api is left.
If you have time now, you can take it further 😄

sure will look it into it today

hi @DevilsAutumn , i took a pull from main and cut the fix branch for this bug but i saw there is no api getting called in events page so what to handle in it?

are you running everything using docker?

I would suggest creating a branch from ticket_123(from which this PR was created) and make your changes in that branch. Then we can merge that branch into this one(ticket_123).
you can checkout to this branch using gh pr checkout 124.
also, there were new env variables added in the code for frontend which you can find in .env.example. Let me know if you need any help.

bro i use the configuration in .env.example file but there is no varaible for NEXT_PUBLIC_FRONTEND_URL.
So below is giving error
metadataBase: new URL(${process.env.NEXT_PUBLIC_FRONTEND_URL}),
Should i use below key value?
NEXT_PUBLIC_FRONTEND_URL= http://localhost:8000/api/v1

put NEXT_PUBLIC_FRONTEND_URL= http://localhost:3000/ in .env inside frontend folder.


fix select stmt will make BE coredump when its castExpr is like cast(int as array<>)

Proposed changes
Issue Number: close #xxx
Problem Summary:

BE will coredump when cast ScalarType to array
FE should not send similar cast requests to BE

Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes)
Has unit tests been added: (No Need)
Has document been added or modified: (No Need)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Please add some P0 test


fix: resolve fork failures during training runs

torchrun jobs create a number of children per GPU which can often exceed the 2k limit.

PTAL @rhatdan @Gregory-Pereira
This one is urgent.


jasmine.d.ts not available

Hello,
I'm using your angular2-webpack-starter and on npm install I get this error

typings install
typings ERR! message Unable to read typings for "jasmine". You should check the path is correct
typings ERR! caused by https://raw.githubusercontent.com/angular/DefinitelyTyped/4b36b94d5910aa8a4d20bdcd5bd1f9ae6ad18d3c/jasmine/jasmine.d.ts responded with 404, expected it to equal 200

thx
Michael

can you update your typings.json to the latest changes https://github.com/AngularClass/angular2-webpack-starter/blob/master/typings.json

I cloned your master and there anything works fine. I fink i will upgrade my project to your last master!
Some hours before I tried to update typings.json to your last one but it didn't work, maybe I did something wrong.
thx
Michael


intermittency of success in downloading data through the same request

While downloading data through PySEP, the process fails sometimes but eventually completes successfully on re-executing the job multiple times. It seems like the error has something to do with connecting to IRIS servers. I encounter similar issues while downloading data independently of PySEP, and it seems to me that PySEP is just encountering the same issue while trying to reach IRIS. The rate of occurrence seems high enough to think of a solution. I have been using a recursive function to keep making download requests till data is downloaded successfully, when downloading data independently of PySEP. I am guessing that others have encountered this issue as well, and incorporating a similar solution strategy within PySEP would save the users from having to manually rerun the download several times.
Screenshots of a typical error message when downloading data through PySEP -

Associated pysep.log -
[2023-07-17 13:04:53] - pysep - INFO: creating event metadata with user parameters
[2023-07-17 13:04:53] - pysep - INFO: event info summary - origin time: 2001-06-23T20:33:14.000000Z; lat=-16.27; lon=-73.64; depth[km]=33.0; magnitude=8.4
[2023-07-17 13:04:53] - pysep - INFO: full output directory is: datawf/atico_2001_LHZ_raw_0S0
[2023-07-17 13:04:53] - pysep - INFO: writing config YAML file
[2023-07-17 13:04:53] - pysep - INFO: writing event as QuakeML
[2023-07-17 13:04:53] - pysep - INFO: querying IRIS for station metadata

Just adding that I see this intermittently when running tests ($ pytest test_pysep.py) in some of the 'get' functions.


Thermos Error

I see the issue #16 , i have the same i think. I have this error when i launch with the legacy version or the normal.
http://pastebin.com/QdmmZwz0

Looks more like an issue with your server implementation. Usually you'd get those exceptions for the Guava and Gson classes, as they are not shaded on older versions.
I don't officially support Thermos, but it should work fine.
Which version are you using? I'll try to test. :)

Can I also suggest that you open an issue at https://github.com/CyberdyneCC/Thermos/issues and ask what they think?
I've never used Thermos before, but it is my understanding that it should function in the same way as Craftbukkit when interacting with plugins.

I use the 56 version, i'll try a fresh install in case :)

Same error with a fresh intstall, i'll report to thermos and link here.

Yep, so it's an issue with your server software.
Nothing I can do to fix it. 😢


noremaps of 'o' do not work

Hi! I appreciate the work you've done with this plugin. I only have one issue left with my key mappings, and it's that any noremaps of 'o' won't work. For example, none of the following commands apply the change:
noremap x o
noremap , o
noremap - o

Any thoughts?

I'm not sure why, but this works only with regular nmap.
Note this is a CodeMirror issue and not the plugin's. The CodeMirror Vim support often requires lots of trial and error to get to something that works :-/


List configurable parameters for rules

Add --list-configurables option that prints out all rules together with configurable parameters
Add support for --list [PATTERN] and --list-configurables [PATTERN] that filter outs printed list by given glob pattern
Closes #207

I need also to update README and docs

Codecov Report

Merging #213 into master will decrease coverage by 0.15%.
The diff coverage is 94.36%.

@@            Coverage Diff             @@
##           master     #213      +/-   ##
==========================================
- Coverage   98.69%   98.54%   -0.16%
==========================================
  Files          31       31
  Lines        1991     2059      +68
==========================================
+ Hits         1965     2029      +64
- Misses         26       30       +4

Impacted Files
Coverage Δ

robocop/config.py
97.46% <75.00%> (-2.54%)
:arrow_down:

robocop/rules.py
100.00% <100.00%> (ø)

robocop/run.py
97.67% <100.00%> (+0.11%)
:arrow_up:

tests/e2e/test_e2e.py
100.00% <100.00%> (ø)

tests/utest/test_listing_rules.py
100.00% <100.00%> (ø)

robocop/checkers/spacing.py
100.00% <0.00%> (ø)

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 a57b968...fe2aeef. Read the comment docs.


[BUG][LUIS] Authoring client uses LUIS version 2.0; Runtime client uses LUIS version 3.0-preview

Describe the bug
In the Azure SDK for .NET, the LUIS runtime client is set to use version 3.0-preview of the service instead of 2.0.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/cognitiveservices/Language.LUIS.Runtime/src/Generated/LUISRuntimeClient.cs line 183:
BaseUri = "{Endpoint}/luis/v3.0-preview";

This is different from the Azure SDKs for all other languages (Python, Go, Java) except JS. See issue 4189 (https://github.com/Azure/azure-sdk-for-js/issues/4189).
Meanwhile, the LUIS authoring client is set to use version 2.0.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/cognitiveservices/Language.LUIS.Authoring/src/Generated/LUISAuthoringClient.cs line 237:
BaseUri = "{Endpoint}/luis/api/v2.0";

As a result you cannot use the Azure SDK for .NET to do the following tasks.

Create an application (this uses the Authoring client).
Query the application for predictions (this uses the Runtime client).

The reason is that methods on LUIS version 3.0 cannot see applications that were created with LUIS version 2.0.
See also issue 4189 (https://github.com/Azure/azure-sdk-for-js/issues/4189), which describes how to reproduce this with the API testing consoles.
Exception or Stack Trace
"   at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.PredictionOperations.<GetVersionPredictionWithHttpMessagesAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.PredictionOperationsExtensions.<GetVersionPredictionAsync>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at LUIS_Prediction_CS.Program.<Query_App>d__9.MoveNext() in C:\\Users\\<user>\\Documents\\Quickstarts20190604\\LUIS_Prediction_CS\\LUIS_Prediction_CS\\Program.cs:line 92"

To Reproduce

Get a LUIS subscription key.
Set the environment variable LUIS_SUBSCRIPTION_KEY to your subscription key.
Set the environment variable LUIS_REGION to the region for your subscription key (example: westus).
Create a C# .NET Framework console app.
Add the NuGet packages Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring (version 3.0.0), Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime (version 2.8.0-preview).
Run the following code.

Code Snippet
using System;
using System.Threading.Tasks;

/* Note: Add the following NuGet packages to your solution.
 * - Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring v3.0.0
 * - Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime v2.8.0-preview
*/
using Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring;
using Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models;
using Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime;
using Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models;

namespace LUIS_Prediction_CS
{
    struct ApplicationInfo
    {
        public Guid ID;
        public string Version;
    }

    class Program
    {
        private const string key_var = "LUIS_SUBSCRIPTION_KEY";
        private static readonly string subscription_key = Environment.GetEnvironmentVariable(key_var);

        // Note you must use the same region as you used to get your subscription key.
        private const string region_var = "LUIS_REGION";
        private static readonly string region = Environment.GetEnvironmentVariable(region_var);
        private static readonly string endpoint = "https://" + region + ".api.cognitive.microsoft.com";

        static Program()
        {
            if (null == subscription_key)
            {
                throw new Exception("Please set/export the environment variable: " + key_var);
            }
            if (null == region)
            {
                throw new Exception("Please set/export the environment variable: " + region_var);
            }
        }

        // Create a new LUIS application. Return the application ID and version.
        async static Task<ApplicationInfo> CreateApplication(LUISAuthoringClient client)
        {
            string app_version = "0.1";
            var app_info = new ApplicationCreateObject()
            {
                Name = String.Format("Contoso {0}", DateTime.Now),
                InitialVersionId = app_version,
                Description = "Flight booking app built with LUIS .NET SDK.",
                Culture = "en-us"
            };
            var app_id = await client.Apps.AddAsync(app_info);
            Console.WriteLine("Created new LUIS application {0}\n with ID {1}.", app_info.Name, app_id);
            return new ApplicationInfo() { ID = app_id, Version = app_version };
        }

        // Train a LUIS application.
        async static Task Train_App(LUISAuthoringClient client, ApplicationInfo app)
        {
            var response = await client.Train.TrainVersionAsync(app.ID, app.Version);
            Console.WriteLine("Training status: " + response.Status);
        }

        // Publish a LUIS application and show the endpoint URL for the published application.
        async static Task Publish_App(LUISAuthoringClient client, ApplicationInfo app)
        {
            ApplicationPublishObject obj = new ApplicationPublishObject
            {
                VersionId = app.Version
            };
            var info = await client.Apps.PublishAsync(app.ID, obj);
            Console.WriteLine("Endpoint URL: " + info.EndpointUrl);
        }

        // Send a query to a LUIS application.
        async static Task Query_App(LUISRuntimeClient client, ApplicationInfo app, string query)
        {
            PredictionRequest obj = new PredictionRequest
            {
                Query = query
            };
            try
            {
                var info = await client.Prediction.GetVersionPredictionAsync(app.ID, app.Version, obj);
                Console.WriteLine(info.ToString());
            }
            catch (ErrorException e)
            {
                Console.WriteLine(e.Message);
                Console.WriteLine(e.Response.Content);
            }
        }

        // Delete a LUIS application.
        async static Task Delete_App(LUISAuthoringClient client, ApplicationInfo app)
        {
            await client.Apps.DeleteAsync(app.ID);
            Console.WriteLine("Deleted application with ID {0}.", app.ID);
        }

        async static Task RunQuickstart()
        {
            // Generate the credentials and create the client.
            var credentials = new Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.ApiKeyServiceClientCredentials(subscription_key);
            var authoring_client = new LUISAuthoringClient(credentials, new System.Net.Http.DelegatingHandler[] { })
            {
                Endpoint = "https://" + region + ".api.cognitive.microsoft.com"
            };
            var runtime_client = new LUISRuntimeClient(credentials, new System.Net.Http.DelegatingHandler[] { })
            {
                Endpoint = "https://" + region + ".api.cognitive.microsoft.com"
            };

            Console.WriteLine("Creating application...");
            var app = await CreateApplication(authoring_client);
            Console.WriteLine();

            /* We skip adding entities, intents, and utterances because the
             * predict method will not find the app anyway. */

            Console.WriteLine("Training application...");
            await Train_App(authoring_client, app);
            Console.WriteLine("Waiting 30 seconds for training to complete...");
            System.Threading.Thread.Sleep(30000);
            Console.WriteLine();

            Console.WriteLine("Publishing application...");
            await Publish_App(authoring_client, app);
            Console.WriteLine();

            Console.WriteLine("Querying application...");
            /* It doesn't matter what query we send because the predict method
             * will not find the app anyway. */
            await Query_App(runtime_client, app, "test");
            Console.WriteLine();

            Console.WriteLine("Deleting application...");
            await Delete_App(authoring_client, app);
        }

        static void Main(string[] args)
        {
            Task.WaitAll(RunQuickstart());
            Console.WriteLine("Press any key to exit.");
            Console.Read();
        }
    }
}

Output:
Creating application...
Created new LUIS application Contoso 7/7/2019 1:45:54 PM
 with ID 5d326f2f-fc42-424b-b885-7e91403bdae1.

Training application...
Training status: Queued
Waiting 30 seconds for training to complete...

Publishing application...
Endpoint URL: https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/5d326f2f-fc42-424b-b885-7e91403bdae1

Querying application...
Operation returned an invalid status code 'NotFound'
{
  "error": {
    "code": "NotFound",
    "message": "The application wasn't found. Please make sure that the application is published to this region."
  }
}

Deleting application...
Deleted application with ID 5d326f2f-fc42-424b-b885-7e91403bdae1.
Press any key to exit.

Expected behavior
Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Prediction.GetVersionPredictionAsyncdoes not raise an exception.
Setup (please complete the following information):

OS: Windows 10 Enterprise 1803
IDE : Visual Studio 2019
Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring v3.0.0
Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime v2.8.0-preview

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Thanks for the feedback. I have routed to the appropriate team for follow up.

Hi @v-jaswel
Thank you for reporting your concern.
Please note that API version for authoring is totally independent from the runtime. However, all versions communicate with the same service, so you can author your apps using Authoring V2.0 and query them using Runtime V2.0 or V3.0-preview.
As for your specific issue, I'd like you to share your exact requests for publishing the app, and query using runtime V3.0 to be able to assist.
We support two ways for publish, either using slots (PRODUCTION/STAGING) or using versions (i.e. 1.0, 2.0 ... etc) as described here
Then, we support with runtime V3.0-preview two options for querying the published app (based on the publish method used). Either using slot or by version
My take is that you publish using slot publishing, query with v3.0-preview with version (hence it doesn't work), and query with 2.0 using slot (hence it works)
Please, let me know if that matches your case. If not, please share with me the details of your requests and I'll be happy to assist.


Update DPS To Use Streamer Client Library Instead of Consensus Follower Library to Sync Protocol State

Problem Definition
This Epic is concerned with the Streaming Client Library, a part of the Flow Access Node Refactoring. It is related to issue #2465.
The Flow Data Provisioning Service (DPS) has a Live Binary for live sporks and Indexer for past sporks. It stores indexed data in a Badger database, which can be accessed by block height. Currently, it does so by bootstrapping a Consensus Follower. This implementation is outdated.
Proposed Solution
Since the Observer Service, Access Node, and Consensus Follower Library are all abstracted; DPS must be updated to reflect these changes. DPS should use the Streaming Client Library to register itself as a block consumer/subscriber with the Protocol API on an Access Node or an Observer.
Step Definitions
• Update Flow DPS Live Binary to pull chain data from the Streaming Client Library instead of Consensus Follower
• Update Flow DPS Indexer to pull chain data from the Streaming Client Library instead of Consensus Follower
• Update DPS Consensus Tracker to receive chain data from the Streaming Client Library instead of Consensus Follower
Definition of Done
• DPS no longer initializes the Consensus Follower Library
• DPS instead initializes a Streaming Client Library and requests a network key for a host AN or Observer
• DPS registers itself as a block subscriber/finalization listener to a Protocol API
• Protocol API calls callback for all registered finalization listeners
• DPS receives catch-up blocks from the Protocol API through the Streaming Client Library
• DPS Live Binary pulls current spork data from Protocol API
• DPS Indexer pulls past spork data from Protocol API

Blocked by https://github.com/onflow/flow-go/issues/2465


poly: add pass to materialize roots in rings

Not all rings need a root attribute as they are not used in operations
that require them. Currently, we attempt to materialize a root for all
rings at parse time. The introduced pass will only attempt to
materialize roots for rings that are used in such an operation. This
allows for the materialization to be just-in-time.

Adds a pass that will first denote all rings that are used in
operations that require a root. Then it does a replacement pass to
recursively replace those rings.

Will need to rebase onto main once #657 is merged.

The roots attribute will be moved to the operation rather than the polynomial type. As such, this pass will need to modified to fit the new representation. See discord discussion.


Invalid null check in AzureChatGptServiceConfiguration.cs

I noticed a problem in the two lines of code mentioned in the 2 links below

https://github.com/marcominerva/ChatGptNet/blob/master/src/ChatGptNet/ServiceConfigurations/AzureChatGptServiceConfiguration.cs#L67

https://github.com/marcominerva/ChatGptNet/blob/master/src/ChatGptNet/ServiceConfigurations/AzureChatGptServiceConfiguration.cs#L81

The problem is the following: the first "ArgumentNullException.ThrowIfNull" argument is the parameter that will be checked for nullability.
By passing a "nameof()" as parameter that value will never be null.
The signature of the "ArgumentNullException.ThrowIfNull" method is the following
public static void ThrowIfNull(object? argument, string? paramName = null)
Actually I found this problem only in the file mentioned in the title.
Can I solve this issue?

I think the problems are related to a bad copy/paste. I have assigned the issue to you, feel free to make a PR.


Can't find the page for Docker v1.12

Problem description
Problem location

I saw a problem on the following URL: https://docs.docker.com/v1.12/

Other: I get this message: "Sorry, we can't find that page"

Project version(s) affected
https://docs.docker.com/v1.12/

Hello @SueGraham , we have removed unsupported documentation versions from docs.docker.com but you should still be able to access the documentation. Please see https://github.com/docker/docker.github.io#accessing-unsupported-archived-documentation for details on how. Let us know if you have any more questions.

Thanks :)


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
0809302 -> d37f07b

github.com/IBM/platform-services-go-sdk
require
minor
v0.49.0 -> v0.51.0

github.com/gruntwork-io/terratest
require
minor
v0.43.13 -> v0.45.0

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.21.7 -> v1.23.0

Release Notes

IBM/platform-services-go-sdk (github.com/IBM/platform-services-go-sdk)
v0.51.0
Compare Source
Features

ATracker V1: remove deprecated atrackerv1 service from project (#282) (1b7cff8)

v0.50.4
Compare Source
Bug Fixes

ATracker: add eu-es region, remove migration code (#281) (3dd6978)

v0.50.3
Compare Source
Bug Fixes

Metrics Router: add new region eu-es (#280) (b8834b8)

v0.50.2
Compare Source
Bug Fixes

Global Search/Tagging: regen services with latest API definitions (#279) (87e0507)

v0.50.1
Compare Source
Bug Fixes

Context-Based Restrictions: fix output to Operations (#278) (424b6b5)

v0.50.0
Compare Source
Features

Usage Reports: add billing snapshot config service to usage reports (#272) (c56989e)

gruntwork-io/terratest (github.com/gruntwork-io/terratest)
v0.45.0
Compare Source
Description

Removed Go patch version from go.mod

Related links

https://github.com/gruntwork-io/terratest/pull/1351

v0.44.1
Compare Source
Description

Updated AMI module to support Ubuntu 20.04 and 22.04.

Related links

https://github.com/gruntwork-io/terratest/pull/1350

v0.44.0
Compare Source
Description

Updated minimal Go version to 1.21

Related links

https://github.com/gruntwork-io/terratest/pull/1339

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.23.0
Compare Source
Features

added json comparison functions (#593) (1781c81)

v1.22.0
Compare Source
Features

cbr cleanup (#658) (7721cbe)

v1.21.10
Compare Source
Bug Fixes

deps: update module github.com/ibm/platform-services-go-sdk to v0.50.1 (#651) (df3e66d)

v1.21.9
Compare Source
Bug Fixes

deps: update gomod (#650) (1835de4)

v1.21.8
Compare Source
Bug Fixes

fixes bug in workspace path when using upgrade path and implicit destroys.* Fixed a bug where the temp directory could be created in the wrong place (did not affect the functionality of the code).* Removed unused internal variable. (#648) (71af06a)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.13.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add a DefaultConvert() function for compatibility with client-go v0.17.x

@ChrisRx
Our components are all using the Kubernetes v0.17.x modules. CABPC is compatible except for this conversion file which implements its own conversion scope. The conversion scope interface changed from v0.17 to v0.18. Adding the missing v0.17 function fixes the backwards compatibility.
Another solution might be to not implement a custom scope and just use the scope variable which is passed in to the conversion function by API machinery. Would this cause breakages?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I had to make that custom scope to prevent the call to Convert() here on a nil value:
https://github.com/criticalstack/cluster-api-bootstrap-provider-crit/blob/793f4c851ea16804295cbc056662e60282712d07/apis/controlplane/v1alpha1/zz_generated.conversion.go#L159-L162
It keeps generating this line and looking in the controller-gen source there did not appear to have a way to prevent it from doing so.  To use it with the controller-tools conversion stuff, it doesn't appear to have a way from there to construct a conversion.Scope so it can only pass a nil.  That didn't seem to be a problem until that particular situation above where that call to Convert() couldn't be avoided.  If you have a way to get the conversion.Scope that can be provided in places like here:
https://github.com/criticalstack/cluster-api-bootstrap-provider-crit/blob/793f4c851ea16804295cbc056662e60282712d07/apis/controlplane/v1alpha1/critcontrolplane_conversion.go#L29
then that would be cool, otherwise I think just adding the method to the custom scope also works.

Ok, are you happy to approve this PR?

Ok, are you happy to approve this PR?

Do you have a way to get the conversion.Scope that can be provided in places like here: https://github.com/criticalstack/cluster-api-bootstrap-provider-crit/blob/793f4c851ea16804295cbc056662e60282712d07/apis/controlplane/v1alpha1/critcontrolplane_conversion.go#L29
As mentioned above, I made the custom scope because I wasn't able to find a way to provide that conversion.Scope in controller-tools conversion functions.  If there is a way to do that I would much rather go that route, otherwise I'd be fine with accepting this PR.

I can look into it, but I have some other things I need to get out of the way first which depend on this change

That sounds good, this change is acceptable and we can always circle back to alternatives.  Thanks!


QtPy vs PyQt5 in autogenerated files

Hi team!
While working on https://github.com/conda-forge/pycustomfocus-feedstock/pull/5 we noticed some files are directly importing pyqt5
See: https://github.com/search?q=repo%3Afcaprile%2FPyFocus pyqt5&type=code
These are autogenerated files, but imply a forced dependency on pyqt5
The plugin documentation for napari has a set of best practices for developers, which includes a clause recommending not to depend directly on PyQt5 or PySide2 to allow end-users to choose their bindings freely. More details here.
The files using PyQt5 instead of qtpy are listed here -> https://github.com/bauerdavid/napari-nD-annotator/search?q=pyqt5
We made a patch over at conda forge to replace pyqt5 by qtpy
Is there a reason you need PyQt5 explicitly? Could these imports be updated to use qtpy for the next release and add some instructions so that this is manually fixed whenever the UI is regenrated?
Thanks and cheers 🚀 !

Hi @fcaprile, this library is used by napari plugins so indirectly it would lead to installations bringing pyqt5. On conda forge we removed the pyqt5 dependency and patched the files to achieve this goal, but I understand you would prefer to leave it as is.
Cheers

Ok, if it leads to problems then I will see to remove it for a next release.
Cheers.

Removed pyqt5 from requirements


Adds support to multi-index search

Pull Request
Related issue
Related to https://github.com/meilisearch/meilisearch-dart/pull/267
What does this PR do?

Introduce SearchQuery, MultiSearchQuery, MultiSearchResult
Add  Future<MultiSearchResult> multiSearch(MultiSearchQuery requests); to MeiliSearchClient
[Breaking Change] Changed the signature of Searcheable, SearchResult, PaginatedSearchResult to be immutable with prober inheritance

PR checklist
Please check if your PR fulfills the following requirements:

[ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!
cc @brunoocasali after his holiday :)

Hey @ahmednfwela
It so happens that the maintainer of this repo is on holiday as well 😅😅😅. He'll be back next week. Sorry for the wait...


simple_form does not clear based on the form attribute.

Submitting a form doesn't re-render the form with a cleared content field.
Here's my LiveView.
defmodule ChatWeb.ChatLive do
  use ChatWeb, :live_view
  use ChatNative, :live_view

  def mount(params, _session, socket) do
    if connected?(socket) do
      ChatWeb.Endpoint.subscribe("messages")
    end

    socket =
      socket
      |> assign(:form, to_form(%{}, as: "chat-form"))
      |> assign(:messages, [])

    {:ok, socket}
  end

  def handle_event(
        "send-message",
        %{"chat-form" => %{"content" => content, "name" => name}},
        socket
      ) do

    message = %{content: content, name: name}

    socket =
      socket
      |> assign(:messages, [message | socket.assigns.messages])
      # Notice I'm clearing the content field
      |> assign(:form, to_form(%{"name" => name, "content" => ""}, as: "chat-form"))

    {:noreply, socket}
  end

  def render(assigns) do
    ~H"""

Chat App

    <%= for message <- @messages do %>

<%= message.name %>

<%= message.content %>

    <% end %>

     <.simple_form for={@form} id="form" phx-submit="send-message">
      <.input field={@form[:name]} placeholder="From..." />
      <.input field={@form[:content]} placeholder="Say..." />
      <:actions>
        <.button type="submit">
          Send Message
        </.button>
      </:actions>
    </.simple_form>
    """
  end
end

An my template:
<Text>Chat App</Text>
<ScrollView>
    <VStack :for={message <- @messages}>
        <Text><%= message.name %></Text>
        <Text><%= message.content %></Text>
    </VStack>
</ScrollView>
<.simple_form for={@form} id="form" phx-submit="send-message">
    <.input field={@form[:name]} type="TextField" placeholder="Name..."/>
    <.input field={@form[:content]} type="TextEditor"/>
    <:actions>
    <.button type="submit">
        Send
    </.button>
    </:actions>
</.simple_form>

Upon submission, the form doesn't clear the content field. However, this works perfectly with the HTML template.

I believe there is a state issue happening in the client. @carson-katri see this video:
https://www.youtube.com/watch?v=65Le-AnQRJU
The app launches with initial state for the TextField of asdf and the TextEditor of asdf.
Pressing Send triggers the send-message event handler, and you can see the event fire in the Phoenix console.
That event handler should update the state of the two form values to foor and bar however that isn't reflected in the client.
Finally I force a save event on the template which triggers LiveReload in the client and now we see the updated state.
In Xcode the client is getting the correct template updates. After the first button press:
[Socket] SwiftPhoenixClient: push, Sending ["7","8","lv:phx-F-8EpavAQoLZRR7C","event",{"cid":null,"type":"form","event":"send-message","value":"name=asdf&content=asdf"}]
[Socket] SwiftPhoenixClient: receive , ["7","8","lv:phx-F-8EpavAQoLZRR7C","phx_reply",{"status":"ok","response":{"diff":{"1":{"1":{"0":{"0":" id=\"form\" phx-submit=\"send-message\"","1":{"0":{"0":{"0":" id=\"name\"","1":" name=\"name\"","2":" text=\"foo\"","4":" style=\"  \"","6":""},"1":{"1":" id=\"content\"","2":" name=\"content\"","3":" text=\"bar\"","4":" style=\"  \"","5":""}},"1":{"p":{"0":["\n        Send\n    "],"1":["
\n  <LiveSubmitButton","",">\n    <Group",">\n      ","\n    </Group>\n  </LiveSubmitButton>\n
"],"2":["\n    ","\n    "]},"d":[[{"0":{"0":" style=\"buttonStyle(.borderedProminent);controlSize(.large);listRowInsets(EdgeInsets());listRowBackground(:empty)\"","1":"","2":" style=\"frame(maxWidth: .infinity);bold(true)\"","3":{"s":0},"s":1,"r":1},"s":2}]]}}}}}}}}]

After triggering LiveReload:
[Socket] SwiftPhoenixClient: receive , ["7","7","lv:phx-F-8EserRPNVxISAC","phx_reply",{"status":"ok","response":{"liveview_version":"1.0.0-rc.6","rendered":{"0":{"0":" id=\"flash-group\"","1":{"0":"","s":["\n",""]},"2":{"0":"","s":["\n",""]},"s":["<Group",">\n  ","\n  ","\n</Group>"],"r":1},"1":{"0":"","1":{"0":{"0":" id=\"form\" phx-submit=\"send-message\"","1":{"0":{"0":{"0":" id=\"name\"","1":" name=\"name\"","2":" text=\"asdf\"","3":"","4":" style=\"  \"","5":"Name...","6":"","s":["<VStack alignment=\"leading\">\n  <TextField","","","","",">","</TextField>\n  ","\n</VStack>"],"r":1},"1":{"0":"","1":" id=\"content\"","2":" name=\"content\"","3":" text=\"asdf\"","4":" style=\"  \"","5":"","s":["<VStack alignment=\"leading\">\n  <LabeledContent>\n    <Text template=\"label\">","</Text>\n    <TextEditor","","","","></TextEditor>\n  </LabeledContent>\n  ","\n</VStack>"],"r":1},"s":["\n    ","\n    ","\n    "]},"1":{"p":{"0":["\n        Send\n    "],"1":["
\n  <LiveSubmitButton","",">\n    <Group",">\n      ","\n    </Group>\n  </LiveSubmitButton>\n
"],"2":["\n    ","\n    "]},"s":["\n        ","\n      "],"d":[[{"0":{"0":" style=\"buttonStyle(.borderedProminent);controlSize(.large);listRowInsets(EdgeInsets());listRowBackground(:empty)\"","1":"","2":" style=\"frame(maxWidth: .infinity);bold(true)\"","3":{"s":0},"s":1,"r":1},"s":2}]]},"s":["\n  <Form>\n    ","\n
\n      ","\n
\n  </Form>\n"]},"s":["<LiveForm",">\n  ","\n</LiveForm>"],"r":1},"s":["",""]},"s":["<Text>Chat App</Text>\n<ScrollView>\n    ","\n</ScrollView>\n",""]},"s":["","\n",""]}}}]

So there appears to be some state issue happening with the inputs.

The example provided also doesn't work on web because it's missing a phx-change event and corresponding event handler to update the value of the form.
However, even with this handler, the form still doesn't clear on native.

@BrooklinJazz @carson-katri and I spoke about it this AM. I suspect it is a state issue for the inputs, where any udpates from the server that change the value= doesn't overwrite the @State value for that input. We've marked this as a v0.3 bug so it'll be part of v0.3.1


undefined: DefaultDevice when I try to run the scanner

I know nothing about go, but I downloaded and installed go,   and when I run go version it reports go version go1.21.6 windows/amd64
But when I try to run the scanner I get
T:\wosensortho-exporter-master>go run cmd/scanner/main.go
github.com/go-ble/ble/examples/lib/dev
C:\Users\howar\go\pkg\mod\github.com\go-ble\ble@v0.0.0-20230130210458-dd4b07d15402\examples\lib\dev\dev.go:9:9: undefined: DefaultDevice
What am I missing?  I'd REALLY love to be able to get data from my SwitchBot Indoor/Outdoor Thermo-Hygrometer into Windows!

Hello,
exporter uses go-ble library which is designed to run on Linux and Macs only. So its not something you could do to fix this.


License?

Hello! Thank you for making these icons available.
This repository doesn't seem to have a license attached. Can you clarify the terms for redistribution?

I have just added the MIT license.


kube2pulumi - Error Handling/Exposure

Redo Error handling so users have better control over what is wrong. Currently exposes PCL errors which should not be exposed to the users as they don'y have control over the PCL produced:
Error:
�[31mError�[0m: Missing attribute separator

  on pcl-859051780.pp line 40:
  40: config = {
  41: aws:region �[1;4m=�[0m "us-east-2"

Expected a newline or comma to mark the beginning of the next attribute.

Document Explaining Code Changes Plan: https://docs.google.com/document/d/1V14ydzvtpoJtPcQK1onfzqY34bFQOCC7-h5Sm0fUzKQ/edit?usp=sharing


[Question] Mask targets

Question
Hi, a quick question about the implementation of masking targets in train.py L262.
Why does it need to -2 in instruction_len = len(tokenizer(parts[0]).input_ids) - 2?
Thanks!

Answered here:
lm-sys/fastchat#1272


AGDIGGER-65 - jenkins2

Motivation
Add support for jenkins2 image
ping @aliok

Looks good

Image pushed to dockerhub. Verification performed on shared cluster.

Added image as default and updated dockerhub


Reaarange test cases

Description
Changes proposed in this pull request:

Related issue(s)

/test all

/test all

/test all

/retest


homebrew/apache/mod_fastcgi failed to build on 10.11.2

From @mackoj on December 29, 2015 15:18
Hi,
Apparently brew install homebrew/apache/mod_fastcgi failed on OS X 10.11.2
https://gist.github.com/anonymous/eb87f38551b6729a6d06
Copied from original issue: Homebrew/homebrew#47499

Also affected.
https://gist.github.com/anonymous/6e5a46ac5090ad0f9e7b154c50c3340b

This is the issue described in the Readme's Troubleshooting section.
https://github.com/Homebrew/homebrew-apache#troubleshooting

@lotyrin Yep; IIRC we should be able to fix this by shipping a patched apr-1-config but I haven’t got the time to look at it yet.

I recently have this issue in El Capitan (10.11.5), the issue was mainly caused by /usr/local/Cellar/apr/1.5.2/libexec/build-1/libtool
Edit the file itself then replace from SED="/usr/local/Library/ENV/4.3/sed" to SED="/usr/bin/sed"

@monnoval that error required a bottle update or compilation from source and should be fixed now.

This tap is now deprecated.