TS thinks the return type of GoogleSpreadsheetRow<Row>.get("Column") is any rather than Row["Column"]

That's pretty much it; it's probably because the type signature of GoogleSpreadsheetRow.get is (key: keyof T) => any rather than <K extends keyof T>(key: K) => T[K] or similar.
I could open a PR to update that if it's okay!

Oh wow, I totally missed that... Was definitely my intention to return the typed column.
Thanks for the heads up - will push an update shortly!

Hmm so taking a deeper look and poking around a bit, it looks like for the types on GoogleSpreadsheetRow to really be useful, I'll need to make some more adjustments, since everything is just a string or undefined right now.
First, support the valueRenderOption option when fetching rows - this would allow fetching the bare value. Right now we fetch formatted values, which are always strings. This would mean we could fetch numbers, booleans, etc - but it would still be limited, as none of your formatting which could potentially be useful would apply.
Alternatively (or in addition to rather) perhaps a slightly more complex schema system would help.
This could either be something like providing a transformation function (ie convert the formatted/string version and spit out the values that match your expected types using things like parseFloat, date conversion, etc...), and then an opposite conversion from your types to something google will be happy to write correctly back into the sheet.
Or something like providing a schema object, which defines the types and optionally provide transformation functions for each key - although many of the transformations may be able to be inferred since common types will cover most cases - things like boolean, dates, floats/ints, etc.
This will all make things slightly more complicated than just providing the type only when calling getRows(), however I don't see much of a way around it since we need the type info at runtime to do transformations of the values google is sending back to us.
Open to suggestions too - since I don't actually use this tool on any complex projects...

i think adding valueRenderOption as an option to getRows() would be a quick win


[Epic]: Approval - Workflows

Objective
Approval Workflow
Success Metrics

Metric

Customer satisfaction score increases

Decrease churn rate down to 30%

Prioritised User Stories

User Story

e.g. as a user, I want to be able to access the platform via mobile phone

e.g as a user, I want to be able to communicate with the other members on the canvas

Developer Handoff Document in Figma
No response
Test Plan
No response
RACI matrix

Role
People

Responsible

Accountable

Consulted
@Nikhil-Nandagopal, @mohanarpit, @areyabhishek

Informed

completed for closed beta

completed for closed beta

@srix approval workflows are still not ready right?


Error: Schema must contain uniquely named types but contains multiple types named "RemarkHeadingLevels"

node -v  v12.13.0
npm -v  6.13.0
MacOS Catalina or  Linux
Just simply runs:
npm install
yarn upgrade
npm build

Initializing plugins...
Load sources - 0.19s
Error: Schema must contain uniquely named types but contains multiple types named "RemarkHeadingLevels".
at typeMapReducer (/gridsome-portfolio-starter/node_modules/graphql/type/schema.js:262:13)
at Array.reduce ()
at typeMapReducer (/gridsome-portfolio-starter/node_modules/graphql/type/schema.js:285:34)
at typeMapReducer (/gridsome-portfolio-starter/node_modules/graphql/type/schema.js:286:20)
at Array.reduce ()
at new GraphQLSchema (/gridsome-portfolio-starter/node_modules/graphql/type/schema.js:145:28)
at SchemaComposer.buildSchema (/gridsome-portfolio-starter/node_modules/graphql-compose/lib/SchemaComposer.js:131:12)
at Schema.buildSchema (/gridsome-portfolio-starter/node_modules/gridsome/lib/app/Schema.js:35:35)
at Plugins.createSchema (/gridsome-portfolio-starter/node_modules/gridsome/lib/app/Plugins.js:94:22)

Yeah, I get this too when updating to the latest versions of vue-remark and/or transformer-remark (that's why I didn't merge the PRs). I will take a look at this when I have time, or if you/someone figures it out, let me know!

I'm also getting this. Doesn't seem to be a problem with this repo though, as it's also occuring on the main project: https://github.com/gridsome/gridsome/issues/815

Its happening to me even after downgrading vue.remark


After installing the software, it cannot be started,

When I install a new version of OLCP-MOD, it stops booting when the Apple logo appears.
If I press the option key to boot, I can even select the boot disk, but after selecting it, it stops and stays on a black screen.
The OS is sonoma 14.7.1.
The model is iMac 2019 21.5 inch model.
Best regards.

Helllo！
I only tested this program on my Hackintosh and friend's MacBookPro14,2,maybe still has a few problems :(
Did you capture any photos or videos when you meet this problem?Please show them to me~

There are no photos or videos.
Also, I don't think I can make out any photos or videos because it either stops when I hear the boot sound and see the Apple logo, or the screen goes black after selecting the startup disk and stops there.


ray container cannot be build in github CI: Not enough space

It seems there is not enough space in the machines provided by Git Hub to build the ray container.
See: https://github.com/uhh-lt/dwts/actions/runs/7860742192/job/21448261739#logs
#9 21.13 OSError: [Errno 28] No space left on device
Can we reduce the build size?

Yes, we could try this: https://github.com/marketplace/actions/free-disk-space-ubuntu

i did this in 766767b190f28fe974756d433278770b8bb3002d


Should decorate completer node to reduce CSS selector complexity

Since https://github.com/jupyter-lsp/jupyterlab-lsp/pull/949 we no longer override the completer handler and do not have access to widget, hence we set the a data attribute on body and use a selector like body[data-lsp-completer-layout] .jp-Completer; this is somewhat wasteful as the browser needs to traverse the DOM tree up until body to check if the element of given class should be decorated.
In https://github.com/jupyterlab/jupyterlab/issues/9763 I proposed to allow to add a class in renderer upstream; if the completion renderer had createWidgetNode() method we could add the data attributes (or classes directly), reducing the CSS selector complexity.

jupyterlab-lsp 5.0-alpha.0
jupyterlab 4.0.5

This is low priority because as of today the completer gets attache directly to the body, which means that the distance to traverse is tiny.


v2.0.0-beta.1 seems to ignore breakpointsConfig

We're testing out the new v2 beta and it works pretty well so far. Unfortunately, the breakpointsConfig we had before is no longer recognized. The documentation still says to do it the same way.
Does the documentation need to be updated or is this a bug in the beta?

Hey Sean, the docs haven't been updated yet -- I should have included that in the breaking changes. We're no longer grabbing config from Ember at build time (or hooking into the build process at all).
Though, if it's easy to get access to the config via a function, that would be rad and I could add that back in

We don't mind updating the config. Where does it go now? We'd rather not have to specify the same breakpoint config on every invocation of percySnapshot, if possible.

Ah, right! You can configure the Percy CLI (which is what v2 is using -- the package name is @percy/agent) in a few different ways: https://docs.percy.io/docs/sdk-configuration The most common is usually a .percy.yml file in the projects root. Something like:
version: 1
snapshot:
  widths: [375, 780, 1280, 1440]

Closing this out -- thanks for the heads up on this! We made sure to include it in the upgrade docs: https://docs.percy.io/docs/ember#section-upgrading-from-v-1


Make ContainerProperties Extendable

Allow other frameworks to subclass ContainerProperties (e.g. to hold other properties) and be able to retrieve a type-safe instance from the container, without casting.
Useful for spring-cloud-stream and its ListenerContainerCustomizer.
https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/1031
https://github.com/garyrussell/spring-cloud-stream-binder-kafka/commit/4150292f901bddce000c94a6a80c006af0a5ff97

Closing as invalid; this is not practical since we clone the properties.


Print process module path when waiting for debugger to attach

Sometimes MSBuild is running under MSBuild.exe but sometimes it's running under dotnet.exe.  This change just prints out the path to the "main module" so its easier to determine what to attach the debugger to.

@dotnet-bot test Windows_NT Build for Desktop please


Segmentation Fault / malloc errors

Hi @k2kobayashi,
Thanks for the wonderful library you've built. I'm trying to use it to synthesise some voices for a video game.
While running:
python3 example/initialize.py -3 DEMON FAIRY 16000
I'm running into two errors - one about malloc and another about segmentation fault
=== MALLOC ERROR===
python3(25887,0x108c7c5c0) malloc: Incorrect checksum for freed object 0x7fb534175e00: probably modified after being freed.
Corrupt value: 0x401f13f9ffb0cfed
python3(25887,0x108c7c5c0) malloc: *** set a breakpoint in malloc_error_break to debug
=== SEG FAULT ERROR===
1]    26095 segmentation fault  python3 example/initialize.py -3 DEMON FAIRY 16000
I have tried to debug and it is going into pyworld library.
When the code in https://github.com/k2kobayashi/sprocket/blob/master/sprocket/speech/analyzer.py
is being executed, the lines 57 and 59 cause these problems. Usually segmentation fault occurs while computing 'spc' using pyworld.cheaptrick and malloc error occurs while computing 'ap' using pyworld.d4c methods.
Also note that this does not happen always. Sometimes it analyses the first few audio files and then crashes with one of the two errors. Every run, a different number of audio files are analysed before crashing.
Not sure is this issue - https://github.com/k2kobayashi/sprocket/issues/17 is related to this one.
Any idea how I can overcome this? Any help is appreciated. Thanks!

I experienced this too. I feel that different parameter configurations cause this problem. I'll invest few hours to find the problem and if I solve I'll let you know.

I experienced this too. I feel that different parameter configurations cause this problem. I'll invest few hours to find the problem and if I solve I'll let you know.


Document Billing and Subscription information

Summary

