Rule conflict between react/jsx-closing-{tag,bracket}-location rules and the built-in indent rule

What version of this package are you using? 14.3.1
What operating system, Node.js, and npm version? macOS 10.14.6, Node 12.16.1, npm 6.13.4
What happened?
With the following config:
{
  "plugins": ["react"],
  "rules": {
    "indent": ["error", 2],
    "react/jsx-closing-bracket-location": ["error", "tag-aligned"],
    "react/jsx-closing-tag-location": "error"
  }
}

Lint this file:
const eslint1 = <Message
/>
const eslint2 = <Message
  someProp='some value'
/>

const eslint3 = <>
  some text
</>

const eslint4 = <Foo>
  some text
</Foo>

const eslint5 = <Foo
  someProp='some value'
>
  some text
</Foo>

const react1 = <Message
               />
const react2 = <Message
                 someProp='some value'
               />

const react3 = <>
                        some text
               </>

const react4 = <Foo>
                        some text
               </Foo>

const react5 = <Foo
                 someProp='some value'
               >
                        some text
               </Foo>

What did you expect to happen?
I would expect either all the eslintN ones (this plugin's rules taking precedence) or all the reactN ones (ESLint's built-in indent taking precedence) to have errors, but not both groups to have errors.
FYI, react/jsx-indent-props will move the props on the reactN variants down to match the eslintN variants if applied with ["error", 2], so it might be better to have the built-in indent take precedence to match this behavior.
Are you willing to submit a pull request to fix this bug?
Nope, but https://github.com/yannickcr/eslint-plugin-react/issues/2576 has a pointer that may help resolve the conflict.

In some situations, I've had the corresponding fixes for the warnings also execute in conflicts like the one above, indicating a possible ESLint bug in the mix. I've not been able to isolate that to a 100% repro, however, and it doesn't even reproduce all the time for the times I've had it happen.

Fixed in standard 15.0.1.


Saving tags for each image.

I had some difficulty figuring out how to get a list of tags saved for each image that was downloaded.
I've ended using the command->database settings to write to a SQLite database as outlined here.
https://gist.github.com/reedHam/fbb1a65e8295cf902e0a0903b6f96982
Is this the recommended way to save tags.
Could documentation about storing tags in a database be included on this page
https://bionus.github.io/imgbrd-grabber/docs/commands/

Hello,
Well this is definitely one way of saving those. Note that I would be careful with the INSERT INTO tags (tag, type) VALUES (%tag%, %type%); as you might end up with lots of duplicate tags in your DB.
As for the "recommended" way, there isn't really any, it boils down to how you want them to be stored.

If you want them to be stored in a raw DB, your way is the way to go.
If you want to store them in a structured DB linked to a booru you can browse locally, I would recommend reading the docs for Szurubooru or Danbooru.
If you want them to be in a TXT file beside your image (for Hydrus for example), you should use the "external file" feature, which can generate a TXT file beside each image you save.

If you want them to be in a TXT file beside your image (for Hydrus for example), you should use the "external file" feature, which can generate a TXT file beside each image you save.

Hello,
I want to save tags to an external file beside and with the same name as the image. Where is this option located?

Thank you. It wasn't so obvious with it being called "log", and what to do with it.

HOW?!


Replace enzyme implementation tests with react-testing-library

https://testing-library.com/docs/react-testing-library/intro

This is an ongoing process, any new tests are written with react testing library.


Add public Do method to http client

Fixes #5 , #4 , #3

Make Do method public
Fix data race condition for hystrix client

Closing this one, duplicate of #10


I am getting an error hard to debug

Hi, first and foremost, thank you for working on this.
Here is the situation:
I am running mjml-go inside an app, I read an .mjml file and then call mjml.toHTML(fileContent). When I run the app locally everything works fine, I also wrote some tests around the mjml functionality in my app, and when tests run, everything works fine (ie mjml compiles to HTML).
Now, I deployed my app in an EKS cluster and the app is running fine, but when the time comes to compile mjml I am getting the following error:
error: input is missing mjml property
that error seems to come from the JS compile function here
and that gets called from the go binding here
I wonder why would the property seem to be missing on my live app whereas in other instances it compiles just fine (and I also made a small toy app to test it out and of course that is working too!)
I guess my issue here is I can't be sure what that json payload looks like on the JS side, and perhaps would be nice to have some way of telling what is happening with the payload that it lacks the proper content for some reason!
any tips/pointers on how to approach this issue?

I pushed a new version with updated dependencies. Please see if this fixes the issue.
Are you running the app in a docker container? If so, does the same container work locally as well? A few quick suggestions:

Perhaps you are running an incorrect/cached version of your app on EKS? See if you can clear the cache and redownload the image/binary.
Run go vendor to vendor all your dependencies and add a few debug statements to the library's Go code and rebuild to confirm that it is receiving the correct mjml input.

@F21 I did some debugging, an asset from my code was missing in the docker build, thank you for the assistance!!


Configuring region for Regional Backend config may be unnecessary and confusing

I missed this when looking at #34 but I don't think there's any opportunity to make choices for the backend region.
An Internal HTTP LB (regional backend service) can only include Backends from the same region. So a Backend Service in us-west1 can only have Backends also in us-west1. Trying to configure autoneg on a us-west1 cluster to add instances to a us-east1 Backend Service will not work, I believe.
I addressed this by pulling the cluster location (region) from metadata: http://metadata.google.internal/computeMetadata/v1/instance/attributes/cluster-location so that user's aren't in the position of needing to magically know the only value that will actually work for region and having to explicitly configure it for each annotation.
One thing that may make this configuration required would be if there's potential for an Internal HTTP LB at some point in the future to allow Backends to be added to a Backend Service in a different region. If that happens, the it would become necessary to specify the Backend Service region in the annotation.

Fair point, I guess we could use region:"auto" or similar for that functionality.

Is there a case where we would want more than regional:true? Or can we think of any upcoming case?

With the current functionality of global and regional backend services, just a regional: true setting is all that is needed.
I know there is an expressed desire for Internal HTTP Load Balancers to allow for global access, similar to how Internal TCP/UDP Load Balancers can be configured for global/cross-region access today. But I don’t know if that is being worked on or if whenever something like that got it mplemented would still restrict backends to a single region or expand that out.

We can add support for regional boolean in addition to specifying the region manually. No harm in having both options.


Add BSD-3 license

Once these PRs are merged (if you want to merge them, of course) I will gladly list this on the addons repo if you'd like.

@nilslice Thanks for the PR. :+1:

@aleksen - you bet. glad to have another addon on the list! thanks for sharing your addon.
List: https://github.com/ponzu-cms/addons


⚠ api.piste.gouv.fr healthcheck has degraded performance