Refs https://github.com/TheThingsIndustries/lorawan-stack-support/issues/958
Why do we need this ?

To help users better understand TTSC subscription and billing flows.
What is already there? What do you see now?

https://www.thethingsindustries.com/docs/the-things-stack/cloud/billing-and-subscription-management/#manage-your-subscriptions-support-and-billing-plans
What is missing? What do you want to see?

Update content from the discussion in https://github.com/TheThingsIndustries/lorawan-stack-support/issues/958
How do you propose to document this?

Updating the content in the relevant pages.
Can you do this yourself and submit a Pull Request?

Can review.

Closing this as it was covered by https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/1190


Automation: 4.9.1 Javadocs site not publishing

Describe the bug
Automation: 4.9.1 Javadocs site not publishing
https://github.com/IBM/FHIR/actions/runs/1217500667

PR https://github.com/IBM/FHIR/pull/2760

QA finished - https://ibm.github.io/FHIR/javadocs/4.9.2/index.html?overview-summary.html


show() function for vscode.DebugConsole

It'd be useful if vscode.DebugConsole had a show() function that makes sure the debug console is visible.
for example: vscode.debug.activeDebugConsole.show();
Similar to the show() function currently available for vscode.OutputChannel and vscode.Terminal.

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


tests: sometimes tests hang and travis build fails.

Looks like some test is hanging and we go into a deadlock.
Example:

https://travis-ci.org/mubit/sse/jobs/173080131

I've seen that happen many times. Its quite random. Worth creating an issue to keep that in mind.

https://travis-ci.org/mubit/sse/jobs/173094162
This one may shed more light.

I believe with the merging of the two PRs above, the issues and flaky tests should be gone now. If they pop up again I will reopen.


Add Run as Administrator to menu

I am using windows 10, I like the Win+X menu, It let us to run Powershell or Powershell  Run as administrator.
Some task need administrator permission on windows. I often do the operations daily.
Would you please add menu to let us quick create a new terminal with the Administrator permission.

There's a bunch of threads that discuss this already. Please make sure to search before filing new issues:

#9903
#5000
#632

You can always run the terminal elevated from the taskbar:

And on Windows 11, the Win+X menu will also have this option:

/dup #632
/dup #9903


Clip.antiAlias property  dose not working in ClipPath class on new update 1.7 flutter.

Is this still a problem with the latest version?
if so, can you describe the problem more clearly possibly with a screenshot and your source code.
Also attach the out put of flutter doctor

sorry for the delay, it's working fine in new flutter 1.9.1

now I closed this issue.


⚠ ClamAV has degraded performance

In a2d3572, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 103 ms

Resolved: ClamAV performance has improved in 99369f9 after 14 minutes.


Design roof rack (includes permanent lidar/gnss mount)

Design document:
https://cometmail.sharepoint.com/sites/Voltron/_layouts/15/Doc.aspx?sourcedoc={f8358ecf-49d8-430c-83a8-a84b3b49a71b}&action=edit&wd=target(HFE.one|fb15938b-1acf-45b8-9dfa-7cf0c26b9a0c%2FRoof Rack Design Document|557a5001-ad54-46b2-b110-a0d7725d3543%2F)&wdorigin=703

Open to edits/comments:
https://docs.google.com/document/d/1KADPlJC7UeyGd0IZ59IjjRAXCt9TjQSHweU3dlqPKx0/edit?usp=sharing


only deploy ServiceMonitor if prometheusOperator is enabled

Closes #21

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: salaboy
If they are not already assigned, you can assign the PR to them by writing /assign @salaboy in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @Hermsi1337. Thanks for your PR.
I'm waiting for a zeebe-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Please don't do it that way. I understand the use case but i would then think that it makes more sense to introduce an extra flag for that. We have the operator installed in one namespace and want to have only the service monitor installed by the helm charts.
Greets Chris

@Zelldon ok.. so what you suggest is to add an unrelated flag.. right? I mean.. something like prometheus.servicemonitor.enabled instead of linking it back to the operator itself. I think that makes sense.. and it solves both use cases. @Hermsi1337 can you please adjust as needed?

Exactly👍

Good catch, Sir.

I've made the changes you two suggested. As default value for prometheus.servicemonitor.enabled I've chosen false since for me a helm chart should not required third party CRDs when deploying, but I'm open to discussion.
Since my linter cried badly when I opened the README.md, I also did some formatting changes to it.

@Hermsi1337 I am happy with the changes...
@Zelldon are you ok with setting the new flag to true for your deployments? I believe that false is a good default

Yes thanks👍


RKE HA local cluster RBAC. Should we allow users to modify cluster members configuration or disable the Member tab

What kind of request is this:
Bug
Steps to reproduce:

Create an RKE HA setup. master-head (12/04/2020) a31eecf

This only happens in RKE HA local cluster. k3s single install local cluster is ok.

After installation the local HA cluster should show up in the UI (As the default Rancher admin)
Edit Local cluster
Click Member Roles

Result:
There's no way to edit the Members here and there's a warning about managing users in this cluster.
However the Members tab in the Cluster navigation bar is active and we can proceed to manage users there.

Other details that may be helpful:
Should we allow the user to apply changes as how it works with local k3s single install clusters or Disable the Members section for consistency.
Important
For Fleet RBAC we must manage users on this local cluster to manage fleetworkspaces.
Environment information

Rancher version: master-head (12/04/2020) a31eecf
Installation option: HA RKE

Reproduced in Rancher v2.5.3 Same behavior.

Missing save/cancel button on the screen for edit cluster when the cluster is imported (including local cluster)

Rancher version v2.4.11 it has buttons and I can add a user from Cluster edit.

Rancher version: v2.5-head (12/07/2020) 6ad4dce
Rancher version: master-head (12/07/2020) a5e40aa
I am able to see the Save and Cancel buttons in the latest builds.
I am also able to add members to the local cluster from cluster edit.


Remove filler property values

We should be using a property's existence to signify whether a report contains useful information about it. Unfortunately, many reports populate a property but with an empty string. Such values contain no useful information and should be removed.
Offending Properties

name
access
opening
type
accessibleType
fee
notes

:+1:

5c2faca2681ee2363ac53f547bdd0357f34f97cb strips out values containing just whitespace from:

name
access
opening
type
accessibleType
fee
notes
removal_reason

When there is only whitespace present, the property is removed.
59e5d1c434b1732ed7b73065463b4ce455b51a09 adds validation to the freeform text fields to ensure that that they are not empty. Non-freeform fields will have this protection when they are restricted to an enum or are made tri-state.

Considering the chaining planned with #324, it needs to be ensured that such values were not in place to unset values from previous reports. This should be looked at again following the implementation of #324 and #325, as removing all empty values as we do now could have nasty side-effects.

6a19b6693b06434e02f6e6d8399a516a7bc2935c replaces empty values with null. It is then checked if a prior report gave a value for that property. If it did, the null is left in place as an indication of removal, otherwise, the property is redundant and so is removed.
This is yet to be implemented for values other than empty strings; this is really waiting on #319 and #326.


Add a mIRC Lexer

(Original issue 483 created by patx on 2010-03-13T16:18:31+00:00)
I know alot of people who use would like to use a mIRC highlighting. So adding it as a lexer, I think, would be a good idea.

(Original comment by thatch on 2010-05-06T00:41:19+00:00)
How would this be different from the existing !IrcLexer?

(Original comment by TKWare on 2012-01-09T22:26:33.306373+00:00)
mIRC scripting language uses its own syntax. See http://en.wikipedia.org/wiki/MIRC_scripting_language
Looking at IrcLexer, its primary use seems to be parsing raw messages from an IRC daemon.

(Original comment by ShawnSmith on 2012-09-19T19:15:06.562920+00:00)
Any idea when this will be added?

(Original comment by ShawnSmith on 2012-09-19T19:15:52.969520+00:00)
Issue #709 was marked as a duplicate of this issue.

(Original comment by birkenfeld on 2013-01-09T15:16:24.670873+00:00)
Generally, we don't write new lexers ourselves anymore; they have to be contributed.

(Original comment by tshatch on 2015-11-03T15:18:39.353090+00:00)
Could you explain your usecase?  Are you trying to translate the color codes to html?

I agree.


docs(keda): Introduce helm-docs for documentation

Resolves #444
Checklist

[x] I have verified that my change is according to the deprecations & breaking changes policy
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] README is updated with new configuration values (if applicable)

Rebased after merge of PR #257

Sorry for late reply but would you mind how this is better than what we have please? This is new to me.

Today it depends on the contributor to remember to update the README after introducing/changing new variables.
Helm-docs seems to be some kind of standard inside the helms community. This is why I opened the issue for talking about this before spending time on the implementation :-)

Thanks for this awesome contribution ❤  This tool is fascinating
WDYT @kedacore/keda-helm-contributors ?

Rebased the PR again :-)


Random CTD

Random crashes while playing

Yggdrasil VR version: 2.1-1
Storage type Yggdrasil VR is installed on: SSD
OS version: Windows 10
RAM:  16gb
CPU: AMD Ryzen 5 3500X
GPU: Nvidia  RTX 3060 12gb
Antivirus Dr.Web

Quicksave0_78F95D9C_0_5661726772_Tamriel_000102_20240118215829_1_1.zip
crash-2024-01-18-21-59-48.log

Can you update Mu Joint Fix?

Can you update Mu Joint Fix?