In 8a044bc, api.piste.gouv.fr healthcheck (https://api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2923 ms

Resolved: api.piste.gouv.fr healthcheck performance has improved in 386b70c.


mm: mm_heap: Fix deadlock in mm_trysemaphore in SMP mode

Summary

During checking the latest master code, I noticed that smp test application caused deadlock.
Finally I found the root cause of this issue which was introduced in https://github.com/apache/incubator-nuttx/pull/761
Actually the above PR did not call leave_critical_section() when exiting the function.
This PR sets the return value and jumps to the errout so that leave_critical_section() can be called in SMP mode.

Impact

This PR affects mm_trysemaphore() in SMP mode only.

Testing

Run smp and ostest applications for maix-bit:smp and esp32-core:smp on qemu.

@masayuki2009 Thanks for the fix, @liguiding please take a look.


[ci][gh200] dockerfile clean up

built upon https://github.com/vllm-project/vllm/pull/11302 , check it out with another branch in the upstream repo so that we can test it before merging.

thanks for the great work from @cennn
and also cc @drikster80 FYI , we decided to treat GH200 build a use case of "use existing torch", instead of hardcode the platform in requirements.txt .

the build is successful at https://buildkite.com/vllm/ci/builds/10942#0193e181-8519-48fc-857d-8ac350833690

look good to me!


API support for alternative distance units

A way to convert gridless map distances into turns, time (walking, riding, etc.). This would allow systems or speed provider mods to show:

"34 turns" on a distance that would take 34 turns
"5hr 30m walking\n2hr 00m riding" two-liner on a distance that would take that long using exploration map

Interesting idea. However I'm unsure about how to distinguish between overland travel and regular combat movement. Whether the scene is gridless isn't a good indicator, since there are people using gridless for combat and others using hex for overland travel.
For the moment I see three options:

Enabling it via a setting in the scene
Assigning a key that switches the ruler to using the alternative unit while being pressed

That would make the feature pretty obscure and hard to discover, since it's going to be available only in some games

Giving the responsibility for figuring this out to the speed providers

I don't really like this option because it doesn't seem to me like figuring this out is a game system specific task.

At a first glance having a setting in the scene looks like the most desirable option to me. Thinking of that option though: You could simply set the grid unit of the scene to turns/minutes, adjust the distance per "square" accordingly. Wouldn't that be an option? If not, why not?

Hello,
The simplest of ways is to assign a minimum distance that counts as overland travel. The settings provider could assign for example 500 or 1000 feet as the bare minimum to start showing texts related to overland distance. Shorter distances than this minimum simply do not matter for overland travel.


AD Integration - Detailed Description

Can you provide more details on which features are not supported when referring to Azure AD Integration? Are we talking about the sign-in (authentication/authorization)? Or will the app be unable to talk to Azure AD completely?

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

ID: a7a98803-1438-b1b5-f543-7dd88bc4294e
Version Independent ID: 37ff1d0f-ed8e-5e4d-1f4c-1b9f6cffb938
Content: Integrate app with Azure Virtual Network - Azure App Service
Content Source: articles/app-service/web-sites-integrate-with-vnet.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

Thanks for the feedback! We are currently investigating and will update you shortly.

Hello,
We also need clarity on this, we are creating a centralized authentication service with azure webapps to query our on premise AD(ldap/ldaps) to accept logins for our site. It works until we deploy to azure and the domain cannot be found. Does either vnet integration support ldap queries?

Near the top of this article it says:
"There are some things that VNet Integration doesn't support including:
mounting a drive
AD integration
NetBios"
Does "AD integration" in that context just mean you can't domain join the App Service and you cannot use "on-prem AD" credentials to mount a drive?

It really depends on what port the protocol is using. Mounting drives uses SMB which utilize 445 and 139 which are blocked. I've seen some customers get some communication working with AD but some APIs may get blocked since its using a restricted port.

Found the associated GH issue which has now been closed: https://github.com/MicrosoftDocs/azure-docs/issues/36224  This doc says "AD" doesn't work but, based on that, it should say "AAD" doesn't work.

We have updated the doc to reflect that Windows Server Active Directory integration is not supported in VNet integration.


new 4.0 s2client-proto and commandcenter.

https://github.com/Blizzard/s2client-proto/releases
is it compatible with new 4.0 api?

The bot should be compatible with sc2api, it doesn't require any specific proto version


Add MWAT: RED MWAT

[x] I understand that token listing is not required to use the Polygon Wallet with a token.

Please provide the following information for your token.
Token Name: RED MWAT
Token Symbol: MWAT
Decimals: 18
Polygon Address: 0x2B160EEA11604f81d5AdBBD2dcfE5B6Cd983652b
Ethereum Address: 0x6425c6BE902d692AE2db752B3c268AFAdb099D3b
Logo URI: https://s2.coinmarketcap.com/static/img/coins/64x64/2533.png
Project Name: Restart Energy Democracy
Project Summary: Restart Energy Democracy Platform (RED Platform) is a web-based platform which uses Blockchain
Technology to deliver users an extraordinary experience in the world of Carbon Offset, Sustainability
Certificates and Renewable Energy from producers to end customers.
RED platform is a social energy platform designed to revolutionize the way each of us interacts with
energy, the CO2 offset systems and the incentivization of renewable energy consumers and producers;
RED platform offers everyone the possibility to participate in the first tokenized CO2 offset platform,
earn from energy through the only 100% digital Energy Selling and Consultancy Franchise on the market
available in a 100% digital format.
Project Contact<EMAIL_ADDRESS>Project Website: https://redplatform.com/en/
Mainnet/Testnet: Mainnet
Additonal Notes:

Child token added here is not as per the mapping @dugidox
0xE46F290Cd59195a83e757891430d8D517d16b334 - Currently mapped to

Child token added here is not as per the mapping @dugidox 0xE46F290Cd59195a83e757891430d8D517d16b334 - Currently mapped to

Etherscan link posted above points to totally different token not related to RED MWAT
Ethereum MWAT contract https://etherscan.io/token/0x6425c6be902d692ae2db752b3c268afadb099d3b
Mapped to Polygon contract https://polygonscan.com/token/0x2b160eea11604f81d5adbbd2dcfe5b6cd983652b

Updated project info in AllTokens tokenlist v1.8.0.


hold chaincode instantiate for both org peers

Change logic in command run by chaincodeinstantiate pod to confirm both org1peer1 and org2peer1 have completed chaincode install before continuing with chaincode instantiation.
Addresses #55

@mrshah-at-ibm / @dhyey-ibm, I've reviewed these changes and they are OK to merge.


cachepot test

Testing cachepot
(DON'T MERGE YET)

Codecov Report

Merging #797 (bb9d509) into master (8c625a5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #797   +/-   ##
=======================================
  Coverage   78.37%   78.37%
=======================================
  Files         102      102
  Lines        9924     9924
=======================================
  Hits         7778     7778
  Misses       2146     2146

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


add minimal ContainerD version to readme

I only found this requirement when looking through all the docs after I got failed to dial "/run/containerd/containerd.sock"

Ah good catch!  Thanks!!
👍
LGTM


[Feature request] data-href-append

What about having a data-href-append binding?
I have a lot of links like to dynamic pages where I need to pass the ID for a product or a client or something else... In such case I always have to write a data formatter...
Having data-href-append I could write the href of the element like "www.examplesite.com/client.php?id=" and have the parameter I want appended to this, saving me the trouble to write a data formatter :-)

@jor77
Can you explain how you are achieving that using data formatter?
Thanks

Sure..
Before calling the template I add a data formatter like that:
$.addTemplateFormatter({
picLink: function (value) {
return "clients/img/" + value + ".jpg";
},
productPageLink: function (value) {
return "product.php?ID=" + value;
}
Then you use the data formatter in the template (as explained in the documentation)

OK Thanks

I think a data-href-append will add more complexity when a formatter does this nicely.
Also to save you some effort with your formatters, have a look at the simple example provided as part of the solution:
https://github.com/codepb/jquery-template/blob/master/Examples/SimpleExample/example.html
In here there is the following code:
$.addTemplateFormatter({
upperCaseFormatter: function (value, options) {
return value.toUpperCase();
},
lowerCaseFormatter: function (value, options) {
return value.toLowerCase();
},
sameCaseFormatter: function (value, options) {
if (options == "upper") {
return value.toUpperCase();
} else {
return value.toLowerCase();
}
}
});
As you can see, the sameCaseFormatter does the job of both the previous two formatters, but utilising the options parameter. You can assign values to this by using the "data-format-options" attribute. Therefore you could use one formatter to construct a url with an id, and pass in the url using data-format options.

Great!
I really didn't thought about this approach! It work like a charm :+1:

I will close this issue, as I will not be implementing the feature requested.

One more question...
usually I have my call to loadTemplate as part of a function.
That way I also have to call addTemplateFormatter() under that same function that call LoadTemplate(), and so I have to repeat my addTemplateFormatter() definitions in each function.
Surely it should be done in a different way but cannot figure how.


No way to get non-metadata headers (e.g. content-range) from StatObject

The minio.Core GetObject returns the headers but the StatObject does not.
As far as I can tell there is no way to get the headers that are not parsed into stat.Metadata and stat.UserMetadata for the HEAD method.

@skirsten Which headers are you missing?

The minio.Core GetObject returns the headers but the StatObject does not.
As far as I can tell there is no way to get the headers that are not parsed into stat.Metadata and stat.UserMetadata for the HEAD method.

Please share code, and don't leave us speculating.

It would need to be included in the ObjectInfo.
Parsing Range headers is quite a nightmare, though that would probably be the path to take.


Single select on checkbox table

Is it possible to single select?
In case not, is there a workaround? It should:

Hide the SelectAll check box
Intercept the @on-selected-rows-change event and update the SelectedRows list.

Issue Type (delete the irrelevant ones)

[x] Enhancement Request
[x] Question

Specs
What version are you using?
2.14.0
What browser?
Chrome 69.0.3497.92

See Issue #330

@sorayadragon thanks for the reference ticket. @ivarzap you should be able to create a single select table following that plan.
closing.

https://github.com/xaksis/vue-good-table/issues/330#issuecomment-1228403657


Add support for benchmarking multiple folders on the search path

Today benchit --all --search-dir X will benchmark all models in all scripts in directory X. However, MLAgility has directory of directories of models. It would be nice to benchmark all of that in one shot.
Proposed solution: support a wildcard operator, benchit --all --search-dir X/*, which would benchmark all models within X and all subdirectories of X.
@danielholanda mentioned the glob library might be helpful for this.

After some discussion with @jeremyfowers we realized that a cleaner API for supporting the benchmarking of multiple folders is the following:

Remove the --all flag
Remove the search_dir argument
Make input a positional arg which can either be a directory or script

Examples:
benchit models/selftest/linear.py
benchit models/selftest/*
benchit models/*


Python engineering system

@aacebo I'm not working on this, will unassign myself and move the status back to triaged

@blackchoey are you still working on this?

@aacebo Thanks for following up. I'm not working on this. This issue was created at the beginning to share, discuss and track what should be done for Python. Feel free to rearrange the issues I created.


Encode parameter before executing the request

We are using .NET Core 3.1 and Swashbuckle.AspNetCore 5.6.3.
Some of our controller actions require User-Identity HTTP header to be sent in the request. The value of this User-Identity HTTP header is base64-encoded JSON object. Example:

JSON object
Value of User-Identity header

{
  "email"<EMAIL_ADDRESS>}

ewogICJFbWFpbCI6ICJ0ZXN0QHRlc3QuY29tIgp9

We implemented the following filter operation which checks if controller action has [RequireUserIdentityFilterAttribute] attribute and adds a parameter accordingly.
public class RequireUserIdentityOperationFilter : IOperationFilter
{
  public void Apply(OpenApiOperation operation, OperationFilterContext context)
  {
    // check if controller action has RequireUserIdentityFilterAttribute with reflection
    var hasRequireUserIdentityFilterAttribute = context.MethodInfo
      .GetCustomAttributes(true)
      .OfType<RequireUserIdentityFilterAttribute>()
      .Any();

    if (hasRequireUserIdentityFilterAttribute)
    {
      operation.Parameters.Add(new OpenApiParameter
      {
        Description = "Base-64 encoded user email object. Example: { \"Email\"<EMAIL_ADDRESS>} => ewogICJFbWFpbCI6ICJ0ZXN0QHRlc3QuY29tIgp9",
        Name = "User-Identity",
        In = ParameterLocation.Header,
        Schema = new OpenApiSchema
        {
          Type = "string",
          Example = new OpenApiString("ewogICJFbWFpbCI6ICJ0ZXN0QHRlc3QuY29tIgp9")
        }
      });
    }
  }
}

This is how it looks like in SwaggerUI:

It works fine as-is. User-Identity header is sent to the server.
However, it is not very user-friendly because user has to input a string which must be base64-encoded. Is it possible that we simplify the input so that the user will only have to input user email (ex<EMAIL_ADDRESS>and C# will handle the base64 encoding before the request is sent to the server?

Take a look at this StackOverflow answer which uses request interceptor. It does exactly what I needed.


winpr/synch: fix barrier deadlock in release build

Let the compiler know that we're comparing a volatile value.
Otherwise the compiler might nuke the comparison operation and produce code that will spin endlessly.

@freerdp-bot please test again

Nice!


Bumped dependencies + ctap keyring device fixes

Description

Bumped the fido2 & ctap-keyring-device libraries
Fixed webauthn device flow when using fido2>=0.9.0 (was broken due to breaking changes introduced to the fido2 library in 0.9.0)
Fixed the fido authentication setup flow in cases okta returns an MFA_ENROLL status (expected if this is the first time registering a new authenticator over a period of time)
Fixed the webauthn flow for ctap devices which do not support user verification (passing the uv-preferred flag in that case fails the request)

Per-file changes:
errors.py

Added GimmeAWSCredsMFAEnrollStatus

okta.py

GimmeAWSCredsMFAEnrollStatus is now raised when step-up auth status is MFA_ENROLL
Fixed fido authenticator registration in cases where stepup_auth returns MFA_ENROLL (normal in this scenario)

requirements.txt

Bumped fido2 to 0.9.1
Bumped ctap-keyring-device to 1.0.6 (fido2 bump, fixed for breaking changes)

u2f.py

Migrated from CTAP1 to Ctap1 (all-caps is to be deprecated in the future)

webauthn.py

Fixed get-assertion & make-credential flow with new fido2 returned data types
Will now only pass the user verification flag if the ctap device supports it

main.py

Will now reset the preferred mfa type when registering a fido authenticator;
this is due to the fact that a user might have webauthn as a preferred type - the ctap keyring device might fail with existing webauthn devices

Related Issue
https://github.com/Nike-Inc/gimme-aws-creds/issues/284
Motivation and Context
2.4.0 Introduced a ctap-keyring-device, which is a virtual FIDO authenticator based on touch-id / WinCred / other keyring backends.
When the initial version of ctap-keyring-device used alongside fido2>=0.9.0, some breaking changes in the fido
library took a toll and raised an exception.
How Has This Been Tested?

Tested against a HID device
Tested against a virtual (Touch ID device)

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[-] My change requires a change to the documentation.
[-] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[-] I have added tests to cover my changes.
[X] All new and existing tests passed.

Hey @Sector95 !
Would love a quick glance from your side on a small fix for the webauthn flow (& ctap-keyring-device utilization).
In the interim period from opening my first PR till it got merged, some breaking changes were introduced to the fido2 0.9.x
which broke some webauthn flows;
This PR addresses that.

I tested with preferred_mfa_type = token:software:totp, and this works for me. Let's wait to see if it solves issue #284.

Apparently it solved #284. Just tested and it works now (a little bit slower in the auth part -- after touching the auth device).

I also encountered the issues that this PR is supposed to fix.
Therefore #286 and #287 are related.
I basically prepared the same PR as this to fix the API breakage, but I'd prefer this one to be merged instead (didn't push the code changes).


Add ProductFeedbackDisabled and SurveysDisabled policies for IDE

Adds two new policies to support admin opt-out of feedback.

ProductFeedbackDisabled
SurveysDisabled

This looks good.  Just test it and we're golden.
It looks like our compliance pipelines are failing.  We'll need to investigate.

Tanuja's PR had successful run in the compliance pipeline. I triggered re-run within the pipeline to see if the issue remains.

Tanuja's PR had successful run in the compliance pipeline. I triggered re-run within the pipeline to see if the issue remains.
It seems like some old credentials were possibly cached? Not sure, I created a new pipeline run (not re-run failed jobs) and the failing task succeeded.
Never mind, my new run verified new runs would work but I can't link that to this PR, and triggering a re-run on this PR runs the same run in he pipeline resulting in another failure.
@kfam98 , I think fast fix would be abandoning this PR and opening a new one. Then a whole new run will be triggered in the pipeline.

For this one, I think we can just check it in and the pipelines should run again.  We can always address any small issues if they crop up.


README.md instructions have empty dedupe UI with test data

The instructions at https://github.com/opensanctions/nomenklatura/blob/main/README.md don't result in any match candidates when using the suggested file https://github.com/opensanctions/nomenklatura/blob/main/tests/fixtures/donations.ijson in the README in step 2 nomenklatura dedupe -r resolver.json entites.ijson.

I ran through this today and am indeed getting duplicate candidates to resolve.
My commands:

nomenklatura xref -r resolver.json donations.ijson: generates resolver.json
nomenklatura dedupe -r resolver.json donations.ijson: opens interactive terminal

I believe the issue might be coming from you running the second command against entities.ijson and not donations.ijson.


When I try get items from google, return a empty array

"react-native": "0.63.2"
"react-native-iap": "^4.5.2"

This is my google product

const itemSubs = Platform.select({
    android: [
        'first_product'
    ],
});

RNIap.initConnection().then(async conn => {
                    console.log('Get Items: ', conn)
                    const fetProducts = await RNIap.getProducts(itemSubs);

                    console.log('fetProducts: ', fetProducts)

                    fetProducts.forEach((element, index) => {
                        console.log(`fetProducts ${index}: `, element);
                    });
                    try {
                        const consume = await RNIap.consumeAllItemsAndroid();
                    } catch (error) {
                        // console.log('Error!');
                    }
                });

and the terminal response:

Anyone managed to find a way for this issue?

yeah @Decoder3-14 , when you publish in production mode, just this to solve! 👎


[DOC] typo in testing_framework.rst

Typo or formatting issue in testing_framework.rst, should be easy to fix:

(this should be a bullet point list, starting at "an args parameter")

hi @fkiraly-shell  can i work on this issue?

sure, thanks!

hey @fkiraly-shell
only second line has to be modified (adding the bullet ) right??

Thanks!


FLUME-2876 ElasticSearchSink: indexnameBuilderContext.putAll bug fixes

ElasticSearchSink: indexnameBuilderContext.putAll bug fixes
org.apache.flume.sink.elasticsearch.ElasticSearchSink
indexnameBuilderContext.putAll wrong serializerContext.putAll
https://issues.apache.org/jira/browse/FLUME-2876

Can one of the admins verify this patch?

Support for Elasticsearch has been removed from the main Flume build since it is so out of date and its new license is problematic. Please work against the flume-search repo.


Logo Design for Monlam Translate and Monlam Chatbot

Description
To create Logo for Monlam Translate and Monlam Chatbot
Completion Criteria

design align with the current branding
understanding the boarder overview for the logo
Two Svg/png image logo### Implementation Plan
Create a rough design on paper to verify with the Maintainer
implement the design on either illustrator or figma

SubTasks

[x] Documenting the Logo Brief
[x] Creating Logo idea on paper
[x] implement the design on figma ( Monlam Translate)
[x] implement the design on figma ( Monlam Chatbot)

figma link : https://www.figma.com/design/ZPPRfFT8H70pNjPqfIyEeJ/padma-chat?node-id=426-12&t=pTocoJ6CXlqi32Bh-1

Please refer to the changes discussed. chatbot will be called Monlam AI and MT logo's background shouldn't be black. @TenzDelek


More websocket broadcast productionizing, test code

Now things broadcast to contract-specific topics, broadcasts contain data about the broadcasted item, there are more broadcasts, broadcasts respect contract visibility, and I added a useful test script.

Nice!


authorization problem Influx 2.0

hi guys,
he database team has created the InfluxDB 2.0
they have also created a user  with administartion rights.
we need also two aother users with admin rights, but the DB team don´t know, how they can create such a user.
they have created a Admin token, assigned this token to the my userid, but I get always the same error.
what is going wrong?
best regards
Conny

This is essentially https://github.com/influxdata/influxdb/issues/22510, closing as work will be tracked on that issue.


Occasional performance spikes in SetEvent

Using Microprofile on Windows, I noticed that SetEvent can occasionally take longer than usual. enkiTS calls it to wake up the worker threads in AddTaskSetToPipe.
SetEvent usually blocks for less than 1ms, but I've seen spikes way up in the 20s of ms, which is a problem if the game waits on a task which is blocked by AddTaskSetToPipe. It ends up producing noticable frame spikes every few seconds.
By changing the Event Object to auto-reset in EventCreate (https://msdn.microsoft.com/en-us/library/windows/desktop/ms682655(v=vs.85).aspx) these spikes disappear. However, this will only wake up 1 thread at a time, and may decrease thread utilization.
I could also avoid the issue by increasing the spin count, however this of course increases power consumption.
This is probably not a big issue if the threads rarely wait, so it depends on the workload of the scheduler, as well as the number of cores in use. Maybe auto-reset mode should be an option?

I've not observed this taking 20s of ms, but will take a look at this in a few days time.
I'm not sure that this is relevant, but what CPU are you using?

I've added a branch which uses semaphores instead of events, see:
https://github.com/dougbinks/enkiTS/commit/4766b360265b1fe185be82a319f07d49c2937970
This works on my system, and I'd be interested to know if it helps resolve the spikes you are seeing. If so I may switch the implementation to using this approach.

Note that one possibility for your issue is that it is not the call to SetEvent which is causing the spike, but oversubscription of threads causing the main thread to be context switched out. This would account for why the auto-reset SetEvent resolves the spike, as with only one thread woken you may not get oversubscription.
You can control the number of threads for the task scheduler at initialization, perhaps setting to GetNumHardwareThreads()-1 to see if you remove the spikes this way.

Thanks for looking into this!

I'm not sure that this is relevant, but what CPU are you using?
I've seen it happen on a Core i7 with HT using 8 threads, and on a Core i5 with 4 threads. The Core i7 runs under Windows 7, while the i5 is in a Windows 10 machine.

I've added a branch which uses semaphores instead of events
Very interesting, I'll give it a go. Thanks for that.

Note that one possibility for your issue is that it is not the call to SetEvent which is causing the spike, but oversubscription of threads causing the main thread to be context switched out.
I thought about the possibility, and experimented with the number of threads. And it actually helps to reduce the number of threads on the Core i7. The spikes disappear if I use less than 3 threads. On the Core i5, I had no such luck, I saw it drop frames even with only 2 threads. So I concluded that I could rule out oversubscription.
One more thing I noticed was that if I went crazy with the number of threads, and ran 16 of them on the Core i7, my machine almost froze, it was nearly impossible to even move the mouse cursor. The actual load put on the scheduler was the same in all cases.

I did some quick and dirty measurements with the semaphore implementation on the Core i7 using 8 threads.
The average frame takes about 7.1ms (v-sync off). ReleaseSemaphore takes about 0.02ms on average, with rare spikes of about 1ms. Task manager says CPU usage is at 35-45%.
Using the auto-reset event object, the performance is slightly better: average frame takes about 6.8ms, SetEvent takes 0.03ms on average, largest spike 1.5ms. CPU usage is about 25%. SetEvent is faster than ReleaseSemaphore most of the time. However, the semaphore is much less "spikey", which is my subjective impression from looking at Microprofile's "Spike %" value. I didn't do any thorough measurements.
Neither implementation causes any frame drops, so I'm happy with both of them. I'm leaning towards the semaphore, just because I use them in other places, too, and they seem to be more even in performance.

Glad you had a chance to look a the semaphore implementation. Does this work better than the original implementation?
Note that I based this off the dev branch which has a number of additions so will be slightly slower than the master branch, apologies. If you want a proper comparison just take the changes from Threads.h

Neither implementation causes any frame drops, so I'm happy with both of them. I'm leaning towards the semaphore, just because I use them in other places, too, and they seem to be more even in performance.

The auto-reset event object will only wake one thread, so this would result in poor utilisation since it's likely the other task threads will be asleep. I did try an auto-reset event object where each thread which wakes up wakes other threads in turn, but in my tests this was poorer performing. If you'd like to try that version I've uploaded it to the branch dev_autoreset with this commit: https://github.com/dougbinks/enkiTS/commit/3f278c470c9e9e3c512feccd1bddc1299bc3895b

Glad you had a chance to look a the semaphore implementation. Does this work better than the original implementation?
It depends on the use case, IMO. I'm trying to achieve smooth 60 FPS gameplay, so consistent latency is more important to me than highest throughput. From my short evaluation of the semaphore implementation, it seems a better fit for me. For others, the original implementation with a manual reset event object might be better, although the oversubscription problem has me worried a bit.
There's this game console with a Windows-like OS, where the manual reset works totally fine. So there's probably no overall best implementation. I'd suggest to have a configuration option which allows to switch between implementations and profile which one works best.

I'd rather not maintain multiple implementations, so if the semaphore implementation works for you I'll move to this as it works well for me.
My own game project is an FPS, so stable frame times are also highly important. As yet I've not seen the original issue you observed, but the semaphore approach works equally well in my tests so I'm happy to switch to that.

Of course, I made that suggestion because I though you'd want to keep the original implementation. Semaphore it is :)

Avoyd looks spectacular, by the way :)
Kudos!

Thanks!
I've merged the change to master branch, along with new grainsize functionality.
Note that I'm experimenting with some changes for added performance if you're submitting many tasksets in a loop, hopefully I'll have that available by next week along with the 'pinned tasks' (tasks pinned to a given thread) functionality.
You've indicated that this brings the spikes you're seeing down to 1ms from ~20ms so I'll close this issue, but do feel free to re-open it if the solution isn't good.


Submit site to the awesome-wagtail list

Done: https://github.com/springload/awesome-wagtail/pull/45


Actions v3 in Console

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
I can't manage Action v3 targets and executions in the Console
Describe your ideal solution
I can manage Action v3 targets and executions in the Console
Version
No response
Environment
Self-hosted
Additional Context
No response

there is already an issue for that: https://github.com/zitadel/zitadel/issues/7248
i will close this to avoid duplicates


Update guide.md

Replacing #74 to run the test suite
@dazza5000 thanks for the contribution!

Coverage decreased (-0.2%) to 99.804% when pulling 94e6625d44b0eb498cf9748e26f80912f9161575 on cr-typo into 21ac46f2e49267b77cbb14382b474f068c30e582 on master.


[Feature]: Don't automatically add new columns to the wandb project page

Description
When I run a run that logs new metrics (ie metric keys that weren't in the previous runs in that project), those metrics will be automatically added to the project's "Table" view.  It's not unusual for me to add a hundred new metrics to a run (stuff like test_score/[TEST_CASE_X]/test_metric), and then those will all show up in the table view. If I want to remove them I have to either manually click on each unwanted metric (a hundred clicks), or hit "hide all" and re-set up all the columns again.
Eg here is my current situation - there's no easy way to get this cleaned up without just resetting everything:

Suggested Solution
Don't automatically add new metrics to the Table view on the project page. Especially if the user has manually configured the column view, and especially if they're not hyperparameters (I almost never want the majority of the actual run metrics in this table view - usually just the hyperparameters and maybe one or two topline test results).
Alternatives
No response
Additional Context
No response

Removing columns is now very slow/laggy so this problem now significantly affects my workflow. I essentially cannot customize the column layout of my wandb run page at all without spending 10 minutes removing columns.

I agree!


Add non-index entrypoints to demo

At the moment the sub-routes at https://etchteam.github.io/recycling-locator/ aren't working.
This fixes the issue using the approach outlined in the Vite docs https://vitejs.dev/guide/build#multi-page-app

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG]  getLastMessageInChat() archive Chat

I want to archive the chats but when doing so I get an error because getLastMessageInChat is not defined.
Or would there be another way to archive a chat?
I would be very grateful for the help
const lastMsgInChat = await<EMAIL_ADDRESS>await sock.chatModify({ archive: true, lastMessages: [lastMsgInChat] }<EMAIL_ADDRESS>

Haven't you learned to read? Or do you just not know how to program?
Still declared it as [BUG], really clueless...

As the documentation says, you will have to implement it on your own side.


Elasticsearch

Hello,
I need to extract my data logs to visualization on kibana\elasticsearch. I can see my data logs from the log section of kibana, but I don't know how to extract specific data from it.
Any help would be great.
Thank you.

Hi @d1motion  Stackoverflow.com or https://discuss.elastic.co/ would be a better place to ask a question.
When you would post a question on the resources above, I would suggest to add more details about the shape of your data, what would you like to achieve, add screenshots if necessary and provide an example of the current state and the desired outcome. So that the people could understand the problem and help faster.
Logstash is widely used for reading, filtering, parsing and saving the data to elasticsearch as well as to other sinks: like flat files or SQL Databases.
https://www.elastic.co/products/logstash
Kibana supports manual Export to JSON/CSV
www.elastic.co has free video training  and webinars (you need to register)


Use of backtrace() in signal handler dangerous

It's unsafe to use backtrace() in a signal handler.
https://www.gnu.org/software/libc/manual/html_node/Backtraces.html

Yes, this works in practice, but is theoretically fragile

Unfortunately it appears it was not working in practice over here in our use
https://github.com/EOSIO/eos/
Saw lots of weird failures nearly immediately after SEGV handling. Weird SEGVs after returning, messages about malloc corruption, double frees, etc. So far removing the backtrace() call has cleared it all up. IMO signal handlers are something that needs to be done by the book; there is way too much opportunity for flaky behavior otherwise.

The signal handler also calls isAddressOwnedByMemory/isAddressOwnedByTable

Isn't this done after returning from the signal handler? After the longjmp?

So far removing the backtrace() call has cleared it all up.

Ok, maybe I'll remove the backtrace call for now.

Isn't this done after returning from the signal handler? After the longjmp?

It used to be, but the latest code lets the runtime hook the signal handler to support "pure WASM" threads that don't call catchSignals.

I removed the backtrace call in this commit. I'll leave this issue open to track replacing it with libunwind.

This commit uses LLVM's libunwind implementation for signal-safe backtraces on POSIX systems (tested on Linux and OSX).


สร้างภาพ

[Enter feedback here]

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

ID: 6033adab-2220-0792-ebe1-4a316a4931f5
Version Independent ID: 928fcffc-9dba-69bb-09cf-533d0055bf40
Content: Build an image - Azure Pipelines
Content Source: docs/pipelines/ecosystems/containers/build-image.md
Product: devops
Technology: devops-cicd-ecosystems
GitHub Login: @azooinmyluggage
Microsoft Alias: atulmal

@dakgk - Thanks for your feedback; we appreciate it. To make sure we have all the information needed to address your issue, please let us know which article you’re referencing, or provide more context around the general task.


Support Apache MultiViews language negotiation file naming

It would be nice if Hugo could support the multilingual file naming convention described here:

https://www.w3.org/International/questions/qa-apache-lang-neg#naming

such as:

example.html.en, example.html.fr, example.html.de (language extention after .html),

or

example.en.html, example.fr.html, example.de.html (language extension before .html)

such that Hugo can be a drop-in replacement for websites that use such Apache MultiViews approach for language negotiation.  For example, https://www.debian.org/

Content negotiation is not specific to Apache by the way. It’s “the right way” to serve multilangual pages, and it’s sad that hugo currently recommends using language specific paths or domains instead.


Generate AVA tests?

gulp-mocha is not working super well, and I kinda like the ava syntax.
Any opinions?
(cc @sindresorhus)

I like AVA.
Should we replace gulp-mocha or just add a default option for AVA ?

I'm up for debate. My initial idea is to just replace, but I'm open to other options.
FWIW, we need to make sure we can get good coverage working. And also, we need to make sure this is going to work well with the Yeoman context; one thing I'm concerned about is yeoman-test and how AVA t.plan() would play with our custom asserts.

:+1: gulp-mocha is pretty bad (I made it. Though, it's because the Mocha API is completely broken).

@sindresorhus I am curious to know what part of Mocha API is broken? As most of my modules so far are relying on it.

@hemanth The programmatic API, not the one you use in tests.

@sindresorhus Oh, alright.

@sindresorhus do you know of any AVA project setup with test coverage we could take as example?

@SBoudrias Yup, and it's very easy. See https://github.com/sindresorhus/pageres/blob/aa4bf7997a14ab4f37f0150323dd46718268b2d4/package.json#L18 and https://github.com/sindresorhus/pageres/blob/aa4bf7997a14ab4f37f0150323dd46718268b2d4/.travis.yml#L7
Full instructions here: https://github.com/bcoe/nyc#integrating-with-coveralls

can anybody show yo generator with ava tests?

@iamstarkov https://github.com/sindresorhus/generator-nm/blob/master/test.js

In case anyone is curious, I made another Yeoman generator that uses Ava instead of Mocha and Gulp
https://github.com/alexlafroscia/generator-skatejs/blob/master/test/generators/app.js
The tests definitely run faster, still get coverage out-of-the-box if you just run nyc ava instead of ava (not other config required, from what I can tell).
The only caveat is that you have to run any tests that leverage yeoman-test's helpers using test.serial, otherwise you get errors about there being too many listeners being added.

I'd still be happy to merge a PR offering the option to generate AVA tests in the future.
With v2.0 release, we got rid of gulp. I'll close this ticket given the main issue with unstable build is fixed, and we don't plan to actively work on adding an extra test framework ourselves. Thanks :)


[Bug]:

What happened?
copy/paste don't work
What was the expected functionality?
copy/paste work
Describe your environment
❯ fastfetch
.-------------------------:                    yakov@yakov-laptop
.+=========================.                    ------------------
:++===++==================-       :++-           OS: CachyOS Linux x86_64
:*++====+++++=============-        .==:           Host: X580VD (1.0)
-*+++=====+***++==========:                        Kernel: Linux 6.8.7-3-cachyos-lto
=*++++========------------:                         Uptime: 8 days, 15 hours, 36 mins
=*+++++=====-                     ...                Packages: 2979 (pacman), 15 (flatpak)
.+*+++++=-===:                    .=+++=:              Shell: fish 3.7.1
:++++=====-==:                     -*****+              Display (SDC4C46): 3840x2160 @ 60Hz (as 1920x1080) [Built-in]+========-=.                      .=+**+.
.+==========-.                          .                 DE: KDE Plasma 6.0.4
:+++++++====-                                .--==-.     WM: KWin (Wayland)
:++==========.                             :+++++++:    WM Theme: Breeze
.-===========.                            =*****+*+    Theme: Breeze (Dark) [QT], Breeze-Dark [GTK2], Breeze [GTK3]  .-===========:                           .+*****+:
-=======++++:::::::::::::::::::::::::-:  .---:      Icons: breeze-dark [QT], breeze-dark [GTK2/3/4]
:======++++====+++******************=.             Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4]
:=====+++==========++++++++++++++*-               Cursor: breeze (24px)
.====++==============++++++++++*-                Terminal: konsole 24.2.2
.===+==================+++++++:                 CPU: Intel(R) Core(TM) i5-7300HQ (4) @ 3.50 GHz
.-=======================+++:                  GPU: Intel HD Graphics 630 @ 1.00 GHz [Integrated]
..........................                   Memory: 19.57 GiB / 31.23 GiB (63%)
Swap: 8.28 GiB / 31.23 GiB (27%)
Disk (/): 705.76 GiB / 914.73 GiB (77%) - ext4
Disk (/mnt/hdd): 700.89 GiB / 931.51 GiB (75%) - ntfs3
Local IP (wlan0): <IP_ADDRESS>/24 *
Battery: 100% [AC Connected]
Locale: en_US.UTF-8

████████████████████████
████████████████████████

Relevant log output
dunno if it is related:

~/Applications
❯ ./rivet_1.7.12_amd64_1c9dccbe61e9a93fc8d2a48cb4778ab1.AppImage

** (rivet:3961583): WARNING **: 15:03:01.256: atk-bridge: get_device_events_reply: unknown signature

### Relevant screenshots

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Can you give any more info? It's working for me. Are you selecting the nodes with shift?

I'm having the same issue here. Here's some more information and clarification.
I believe the OP is talking about copying and pasting text within the nodes. Rather than the nodes themselves.
If I try to copy and paste text within Rivet, nothing happens.
I run Fedora 39 on my desktop, under Wayland, and figured it was an issue with that; but I just tried installing and running Rivet on Manjaro using KDE, and I'm having the same issue.


Issue #440

Before I used getPRs method ref: (https://github.com/aviator-co/av/blob/master/internal/gh/ghui/push.go#L323)
However, the method only returns push candidates branches ref: (https://github.com/aviator-co/av/blob/master/internal/gh/ghui/push.go#L325). In my understanding correct, when target branch is a push candidate branch, this logic will work well. But if the target branch is not a push candidate branch, it won't work well.
So, I updated to check PR directly.

Can you rebase this to master?


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-31-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4863

Questions ?
Please refer to the Backport tool documentation


prerequisites section

listed permissions are in correct. Global administrator is an Azure AD role and it's not an Azure role. For this activity, you only need write access to the subscription that is hosting the log analytics workspace.

Hello Team any update on this ?

Hi @rkarlin - Could you review the proposed update? Thanks.


getRegistrableDomain returns hostname instead of domain

Issue summary
$manager = new Manager(new Cache(), new CurlHttpClient());
$rules = $manager->getRules();
$domain = $rules->resolve('ec2-52-79-190-177.ap-northeast-2.compute.amazonaws.com')->getRegistrableDomain();

Will output the following:

string(54) "ec2-52-79-190-177.ap-northeast-2.compute.amazonaws.com"

Expected result
I would expect to see "amazonaws.com"

@ack202 thanks for using the library as stated in the documentation and in this recently closer issue https://github.com/jeremykendall/php-domain-parser/issues/260 you should explicitly use the resolve second argument to get the expected response


Add English Documentation

Why
The necessity of adding English docs will increase since documentation in Siv3D v0.8 will officially support English.
Reference
https://discord.com/channels/443310697397354506/443310697397354508/1291968904070955039


[infra][ffigen] test/setup.dart failures don't fail the CI

Take output from this job
Run dart test/setup.dart

Running build_test_dylib.dart in D:\a\native\native\pkgs\ffigen\test\native_test\
Building Dynamic Library for Native Tests...
native_test.def : error LNK2001: unresolved external symbol Enum1
native_test.def : error LNK2001: unresolved external symbol Enum2
native_test.def : error LNK2001: unresolved external symbol StructWithEnums
native_test.lib : fatal error LNK[11](https://github.com/dart-lang/native/actions/runs/10461232655/job/29098801644#step:5:12)20: 3 unresolved externals

clang: error: linker command failed with exit code 1[12](https://github.com/dart-lang/native/actions/runs/10461232655/job/29098801644#step:5:13)0 (use -v to see invocation)

Success :)

Which leads to all the tests running, then the native test failing:
❌ test\native_test\native_test.dart: native_test (setUpAll) (failed)
  The file test\native_test\native_test.dll does not exist.

  You may need to run: dart run test/setup.dart

  test\test_utils.dart 43:5               verifySetupFile
  test\native_test\native_test.dart 28:7  main.<fn>.<fn>

Not a big deal imo, but it would probably be cleaner to fail early

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

@dcharkes Seems like @fan1chun might be promoting malware, and they posted immediately as I posted the issue.

https://github.com/dart-lang/native/blob/c329cf9205428c6f056f600c61ec4e8cc120fd95/.github/workflows/ffigen.yml#L44-L45
This should be exiting with a non-zero exit code?

I think I see the problem. setup.dart is clearly not failing because it reaches the :) print at the end. But that file calls another dart file to actually build, test/native_test/build_test_dylib.dart, which prints the result of clang but doesn't exit with any special code or throw any error, meaning it always exits with 0


@vueuse/head not working properly with vite-plugin-ssr in SSR mode

Hi,
first of all, thank you very much for your hard work.
The issue mentioned here: https://github.com/vueuse/head/issues/24 still persists.
I have created a sample repository to show the problem.
https://github.com/SquirrelCoder/vite-plugin-ssr-vueuse-head
The tags are set correctly when in CSR mode but in SSR the tags are not there.
Could you please have a look at this issue?
Thanks a lot.
Tagging also @brillout

Hey @SquirrelCoder, thanks for the issue.
I've looked at the repo and it looks like an issue with your setup. You are creating a new head instance after the tags have been rendered in _default.page.server.ts.
const appHtml = await renderToString(app);
const head = createHead(); // this is going to reset all collected head data
const { headTags, htmlAttrs, bodyAttrs, bodyTags } = await renderHeadToString(head);

If you need the head instance you should either create it exclusively in this file or you can return it from createApp.
  const { app, head } = createApp(Page, pageProps, pageContext);
  const appHtml = await renderToString(app);
  const { headTags, htmlAttrs, bodyAttrs, bodyTags } = await renderHeadToString(head);

Let me know if any of that isn't clear.

oh shoot, I'm sorry, yeah that makes total sense. Thanks a lot.

Hey @harlan-zw
I do how you propose, but i am getting sting of metadata in the body tag
const { app, head } = createApp(pageContext);
const pageHtml = pageContext.Page ? await renderToString(app) : '';
const { headTags, htmlAttrs, bodyTags } = await renderSSRHead(head);

Did I miss something?
I use
vue3, vite-plugin-ssr with ssr and spa mode together

@anatoliidaostreet That's not a problem with vueuse. I have asked the same question here: https://github.com/brillout/vite-plugin-ssr/issues/865.
You have to use it like this:
const documentHtml = escapeInject`<!DOCTYPE html>

      ${ dangerouslySkipEscape(headTags) }

${ stringApp }

    `;

FYI the next vite-plugin-ssr version will warn the user when this happens.

Amazing, thanks @brillout


FUSETOOLS2-2189 - Support *.yml files

I have no idea how to avoid the Sonar reported issue

I have no idea how to avoid the Sonar reported issue

did you tried to remove async modifier? it seems to me redundant here.. https://github.com/camel-tooling/camel-dap-client-vscode/pull/494/files#diff-9fe888e9f7a83bcdc8d3e7fc0956784f3043f29763a915a6dc6c8f5e3066593fR28

cannot work until implemented upstream https://issues.apache.org/jira/browse/CAMEL-19887


Reading of glslValidator reflection data fails on Linux

As evidenced by StrayLightning/aeolius#27, on Linux Aeolius fails in debug mode with an assertion.  This is because the reflection data is not getting read correctly due to line ending differences between Windows and Linux.

Fixed by commit 1c0b50b09bbaccf8ae9b6bc87421e6b7200536a6


Ability to use SID option instead of SERVICE_NAME

is it possible to add SID option to CONNECT_DATA string instead of SERVICE_NAME here?

I didn't test but I think it will not work

i tested it in https://github.com/Mi7teR/go-ora, replaced your package with my fork in go.mod at my project. Queries to database works fine, but my fork will broke old package api. I think i need to add SID option in connection_string.go and use that option to avoid api brokes. Using this option everywhere as SERVICE_NAME causes confusion, as example i'm expecting to see a variable named SID as SID, not SERVICE_NAME

did you get any problems with the original code ?

did you get any problems with the original code ?

Yeah, i have ORA-12514 error with non-configured for service name support database. And for some reason i have no way to fix that in production.

can you make pull request with your changes

I leave the connection string as describe in documentation
conn, err := sql.Open("oracle", "oracle://user:pass@server/service_name")
and I add option to specify SID as follow
conn, err := sql.Open("oracle", "oracle://user:pass@server/service_name?SID=TEMP
the connection option will use SID instead of service name

thakn you!


New View always created?

Adopting Template10 in my main app i realize the Loaded event of the main page is always fired when his button on the Hamburger Menu is clicked, it seems a new view is created for every click on the Hamburger Menu button firing his constructor.
Is this an expected behavior and is there a way to avoid it?

This is the expected behavior. Because the Hamburger Menu doesn't do anything but host the Frame, what you are seeing is the behavior of the XAML Frame. That is to say, the Frame navigates to a type and not to an instance. The result is that each time you go to a page it is created.

https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.page.navigationcachemode.aspx

UNLESS you change the NavigationCacheMode which allows you to cache the instance and reuse that instance the next time. That being said, you can expect the OnNavigatedTo to be called in both the view and the view-model by the Template 10 framework. Determining if your current call is an instantiation or a reuse can be as simple as setting a field value and looking for it.
Warning. Read how the cache mode works. In some cases you will not reuse the view you think you would otherwise have reused because of memory constraints. This scenario is pretty rare and occurs mostly in low-end phones.

When I should know the view is from cache in my viewmodel ? In OnNavigateTo method, every time I click the hambergermenu though NavigationCacheMode is Enabled.


[CHANGE] Update content

What page is the change request for? Please supply the URI.
https://deploy-preview-335--a11ycanada.netlify.app/en/web-accessibility-checklist/
Approval needed?
None
Yes, please send a request to the following person?
No response
Who shall do the work?

[ ] I will do it, I want to contribute
[X] I am asking for someone else to please do the work

Timeline
November 20
Additional context
English reviewed content:
Web Accessibility Checklist - EN.docx
Please make sure to also update the French content of the page Liste de vérification pour l'accessibilité Web
for the following content:
Web Accessibility Checklist - FR.docx

Changes has been done


"My Decks" for Jinteki faction showing NBN logo

This started this evening:

Seems 2/3 of my Jinteki decks are displaying the NBN logo for some reason?

I think this might be related: When I open the card page for Jinteki: Personal Evolution (https://netrunnerdb.com/en/card/20093), I see the card art for NBN: Making News:

Fixed, thank you.


Really waiting for this mod

Hi, I will just say, that I really like the idea of blinking lights and the idea of Demogorgon in the game! Also I will just suggest to adjust the size of Demogorgon, he is too huge in the corridors lol. Just waiting for fully functional version for this mod :)
Especially for multiplayer and animations for Demogorgon.
I hope you will continue to adding more stuff from ST, good luck! 😊

Hi, there is a new update out that adjusts the model size and also fixes most multiplayer bugs. Although there are still a few other bugs that I have to fix.


Report SupportsDiagnostic to Roslyn Based on Open Documents

Fixes: https://github.com/dotnet/aspnetcore/issues/25463
Before:

After:

This would be going in really hot, so I'm totally alright with pushing this to next release.
Consequences: Missing errors in Error List
Testing: Basic validation in LSP & Non-LSP (nothing immediately blew up).

If it works go for it! If you're up for a single change, i'd just change

Is this https://github.com/dotnet/aspnetcore-tooling/pull/2460/commits/0c63ffdba9685b518180121b9ee8af1e01d9f460 what you had in mind?
Still doing basic validations.

Is this 0c63ffd what you had in mind?

99% yes! Just don't need to have the setters is all 😄

Is this 0c63ffd what you had in mind?

99% yes! Just don't need to have the setters is all 😄

Assuming you mean these setters https://github.com/dotnet/aspnetcore-tooling/pull/2460/files#diff-6384c1ec3af57deb42897ecaed3f77f6R36 and not the use here: https://github.com/dotnet/aspnetcore-tooling/pull/2460/files#diff-e75b2a1a65989b634385bd9aae88c176R63
Going to merge as is and will address in the AM 😄. Don't want to block release.


Couple of fixes and enhances to make the demo work more seamlessly

Contains a couple of minor fixes to make slack integrations work in sendIsolationNotification.py and removal of typos that were causing the runForensicAnalysis.py to fail.
Also included a few enhancements mainly to remove hard coding and make more use of the lambda env variables.

hi @benjipotter were you going to merge the pull request?

Apologies @sjaffry I approved and closed without merging!


Add span links to dashboard UI

Fixes https://github.com/dotnet/aspire/issues/2577

Displays list of span links for a span.
Dashboard attempts to link the link IDs to in-memory span. If it is present then a summary of the span is displayed, otherwise the span id is displayed.
Displays attributes in a grid if present.
View button takes you to the trace/span if available. If not available, then the "loading" dialog from metrics exemplar is shown.

PR doesn't include showing backlinks, but they could be added in the future. Backlinks are trickier:

Need to search through all traces to find them.
More likely that a span has thousands of other spans referring to it.

Ready for review but shouldn't be merged until metrics exemplar is merged and the base branch is changed to main. The PR reuses functionality that was added for metrics exemplars.
Span with two links, one with attributes:

Microsoft Reviewers: Open in CodeFlow

@JamesNK I was playing around with this PR locally and I clicked on a link and got this:

Seems stuck unless I cancel. Other links work.

Did you get that in the stress playground app? I forced some span links that will never resolve to make sure the UI was working. Displaying the dialog and then never doing anything is correct.

That explains it then.

Now with backlinks 🚀🔥🎈

Review please 🙏


Every notebook on Coop should automatically include a button "Open in Colab"

Used to add this manually but would be great to add it in the same place everywhere.

I would say rather than modify the user's NB by adding a button, coop should "know" it's a notebook & generate the appropriate URL to open in collab & add the button on the coop interface


Create SAS program versions under extras directories for all (SS contributor) steps

…ned by contributor Sundaresh Sankaran
Please include answers to these questions as part of your pull request
In the GitHub webUI, use the Write tab to modify the Markdown text that is part of the pull request. For each question simply place an X inside the square brackets, [X], that represents your answer. Make sure there are no blanks inside the brackets, otherwise MarkDown doesn't render properly. Using the Preview tab while editing this form, you can see the formatted/rendered version of the message.

Q1: Confirm that you have the right to submit the code that is being contributed. Please consider the origin of your code and confirm you have the appropriate rights to make the submission subject to the Apache 2.0 license that applies to everything in this repository of custom steps. If so, follow the instructions for the Contributor Agreement (which is based on the industry-standard Developer Certificate of Origin (DCO)).

[X] Yes, I have the right to submit the contributed code on behalf of myself, my company, or any other owner of the code. I have also attached my signed copy of the DCO to this message.
[ ] No

Q2: Confirm that your contribution does not include any personally identifiable information (PII), for example, in any examples used in your README file.

[X] My contribution does NOT include PII data
[ ] My contribution includes PII data

Q3: Confirm your contribution does not include any encryption or other export-controlled technology.

[X] My contribution does NOT contain encryption or other export-controlled technology
[ ] My contribution includes encryption or other export-controlled technology

@snlwih , request clarification on a point which may have perhaps not been encountered before.
As you might be able to make out from the PR title,  this is more of a "best practice" change, where I have taken steps to expose the SAS code behind all custom steps (where I am a contributor) under an 'extras' folder.   This is not a new practice and I (along with some others) have been following the same for my recent contributions.  This PR is for the purpose of bringing my earlier contributions to the same level.
When it comes to the Change Log,  I'm unsure about whether to update the version number for the same, because the Custom Step as such has undergone no change, it's only the SAS program.   One idea is to update only the README and not the step, but that would create inconsistencies.  Could you let me know what course of action to follow?

ContributorAgreement.txt

Hi Sundaresh (@SundareshSankaran),
Good question. Although not ideal, it seems to make sense to only update the README files as follows:

Add some text and a link to the folder/files with the SAS code (think the HTTP Request step that is currently in review does that)
Add a new entry at the top of the change log using a minor version number, like 1.0.1 and mention that the step itself has not been updates, but that some extra files ahve been added for purpose of ...

When you do this, about how many steps (main folders in the GitHub repo) are we talking? Would like the pull requests to be smallish in size, to make review easier and an individual entry in one of the folders not holding up all the others.
Btw. why did you create this question as a pull request instead of creating an Issue?  THe list of issues (https://github.com/sassoftware/sas-studio-custom-steps/issues) has a "New issue" button, which then shows an "Open blank issue" link. In that panel where you  provide title and body text there is a menu on the right-hand-side to add labels, and a "Question" label already exists. Something to keep in mind for future questions that you would like to discuss.

Hi @snlwih ,
Thanks for your guidance.
Answering both your questions about scale and a pull request,  this impacts 22 custom step folders covering 29 SAS program files.  But the basic operation is exactly the same, i.e. to create an extras folder and save the SAS program within.  Given your recent reply,  let's also add 22 updated README files to the review mix.
It might be monotonous if you had to review 22 individual Pull Requests (and for me to create the same)  to perform the same review.  So, a request would be to treat as a common PR.  Since I already had the output ready (and checked), I submitted the PR anyways, pending this question.
By the way, I used an automated process to create these folders in one pass.  Happy to explain that tool (among my personal collection) with you offline,  and if you feel it's useful, can provide a link to the same on this repo.
PS: I'm sure you know this, but let me underscore this is a one-time activity :).   Adding the SAS program is a default activity for my recent custom step contributions (and glad to see some other contributions include this practice, hope it spreads)

@SundareshSankaran , sorry trying to do too many things at the same time so forgot to look at the Files changed link at the top of this thread which answers my question. duh.
Have done some "simple spot checks" on some of the files and its looks okay. So am going to merge as-is.

SAS Internal Due Diligence Review - COMPLETED on 019OCT2024


Fix Issue #384

Image insertion now works properly when shared. This should fix issue #384

However you may notice that there is still the pen trace left by the user clicking but this is then covered up by the image so I do not think this has a major effect however it would be a bonus if you were able to fix this issue.

Very good jov @AndreaGon .

there is still the pen trace left I do not think this has a major effect

You're right @FreddieN, I think we could ignore it.


Enhancement | E Filing | Disclaimer change

Describe the bug
Change in the new E Filing Screens
Change: 'Affidavit under Section 225 of BNSS' to 'Affidavit in-lieu-of inquiry under section 225, Bharatiya Nagarik Suraksha Sanhita, 2024'
The note in infobox: Accused's pin code differs from complainants. Accordingly, please note that it is mandatory to conduct an inquiry under Section 225, Bharatiya Nagarik Suraksha Sanhita, 2024. An affidavit in-lieu-of the same needs to be submitted.

Change 'Affidavit under section 223 of BNSS' to 'Affidavit in lieu of Examination-in-Chief'
Note under the hearder:
Upload Affidavit to be submitted in-lieu-of statement under Section 223, Bharatiya Nagarik Suraksha Sanhita, 2024 (The note below)

@maruthiPhanendra can you remove the (The note below) from Upload Affidavit to be submitted in-lieu-of statement under Section 223, Bharatiya Nagarik Suraksha Sanhita, 2024 (The note below)

done @devarajd94, can you please check it once ?

Hi @maruthiPhanendra, tested in the QA env, and identified two issues outlined below:

Change 'Affidavit under section 223 of BNSS' to 'Affidavit in lieu of Examination-in-Chief' which is present on "Complaint" screen.
Make "Affidavit in-lieu-of inquiry under section 225, Bharatiya Nagarik Suraksha Sanhita, 2024" field as a mandatory field on "Accused Details" screen.
Attaching the video and screenshot for reference:

mandatory.webm
cc: @Ramu-kandimalla @rajeshcherukumalli

hi @Susmitabe , @devarajd94
It is not feasible to make a condition mandatory for   "Affidavit in-lieu-of inquiry under section 225, Bharatiya Nagarik Suraksha Sanhita, 2024" field  based on two fields (accused pincode and complainants pincode).
cc @anirudh-0

@devarajd94 can you intervene

Tested in UAT env, working fine as expected in both user roles : litigent & advocate

cc: @Ramu-kandimalla @rajeshcherukumalli


Raidboss Timeline Overlay Not Starting

The timeline doesn't appear to work for some fights after the update 4 hours ago (18.5.0). Bowing to the dummies in summerford farms work, but it doesn't start in actual fights (maybe it's not detecting the fight starting?).
It isn't isolated to me (several other people in my static are experiencing it, and a couple people at summerford were testing there and said they were experiencing the same thing).

I think I fixed this in 6b19e082.  If you switch your url to https://quisquous.github.io/cactbot/ui/raidboss/raidboss.html, then that should pick that up.

Can confirm it fixed it. Thanks for the speedy response!


feat: website route (downloads, help, plugins, showcase) translation

🥳 this is last hard-coded in customized react template, appreciate everyone
Changes:
added translation :
   zh/showcase
   zh/help
   zh/downloads
   zh/plugins

change json key, make sure the translation json order is the same as the file directory order
{
    hero.webpage  ->   hero.component
    arrowAnim.webpage  ->  arrowAnim.component
}

@SkyeYoung
hi, if u have a litte times, please check this issue, i want add A new component 2 fix this. in before time, i'm written Vue component Affix, i want write React version component for after time.
https://github.com/apache/apisix-website/issues/1107

Can you fix the formatting problem first? 😆

oh, i'm sorry, because I set up my Vscode editor config:
{
  "editor.formatOnSave": true,
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}

what formatting tool do you use, can you recommend me?

what formatting tool do you use, can you recommend me?
cc @barchielAbyss  ohh, for Chinese format detection in JSON files, I don't have a tool recommendation.

what formatting tool do you use, can you recommend me?
cc @barchielAbyss  ohh, for Chinese format detection in JSON files, I don't have a tool recommendation.

What you want to say should be: this commit does two things, which is not good, they should be done separately
🤔

Can you fix the formatting problem first? 😆

Oh, i'm sorry, because I set up my Vscode editor config:
{
  "editor.formatOnSave": true,
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}

what formatting tool do you use, can you recommend me?

We are using eslint, although it is not strictly a formatting tool. For some reason I don't use strict configuration, so it has a lot of problems. If you follow the readme I wrote and install the appropriate dependencies, eslint should help you with some of the formatting issues by husky calling it before you commit. If there are some deficiencies or problems with our configuration, you are welcome to help us improve it.

What you want to say should be: this commit does two things, which is not good, they should be done separately

I'm working on a solution regarding the formatting of mixed Chinese and English, but I haven't had time to test it and actually use it for this project yet.
As a temporary solution, you can use zhlint.

Hi @barchielAbyss  , thanks for the contribution!
Here is the Contributor T-shirt form[1], if you're interested, kindly take a look :)
[1] https://github.com/apache/apisix/blob/master/CONTRIBUTING.md#contributor-t-shirt


Updated the driver to be based on the Reactive Streams Java driver

@jyemin it's probably easier to ignore the diff and just look at the code + tests.

Fixed rebased and merged


Tab completion stopped working after update

Yesterday I tried to update my Yadr instalation by executing rake update but it somehow didn't work as expected. (unfortunately I don't have the output anymore).
The issue is I lost all tab completion, file and commands/aliases.
The command complete returns empty
I also cleared rm ~/.zcompdump* files but without any luck.
How can this be debugged?

This is broken for me too.
I think it broke after running brew update && brew upgrade
Now whenever I start a terminal session I see this output to the terminal window:
Last login: Thu May  3 16:27:57 on ttys000
add-zsh-hook () {
	emulate -L zsh
	local -a hooktypes
...


Add API for the kernel config checks

Supersedes #586
Fixes #337

Rebased and reworked on API as well as test


install: implement --backup, -b and -S

Implements the -b, --backup and -S options for the install utility to perform backups of existing files before overwriting. Modify the --backup argument to take an optional argument only if the argument is separated by an equals sign ("=") from the command-line option (in compliance with the GNU utils).
Make use of print! rather than print_error! for verbose outputs.
Add tests to verify that the command line options work as expected.

On linux:

error[E0425]: cannot find value `target_dir` in this scope
Error:    --> src/uu/install/src/install.rs:332:9
    |
332 |         target_dir,
    |         ^^^^^^^^^^ not found in this scope

error: aborting due to previous error

and please run rustfmt on your changes, thanks!

My bad, I accidentaly deleted some lines while rebasing. Tried the tests again and ran rustfmt, should be fixed now!

bump


jupyter reports "maximum recursion depth exceeded in comparison"

The bug
The jupyter reports
maximum recursion depth exceeded in comparison
exception when execute program
  File "/work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py", line 94, in run
    await self.visit(self.parse_tree)
  File "/work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py", line 428, in visit
    visited_children.append(await self.visit(child, inner_next_node, inner_next_next_node, inner_prev_node, node, parent_node))
  File "/work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py", line 428, in visit
    visited_children.append(await self.visit(child, inner_next_node, inner_next_next_node, inner_prev_node, node, parent_node))
  File "/work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py", line 395, in visit
    command_output = await command_function(*positional_args, **named_args)
  File "/work/python/env/lib/python3.9/site-packages/guidance/library/_select.py", line 165, in select
    option_logprobs = await recursive_select("")
  File "/work/python/env/lib/python3.9/site-packages/guidance/library/_select.py", line 140, in recursive_select
    sub_logprobs = await recursive_select(rec_prefix)
  File "/work/python/env/lib/python3.9/site-packages/guidance/library/_select.py", line 140, in recursive_select
    sub_logprobs = await recursive_select(rec_prefix)
  File "/work/python/env/lib/python3.9/site-packages/guidance/library/_select.py", line 140, in recursive_select
    sub_logprobs = await recursive_select(rec_prefix)
  [Previous line repeated 2946 more times]
  File "/work/python/env/lib/python3.9/site-packages/guidance/library/_select.py", line 110, in recursive_select
    gen_obj = await parser.llm_session(
  File "/work/python/env/lib/python3.9/site-packages/guidance/llms/_openai.py", line 485, in __call__
    return self.llm.__class__.cache[key]
  File "/work/python/env/lib/python3.9/site-packages/diskcache/core.py", line 1232, in __getitem__
    value = self.get(key, default=ENOVAL, retry=True)
  File "/work/python/env/lib/python3.9/site-packages/diskcache/core.py", line 1173, in get
    value = self._disk.fetch(mode, filename, db_value, read)
  File "/work/python/env/lib/python3.9/site-packages/diskcache/core.py", line 284, in fetch
    return pickle.load(io.BytesIO(value))
  File "/opt/anaconda/lib/python3.9/site-packages/openai/openai_object.py", line 30, in __init__
    self._response_ms = response_ms
  File "/opt/anaconda/lib/python3.9/site-packages/openai/openai_object.py", line 49, in __setattr__
    if k[0] == "_" or k in self.__dict__:
RecursionError: maximum recursion depth exceeded in comparison

Error in program:  maximum recursion depth exceeded in comparison
---------------------------------------------------------------------------
RecursionError                            Traceback (most recent call last)
Input In [45], in <cell line: 10>()
      2 # the {{#select}} command allows you to use the LLM to select from a set of options
      3 program = guidance('''Is the following sentence offensive? Please answer with a single word, either "Yes", "No", or "Maybe".
      4 Sentence: {{example}}
      5 Answer:{{#select "answer" logprobs='logprobs'}}
   (...)
      8      Maybe
      9 {{/select}}''')
---> 10 executed_program = program(example='I hate tacos')

File /work/python/env/lib/python3.9/site-packages/guidance/_program.py:226, in Program.__call__(self, **kwargs)
    224     loop = asyncio.new_event_loop()
    225     loop.create_task(new_program.update_display.run()) # start the display updater
--> 226     loop.run_until_complete(new_program.execute())
    228 return new_program

File /opt/anaconda/lib/python3.9/site-packages/nest_asyncio.py:89, in _patch_loop.<locals>.run_until_complete(self, future)
     86 if not f.done():
     87     raise RuntimeError(
     88         'Event loop stopped before Future completed.')
---> 89 return f.result()

File /opt/anaconda/lib/python3.9/asyncio/futures.py:201, in Future.result(self)
    199 self.__log_traceback = False
    200 if self._exception is not None:
--> 201     raise self._exception
    202 return self._result

File /opt/anaconda/lib/python3.9/asyncio/tasks.py:256, in Task.__step(***failed resolving arguments***)
    252 try:
    253     if exc is None:
    254         # We use the `send` method directly, because coroutines
    255         # don't have `__iter__` and `__next__` methods.
--> 256         result = coro.send(None)
    257     else:
    258         result = coro.throw(exc)

File /work/python/env/lib/python3.9/site-packages/guidance/_program.py:312, in Program.execute(self)
    310 else:
    311     with self.llm.session(asynchronous=True) as llm_session:
--> 312         await self._executor.run(llm_session)
    313 self._text = self._executor.prefix
    315 # delete the executor and so mark the program as not executing

File /work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py:98, in ProgramExecutor.run(self, llm_session)
     96 print(traceback.format_exc())
     97 print("Error in program: ", e)
---> 98 raise e

File /work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py:94, in ProgramExecutor.run(self, llm_session)
     88 self.llm_session = llm_session
     89 try:
     90     # first parse all the whitespace control
     91     # self.whitespace_control_visit(self.parse_tree)
     92
     93     # now execute the program
---> 94     await self.visit(self.parse_tree)
     95 except Exception as e:
     96     print(traceback.format_exc())

File /work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py:428, in ProgramExecutor.visit(self, node, next_node, next_next_node, prev_node, parent_node, grandparent_node)
    426     else:
    427         inner_prev_node = prev_node
--> 428     visited_children.append(await self.visit(child, inner_next_node, inner_next_next_node, inner_prev_node, node, parent_node))
    429 # visited_children = [self.visit(child) for child in node.children]
    431 if len(visited_children) == 1:

File /work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py:428, in ProgramExecutor.visit(self, node, next_node, next_next_node, prev_node, parent_node, grandparent_node)
    426     else:
    427         inner_prev_node = prev_node
--> 428     visited_children.append(await self.visit(child, inner_next_node, inner_next_next_node, inner_prev_node, node, parent_node))
    429 # visited_children = [self.visit(child) for child in node.children]
    431 if len(visited_children) == 1:

File /work/python/env/lib/python3.9/site-packages/guidance/_program_executor.py:395, in ProgramExecutor.visit(self, node, next_node, next_next_node, prev_node, parent_node, grandparent_node)
    393 # call the optionally asyncronous command
    394 if inspect.iscoroutinefunction(command_function):
--> 395     command_output = await command_function(*positional_args, **named_args)
    396 else:
    397     command_output = command_function(*positional_args, **named_args)

File /work/python/env/lib/python3.9/site-packages/guidance/library/_select.py:165, in select(variable_name, options, logprobs, list_append, _parser_context)
    162     return logprobs_out
    164 # recursively compute the logprobs for each option
--> 165 option_logprobs = await recursive_select("")
    167 selected_option = max(option_logprobs, key=option_logprobs.get)
    169 # see if we are appending to a list or not

File /work/python/env/lib/python3.9/site-packages/guidance/library/_select.py:140, in select.<locals>.recursive_select(current_prefix, allow_token_extension)
    138     sub_logprobs = await recursive_select(rec_prefix, allow_token_extension=False)
    139 else:
--> 140     sub_logprobs = await recursive_select(rec_prefix)
    142 # we add the logprob of this token to the logprob of the suffix
    143 for k in sub_logprobs:

File /work/python/env/lib/python3.9/site-packages/guidance/library/_select.py:140, in select.<locals>.recursive_select(current_prefix, allow_token_extension)
    138     sub_logprobs = await recursive_select(rec_prefix, allow_token_extension=False)
    139 else:
--> 140     sub_logprobs = await recursive_select(rec_prefix)
    142 # we add the logprob of this token to the logprob of the suffix
    143 for k in sub_logprobs:

    [... skipping similar frames: select.<locals>.recursive_select at line 140 (2946 times)]

File /work/python/env/lib/python3.9/site-packages/guidance/library/_select.py:140, in select.<locals>.recursive_select(current_prefix, allow_token_extension)
    138     sub_logprobs = await recursive_select(rec_prefix, allow_token_extension=False)
    139 else:
--> 140     sub_logprobs = await recursive_select(rec_prefix)
    142 # we add the logprob of this token to the logprob of the suffix
    143 for k in sub_logprobs:

File /work/python/env/lib/python3.9/site-packages/guidance/library/_select.py:110, in select.<locals>.recursive_select(current_prefix, allow_token_extension)
    107     last_token_str = ""
    109 # generate the token logprobs
--> 110 gen_obj = await parser.llm_session(
    111     call_prefix, # TODO: perhaps we should allow passing of token ids directly? (this could allow us to avoid retokenizing the whole prefix many times)
    112     max_tokens=1,
    113     logit_bias=logit_bias,
    114     logprobs=10,
    115     cache_seed=0,
    116     token_healing=False # we manage token boundary healing ourselves for this function
    117 )
    118 logprobs_result = gen_obj["choices"][0]["logprobs"]
    119 top_logprobs = logprobs_result["top_logprobs"][0]

File /work/python/env/lib/python3.9/site-packages/guidance/llms/_openai.py:485, in OpenAISession.__call__(self, prompt, stop, stop_regex, temperature, n, max_tokens, logprobs, top_p, echo, logit_bias, token_healing, pattern, stream, cache_seed, caching)
    482         return self.llm.__class__.cache[key]
    483     return [self.llm.__class__.cache[key]]
--> 485 return self.llm.__class__.cache[key]

File /work/python/env/lib/python3.9/site-packages/diskcache/core.py:1232, in Cache.__getitem__(self, key)
   1224 def __getitem__(self, key):
   1225     """Return corresponding value for `key` from cache.
   1226
   1227     :param key: key matching item
   (...)
   1230
   1231     """
-> 1232     value = self.get(key, default=ENOVAL, retry=True)
   1233     if value is ENOVAL:
   1234         raise KeyError(key)

File /work/python/env/lib/python3.9/site-packages/diskcache/core.py:1173, in Cache.get(self, key, default, read, expire_time, tag, retry)
   1170 ((rowid, db_expire_time, db_tag, mode, filename, db_value),) = rows
   1172 try:
-> 1173     value = self._disk.fetch(mode, filename, db_value, read)
   1174 except IOError:
   1175     # Key was deleted before we could retrieve result.
   1176     return default

File /work/python/env/lib/python3.9/site-packages/diskcache/core.py:284, in Disk.fetch(self, mode, filename, value, read)
    282         return pickle.load(reader)
    283 else:
--> 284     return pickle.load(io.BytesIO(value))

File /opt/anaconda/lib/python3.9/site-packages/openai/openai_object.py:30, in OpenAIObject.__init__(self, id, api_key, api_version, api_type, organization, response_ms, api_base, engine, **params)
     28 if response_ms is not None and not isinstance(response_ms, int):
     29     raise TypeError(f"response_ms is a {type(response_ms).__name__}.")
---> 30 self._response_ms = response_ms
     32 self._retrieve_params = params
     34 object.__setattr__(self, "api_key", api_key)

File /opt/anaconda/lib/python3.9/site-packages/openai/openai_object.py:49, in OpenAIObject.__setattr__(self, k, v)
     48 def __setattr__(self, k, v):
---> 49     if k[0] == "_" or k in self.__dict__:
     50         return super(OpenAIObject, self).__setattr__(k, v)
     52     self[k] = v

RecursionError: maximum recursion depth exceeded in comparison

To Reproduce
I copied a sample code from tutorial
guidance.llm = guidance.llms.OpenAI("text-davinci-003")
# the {{#select}} command allows you to use the LLM to select from a set of options
program = guidance('''Is the following sentence offensive? Please answer with a single word, either "Yes", "No", or "Maybe".
Sentence: {{example}}
Answer:{{#select "answer" logprobs='logprobs'}}
     Yes{{or}}
     No{{or}}
     Maybe
{{/select}}''')
executed_program = program(example='I hate tacos')

System info (please complete the following information):

OS (e.g. Ubuntu, Windows 11, Mac OS, etc.): Ubuntu 2204
Guidance Version (guidance.__version__):  '0.0.51'

Thanks, this has to do with some odd tokenization effects of long strings of spaces. Will push a fix soon.

Closing. Now fixed in 0.0.54


[WIP draft_3] Onboarding CompletableFuture rest extension module and paging implementation

Further pagination improvements over draft_2 based on design outlined https://gist.github.com/anuchandy/ffdd62ca5de5b3725c93d67481c8eff1

Closing draft and in favor of most recent design (about to open).


Add directionality to interactions

Curate and add a simple "inhibits" / "activates" column on interaction claims and groups.

@sharonfreshour to investigate sources and strategies for incorporating this into interaction claims and groups.

Here is a link to the spreadsheet I have for the interaction types: https://docs.google.com/spreadsheets/d/1IvzP7YtaN1XYEtrcAGTGIgNgl3eLTiFpxpSwli7DHNs/edit?usp=sharing
If anyone has feedback on interactions I've marked as Inhibitor/Activator feel free to add it.

@sharonfreshour is working on finding existing sources for this information for our next meeting.

@sharonfreshour to:

migrate spreadsheet to DGIdb getting started table
do a database migration to add field for directionality
survey of missing / unidirectional / conflicting results after grouping interactions

Anticipated completion: October 17th
Planned database migration is to add directionality field directly to interaction types


fix: separate config and footer links from translation files

I tried to move as much out of the locale.json translation files as possible. It's not perfect, and there's still some HTML in the JSON files, but hopefully less will break now.
Unfortunately JSON is not allowed to be served from the assets directory, so I had to change everything to JavaScript objects and include them in default.hbs.

Related issue on this: https://github.com/freeCodeCamp/freeCodeCamp/issues/41142

I pulled this down locally and everything looks correct - when I apply the theme to Ghost, it loads correctly but gives me this warning:

Thanks for catching that @nhcarrigan :+1: :+1: I missed that because I was using the npm run develop workflow.
I'll take a look at that and make the appropriate updates.

Okay, this should be ready for another round of review.
Unfortunately the {{assets}} helper only takes simple strings for the path. In the end, the best way I found to dynamically load the config objects for each language was with import() inside async functions.
If there's an easier/cleaner way to do this, just let me know.

Hey Kris, just to clarify, what we want to do is: display different links on the footer, but not use /locales because those files will be translated. Is that right?

Unfortunately the {{assets}} helper only takes simple strings for the path. In the end, the best way I found to dynamically load the config objects for each language was with import() inside async functions.

Could subexpressions help?  If we defined a helper that generated a language specific path, then would that make assets happy?

@ojeytonwilliams, yes, that's what I'm thinking. Each footer will have different trending links and text updated at different times. And we should probably translate the text for each link in-house so we have a bit more control over the line length, and can prevent them from overflowing.
I left the other footer link text in translation.json for now like on the main repo, but we could move it to assets/[lang]/footer.json if we want to have a bit more control over those. The only thing is that there's a brief flash when the page loads and the script populates those elements.
It doesn't seem like assets works with subexpressions, at least in my testing. I tried things like <script src="{{asset (concat 'config' site.lang 'footer.js' separator='/') }}"></script>, but that would just throw the [default.hbs] path.match is not a function error. I might be using that wrong, though.


Reading Information Elements (IE) with CYW43

The BSSInfo already provides a offset and length of the IE (see here). But as far as I see this there is currently no way of reading the IE. IE can for example provide information if the Service Set requires Authentication and which Authentication is required.
Am I right and implementation of reading IE values is missing, or is there a way to read IE?

it's not implemented, PRs welcome!

This is the relevant code in the C driver https://github.com/Infineon/wifi-host-driver/blob/9e4da8f0a5f5bf480d5e3661d028f68877423beb/WHD/COMPONENT_WIFI5/src/whd_wifi_api.c#L2413C44-L2413C45


現在地を取得して天気を取得

Description
Add the function to retrieve the current position.
Add the function to get the weather from the current location on the first timing.
In issue/10 branch.
Tasks

[x] Get current position
[ ] Get the weather from you current position
[ ] View the weather from current position

飽きました


Interesting

Big progress, good architecture. The inference latency should also be reduced.
But I have two questions.
What's the density of 3d points outputted by the feature map? [Should as dense as image resolution, It doesn't matter.]
As we know, image is more dense compared to point cloud produced by lidar, even dense lidar. [Alright, we can sub-sample it latter.]
OK, state of the art 3d detector head can be used, such as center-point, it is efficient.
Hum, I think the only latency bottleneck may be the dense 3d point sub-sample part.
3d points sub-sample methods designed for Lidar generated data is in-efficient here, should be the bottleneck.
The output of the confidence could be used here. But, is the predicted confidence confidence?
Hope to see someone help to design good sub-sample method here.
Right, I have not read the code. Just a glimps of the paper. Lots of self guess.

Wait a minute, just 3d point predicted in the feature map?
Then how to get the 3d feature map? It is also time-consuming.

efficient sub-sample method
How to generate 3d feature map efficiently? or predict the 3d feature map directly?

I think these are two challenging point.


Create multiples buttons variants

Just like alerts : success, error, warning, but also disabled or recommanded.
Also : different sizes.

Partially implemented with button sizes https://github.com/archost/alicht/commit/a60f90c0208b436d0173201d5dbdaca0dae42592 and https://github.com/archost/alicht/commit/36c61c1b7072befc4382c6c02d2a2a06956dc09f

Disabled state should not have a :hover effect I guess. :)

Finally a real user ! 😀

I'm more a developer rather than an user. I was just having the idea of making Alicht a real design language :)


[MINOR][PYTHON] Leverage functools.cached_property in DataFrame

What changes were proposed in this pull request?
This PR proposes to replace manual cached property with functools.cached_property in DataFrame.
Why are the changes needed?
To reduce code.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.


fix: edge case when rsa depends on another rsa

@dai-shi ready to review

__WAKU_HACK_IMPORT__ should be DEV only.
Can you find a solution without using it in PRD?
As I said, it feels strange to reuse bunderConfig for client for server.
Maybe, both bunderConfigForClient and bunderConfigForServer would be required.


JFXCombobox LabelFloat have a problem.

Hi, i am using the JFXComboBox with its LabelFloat property in true, everything works fine, the problem is fine when I want to add new values to the JFXComboBox and delete the previous ones. The label is placed on the values as in the image.

This is the method I have to add values to the JFXComboBox.
public void addListItemsComboBox(List<Employee> listEmployee){
     cboEmployee.getItems().clear();
     cboEmployee.setItems(FXCollections.observableList(listEmployee));
     cboEmployee.getSelectionModel().selectFirst();
}

(the error occurs when you use the method more than once)
Regards.

Hello,
Well this issue is related to #429, thanks for pointing out the issue 👍
will update the animation in all label float controls and push the fix.
Regards,