I already have decent version installed.
Updated Engine Fixes, will be testing soon

Updated engine fixes and adress library, been playing for two hours and no crashes all good, thank you!


Unexpected behavior with prisma-trpc-generator

I'd like to verify this is a bug and not an issue with my configurations before further investigation.
Bug report

[x] I have checked other issues to make sure this is not a duplicate.

Describe the bug
I'm using this in combination with prisma-trpc-generator (Thank you @omar-dulaimi for building these!). I am also using SuperJSON transformer end-to-end.
I started using my own permissions, instead of the ones generated with all allow defaults.
I am working with the path account.findUnique.
To keep things short and concise, this pattern does not work (results in fallback denial):
export const permissions = shield<Context>(
  {
    query: {
      findUniqueAccount: allow,
      ...
    },
  },
  {
    fallbackRule: deny,
  },
);

but this does work:
export const permissions = shield<Context>(
  {
    query: {
      findUnique: allow,
      ...
    },
  },
  {
    fallbackRule: deny,
  },
);

This ties back to the issue raised here: https://github.com/omar-dulaimi/trpc-shield/issues/1#issuecomment-1186587182 and the example permission  (https://github.com/omar-dulaimi/trpc-shield/blob/master/example/prisma/shield/shield.ts) also follows the earlier pattern, not the latter which is working.
To Reproduce
Things are set up pretty traditionally. Shield is working, but the nested router mapping does not.
export const appRouter = t.router({
  account: accountsRouter,
});

Additional context
Although it's not working as intended, I've observed a singular namespace will work as intended.
This works:
export const permissions = shield<Context>(
  {
    account: {
      query: {
        findMany: allow,
      },
    },
  },
  {
    fallbackRule: deny,
  },
);

This does not work:
export const permissions = shield<Context>(
  {
    account: {
      query: {
        findMany: allow,
      },
    },
    player: {
      query: {
        findUnique: allow,
      },
    },
  },
  {
    fallbackRule: deny,
  },
);

Hoping for some clarity on the correct working patterns.

Apologies, the namespace pattern appears to be working:
export const permissions = shield<Context>({
    account: {
      query: {
        findUnique: isAuthenticated,
      },
    },
});

I just tested your first snippet using the example code on this repo, and it worked fine. Are you sure you're testing it right?
export const permissions = shield<Context>(
  {
    query: {
      findUniqueUser: allow,
    },
  },
  {
    fallbackRule: deny,
  },
);

I think you may have disabled showModelNameInProcedure in the generator options. For the shield to work correctly, it must have matching procedure name for each operation defined.
So, if the procedure was findMany, the operation should have the same name findMany for the shield to be able to match them correctly.
To make things simpler, I think I should make the generator pass the showModelNameInProcedure value to shield generator.

This is true @omar-dulaimi reenabling showModelNameInProcedure  fixed the issue. I guess it doesn't work the way I thought it would. Pivoting my application to work with the change was quick and easy.
Everything is working as intended, I appreciate your insightful and thorough answer.


Deterministic salt

Creates a single master salt and derives all salts from that one
Also saves pending bids on the json backup
Saves less names on the Names db and cleans it more often
Checks that the bid has been saved before the transaction is allowed
Show download modal as soon as transaction is sent

Will the new code still import old bids?

Yes, imports both old and new formats


How to write custom exception in dot net aspire

try
{
var dd = 1;
var ff = 0;
var temp = dd / ff;
}
catch(Exception ex)
{
Console.Write(ex.Message);
}
in above code I want to write catch block exception in dot net aspire

Hi @AjayShaktawat - I'm not sure I follow your ask. Why are you trying to write a custom exception? It's easy to do, and it's not something that is specific to .NET Aspire.
using System;

try
{
    throw new MyCustomException("Custom error");
}
catch (MyCustomException ex)
{
    Console.Write(ex.Message);
}

public class MyCustomException(string message) : Exception(message)
{
}

Here's a link to the Sharplab.io.


Don't allow to delete node with ref source

E.g. the last node of a layer that depends on another layer, since
otherwise it would be left w/o any data input and would fail
@xavijam CR

:+1:

Frontend tests passing, merging


[HUDI-1624] The state based index should bootstrap from existing base…

… files
What is the purpose of the pull request
The index should bootstrap from existing base files if there are, in the
design, we load all the keys for one partition if we found that the key
does not exist in the index for processElement, if there are many
records for this partition, the processing may block and trigger back
pressure. When all the records are loaded, we only need to check the
state each time a record is tagged.
Brief change log

Modify BucketAssignFunction to load existing records for indexing

Verify this pull request
Added UTs.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2581 (0ebd0c7) into master (b0010bf) will decrease coverage by 41.46%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2581       +/-   ##
============================================
- Coverage     51.15%   9.68%   -41.47%
+ Complexity     3212      48     -3164
============================================
  Files           436      53      -383
  Lines         19987    1931    -18056
  Branches       2057     230     -1827
============================================
- Hits          10224     187    -10037
+ Misses         8922    1731     -7191
+ Partials        841      13      -828

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.68% <ø> (-59.71%)
0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...va/org/apache/hudi/utilities/IdentitySplitter.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...va/org/apache/hudi/utilities/schema/SchemaSet.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-3.00%)

...a/org/apache/hudi/utilities/sources/RowSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

.../org/apache/hudi/utilities/sources/AvroSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

.../org/apache/hudi/utilities/sources/JsonSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...rg/apache/hudi/utilities/sources/CsvDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-10.00%)

...g/apache/hudi/utilities/sources/JsonDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

...apache/hudi/utilities/sources/JsonKafkaSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-6.00%)

...pache/hudi/utilities/sources/ParquetDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-5.00%)

...lities/schema/SchemaProviderWithPostProcessor.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

... and 410 more

@lamber-ken You can also help to review this PR, if you would like to do it.

@lamber-ken You can also help to review this PR, if you would like to do it.

Yeah. By the way, big thanks to @danny0405 for RFC-24 👍

hi @danny0405 is it necessary to revert this.bucketAssigner.reset(); to BucketAssiginFunction#snapshotState in this patch? : )

hi @danny0405 is it necessary to revert this.bucketAssigner.reset(); to BucketAssiginFunction#snapshotState in this patch? : )

I will do it in another patch, thanks.

@danny0405 please check the CI?

@danny0405 please check the CI?

Should not be caused by this PR, re-trigger to run the tests again.

Thanks @danny0405 for the base index patch, maybe there are some points to think about later, 👍

Thanks @danny0405 for the base index patch, maybe there are some points to think about later, 👍

Thanks for the new ideas if you have some and welcome the contribution ~


Image feature extraction

Thanks for your work and contribution!
Would you mind to share the code for image feature extraction?
Looking forward to your reply.

Thanks for your attention, I have added the code for image feature extraction in link https://github.com/1429904852/KEF/tree/main/src/process

Many thanks！


Add Uninstall & Upgrade commands to kubectl cert-manager

kubectl cert-manager uninstall and kubectl cert-manager upgrade are missing from the ctl binary.
Ideally, uninstall should:

detect a Helm install & uninstall without removing CRDs
if no Helm install was detected: detect the version of the install & try to determine what resources have to get removed

Upgrade should:

allow upgrading using Helm-like upgrade process; displaying the release notes for all the in-between versions.
allow upgrading from a non-Helm based install to a Helm based install (adding the config map)

/kind feature

/remove-lifecycle rotten

/remove-lifecycle rotten


Python 3.7.3 Requirements are not satisfied on Windows 10 x64 (IDFGH-4343)

The following Python requirements are not satisfied:
gdbgui==<IP_ADDRESS>
pygdbmi<=<IP_ADDRESS>
reedsolo>=1.5.3,<=1.5.4
bitstring>=3.1.6
ecdsa>=0.16.0
To install the missing packages, please run "C:\Users\xxxx.xxxx\ESP\esp-idf\install.bat"
Diagnostic information:
IDF_PYTHON_ENV_PATH: C:\Users\xxxx.xxxx\.espressif\python_env\idf4.1_py3.7_env

Python interpreter used: C:\Users\xxxx.xxxx\.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe

ESP-IDF v4.2-rc-5-g511965b26
Don't understand why it's showing up as the "4.1" vs what I've installed as "4.2"

Hi @aznlilchino103,
Do you also have a C:\Users\xxxx.xxxx\.espressif\python_env\idf4.2_py3.7_env directory? Do you have more than ESP-IDFs on your computer? Do you set globally an IDF_PATH variable?
echo %IDF_PATH% in ESP-IDF console prints the right directory? What is printed by git describe --tags?
I'm sorry for the lot of questions.

@aznlilchino103 Do you have any update on this issue?

I have the same issue.
_Checking if Python packages are up to date...
The following Python requirements are not satisfied:
click>=5.0
future>=0.15.2
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
esp-windows-curses; sys_platform == 'win32'
To install the missing packages, please run "C:\Users\Daniel\esp\esp-idf\install.bat"
C:\Users\Daniel\esp\esp-idf>echo %IDF_PATH%
C:\Users\Daniel\esp\esp-idf
C:\Users\Daniel\esp\esp-idf>git describe --tags
v4.1_
directory:  C:\Users\Daniel\esp.espressif\python_env\idf4.1_py3.9_env
No matter how many times I run install.bat and export.bat, I get the same error.
Thanks!

@DanielPLongo Please examine the content of your PATH. It seems that you have there permanently set some IDF tools which are incompatible. I suspect that there might be more than one Pythons and that is why you are getting this behavior. Did you installed a Python with the Windows tools installer? Do you have others which you use for other purposes?
You can clean your path by removing all IDF tools from there. Unused Pythons could be uninstalled and removed from the PATH.

I have tried a clean install on a machine that didn't have Python and I am getting the same error. I am using IDF 4.1 and I recall somewhere seeing a GIT issue thread about the json file needing to be replaced. Is that still an issue? Anyway, here is a screenshot of my PATH on this new machine.

@dobairoland In an attempt to customize my folder paths I made errors. They have been addressed and it works now. I am sorry for wasting your time. Thank you for the quick replies.

@DanielPLongo Great! I'm happy that you solved the issue.

I'm closing this issue for lack of activity from the original reporter.


DM - 6.2 Initial Set up of Front End

Associated Epic #19
As a Developer I was to create a front end web browser to create a website for the backend information.
Acceptance Criteria:

Web Server is created in current Eclipse Project
Class hierarchy established
Project is added into GitHub

Tasks:

Create web server in Eclipse
Make sure class hierarchy is established
Add project to GitHub repository


Update fs2-io to 3.2.4

Updates co.fs2:fs2-io from 3.1.6 to 3.2.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2", artifactId = "fs2-io" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #343.


Where are injections / aliases kept?

I noticed that glimmer is highlighted in markdown codefences, but the more limited subset of a language, hbs, is not:

where would I add an alias for hbs to use the glimmer highlighting?

I don't see this happen at all. Are you sure you're not running another plugin like inkarkat/vim-SyntaxRange that does this for you?
When I have vim-markdown disabled, so it falls back to tree-sitter, this is what I see:

With the aforementioned plugins enabled, I get:

your languages in your screenshots, bash and ruby exist as standalone languages -- as does happen in my screenshot with glimmer -- hbs isn't a language, but a file extension (for a language that has a subset of features compared to glimmer), and I'd like to alias glimmer to hbs so that I don't need to create an hbs grammar

another example:
```js
export const x = 'no highlight';
```

```javascript
export const x = 'this is highlighted'
```


Why mont5 is required and why only x86 has mont5?

When I read the OpenSSL 1.1.1 source code, I wondered why mont5 was implemented. More importantly, why mont5 was implemented only on x86 but not on Arm?

It's a performance improvement which tend to be architecture specific.
If somebody contributed something similar for ARM, it would be considered.

I want to ask whether the RSA private key is stolen in ARM, like this article said(http://www.daemonology.net/hyperthreading-considered-harmful/)？If this problem does not exist, is a policy similar to mont5 still required under arm?

Marking as inactive, will be closed at the end of 3.4 dev cycle, barring further input


Feat: added toaster feature for all necessary error checks

Have added the toaster for error handling and for successful search from API call
Also removed the unnecessary use of useEffect which was triggering API Call two times when changing units.
Have attached the video below.
Fixes #33
Video
https://github.com/ManishaSwain8/ReactToWeather/assets/114511800/74c15856-74fc-4f7c-89e5-c5b092dc95cb

@MurtazaShikari it looks like you have not updated before opening PR.
Make sure branch is updated and based on recent update in code ,you add your features.

@ManishaSwain8 how should I fix this issue I am new to open source contribution can you help me out?

@MurtazaShikari no problem will provide you some steps that you need to keep in mind before opening PR.

@MurtazaShikari as you are new to this ,
If you are comfortable then click on resolve conflict button and check what changes you did and what is the conflicts without tampering existing code changes that may lead to failure of certain features.
If you are not able to resolve it ,make sure to watch some YT videos /docs .
If yet you are confused ,close the PR and add your features to the updated code ,and open new PR

@ManishaSwain8 have resolved the conflicts on Github associated to this PR.
Thanks for your help!

Thankyou for your contribution @MurtazaShikari  !
Looking forward to more issues and collaborations.
If you learnt something from this repo make sure to ⭐ this repo.
Thankyou ,Happy coding !🚀


[3.2.x] Fixed #32548 -- Fixed crash when combining Q() objects with boolean expressions.

See comment.
Backport of 00b0786de533dbb3f6208d8d5eaddbf765b4e5b8 from main.
Regression in 466920f6d726eee90d5566e0a9948e92b33a122e.
I will forwardport release notes.

Added missing release notes :facepalm:


HDDS-10377. Allow datanodes to do chunk level modifications to closed containers.

What changes were proposed in this pull request?
Right now we cannot write chunks for CLOSED QUASI_CLOSED and UNHEALTHY containers. As a part of the reconciliation, we need to reuse WriteChunkRequest to write to unopen containers. In this patch, I have added an API to write chunks to existing unopen containers.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10377
How was this patch tested?

[ ] Pending Tests

@aswinshakil Thank you very much for providing this functionality! I would like to ask if we have a similar design for EC (Erasure Coding) containers. For 3-replica blocks, if we find that a block write operation has an issue, we can repair it using the other replicas. However, for EC blocks, it becomes more challenging to determine the true length of the block.

Hi @slfan1989 this is being developed as part of the container reconciliation feature in HDDS-10239. This feature provides two high level functionalities for containers:

The ability to report their contents to SCM via a container level hash which can be compared to other replicas.
The ability to "reconcile" a container replica with its peers when that hash differs. This means making incremental updates to a container based on data a peer node has that the current node may be missing or have lost.

The current design document can be found here. In particular you can refer to the section on phases of implementation. We are currently implementing phase 1, which only applies to Ratis containers. Support for EC containers are in phase 3, which we have not planned for yet. This is because EC already has a reconciliation algorithm as described in (2) above, which is reconstruction.

For 3-replica blocks, if we find that a block write operation has an issue, we can repair it using the other replicas.

So in this case, the fix should be made in the reconstruction code path, since that is an existing way to repair EC containers after they have been closed.

However, for EC blocks, it becomes more challenging to determine the true length of the block.

EC and Ratis differ here. In Ratis the longest block length wins, because we have a quorum on the server side to commit the last write. In EC, the shortest block wins because it is up to the client to make sure all datanode replicas have committed the last issued write before the client commits that length back to the OM. If only a few datanodes commit, that stripe is invalid and not committed back to OM.

@aswinshakil thanks for the changes. Overall just calling ChunkManager#writeChunk should handle the case for the file update, and we should propagate any exceptions.
For additional functionality, the helper should determine whether overwrite is required or not based on the position of the chunkInfo relative to the current entry. I think this is what the TODO currently indicates. We may also want to verify that we do not leave gaps in the file. Additionally, we need to handle the case where we are appending to a chunk or block with new data this replica missed during write, and actually need to add checksums to the DB because they don't exist on this replica.

Seems fine, will give it one more look tomorrow.

Hi @slfan1989 this is being developed as part of the container reconciliation feature in HDDS-10239. This feature provides two high level functionalities for containers:

The ability to report their contents to SCM via a container level hash which can be compared to other replicas.
The ability to "reconcile" a container replica with its peers when that hash differs. This means making incremental updates to a container based on data a peer node has that the current node may be missing or have lost.

The current design document can be found here. In particular you can refer to the section on phases of implementation. We are currently implementing phase 1, which only applies to Ratis containers. Support for EC containers are in phase 3, which we have not planned for yet. This is because EC already has a reconciliation algorithm as described in (2) above, which is reconstruction.

For 3-replica blocks, if we find that a block write operation has an issue, we can repair it using the other replicas.

So in this case, the fix should be made in the reconstruction code path, since that is an existing way to repair EC containers after they have been closed.

However, for EC blocks, it becomes more challenging to determine the true length of the block.

EC and Ratis differ here. In Ratis the longest block length wins, because we have a quorum on the server side to commit the last write. In EC, the shortest block wins because it is up to the client to make sure all datanode replicas have committed the last issued write before the client commits that length back to the OM. If only a few datanodes commit, that stripe is invalid and not committed back to OM.

@errose28 Thank you very much for your response! the content is very thorough and complete.


print_trainable_parameters - format % to be sensible

This PR replaces trainable%: 0.5916145025956931 with trainable%: 0.5916 as it's done already in src/peft/mixed_model.py
Probably .2f is more than enough, but since the other one uses .4f using that.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Automatic camelCase conversion for pg-promise ?

Perhaps we can use events for this: http://vitaly-t.github.io/pg-promise/global.html#event:receive
Or perhaps it is better not to use automatic conversion?

Current implementation is probably ok.


coc-format-selected not working

I have the following in my init file vmap <leader>f <Plug>(coc-format-selected) but when I go into visual mode and select some stuff and hit the keymap, it changes my code but not correctly. I turned verbose logging on for eslint and I see the logs hit and it states that it should change it and the changes it requested it correct, but my file just does not update. Am I using this wrong?

No idea.

Same for me with rust. I changed action to coc-format instead of coc-format-selected which formats the whole file but at least it works

Fixed on latest release branch of coc.nvim.


Add more haptic feedback varieties

Fixes https://github.com/flutter/flutter/issues/13710
Needs to follow https://github.com/flutter/engine/pull/4699

Tests please! :)


Analyzer Feedback from IntelliJ

info: 'accentTextTheme' is deprecated and shouldn't be used. No longer used by the framework, please remove any reference to it. This feature was deprecated after v2.3.0-0.1.pre.. (deprecated_member_use at [fstore] lib\common\theme\dark_theme.dart:17)

Is this a bug or working as intended?  It appears that Flutter deprecated this recently.  Did something not work correctly?

Take too long for main dart to load on attached device

Can you please provide detail?  What is your setup?  What version of Dart are you running?  What kind of app is this?  What is your attached device?  How long is "too long"?


pruning the tools/ directory

What is actually still being used in the tools/ directory and what is stale?

100-gitcount.ipynb

[x] active
[ ] stale

frozen.ipynb

[x] active
[ ] stale

history.ipynb

[ ] active
[x] stale

package_releases.py

[ ] active
[x] stale

README.md

[x] active
[ ] stale

release_info.py

[x] active
[ ] stale

release.py

[ ] active
[x] stale

release.yaml

[x] active
[ ] stale

Also, we should update the tools/README.md to reflect any removals, etc.

@sjsrey I accidentally left out 110-gitcount-tables.ipynb above. Active or stale?

Active


Compiler API: Make Node.symbol non-internal

Suggestion
It seems hard to use getExportsOfModule (which takes a symbol) in external code if the symbol property of SourceFile (inherited from Node) is marked as @internal. Is there a reason Type object's symbols are accessible externally, but not those of Node objects? Or is there some other way to get at a SourceFile symbol?

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

const moduleSymbol = typeChecker.getSymbolAtLocation(sourceFile);

Thanks!


[FEATURE] Add new data type: UNIT

Is your feature request related to a problem?
TIMESTAMPADD and TIMESTAMPDIFF functions in mysql have unit as an argument. See also EXTRACT function.
What solution would you like?
A new data type: UNIT:

Not storable and not returnable to user.
Not comparable and not castable.
Can store multiple units inside, see EXTRACT.
For use in few datetime functions only.

What alternatives have you considered?
Use a string instead.
Do you have any additional context?
#722
#855

Implemented with workaround in

EXTRACT #1421
TIMESTAMPADD #1451
TIMESTAMPDIFF #1467


this.$deferredAction is not a function

This simple program from this dartPad
main() => print(new Object() == new Object());

results in the following on the: DartPad console
Script error

(Chrome developer) JS console:
Uncaught TypeError: this.$deferredAction is not a function VM1388:6
  Object @ VM1388:6
  main @ VM1387:395
  (anonymous function) @ VM1387:522
  init.currentScript @ VM1387:506
  (anonymous function) @ VM1387:517
  (anonymous function) @ VM1387:525
  replaceJavaScript @ VM1196 frame.html:39
  (anonymous function) @ VM1196 frame.html:69

cc @kwalrath

Same code now just prints "false." Closing as fixed.


Extend cache invalidation to include changes in other files (take 2)

This PR extends the cache invalidation mechanism to detect changes in functions imported from other files and used in the main function. It does that by including the timestamp of the file where any called function resides.
This PR is still a draft.
This approach can deal with the problem described in https://github.com/numba/numba/pull/8375#issuecomment-1223751191
Implemented:

[x] invalidation when a dispatcher calls another dispatcher, including tests
[x] invalidation when a cfunc calls another dispatcher, including tests
[x] invalidation when a ufunc call another ufunc, including tests
[x] invalidation of user-defined overloads, including tests
[x] user documentation
[x] developer documentation

Notes for reviewer:
The key idea is to extend the mechanism that already exists to invalidate the cache when the file of the main function changes, to invalidate the cache the file of secondary functions change. For each file identified, the FileStamp will be saved in the cache. Those changes can be found in caching.py (methods save, load and related methods).
Calculating the FileStamp is easy, the larger changes in this PR are related to figuring which functions (are therefore files) are dependencies of the main function. At the center of that task is the function get_function_dependencies in caching.py. This function uses the typemap information to identify which functions are called by the main function. After each secondary function is identified, then they are queried to retrieve those other functions on which the secondary functions might depend. This querying is done against a cache_deps_info method in the function-like object (dispatcher, cfunc, overload, etc).
The process is iterative, but it is cached to avoid recalculating the dependencies every time.
The above describes the "saving" part of the caching, but not the "loading" part of the caching. Since the saving part relies on typing information which is not available during loading, the loading part works exclusively with the FileStamps which were stored in the cache. Each file identified as a dependency will be checked against the stored FileStamp. Any mismatch invalidates the cache.
Limitations (included in the documentation):

functions overloaded without the overload decorator.
numba-inlined functions
guvectorize, due to problems with JITLibrary
parfors

Notes:
When cfunc calls another cfunc, or a dispatcher calls a cfunc, the cache does not work. Therefore it's not necessary to take into account in the invalidation.
Invalidation does not work with guvectorize, which uses JITLibrary, which do not have type_annotation information
parfors: functions like 'sum__parallel__impl____locals____sum__1__v2__val.2' not found in typemap. There's a workaround to ignore those cases, but invalidation does not work.

@stuartarchibald  @sklam
I made some progress today on finding the location of overloads. It's a bit convoluted, which gives me pause. Please have a look and let me know if you think there might be a more direct way.
One of the complications here is how to identify the template that is being used from within the list of templates. I don't know how to do that exactly, so in this example I just identify any compiled template (by checking if len(template._impl_cache)>0. This invalidation would then be conservative.
from numba import njit
from numba.core import types

@njit
def function2(x):
    return x

@njit(cache=True)
def foo(x):
    return function2(x) + len("lñjklj")

def find_template(templates):
    out = []
    for idx, template in enumerate(templates):
        if hasattr(template, "_impl_cache") and len(template._impl_cache):
            out.append(idx)
    return out

foo(1)

typemap = foo.overloads[(types.int64,)].type_annotation.typemap
for k, v in foo.overloads[(types.int64,)].type_annotation.calltypes.items():
    name = k.list_vars()[0].name
    if isinstance(typemap[name], types.Function):
        print(f"### {name=} ####")
        print(f"\t{v.args=}")
        print(f"\t{typemap[name]=}")
        template_ids = find_template(typemap[name].templates)
        for idx in template_ids:
            template = typemap[name].templates[idx]
            flags = list(template._impl_cache.keys())[0][3] # how to retrieve or reconstruct this flags instance?
            impl_key = (
            foo.overloads[(types.int64,)].typing_context, v.args, (), flags
            )
            if template._impl_cache[impl_key][0]:
                print("\tFILE: ", template._impl_cache[impl_key][0].py_func.__code__.co_filename)

OUT
### name='$8load_global.3' ####
	v.args=(unicode_type,)
	typemap[name]=Function(<built-in function len>)
	FILE:  /home/.../numba/numba/cpython/unicode.py

Here is an example with a user-defined overload
from numba import njit
from numba.core.extending import overload, register_jitable
from numba.core import types

def function2(x):
    return x

@overload(function2)
def function2_ovrl(x):

    @register_jitable
    def f2_impl(x):
        return x

    return f2_impl

@njit(cache=True)
def foo(x):
    return function2(x)

def find_template(templates):
    out = []
    for idx, template in enumerate(templates):
        if len(template._impl_cache):
            out.append(idx)
    return out

foo(1)

typemap = foo.overloads[(types.int64,)].type_annotation.typemap
for k, v in foo.overloads[(types.int64,)].type_annotation.calltypes.items():
    name = k.list_vars()[0].name
    print(f"### {name=} ####")
    print(f"\t{v.args=}")
    print(f"\t{typemap[name]=}")
    if isinstance(typemap[name], types.Function):
        template_ids = find_template(typemap[name].templates)
        for idx in template_ids:
            template = typemap[name].templates[idx]
            flags = list(template._impl_cache.keys())[0][3] # how to retrieve or reconstruct this flags instance?
            impl_key = (
            foo.overloads[(types.int64,)].typing_context, v.args, (), flags
            )
            print("\tFILE: ", template._impl_cache[impl_key][0].py_func.__code__.co_filename)

OUT
### name='$2load_global.0' ####
	v.args=(int64,)
	typemap[name]=Function(<function function2 at 0x7ffa16ba6170>)
	FILE:  /home/.../numba_cache_invalidation_overload.py

Thanks for the demonstration @luk-f-a. Current thoughts/issues.

If a function is implemented outside of the call/overload system, for example len(<tuple>) it will not appear in calltypes as it's directly lowered at the point of the call, i.e. it's effectively inlined. I think this also manifests as a template class without an _impl_cache. This might need some more thought, I'm not sure what the impact is yet apart from I think "it would always be missed".
RE "how to retrieve/reconstruct flags", it's an instance of a numba.core.compiler.Flags and has things like the values() method on it which will flatten the flags to a dictionary if that's useful, it should also be serialisable with e.g. pickle.

This sort of thing might possibly help too... I think the templates already "know" quite a bit about themselves as the information about which file they are in, the line number, the kind of template etc. is needed for displaying error messages/the backtrace when type inference fails. This snippet of code demonstrates:
from numba import njit, types
import numpy as np

@njit
def foo(x):
    return len(x)

foo("abc")

cres = foo.overloads[foo.signatures[0]]
typeann = cres.type_annotation
typemap = typeann.typemap
calltypes = typeann.calltypes

for k, v in calltypes.items():
    name = k.list_vars()[0].name
    func = typemap[name]
    if isinstance(func, types.Function):
        tmplts = func.templates
        for tmp in tmplts:
            print(tmp.get_template_info(tmp))

which gives:
{'kind': 'overload', 'name': 'Len.generic', 'sig': '(self, args, kws)', 'filename': 'numba/core/typing/builtins.py', 'lines': (562, 568), 'docstring': None}
{'kind': 'overload', 'name': 'func', 'sig': '(x)', 'filename': 'numba/experimental/jitclass/overloads.py', 'lines': (0, 34), 'docstring': None}
{'kind': 'overload', 'name': 'ContainerLen.generic', 'sig': '(self, args, kws)', 'filename': 'numba/core/typing/collections.py', 'lines': (21, 25), 'docstring': None}
{'kind': 'overload', 'name': 'unicode_len', 'sig': '(s)', 'filename': 'numba/cpython/unicode.py', 'lines': (442, 447), 'docstring': None}
{'kind': 'overload', 'name': 'charseq_len', 'sig': '(s)', 'filename': 'numba/cpython/charseq.py', 'lines': (348, 369), 'docstring': None}
{'kind': 'overload', 'name': 'literal_list_len', 'sig': '(lst)', 'filename': 'numba/cpython/listobj.py', 'lines': (1234, 1239), 'docstring': None}
{'kind': 'overload', 'name': 'impl_len', 'sig': '(d)', 'filename': 'numba/typed/dictobject.py', 'lines': (668, 678), 'docstring': 'len(dict)\n    '}
{'kind': 'overload', 'name': 'impl_len_iters', 'sig': '(d)', 'filename': 'numba/typed/dictobject.py', 'lines': (681, 692), 'docstring': 'len(dict.keys()), len(dict.values()), len(dict.items())\n    '}
{'kind': 'overload', 'name': 'literalstrkeydict_impl_len', 'sig': '(d)', 'filename': 'numba/typed/dictobject.py', 'lines': (1289, 1294), 'docstring': None}
{'kind': 'overload', 'name': 'impl_len', 'sig': '(l)', 'filename': 'numba/typed/listobject.py', 'lines': (402, 410), 'docstring': 'len(list)\n    '}

@stuartarchibald  thanks for the pointer on how to get the file information. Do you think it's ok that all templates are "logged" as
(potential) dependencies? That seems easily doable with the example you provided. The invalidation would be a bit pessimistic, but that should be fine.

@stuartarchibald @sklam
This is the second example.
from numba import njit, guvectorize
import numpy as np
from numba.core import types
from numba.np.ufunc.wrappers import build_gufunc_wrapper

@guvectorize(["(intp, intp[:])", "(float64, float64[:])"],
                "()->()", cache=True)
def gufunc(inp, out):
    out[0] = inp * 2

gufunc(1, np.ones(3))

cres = list(gufunc.gufunc_builder._cres.values())[0]
wrapperlib = (
    build_gufunc_wrapper(
            py_func=gufunc.gufunc_builder.py_func,
            cres=cres,
            sin=gufunc.gufunc_builder.sin,
            sout=gufunc.gufunc_builder.sout,
            cache=gufunc.gufunc_builder.cache,
            is_parfors=False
        ).library

)
print(type(wrapperlib), wrapperlib)

wrapperlib is the object that is being cached. I cannot find any reference to a typemap or calltypes that would help me track the dependencies. Is there a reference somewhere to the gufunc instance? that would allow to track the templates and compile results.

@stuartarchibald thanks for the pointer on how to get the file information. Do you think it's ok that all templates are "logged" as (potential) dependencies? That seems easily doable with the example you provided. The invalidation would be a bit pessimistic, but that should be fine.

@luk-f-a I think if a less pessimistic invalidation is possible through future work then it would be acceptable, for now, to use this approach. I also wonder in practice how pessimistic this actually is, I think it's like saying "if the source file changes for any known template registered against some function, then invalidate the cache". This seems reasonable on the basis that the Numba internal templates are probably not going to change as it's unlikely users will be mutating their installations. It should also be possible to work out "is this a template from Numba's internals", and just ignore them as a potential speed up.

@luk-f-a xref: https://github.com/numba/numba/issues/8085#issuecomment-1137163336 this issue is the one I referred to yesterday at the public Numba meeting whilst discussing this PR. MWR is here: https://github.com/numba/numba/issues/8085#issuecomment-1137168309, essentially, the cache doesn't work for @guvectorize with kwarg parallel=True.

hi @guilhermeleobas , thanks for having a look. I'll be travelling for a week so I won't be able to look at the comment. I will when I come back. thanks again!

@guilhermeleobas I've been looking into your idea of removing the dependency on numba.core.caching when other modules need to use get_function_dependencies by returning the overload objects. I started a new branch to explore the necessary changes.
The issue that block my progress if that we need a lru_cache associated with each object, to capture the full recursive calculation, ie the heavy lifting done by get_function_dependencies. If get_function_dependencies is not done by the method instance, then there is no natural place for the lru_cache of the dependencies. There could be a global one, but it would get messy.
To avoid the dependency of templates.py to caching.py I was able to solve it by passing the function as an argument.

Please let me know what you think of this approach.

Hi @luk-f-a, appreciate your efforts in this PR. I like this new approach. Also, could you take a look at the other comments I made in the first review? They should be easy to address.

could you take a look at the other comments I made in the first review? They should be easy to address.

absolutely, I just wanted to get this big one out of the way first. The other ones look easy (famous last words).

@guilhermeleobas I went on holidays and lost track of this PR but I came back to it today and added the last open point, the _cache_log information when saving and when loading. All tests pass so it's ready if you want to have another look or if @stuartarchibald wants to review.

Hi, does anyone have time to review this? I can give my preliminary review first, since this patch is really useful! Having it can avoid our pains when we use numba intensively. cc @stuartarchibald @esc

Hi @dlee992, I believe this PR is waiting on a second review from Stuart

Ah, I found a failure case wrt this PR. Will post a simple reproducer later

Ah, I found an important bug about this PR. will give a reproducer later. It seems failed to recognise one kind of local import into a cache file's dependencies.

@dlee992 thanks for your comments. I'll look into it as soon as possible.

You're welcome. I can give a gist of my local patch for adding overload_method to dependency analysis.
BTW, a @njit(inline="always") function (called by other njit function) doesn't show up in the dependency graph, is it expected?

I found another bug after using my patch to support overload_method in this dependency graph.
Need another patch to fetch these infos back.
BTW, can I directly push my patches into this PR? Didn't do this before, and not sure how to do this.

BTW, can I directly push my patches into this PR? Didn't do this before, and not sure how to do this.

You can create a branch based on Lucio's branch and push as a new pull request, or just submit your patch and add a comment saying it needs #8396 to be merged first.
I'd like to put this one up for discussion after the 0.60 release. Since it is being opened for a while, it would be good to have some closure on this one.

hi @dlee992 thanks for making improvements to the PR. I have to be realistic and unfortunately I won't be able to do further work on this PR.
@guilhermeleobas you are right. I think this PR is a valuable addition but back in 2022 it was not possible to get it reviewed and merged due to other, higher priorities for the core devs. I hope the work does not get lost and it becomes useful at some point in the future. I don't have time to work on it, but it's fine for me if anyone else wants to take over.

Thanks! @luk-f-a .
However, after 2nd thought, I prefer we should stick to this PR, since

this one has already supported jit and overload decently.
this one has already been pretty big, adding more feature into this is not realistic, and possibly unfriendly to reviewers.

If this is reviewed and finally merged, I can separately open a small PR to extend overload_method feature.
Thoughts?

@dlee992 what you describe about limiting scope makes a lot of sense. Are you planning to take over the work with the current scope and work the PR to completion?

@luk-f-a. I can work on parts of this current PR, I mean if someone gave some review comments, I can work on them if I understand the original code changes. But I need to admit that I don't fully understand all of them. But will try.
Another issue that is delaying this forward is the concern from https://github.com/numba/numba/issues/9316. There still has an unfinished discussion if numba should use per-file cache rather than per-function cache.


Missing or malfunctioned completion with emmet-language-server

Here is my lsp config, and I did't really know if it is lsp or emmet-language-eserver causing the problem.
call LspAddServer([#{name: 'emmet',
                 \   filetype: ['html', 'htm'],
                 \   path: '/home/mellash/.npm-global/bin/emmet-language-server',
                 \   args: ['--stdio'],
                 \ }])

Here is a screenshot of the completion

Hey! I can't really reproduce what you're saying.

Maybe double-check your lsp configuration?


rmw_implementation: 1.0.1-1 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository rmw_implementation to 1.0.1-1:

upstream repository: https://github.com/ros2/rmw_implementation.git
release repository: https://github.com/ros2-gbp/rmw_implementation-release.git
distro file: foxy/distribution.yaml
bloom version: 0.10.0
previous version for package: 1.0.0-1

rmw_implementation
* Foxy updated maintainers (#158 <https://github.com/ros2/rmw_implementation/issues/158>)
* Contributors: Alejandro Hernández Cordero

test_rmw_implementation
* Fixed rmw_create_node arguments
* Add fault injection tests to construction/destroy APIs.  (#144 <https://github.com/ros2/rmw_implementation/issues/144>)
* Fixed function rmw_create_node in tests
* Add tests bad type_support implementation (#152 <https://github.com/ros2/rmw_implementation/issues/152>)
* Add tests for localhost-only node creation (#150 <https://github.com/ros2/rmw_implementation/issues/150>)
* Use 10x the intraprocess delay to wait for sent requests. (#148 <https://github.com/ros2/rmw_implementation/issues/148>)
* Added rmw_wait, rmw_create_wait_set, and rmw_destroy_wait_set tests (#139 <https://github.com/ros2/rmw_implementation/issues/139>)
* Added rmw_service_server_is_available tests (#140 <https://github.com/ros2/rmw_implementation/issues/140>)
* Add tests service/client request/response with bad arguments (#141 <https://github.com/ros2/rmw_implementation/issues/141>)
* Fixed function rmw_create_node in tests
* Added rmw_wait, rmw_create_wait_set, and rmw_destroy_wait_set tests (#139 <https://github.com/ros2/rmw_implementation/issues/139>)
* Added test for rmw_get_serialized_message_size (#142 <https://github.com/ros2/rmw_implementation/issues/142>)
* Add service/client construction/destruction API test coverage. (#138 <https://github.com/ros2/rmw_implementation/issues/138>)
* Added rmw_publisher_allocation and rmw_subscription_allocation related tests (#137 <https://github.com/ros2/rmw_implementation/issues/137>)
* Add tests take serialized with info bad arguments (#130 <https://github.com/ros2/rmw_implementation/issues/130>)
* Add gid API test coverage. (#134 <https://github.com/ros2/rmw_implementation/issues/134>)
* Add tests take bad arguments  (#125 <https://github.com/ros2/rmw_implementation/issues/125>)
* Bump graph API test coverage. (#132 <https://github.com/ros2/rmw_implementation/issues/132>)
* Add tests take sequence serialized with bad arguments (#129 <https://github.com/ros2/rmw_implementation/issues/129>)
* Add tests take sequence + take sequence with bad arguments (#128 <https://github.com/ros2/rmw_implementation/issues/128>)
* Add tests take with info bad arguments (#126 <https://github.com/ros2/rmw_implementation/issues/126>)
* Add tests for non-implemented rmw_take_* functions (#131 <https://github.com/ros2/rmw_implementation/issues/131>)
* Add tests publish serialized bad arguments (#124 <https://github.com/ros2/rmw_implementation/issues/124>)
* Add tests publish bad arguments (#123 <https://github.com/ros2/rmw_implementation/issues/123>)
* Add tests non-implemented functions + loan bad arguments (#122 <https://github.com/ros2/rmw_implementation/issues/122>)
* Add missing empty topic name tests. (#136 <https://github.com/ros2/rmw_implementation/issues/136>)
* Add rmw_get_serialization_format() smoke test. (#133 <https://github.com/ros2/rmw_implementation/issues/133>)
* Complete publisher/subscription QoS query API test coverage. (#120 <https://github.com/ros2/rmw_implementation/issues/120>)
* Remove duplicate assertions (#121 <https://github.com/ros2/rmw_implementation/issues/121>)
* Add publisher/subscription matched count API test coverage. (#119 <https://github.com/ros2/rmw_implementation/issues/119>)
* Fixed rmw_create_node
* Add serialize/deserialize API test coverage. (#118 <https://github.com/ros2/rmw_implementation/issues/118>)
* Add subscription API test coverage. (#117 <https://github.com/ros2/rmw_implementation/issues/117>)
* Extend publisher API test coverage (#115 <https://github.com/ros2/rmw_implementation/issues/115>)
* Add node construction/destruction API test coverage. (#112 <https://github.com/ros2/rmw_implementation/issues/112>)
* Check that rmw_init() fails if no enclave is given. (#113 <https://github.com/ros2/rmw_implementation/issues/113>)
* Add init options API test coverage. (#108 <https://github.com/ros2/rmw_implementation/issues/108>)
* Complete init/shutdown API test coverage. (#107 <https://github.com/ros2/rmw_implementation/issues/107>)
* Add dependency on ament_cmake_gtest (#109 <https://github.com/ros2/rmw_implementation/issues/109>)
* Add test_rmw_implementation package. (#106 <https://github.com/ros2/rmw_implementation/issues/106>)
* Contributors: Alejandro Hernández Cordero, Geoffrey Biggs, Jose Tomas Lorente, Michel Hidalgo, Shane Loretz

@ahcorde Please see the failing CI for what needs to be changed.


Support taking a new photo when prompted to upload an image

Task/Issue URL: https://app.asana.com/0/488551667048375/1206005059663926/f
Description
When encountering webpages which allow users to upload an image, currently the only option is to choose an existing image from the gallery.
With this PR, users will have the ability to choose between uploading an existing image from their gallery or taking a new photo from the camera and uploading that.
Steps to test this PR
Happy path, camera

[ ] Visit https://cdrussell.w3spaces.com and click the Choose File button
[ ] Choose Take Photo
[ ] Grant camera permission when prompted
[ ] Take a photo
[ ] Verify it appears on the demo webpage

Happy path, gallery

[ ] Visit https://cdrussell.w3spaces.com and click the Choose File button
[ ] Choose Photo Library
[ ] Verify you see the standard file chooser as you would just now in develop and that you can select an image (nothing has changed about this flow)

Alt path, cancel image capture

[ ] Visit https://cdrussell.w3spaces.com and click the Choose File button
[ ] Choose Take Photo
[ ] (assuming you still have camera permission from previous test; accept permission if needed)
[ ] When the camera app loads, cancel without taking an image
[ ] Choose Take Photo again to sense-check the flow can be repeated after cancellation

Alt path, refusing camera permission

[ ] Clear camera permissions if granted, manually or using adb shell pm reset-permissions
[ ] Visit https://cdrussell.w3spaces.com and click the Choose File button
[ ] Choose Take Photo
[ ] Refuse camera permission
[ ] Verify nothing else shown to user (just quietly returned to website with no dialogs showing)
[ ] Choose Take Photo again, and again refuse permission when prompted
[ ] Verify this time the permission rationale prompt shows explaining why we'd need this permission to do what the user is asking
[ ] Click on the Open Settings button and verify it takes you to the right place to alter system permissions for the app

Alt path, uploading a non-image file

[ ] Visit https://cdrussell.w3spaces.com/other.html
[ ] Tap the third button (video/* upload type)
[ ] Verify you are not given the option to use the camera (only supporting images at the moment)

UI changes

Adding blocked label, pending ship review

filechooser is specific from files so I wouldn't expect these classes to be under it.

I chose that because that's what WebView calls it, and what the various webcall callback functions/params call it. I think it's the best home for it.

There are 2 files with one function implementation each CameraCaptureDelayedDeleter and CameraCaptureImageMover. I would unify them as CameraCaptureManager and just have one class.

Will keep the two classes separate; not clear to me it's more readable combining into a less specific_manager_ class. Probably subjective.

All other PR feedback addressed. Thanks!


Add Elixir 1.10.x to test matrix

Pull Request Test Coverage Report for Build cc954a447675173d695240b8e5d5c5d7b66816b2-PR-8
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 35.514%

Totals

Change from base Build 635ce6eee1a7f0ad21aad14cfe33eb055cd940d3:
0.0%

Covered Lines:
38

Relevant Lines:
107

💛  - Coveralls


[SPARK-10330] Add Scalastyle rule to require use of SparkHadoopUtil JobContext methods

This is a followup to #8499 which adds a Scalastyle rule to mandate the use of SparkHadoopUtil's JobContext accessor methods and fixes the existing violations.

Merged build triggered.

Merged build started.

Test build #41788 has started for   PR 8521 at commit 58dd847.

Test build #41788 has finished for   PR 8521 at commit 58dd847.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class JavaTrainValidationSplitExample

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41788/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #41789 has started for   PR 8521 at commit d9cb6df.

Jenkins, retest this please.

(Re-testing pre-emptively in case of flakiness)

Merged build triggered.

Merged build started.

Test build #41792 has started for   PR 8521 at commit d9cb6df.

Test build #41789 has finished for   PR 8521 at commit d9cb6df.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41789/
Test PASSed.

Merged build finished. Test PASSed.

Test build #41792 has finished for   PR 8521 at commit d9cb6df.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class JavaTrainValidationSplitExample
class KMeans @Since("1.5.0") (

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41792/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #42179 has started for   PR 8521 at commit d9cb6df.

Test build #42179 has finished for   PR 8521 at commit d9cb6df.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42179/
Test PASSed.

Since this still passes tests, can we merge this now?

Jenkins, retest this please.

Going to retest and will merge once tests pass again.

Merged build triggered.

Merged build started.

Test build #42296 has started for   PR 8521 at commit d9cb6df.

Test build #42296 has finished for   PR 8521 at commit d9cb6df.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42296/
Test PASSed.

Merged build finished. Test PASSed.

LGTM

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #42377 has started for   PR 8521 at commit d9cb6df.

Going to merge this into master.

Test build #42377 has finished for   PR 8521 at commit d9cb6df.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42377/
Test PASSed.

Merged build finished. Test PASSed.


[XS] BC Parks DNS Update

This ticket is to track work on updating BC Parks DNS strategy
Acceptance Criteria

Export all of Go Daddy zone records for all BC Parks DNS into Route 53
Change registrar name server from Go Daddy to Route 53
Optional or at same time: completely change the registrar from Go Daddy to Route 53

Notes
JUST DO IT RIGHT

Updating estimation due to extra records not anticipated were there.

blog.bcparks.ca is supposed to forward to engage.gov.bc.ca/bcparksblog/, but that currently does not work.
dam.bcparks.ca is supposed to forward to http://bcparks.canadacentral.cloudapp.azure.com/resourcespace, but that currently does not work.
discove.bcparks.ca is supposed to forward to https://bcparks.ca, but that currently does not work.

Need to confirm if these are ok to ignore (they are basically dead anyways).

Let me know if there is anything I can do to help :)

There are a number of forwarding rules in place that need to be considered (ELB/NGINX):

bcparksplates.ca => https://bcparks.ca/licence-plates/
bcparksplates.com => https://bcparks.ca/licence-plates/
discoverbcparks.ca => https://bcparks.ca/
discoverbcparks.com => https://bcparks.ca/

All 4 domains are fully working with their lambda redirects.  The last remaining thing to do is to migrate the entire godaddy account to AWS Route53 for domain registration.

AWS Support ticket in progress.

Transferring in progress:

discoverbcparks.ca

Transferring complete:

bcparks.ca
bcparksplates.ca

Blocked on whois update delay:

bcparksplates.com
discoverbcparks.com

Partial unblock. AWS Account has been identified, cleaned up the resources - confirmed that there was existing cert/cname set in that CloudFront configuration that was preventing our new account from configuring things for discovercamping.ca. This part is now complete and the account in question can be fully deleted.

@marklise I added the SSL Cert AC to this card. Feel free to modify it

SSL Certs have been created properly. The other team now has infrastructure issues separate from SSL configuration issues. We can complete this ticket now.


"The private key is not present in the X.509 certificate."

  Any idea why I would be seeing this exception message, when the client app tries to call authContext.AcquireTokenAsync()?
 "The private key is not present in the X.509 certificate."

Thanks for the sample and help!

I am facing the same issue

Bump

Bump

Considering this question was asked almost 6 months ago and no one from the Azure team has been bothered to answer it, I'll post my solution here in case anyone runs across the same issue.
The problem is that instructions don't state that when creating the certificate for auth, because the private key is exported to a separate file you either have to a) install the private key to your personal keystore, or b) not export the private to a separate file, cause why would you? Seriously, just do it this way then you can export the public+private key together, or separately if you really want to from certmgr.
makecert -r -pe -n "CN=TodoListDaemonWithCert" -ss My -len 2048 TodoListDaemonWithCert.cer
Note the lack of "-sv TodoListDaemonPrivateKey.pvk", this ensured that when the certificate is added to your personal store with the private key associated.

Thanks for your feedback.
Resolved by https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/commit/9ec67e7ec6e23ebb0530fa70860d952a76975396


As a potential user exploring the app I want to view the app populated with sample data

so that I can easily see how the app will look when it is in use

Not implemented.


DRILL-3598: use a factory to create the root allocator.

made the constructor for TopLevelAllocator package private to enforce this
other file cleanup in files the factory was added to

Unit tests pass. Precommit suite passes.

It looks like you've merged this -- is there any reason not to close the pull request?

If we forget to add the "this closes #xxx" to the commit message then the only person who can close a PR is the original author. You should close it.

Sorry about that, I will be making sure I do this in the future.


[devops:bot] update deps in nix/sources.json (from: rhino-core@59d491e)

update nix refernces for rhino-core and|or nixpkgs to match https://github.com/rhinofi/rhino-core/blob/59d491e760ed49bbf69d992dca612cb612ae3617/nix/sources.json (branch: dev)

superseded by #203


Random "Cannot establish browser connection" errors with Docker

What is your Scenario?
When I run my tests through Docker (local or in Azure DevOps pipelines) I get random (40-50% of times) failures of this type:
"1 of 1 browser connections have not been established:

chromium:headless:no-sandbox"

I've checked all the related issues to this one and I could not fix it with the solutions that people gave
What is the Current behavior?
When the tests start executing the browser connection is not established
What is the Expected behavior?
When the tests start executing the browser connection is established
What is the public URL of the test page? (attach your complete example)
I believe it is not related to the application (it only happened after upgrading testcafe from 3.3.0 to 3.6.2)
What is your TestCafe test code?
This is how the Dockerfile looks like:
`FROM node:18-alpine
USER root
RUN apk add --no-cache bash chromium
RUN mkdir /app && mkdir /app/results
WORKDIR /app
ARG BRANCH_NAME
COPY package.json package-lock.json .npmrc ./
#Setting the HOME variable to addresses the "npm ERR! code EACCES" error
ENV HOME=.
RUN npm ci
COPY . ./
RUN sleep 30
CMD ["npm", "run", "pipelineHeadless"]`
And this is the command of pipelineHeadless
"pipelineHeadless": "testcafe 'chromium:headless --no-sandbox --disable-dev-shm-usage --ignore-certificate-errors' $TEST_DIR -s path=results/screenshots,takeOnFails=true -S --reporter spec,nunit3:results/report.xml"
Your complete configuration file
{   "skipJsErrors": true,   "screenshots": {     "path": "reports/screenshotsOnFail/",     "takeOnFails": true   },   "reporter": [     {       "name": "spec"     },     {       "name": "html",       "output": "reports/report.html"     },     {       "name": "json",       "output": "reports/report.json"     }   ],   "compilerOptions": {     "typescript": {       "configPath": "./tsconfig.json"     }   } }
Your complete test report
I attach an example of how it looks like the initialization when it works ok:
<EMAIL_ADDRESS>pipelineHeadless
testcafe 'chromium:headless --no-sandbox --disable-dev-shm-usage --ignore-certificate-errors' $TEST_DIR -s path=results/screenshots,takeOnFails=true -S --reporter spec,nunit3:results/report.xml
The "reporter" and "screenshots.path" options from the configuration file will be ignored.
Running tests in:

Chrome <IP_ADDRESS> / Alpine Linux 3.20.2
`

Screenshots
No response
Steps to Reproduce
Try any sample tests you may already have running through that Dockerfile and command I passed (try a few times)
TestCafe version
3.6.2
Node.js version
18.20.4
Command-line arguments
testcafe 'chromium:headless --no-sandbox --disable-dev-shm-usage --ignore-certificate-errors' $TEST_DIR -s path=results/screenshots,takeOnFails=true -S --reporter spec,nunit3:results/report.xml
Browser name(s) and version(s)
Chrome 127
Platform(s) and version(s)
Alpine Linux 3.20.2
Other
No response

@Bayheck Any given test on any website will trigger this issue. That's why I didn't provide one.

Hello,
Could the issue be related to the machine where you run your tests?
Have you tried running the tests on a different machine?
Also, you mentioned 'local or in Azure DevOps pipelines'. Do you see any difference in the failure rate between the two environments?

Any given test on any website will trigger this issue. That's why I didn't provide one

We need a simple and reliable example from start to end - preferably in the form of a repository in your case. The repository should contain all the information and files necessary to reproduce the issue. Any user should be able to follow your instructions. Something like this:

Please refer to the following help topic: https://testcafe.io/documentation/402636/faq/general-info#how-to-create-a-minimal-working-example-when-you-submit-an-issue.

I fixed the issue changing the docker image from
"node:18-alpine"
to
"node:alpine3.19"


win11 run error

env: win11 python env and run it in administrator
(test) PS C:\Users\zero\Desktop\pyusbip> python .\pyusbip.py
Traceback (most recent call last):
  File ".\pyusbip.py", line 418, in <module>
    for fd, events in usbctx.getPollFDList():
  File "C:\Users\zero\miniconda3\envs\test\lib\site-packages\usb1\__init__.py", line 2123, in wrapper
    return func(self, *args, **kw)
  File "C:\Users\zero\miniconda3\envs\test\lib\site-packages\usb1\__init__.py", line 2344, in getPollFDList
    raise OSError(errno)
OSError: 1060
(test) PS C:\Users\zero\Desktop\pyusbip> python --version
Python 3.8.16
(test) PS C:\Users\zero\Desktop\pyusbip> pip list
Package    Version
---------- -------
libusb1    3.0.0
pip        23.0.1
setuptools 66.0.0
wheel      0.38.4

microsoft say this from link
ERROR_SERVICE_DOES_NOT_EXIST

1060 (0x424)

The specified service does not exist as an installed service.

I dont known what error?
a question, other usbip in win need install a testing driver, does it need?

Oo, very interesting.  I think it probably won't work on Windows because "the use of libusb file descriptors with poll() on cygwin is NOT supported"?
But maybe you could rewrite it to put the libusb stuff in a thread instead and communicate through a channel, instead?  You'd also have to install the libusb driver (see the above linked wiki page), of course.


Format edb core files

Run black on all files under edb_core folder to address line length issues.

Wait until #431 is merged before proceeding with this.


Auto Bipped Rigger: lookdevKit plugin not loaded by default

Make sure lookdevKit plugin is loaded. I was getting errors when building.
Warning: Unrecognized node type 'floatConstant'; preserving node information during this session.
Warning: The source attribute 'left_leg_strechyInactive_value.outFloat' cannot be found.
I just added this to the gt_auto_biped_rigger.py:
# Main Dialog ============================================================================
def build_gui_auto_biped_rig():
    '''  Creates the main GUI for GT Auto Biped Rigger '''

    if not cmds.pluginInfo("lookdevKit", query=True, loaded=True):
        cmds.loadPlugin("lookdevKit", quiet=True)

Thanks. Keep it up!

Hey @charliewales,
Thank you very much for pointing that out! I've updated the script so it no longer uses "floatConstant" nodes.

Hey @charliewales,
Thank you very much for pointing that out! I've updated the script so it no longer uses "floatConstant" nodes.