Smoothing Sigmas in Physical Space and High Resolution Images - A solution proposal

A challenge I'm running into for a tool I'm writing is getting antsRegistration to do the same thing regardless of the input resolution of the scans.
This comes from two problems

Shrink factors reduce the resolution by downsampling, but have no sense of actual input resolution

I fixed this by checking the input resolution and computing my shrink factors to target physical space sampling values I want based on the resolution of the input.
Now I run into issues with smoothing: I can specify smoothing sigmas in real space (aka mm resolution) however, for high resolution images, I frequently run into this:
WARNING: In /opt/quarantine/ANTs/git/src/build/ITKv4-install/include/ITK-4.11/itkGaussianOperator.hxx, line 61
GaussianOperator (0x7fffdcae62b0): Kernel size has exceeded the specified maximum width of 32 and has been truncated to 33 elements.  You can raise the maximum width using the SetMaximumKernelWidth method.

This is for a smoothing of 16mm FWHM
After much reading through layers of code, I determined that it looks look I'm running into the default maximum kernel size of DiscreteGaussianImageFilter, which is used inside ImageRegistrationMethodv4.
To see if I could resolve this, I insterted SetMaximumKernelWidth( 64 )
after
https://github.com/InsightSoftwareConsortium/ITK/blob/30206c0ec0cfecb6df9dec22e9a54e98463189db/Modules/Registration/RegistrationMethodsv4/include/itkImageRegistrationMethodv4.hxx#L619
and
https://github.com/InsightSoftwareConsortium/ITK/blob/30206c0ec0cfecb6df9dec22e9a54e98463189db/Modules/Registration/RegistrationMethodsv4/include/itkImageRegistrationMethodv4.hxx#L637
This resolved the issue down to 0.4mm, however, at 0.3mm, my highest res data I still ran into the above warning.
Changing to SetMaximumKernelWidth( 128 ) resolves the issue at 0.3mm.
Obviously, blurring takes longer now since the kernel is no longer truncated.
What do you think of such a proposed change to the registration internals? In general it should have no impact except for those people running into these issues.

I'm disinclined to make such a significant change based on only your usage.  Obviously you can maintain such a change on your end without changing the main repo.  Or another option would be to do it all on the command line where you do the smoothing outside antsRegistration and each smoothing factor results in a separate smoothed image pair per image registration stage.  Your command line will be much more complex but the resulting transforms should be the same and will permit you to enforce your constraint without making such a significant change to the ITK internals.

Hrm, I didn't really consider this a big change. It seems to be it would have zero impact to the internals except in the case of people who are currently triggering this warning.
I could indeed generate these files before hand using SmoothImage, though it will need a similar patch as it currently triggers the issue. Would you be willing to accept that change?


Custom Info Window Of Marker In Google Maps

Please tell me how to make custom info window of marker in google marker, i done lot of search but cant find any solution. so please guide me

Duplicate of #24213

Not closed. Read my statement, i want to change marker info window(When you click on marker then its show a text at the top of marker, its an info window) not marker.
Your link is about to change the marker, please suggest main another solution related to info window

Not closed. Read my statement, i want to change marker info window(When you
click on marker then its show a text at the top of marker, its an info
window) not marker.
Your link is about to change the marker, please suggest main another
solution related to info window
On Tue, Mar 31, 2020 at 12:37 PM Taha Tesser<EMAIL_ADDRESS>wrote:

Duplicate of #24213 https://github.com/flutter/flutter/issues/24213
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/53633#issuecomment-606455002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFLC2XKJ2KTKBFO2CJTPXVDRKGMVBANCNFSM4LXJVLLA
.

Updated the comment

Thanks But Your provided solution is not workable. Please check its Issue here is the link --> https://github.com/Menelphor/GoogleMapsCustomInfoWidget/issues/1.
Please talk to Flutter Library Devs to change the infoWindow into Widget, everyone will change this  into desired views.
The thing i want, i want to change its Info Window as per i need, like i'll add User Profile, name etc, but this solution is only for change the info window text style.
So now i'm waiting again :(

Thanks But Your provided solution is not workable. Please check its Issue
here is the link --> Menelphor/GoogleMapsCustomInfoWidget#1
https://github.com/Menelphor/GoogleMapsCustomInfoWidget/issues/1.
Please talk to Flutter Library Devs to change the infoWindow into Widget,
everyone will change this into desired views.
The thing i want, i want to change its Info Window as per i need, like i'll
add User Profile, name etc, but this solution is only for change the info
window text style.
So now i'm waiting again :(
On Tue, Mar 31, 2020 at 5:32 PM Taha Tesser<EMAIL_ADDRESS>wrote:

Updated the comment
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/53633#issuecomment-606597483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFLC2XPFNAK4GPQY3D5AFUDRKHPEPANCNFSM4LXJVLLA
.

Hi @MOhsain
Custom infoWindow is not supported yet in the package
Thank you


Links to PDFs on the tutorial/FAQ page are broken

Page at http://hdlab.stanford.edu/palladio/help/ links to http://hdlab.stanford.edu/palladio/doc/scenario-simple-map.pdf but should be http://hdlab.stanford.edu/doc/scenario-simple-map.pdf (same for point-to-point tutorial).

In faq.md these point to - ({{ site.baseurl }}/doc/scenario-simple-map.pdf)
(site.baseurl is '/palladio' )
Updated the links in faq.md (there are three) on the documentation-updates branch.


Schemas for kubernetes files for yamlls not loading

Hello, I took inspiration from you yaml.lua  file, to setup the schemastore and custom schemas for kubernetes.
However, If I open a deployment.yaml, the schema is not loaded, because hover_action does not provide me with a hint.
If I specify this:
# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master/deployment.json

at the begining of the file, the schema is properly loaded.
Do you maybe have an idea on how to make your yaml.lua work? Does it work for you?
Thanks for the effort.
Kind regards
Grigorios

it seems to be working fine for me, not sure why 🤔

Weird!
I really don't understand why, but after copying and pasting your yaml.lua and putting in my changes, from the file that didn't work, it works now.
I'm lost :)


Docs: add Eleventy Netlify Boilerplate to examples

Summary

Added a new example built with Eleventy to the Docs > Examples page of the website. This example is also listed over at: templates.netlify.com
Test plan

A picture of a cute animal (not mandatory but encouraged)

Deploy preview for netlify-cms-www ready!
Built with commit 90bf9d73582672431865fe4fa461fa7a80cc00dd
https://deploy-preview-1863--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit 90bf9d73582672431865fe4fa461fa7a80cc00dd
https://deploy-preview-1863--cms-demo.netlify.com


[Workspace Feeds] [External] Integrate Deactivate_Card API

Part of the Workspace feeds project.
Implement the following part of the design doc.
@koko57 @VickyStash @allgandalf @DylanDylann

Later phase of implementation

Will be worked on soon

Hello Im Artem from Callstack and would like to work on this issue

Assigned you, @waterim!

There is no need for payment. Let's close as completed

maybe let's not close it as the BE is not integrated yet

I think this can be worked on soon, the API commands should exist for this now

We will bump this in the next update for the project

We still need to integrate this with the API

We're working on the BE: https://github.com/Expensify/Auth/pull/12150

@koko57 The BE is ready!
As a note, the initial approach we had in the design doc is now outdated

For physical cards, we will call Card_Deactivate command with cardID, for virtual - Card_EditAdminIssuedVirtualCard with a cardLimit of 0. This will lead to the card being deactivated.

We will be using a single API command: Card_Deactivate that accepts a string authToken and int cardID for both physical cards and virtual cards.

@MariaHCD ok, thanks! Me or someone from our team will take care of it

Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on Card_Deactivate integration.

Assigned you, @VickyStash!

Updates: I've implemented the Card_Deactivate API call and working on the UI updates to support deactivated cards. I think the PR should be ready on Monday.

The PR is ready for the review!

PR is actively being worked on

unassigning myself as I am going OOO. If we end up needing a payment (I don't believe we do) just put the bug label back on this!

This is done


Is angular-multi-select available for angular 2+ version?

Hi,
First of all thanks for the great work! angular-multi-select is awesome!
Is there a compatible version for angular 2+?

Hi! No, unfortunately there isn't an Angular 2+ version of this lib.


mina-berkeley-migration-script initial fails with Map.find_exn: not found

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/MinaProtocol/mina/issues
[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/MinaProtocol/mina/discussions

Description
mina-berkeley-migration-script initial  fails with
(monitor.ml.Error
 (Not_found_s
  ("Map.find_exn: not found"
<PHONE_NUMBER>344616072397527199815941276656439868491454361417667551078491250181))
 ("Raised at Base__Error.raise in file \"src/error.ml\" (inlined), line 8, characters 14-30"
  "Called from Caqti_async.Fiber.finally.(fun) in file \"caqti-async/lib/caqti_async.ml\", line 44, characters 39-69"
  "Called from Async_kernel__Deferred1.M.map.(fun) in file \"src/deferred1.ml\", line 17, characters 40-45"
  "Called from Async_kernel__Job_queue.run_job in file \"src/job_queue.ml\" (inlined), line 128, characters 2-5"
  "Called from Async_kernel__Job_queue.run_jobs in file \"src/job_queue.ml\", line 169, characters 6-47"))

Steps to Reproduce

Run mina-berkeley-migration-script initial (full command w/ params below)

...
Expected Result
Migration will complete
Actual Result
Migration fails with error.
Command:
mina-berkeley-migration-script initial --genesis-ledger /var/lib/coda/mainnet.json --source-db "postgresql://***/mainnet-archive" --target-db "postgresql://***/mainnet-archive-migrated" --blocks-bucket mina-mainnet-blocks --blocks-batch-size 2000 --checkpoint-output-path . --precomputed-blocks-local-path /mnt/volume_nyc3_01/migration/ --network mainnet >~/migration/initial-migration-attempt8.log 2>&1

Output:
2024-04-21 15:53:24 UTC [Info] Loaded genesis ledger from $ledger_file
        ledger_file: "/tmp/coda_cache_dir/genesis_ledger_accounts_fe217061fe891753eec9838e1f4edc169ff6c7f28ad0e9628f2167e6716f5fec.tar.gz"
2024-04-21 15:53:24 UTC [Info] Got precomputed values from runtime config
2024-04-21 15:53:25 UTC [Info] Querying mainnet canonical blocks
2024-04-21 15:53:27 UTC [Info] Determining already migrated bocks
2024-04-21 15:53:27 UTC [Info] Already migrated blocks through height 345000, resuming migration
2024-04-21 15:53:27 UTC [Info] Will migrate 1112 mainnet blocks
2024-04-21 15:53:27 UTC [Info] Migrating mainnet blocks
2024-04-21 15:53:27 UTC [Info] Migrating 1112 blocks starting at height 345001 (3NKdMg63gzE9MGQs3VaWDpdiBwagGMjpSeiRDYMHWckw5QpDytBJ..3NLSKLgtTHmbbJYapW6zW4a3to1kmWiQANQX2Sagph4yRt2ytayr)
2024-04-21 15:53:27 UTC [Info] Fetching batch of precomputed blocks
2024-04-21 15:53:38 UTC [Info] Found 346111 individually downloaded precomputed blocks
2024-04-21 15:53:38 UTC [Info] Will download 0 precomputed blocks (this may take a while)
2024-04-21 15:54:02 UTC [Info] Converting blocks to extensional format...
2024-04-21 15:54:02 UTC [Info] Fetching transaction sequence from prior database
2024-04-21 15:54:04 UTC [Info] Done fetching transaction sequence from prior database
2024-04-21 15:54:04 UTC [Info] Adding blocks to migrated database...
(monitor.ml.Error
 (Not_found_s
  ("Map.find_exn: not found"
<PHONE_NUMBER>344616072397527199815941276656439868491454361417667551078491250181))
 ("Raised at Base__Error.raise in file \"src/error.ml\" (inlined), line 8, characters 14-30"
  "Called from Caqti_async.Fiber.finally.(fun) in file \"caqti-async/lib/caqti_async.ml\", line 44, characters 39-69"
  "Called from Async_kernel__Deferred1.M.map.(fun) in file \"src/deferred1.ml\", line 17, characters 40-45"
  "Called from Async_kernel__Job_queue.run_job in file \"src/job_queue.ml\" (inlined), line 128, characters 2-5"
  "Called from Async_kernel__Job_queue.run_jobs in file \"src/job_queue.ml\", line 169, characters 6-47"))

Daemon version
mina-archive-migration/unknown,now 3.0.1upgrade-tooling amd64 [installed]
How frequently do you see this issue?
Always
What is the impact of this issue on your ability to run a node?
Blocker
Status
mina client status is not relevant

Additional information
I got the same error trying with --blocks-batch-size 100.

@jrwashburn can you check if your source database has any missing blocks ? Usually this issue means that there is a gap in chain. If that is true let's keep it open as we need to improve error reporting

There are missing blocks - I forgot I stopped the node while running migration but then started again so there is a gap. I'll fill it an retry.

Sorry - user error; filling the gaps resolved. Closing.

Oops - reopening to improve error message.


T41 add Unit test for get category list and get detail category

unit test when getting valid categories successfully

unit test when getting a valid category

unit test when getting a category with not found Id

create category with parentId and without parentId

create category with invalid parentId


Ctrl+delete in integrated terminal maps to "enter" key

Does this issue occur when all extensions are disabled?: Yes

Version: 1.62.1
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-10T00:23:38.003Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.14.16-arch1-1
Steps to Reproduce:

Open vscode
Open the integrated terminal
Write "some random text"
Move the cursor the the space between "some" and "random"
Press ctrl+delete

What was expected to happen:
6. the word "random" gets deleted, leaving "some text" in the terminal
What actually happened:
6. ctrl+delete is mapped to enter, the the line in the terminal is executed.
(for extra adrenaline and to free space on your disk, replace "some random text" with "rm -rf ~". PLEASE DON'T DO THIS, but I can imagine someone doing a destructive operation thinking that ctrl+delete will delete a word)
Also, the above steps are not reproducible in:
Version: 1.61.2
Commit: 6cba118ac49a1b88332f312a8f67186f7f3c1643
Date: 2021-10-20T00:21:59.656Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.14.16-arch1-1

logs when I press ctrl+delete
xterm.js: parsing data
LogService.ts:62 xterm.js: parsing data

LogService.ts:62 xterm.js: parsing data some: The term 'some' is not recognized
LogService.ts:62 xterm.js: parsing data
 as a name of a cmdlet, function, script
 file, or executable program.
LogService.ts:62 xterm.js: parsing data

LogService.ts:62 xterm.js: parsing data Check the spelling of the name, or if a
LogService.ts:62 xterm.js: parsing data
 path was included, verify that the path
LogService.ts:62 xterm.js: parsing data
 is correct and try again.
LogService.ts:62 xterm.js: parsing data
PS C:\Users\merogge\repos\vscode>

logs when I press enter
LogService.ts:62 xterm.js: sending data "
" [13]
LogService.ts:62 xterm.js: parsing data
LogService.ts:62 xterm.js: parsing data

LogService.ts:62 xterm.js: parsing data some: The term 'some' is not recognized
LogService.ts:62 xterm.js: parsing data
 as a name of a cmdlet, function, script
 file, or executable program.
LogService.ts:62 xterm.js: parsing data

LogService.ts:62 xterm.js: parsing data Check the spelling of the name, or if a
LogService.ts:62 xterm.js: parsing data
 path was included, verify that the path
LogService.ts:62 xterm.js: parsing data
 is correct and try again.
LogService.ts:62 xterm.js: parsing data
PS C:\Users\merogge\repos\vscode>

I think what you're looking for is Ctrl+backspace - that deletes the word before the cursor. @Ranguna

removing the duplicate keybinding for terminal send sequence fixes the issue

sendSequence adds a new line, thus why it seems like enter is pressed

@Tyriar I think it would make sense to either change or remove this keybinding

@meganrogge Ctrl+backspace deletes a word before the cursor (to the left side of the cursor). What I'm describing, deletes a word on the right side of the cursor.
It's incredibly dangerous to have this mapping assigned to anything+backspace/delete, since backspace and delete are usually never related with these kind of operations. It can seriously lead to some pretty catastrophic scenarios and I would appreciate that any new keybindings would first get checked if they already exist as a native OS binding before being added to vscode, specially on the terminal.
I'm going to remove this on my end, thank you for all the info!

Thanks for the report and investigation, not sure how it was working at all but I fixed it to correctly send the sequence for alt+d (ESC + d).

Perfect, thank you <3


Docs: correct adjectival forms of "data source" to "data-source"

Doc team style guide conformity issue with "data source." See https://grafana.com/docs/writers-toolkit/write/style-guide/word-list/#d

After a robust discussion, the doc team has decided to revert its style guideline to eliminate the hyphen in "data-source plugin".


Should there be a referral button in patient search results?

On the dashboard there are two referral options; emergency and elective. No such options are available in the search results list so I'm wondering if the referral button should be there or if we need a way to let users decide if it is elective or emergency.

This button is just a way to get back to the referral details for an
existing patient.
The patient needs to have been created with either emergency or elective,
so all patients in the search results, will already have that value set,
and display accordingly.
On Sun, Aug 7, 2016 at 12:09 PM, Charlie Harris<EMAIL_ADDRESS>wrote:

On the dashboard there are two referral options; emergency and elective.
No such options are available in the search results list so I'm wondering
if the referral button should be there or if we need a way to let users
decide if it is elective or emergency.
[image: screen shot 2016-08-07 at 11 06 58]
https://cloud.githubusercontent.com/assets/11438777/17461758/20612a80-5c8f-11e6-96e3-f2113423b8fd.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/igiveadamn/ccdb/issues/27, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAT5YHsygHkyJ9oJeGyimJFQY7CrgLnNks5qda7fgaJpZM4Jed_r
.


added new term MONDO:0100069 hearing impairment and infertile male sy…

…ndrome, closes #583

conflicts need resolved


http://www.clangsharp.org/ Error 403 - This web app is stopped.

http://www.clangsharp.org/
Error 403 - This web app is stopped.

Redirects to this page now.


[Question]:  Does LLamaIndex retriever implicitly filters/slices data based on metadata?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I am building a chatbot that does RAG over documents that are ingested are of different companies.
I am storing these documents embeddings in one table only.
So while retrieval process, will the framework filter the retrieval based on metadata of company (stored in embedding in metadata_ column) implicitly?

Are there any performance implications if the embeddings table is large?

Is there any way  we can add custom field to this table? Is there a way we can setup llama index to use this custom field while retrieving embeddings? Is there a way we can avoid using metadata field for filtering?
    class AbstractData(base):  # type: ignore
        __abstract__ = True  # this line is necessary
        id = Column(BIGINT, primary_key=True, autoincrement=True)
        text = Column(VARCHAR, nullable=False)
        metadata_ = Column(metadata_dtype)
        node_id = Column(VARCHAR)
        embedding = Column(Vector(embed_dim))  # type: ignore


llms: convert() add 'revision' argument

@Fihade I'm waiting on you here, let me know when it's ready for review again.

i

@Fihade I'm waiting on you here, let me know when it's ready for review again.

Okay

I've updated


cross platform label() API

There has been user requests for cross platform APIs for calling label() on a driver.
Maybe we should make the enhanced ios/android drivers implement a LabellingDriver interface and have label(String) be part of that?
Alternatively we could do a full facade that wraps a driver and exposes a label(String) method, dispatching to one of the enhanced drivers by simple instanceof checking.
Neither one is super nice, but we wouldn't want to break API either...

Thanks for the suggestion @kamstrup any thoughts @john7doe ?

I like the LabellingDriver route the best and that's certainly something we could do.

Hi, any news for this change? Is there an ETA? Appium allow to have cross platform tests.. and it's very useful!

Hello,
@krukow , @john7doe any info about when LabellingDriver could be done?

fixed by https://github.com/Microsoft/AppCenter-Test-Appium-Java-Extensions/pull/5 and released as 1.5


Keep the main class names as the mod names in Template Mod Generator

When I generate a mod named Abc using the template mod generator, I feel that the main classes should be Abc.java and AbcClient.java instead of ExampleMod.java and ExampleModClient.java

Fixed


TestKit failure: cannot find extension of type AppExtension

I am developing a Gradle plugin that reacts to various Android plugins (com.android.application and com.android.library) in order to report unused dependencies. You can find it here. I have added a stub TestKit functional test. I have actually been able to "build" my stub Android project with TestKit, but the moment I apply my plugin-under-test to the plugins {} block in this stub project, there is a failure at TestKit-build time. More information in the "Context" section below.
Expected Behavior

The functional test should pass.
Current Behavior

The test fails because it cannot find AppExtension. I presume it is failing at this line, but the failure stacktrace is too opaque to be certain.
Context

The issue is affecting me because I cannot write functional tests to validate end-to-end behavior and defend against regressions.
The failure is:

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

Extension of type 'AppExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, DefaultArtifactPublicationSet, ReportingExtension, SourceSetContainer, JavaPluginExtension, NamedDomainObjectContainer, BaseAppModuleExtension, KotlinAndroidProjectExtension, KotlinTestsRegistry]

This is nonsensical, since the com.android.application plugin has been applied, and AppExtension must exist at this point. Please note that manual tests of this plugin have succeeded, and the Android "app" defined in the TestKit context "builds" just fine. (You can remove the line id('com.autonomousapps.dependency-analysis') and re-run the test, and it will pass.)
This issue might be tangentially related to this issue. But please note, I have encountered that particular issue before, and you can see the workaround here.
Steps to Reproduce

Clone this repo.
Ensure your build environment is set up to build Android apps (you will need the Android SDK and build-tools).
Run ./gradlew funcTest
Observe the failure.

Your Environment

Build scan URL: https://scans.gradle.com/s/zwg5yeodiqauss (but I cannot view it)

I've attempted a couple of workaround based on a conversation in the community slack.
This is the original code
the<AppExtension>().applicationVariants.all {
  val androidClassAnalyzer = AppClassAnalyzer(this@analyzeAndroidApplicationDependencies, name)
  analyzeAndroidDependencies(androidClassAnalyzer)
}

it uses the Kotlin DSL.
I tried replacing with
(extensions.getByName("android") as AppExtension).applicationVariants.all {
  val androidClassAnalyzer = AppClassAnalyzer(this@analyzeAndroidApplicationDependencies, name)
  analyzeAndroidDependencies(androidClassAnalyzer)
}

and got the error:

com.android.build.gradle.internal.dsl.BaseAppModuleExtension_Decorated cannot be cast to com.android.build.gradle.AppExtension

Which is ridiculous, as BaseAppModuleExtension extends AppExtension.
I then tried replacing with
(extensions.getByName("android") as BaseAppModuleExtension).applicationVariants.all {
  val androidClassAnalyzer = AppClassAnalyzer(this@analyzeAndroidApplicationDependencies, name)
  analyzeAndroidDependencies(androidClassAnalyzer)
}

and got the error

com.android.build.gradle.internal.dsl.BaseAppModuleExtension_Decorated cannot be cast to com.android.build.gradle.internal.dsl.BaseAppModuleExtension

and now I don't even.

Can I get some eyes on this? It's making it impossible to write any functional tests for a plugin designed to work on Android projects. I provided a build scan and a reproducer with clear steps. What else can I do?

@autonomousapps , are you 100% sure the extension class is valid?
The exception message says "Extension of type 'AppExtension' does not exist", and it does say "KotlinAndroidProjectExtension" is present.
Are you sure the very same build succeeds and AppExtension indeed is present?
PS. You can "wait" for both plugins by using nested calls like
plugins.withId("...kotlin...") {
    plugins.withId("...android...") {
        /* this will be executed when both kotlin and android are activated*/
    }
}

Yes, I'm certain. This same code works when I apply the plugin to a real
android project.
On Wed, Dec 18, 2019, 2:50 PM Vladimir Sitnikov<EMAIL_ADDRESS>wrote:

@autonomousapps https://github.com/autonomousapps , are you 100% sure
the extension class is valid?
The exception message says "Extension of type 'AppExtension' does not
exist", and it does say "KotlinAndroidProjectExtension" is present.
Are you sure the very same build succeeds and AppExtension indeed is
present?
PS. You can "wait" for both plugins by using nested calls like
plugins.withId("...kotlin...") {
plugins.withId("...android...") {
/* this will be executed when both kotlin and android are activated*/
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/issues/11338?email_source=notifications&email_token=ABJG5PMGLX44ZH74PD4NU4DQZKSMTA5CNFSM4JMHABN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHHYIIA#issuecomment-567247904,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJG5PPI7TZDUFK45C3UG5DQZKSMTANCNFSM4JMHABNQ
.

I found a workaround, but it's highly unsatisfying. I still think there's a bug in TestKit somewhere. The workaround suggests that my plugin and AGP are loaded in different classloaders and can't see each other. If I add this to my functional test:
        val buildSrcDir = projectDir.resolve("buildSrc")
        buildSrcDir.mkdirs()
        buildSrcDir.resolve("settings.gradle").writeText("")
        buildSrcDir.resolve("build.gradle").writeText("""
            repositories {
                jcenter()
                google()
                gradlePluginPortal()
            }
            dependencies {
                implementation("com.android.tools.build:gradle:3.5.3")
                implementation("gradle.plugin.com.autonomousapps:dependency-analysis-gradle-plugin:0.10.0")
            }
        """.trimIndent())

then it works. In other words, I'm adding a buildSrc dir to my fake project-under-test in order to force AGP and my plugin to share a classloader.
And actually, I'm not sure what the implications are as I iterate on my plugin. Will it actually use my plugin-under-test, or will it use the binary version it is downloading from the gradle plugin portal?

Unfortunately, it's really not a great workaround. It uses the version of the code hosted by the plugin portal, so I can't use it locally without publishing first. May as well just test locally.

Finally able to really resolve this. I had
tasks.withType<PluginUnderTestMetadata>().configureEach {
    pluginClasspath.from(configurations.compileOnly)
}

above my dependencies {} block. When I moved it to below, everything worked fine. So, that bit of code was eager and not lazy as I implicitly expected.
Suggestion: the compileOnly configuration should be automatically added to the test/TAPI classpath, so users aren't forced to auto-wire it in this undocumented way. We need to add things like AGP to the compileOnly configuration so we're not forcing our version choices on the users of our plugins.


Fixes for IE 9

These changes allow the example and library to work on IE9.
Previously the IsomorphicRenderer was not picking up the propTypes and childContextTypes from the RelayRenderer base class, causing an error in getChildContext.
I also added the babel polyfill to the example so it would run.

Thanks!


Support IPv6 for HTTP::Request#host and HTTP::Request#host_with_port

See review comments on #3075

This is now tracked in #9962


Pull Request Review "Accept" header needed

https://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review

@ifokeev hm, I tried it again and it works for me without a header. Wonder why that is 🤔
Thanks for the contribution!

Released as part of v0.9.2.


feat(datasets): NetCDFDataset support for engine="h5netcdf" [#620]

Description
https://github.com/kedro-org/kedro-plugins/issues/620
NetCDFDataset currently only supports engine="scipy", which uses an old version of NetCDF (NETCDF3). This is because the original implementation writes the data to a byte-buffer, for which xarray only supports engine="scipy".
This PR enables engine="h5netcdf" and engine="netcdf4", which support the more recent NETCDF4 HDF5 format.
Development notes

Based on suggestion by @astrojuanlu, I save to a temporary file and copy to fsspec when using a remote file-system.
Added pytest parametrize to use engine="h5netcdf" and engine="netcdf4"

Checklist

[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[x] Updated the documentation to reflect the code changes
[x] Added a description of this change in the relevant RELEASE.md file
[x] Added tests to cover my changes

The unit tests seem to be failing potentially for a separate reason, although I'm not quite sure. Does anyone have insight into this?

@merelcht thanks for checking in! Yes, help would be great.
I am not sure how to fix the doctest error:
_________ [doctest] kedro_datasets.netcdf.netcdf_dataset.NetCDFDataset _________
051         >>> from kedro_datasets.netcdf import NetCDFDataset
052         >>> import xarray as xr
053         >>> ds = xr.DataArray(
054         ...     [0, 1, 2], dims=["x"], coords={"x": [0, 1, 2]}, name="data"
055         ... ).to_dataset()
056         >>> dataset = NetCDFDataset(
057         ...     filepath="path/to/folder",
058         ...     save_args={"mode": "w"},
059         ... )
060         >>> dataset.save(ds)
UNEXPECTED EXCEPTION: DatasetError("Failed while saving data to data set NetCDFDataset(filepath=path/to/folder, load_args={}, protocol=file, save_args={'mode': w}).\n[Errno 13] Permission denied: '/home/runner/work/kedro-plugins/kedro-plugins/kedro-datasets/path/to/folder'")

It seems slightly separate from the code I've updated, and I'm not sure whether the runner is supposed to have permissions to add/modify random folders (i.e., presumably it is because path/to/ doesn't exist, and it is trying to create a path/to/folder?)
Would you be able to help me figure out how to resolve the test issue? Thanks!

@charlesbmi I'll have a look 🙂

@charlesbmi the doctest issue is now solved!

Thank you @merelcht ! I'll fix up my lint/test errors, and then I'll update the documentation / RELEASE.md this week

Fixed the rest of the tests and updated RELEASE.md, thanks for your help @merelcht !

Thanks! Updated, and tests are passing now 🎉 I appreciate your help

Thanks! Updated, and tests are passing now 🎉 I appreciate your help

You're welcome and thank you for your contribution! 😄 I've asked some other team members to review. We'll merge when we have 2 approvals.


Fire / smoke materials

How do I enable the fire / smoke terrain materials?

Unfortunately fire, smoke and simulated water are still being polished and are not yet released. I have added this to the README, thanks for catching, and we will update you as soon as we can.

No worries, thanks for the update. Let me know if I can help with anything.


thenReturnInOrder

https://github.com/shinayser/mocktailx/issues/5

Replaced pedantic (deprecated) with lints
Added thenReturnInOrder(List<T> answers) and thenAnswerInOrder(List<Answer<T>>)

Let me know what you think.

Amazing work here. Approved!


enable customisation of cpu and mem res for velero pod

Added changes to enable customization of cpu and memory requests and limits for the Velero pod
Updated readme for the same

task -Customize resource requests + limits

Added res allocation changes for restic pods as well.


Switch go MigLayout manager

Switch to a new layout manager called MigLayout (http://www.miglayout.com/). This should replace the current Swing implementation.

Idea is discarded. Instead a Table will be used


Leaderboard Website 🚀

Leaderboard
This PR outline the initial configuration and setup for the Leaderboard website Project🧰.

Used HTML to build the entire website structure 🔧.
Used CSS to style the layout of the leaderboard website 🖼
Setup webpack development environment 📁.
A README file with a project documentation 🧾.

Thank you 😺

@franclobo

Your "image.gif" actually got me laughing 🤣. This is my first time seeing something like this. 😃.

Thank you 👍.


Error when install

Have some problem with dependencies
Step 34/34 : RUN pipenv install --system --deploy --ignore-pipfile
---> Running in 1c49886075d9
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
self.repository.get_dependencies(ireq)
File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 174, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 222, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq, ignore_requires_python=True)
File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/req/req_set.py", line 644, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/req/req_install.py", line 435, in run_egg_info
call_subprocess(
File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/utils/init.py", line 705, in call_subprocess
raise InstallationError(
pip9.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/tmp3g_r4makbuild/cairocffi/

There're some errror with dependencies in Pipfile, you can downgrade it to version 0.6.
Add line cairocffi = "==0.6" to solve the problem.

Add line cairocffi = "==0.6" to solve the problem.

Using this still does not solve the issue for me. I still get following error:
_Step 32/34 : RUN python -V
---> Using cache
---> 32a26243b4d9
Step 33/34 : COPY Pipfile ./
---> Using cache
---> 7aeeb629939f
Step 34/34 : RUN pipenv install --system --deploy --ignore-pipfile
---> Running in 9435f0ce8413
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
self.repository.get_dependencies(ireq)
File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 174, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 222, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq, ignore_requires_python=True)
File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/req/req_set.py", line 644, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/req/req_install.py", line 435, in run_egg_info
call_subprocess(
File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/utils/init.py", line 705, in call_subprocess
raise InstallationError(
pip9.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/tmpxlthwqt0build/cairocffi/
The command '/bin/sh -c pipenv install --system --deploy --ignore-pipfile' returned a non-zero code: 1

Fixed in the last commit:
git pull
docker-compose up --build


How to automate this dropbox session?

The gem is working greatly but everytime to backup to dropbox show this, how to authorize automatically?
[2017/05/16 23:30:03][info] Creating a new session!
Visit the following URL to authorize your Dropbox App with Backup:
https://www.dropbox.com/1/oauth/authorize?oauth_token=cA1yRPcurFfnRnMq
Hit "Enter/Return" once you're authorized.

Maybe it can't access cache file (https://github.com/backup/backup/blob/master/lib/backup/storage/dropbox.rb#L155) check if you have r/w rights, and execution right in the parent folder to create .cache.
But check user permissions which is performing the backup.
In my case the path is ~/Backup/.cache/ (I didn't find any info if it's configurable or not) and inside there's a file which name is something resembling hash, and inside few entries like
- hash
- another_hash
- yet_another_hash

thank you @pawlik , so this is due the cache? ok!
well, every time that cron start the backup dropbox asks for the auth with different oauth_token.
so this is related to cache?

@dcalixto - Please note that Dropbox is dropping support for the Ruby gem and the API that it uses next month (issue #838).

@dcalixto I'm not 100% sure, but I would say this is the first place you should check.


Bump Dependencies #11652368952

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/11652368952

 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.


Converting jfr to flamegraph results in error

When I use the continuous async profiler the .jfr files are created correctly, but if I try to convert it to a flamegraph with this code:
AsyncProfilerLoader.executeConverter("jfr2flame", lastJfr.getAbsolutePath(), "/tmp/flamegraph.html");

even if the lastJfr path is correct /home/foo/awsome-project/logs/continuous/wall-2023-01-16_21:59:09.jfr
it always ends in error with this stack trace:
java.io.IOException: converter failed with exit code 1, stderr: Exception in thread "main" java.io.IOException: Incomplete JFR file
        at one.jfr.JfrReader.<init>(JfrReader.java:81)
        at one.converter.jfr2flame.main(jfr2flame.java:258), stdout:
        at one.profiler.AsyncProfilerLoader.executeCommand(AsyncProfilerLoader.java:494) ~[ap-loader-2.9-2-all.jar:2.9-2-all]
        at one.profiler.AsyncProfilerLoader.executeConverter(AsyncProfilerLoader.java:418) ~[ap-loader-2.9-2-all.jar:2.9-2-all]
        at foo.bar.AsyncProfilerController.displayLastProfilerFlamechart(AsyncProfilerController.java:65) ~[classes/:na]

I don't understand the problem, I'm using the same AsyncProfilerLoader that has been used to generate the JFR in the first place.
Do you manage to use the generated .jfr to produce a flamegraph?

Do you manage to use the generated .jfr to produce a flamegraph?

yes, but I'm using https://github.com/krzysztofslusarski/jvm-profiling-toolkit viewer.
Do you have that error on all JFR files, or just the newest one?

I have the same error on all JFR files, even the gzipped ones.
But what I was trying to achieve is to have in my Spring Boot web application a path to show the current profiler's output, it looks very very similar to what you have in the https://github.com/krzysztofslusarski/jvm-profiling-toolkit so I will give that a try.

Tentatively: Having the same issue, but will try and add more information the next couple of days.


[🚀for esl-utils]: extend ESLTraversingQuery with ability to restrict global scope

As an ESLTraversingQuery consumer, I want to have complete control over the search scope.
In the current state simple selector or selector base for the ESLTraversingQuery is assumed as a query to search in whole document e.g.:
ESLTraversingQuery.first('.class') === document.querySelector('.class')
ESLTraversingQuery.first('#simple .selector') === document.querySelector('.selector')
ESLTraversingQuery.first('.selector::next(div)') === ESLTraversingQuery.first('::next(div)', document.querySelector('.selector'));
See current ESLTraversingQuery behavior for details.
Requested to add optional scope third param to define the scope to find the global part of the query.
The scope should be equal document by default.
In addition, extend the base element with the ability to pass null in addition to undefined (with the same meaning). (To simplify cases when base element came from DOM API functions where indicates unexisting result)
Note: extend unit test accordingly.
API

ESLTraversingQuery.first(query: string, base?: Element | null, scope: Element | Document = document): Element | null;
ESLTraversingQuery.all(query: string, base?: Element | null, scope: Element | Document = document): Element[]

Test Cases | examples
Context:

        <button id="btn1" class="btn btn-1"></button>
        <button id="btn2" class="btn btn-2" data-test="prev"></button>
        <button id="btn3" class="btn btn-3"></button>
        <button id="btn4" class="btn btn-4"></button>
        <button id="btn5" class="btn btn-5" data-test="next"></button>

Hello!

Hello 2!

        <button id="btn6" class="btn btn-6" data-test="next"></button>

ESLTraversingQuery.first('#row1', undefined) // <div id="row1" ...
ESLTraversingQuery.first('#row1', null) // <div id="row1" ...
ESLTraversingQuery.first('#row1', null, $section) // <div id="row1" ...
ESLTraversingQuery.first('#row1', null, $row2) // null

:tada: This issue has been resolved in version 3.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.7.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.8.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


HTML viz updates

Description
Some changes to the HTML viz:

[x] add NS2B3 correct metadata
[x] add NS2B3 correct handling of chain A and B
[x] add NS2B3 correct depiction of all ligands in case of multi-SDF input
[x] add more key info as drop-down in HTML view
[x] add information about mutants on hover in HTML view

Developers certificate of origin

[x] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Codecov Report

Merging #680 (68d3e92) into main (ef9d0a4) will increase coverage by 4.49%.
Report is 5 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files

MVP of NS2B3 fitness view is done. Now I just need to go back and fix the broken subpocket view, because I had to make the 3DMol viewer chainID-dependent. I'll also extend the fitness view with some easy feature requests I get from P1/P2 feedback; will spawn issues for more advanced ones. Example view is here: https://a7e363c69a86a9f51702101656b2932994f870c5ddfeed52d1214bcaaacc.s3.amazonaws.com/fitness_ns2b3_demo/html_viz_fitness.html
Note that we're now baking in base64 images of logo plots, which makes the HTML files a bit heavier (5-10MB) but still as portable.

[ ] fix subpocket view by making it chainID-dependent
[ ] check other fitness targets (Mpro + Mac1) and fix any issues
[ ] check that all tests work
[ ] incorporate some light-weight feature requests for the fitness view

ready for a first review pass @hmacdope, I'll add some small tweaks to phrasing in the legend after getting feedback from Karla.
Note that there now are some gross workarounds in html_viz.py and fitness.py that deal with chain-dependent residue-index matching for the fitness view, I'm planning to remove this once I find the time to refactor this to do an automated alignment between the queried protein sequence and the queried DMS sequence.


Fix Deployment

Describe the bug
Fix the configuration of the deployment workflow.

git fetch origin
git checkout 128-fix-deployment


fix typos in documentation files

In this pull request, the following changes were made:

File raising-an-issue.md:

Fixed typo: corrected "equiped" to "equipped".
Updated link to TOC members, changing ../members-info/toc-members.md to ../member-info/toc-members.md.

File index.md (in project-reports directory):

Added "Whether" at the beginning of the first list item under "Project updates are:" for clarity.
Fixed numbering in "Instructions for Filing" section, changing "1." to "2." for logical sequencing.

@tkuhrt Accepted your comment and reverted the changes back. Thank you for the clarification !


WIP - RTByte 1.1.1

Do not review yet.

Ready for initial review @RTByte/developers.

Ready for final review @RTByte/developers.


Make Bit copy return self.

Summary
Overrides the default behavior of copy and deepcopy for Bit to return self for new-style bits.
Details and comments
We choose this behavior because Bits are immutable, and it allows us to deep-copy new-style bits while maintaining equality between the original and the copy. For old-style bits, we leave the behavior unchanged, since some existing code appears to depend on _register getting deep-copied.
Note that we now return self when shallow-copying old-style bits, which we can do safely since Bits themselves are immutable.
Resolves #10409.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 4 (75.0%)  changed or added relevant lines in 1 file are covered.
21 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.01%) to 85.998%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/bit.py
3
4
75.0%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
93.76%

crates/qasm2/src/lex.rs
2
90.63%

qiskit/extensions/quantum_initializer/squ.py
2
80.0%

crates/accelerate/src/sabre_swap/layer.rs
4
97.32%

crates/qasm2/src/parse.rs
12
97.11%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
71780

Relevant Lines:
83467

💛  - Coveralls

I've updated the description since the new behavior of deepcopy only applies to new-style bits.


order of data  with horizontal  barchart

Expected Behavior
When using isHorizontal(true) for a bar chart, I expect the first item in the dataset to be the first bar at the top, and the last item in the dataset to be the last bar at the bottom.
Current Behavior
Currently, when using isHorizontal(true) for a bar chart,  the first item in the dataset  is the last bar at the bottom, and the last item in the dataset is the  first bar at the top.
Screenshots:
I turned the letter bar chart demo into a horizontal chart on codepen: https://codepen.io/wykhuh/pen/VGGmXQ?editors=0010

Context
In order to use .isHorizontal(true), I currently have to manually reverse the order of the dataset in order for the first item of the dataset to be the first bar in the horizontal chart. It would be preferable if britechart would  put the first item at the top, or offer the option of putting the first item at the top or the  bottom.
Your Environment

Version used: 2.9.6
Browser Name and version: Chrome
Operating System and version:  Mac
codepen: https://codepen.io/wykhuh/pen/VGGmXQ?editors=0010

Hi @wykhuh thanks for filling an issue!
Good catch! Thanks for reporting this bug, it should work as you describe.
I am not sure if we can fix it right away or wait for the next major release, as this change would modify the aspect of charts currently running. We'll discuss it within the team and let you know.
Thanks again!

Hi there! I was checking the code and I come up with one way for implementing this. It relies on a boolean flag, for example: isReverse, to offer backwards compatibility. Having this flag, we can check later in the code if the user wants to reverse and then reverse the bars list.
What to modify?
In drawBars method, before check if isHorizontal(),  we can check if isReverse(), if so we can update bars to bars.reverse().
function drawBars() {
    let bars;

    if (isAnimated) {
        bars = svg.select('.chart-group').selectAll('.bar')
            .data(dataZeroed);

        if (isReverse) {
            bars = bars.reverse();
        }

        if (isHorizontal) {
            drawHorizontalBars(bars);
        } else {
            drawVerticalBars(bars);
        }

   ...
}

I also saw that we had a function called sortData, but not sure if works in this case.
@miglesiasEB  What do you think about that propsal? Does it make sense to move forward with it or do you have any other ideas?

Thanks a lot @ferreiro-eb!
The problem seems to be in this line: https://github.com/Golodhros/britecharts/blob/master/src/charts/bar.js#L443 as it seems we are starting to draw the bars at the bottom (D3 0,0 point is at the top left). We should start drawing in y = 0 instead, and take it from there...
I think we would be OK by fixing this directly without worrying about backward compatibility.

Has there been update to this issue? How can I reverse the order my data is being displayed in the bar without having to manually reorder the data itself?

Hi @mmainzer,
I think for now you can call .reverse() in your data before feeding it to your bar chart.


[BUG] GROUP BY function gives unhelpful error

SELECT CAST(Year AS VARCHAR) FROM $astronauts
GROUP BY CAST(Year AS VARCHAR)

returns
Field `None` does not exist.

fixed by allowing GROUPing by MAP and CAST functions


Allow object to register for pending API task updates.

The pending API task runner right now does not give any notification to the application when it is running or what it is running.
Use case: I am creating a chat application that has UI for when the chat message is sending to the API, when it fails, when it succeeds. Right now with Wendy, I create a pending API task model for the chat message but have no idea when it is running or done. I know the number of pending API tasks for the model it is working on, but that is (1) not accurate and (2) does not tell me when a task is running.
Maybe when a task runs, we have the PendingApiTask give us the model it represents and calls an interface function on it giving it a status update allowing it to change a value on it's model. Or, we change that model status value for it.

Done via https://github.com/curiosityio/Wendy/issues/6


Disambiguate config fromAbove and local defaults, pass to _setProperty.

Fixes bug in previous fix for #1839/#1854 where notifying properties would not notify during configuration
renames _setPropertyQuiet to _setProperty with quiet arg
renames _propertySet to _propertySetter for clarity

LGTM


k8s: Avoid printing warning when fast retries of CNP status updates fail

Only warn after the max number of fast retries fail as failures are normal while the resource is under heavy contention.

This change is

test-me-please

test-me-please

Rebased after merge conflict

test-me-please

test-me-please


Azurestack Aks admin commands

Azurestack AKS Admin commands - initial version

@bganapa - Could you please review?


Wont node

When i try to run the node i am receiving errors
Error: Cannot find module 'http-errors'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\Nathan\Desktop\Stopex\node_modules\loopback\node_modules\express\node_modules\send\index.js:15:19)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)

What version of npm are you using? If you're on >= 3.0.0 <= 3.4.0 you're probably getting bitten by https://github.com/npm/npm/pull/10338, so upgrade to at least 3.4.1.

That is what I had to do. Thanks !! Sorry I forgot to update to fixed got called into work. Great work on this program by the way!

On Apr 29, 2016, at 1:20 PM, Valeri Karpov<EMAIL_ADDRESS>wrote:
What version of npm are you using? If you're on >= 3.0.0 <= 3.4.0 you're probably getting bitten by npm/npm#10338, so upgrade to at least 3.4.1.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


feature i18n switcher

What type of PR is this?
/kind feature

What this PR does / why we need it:

add i18n translation use the WIP i18n-cli
add i18n switcher to switch lang between zh-CN and en-US

add prettier(for consistent code-style) and husky(which is use to config git hooks)

Which issue(s) this PR fixes:
None
Special notes for your reviewer:
The prettier will format a bunch of code, but no changes for code logic, it's no need to review the logic line by line.
Does this PR introduce a user-facing change?:

- add i18n for dashboard

cc @chouchongYHMing

/lgtm
/approve


SW-5905 Create HubSpot deal on application submit

When an application is submitted for review for the first time, create information
about it in HubSpot and update the project's details with a link to its HubSpot
deal.
The bulk of this change is to add integration with HubSpot's API. There are three
new server configuration options, and there is also a new authorization flow,
available in the admin UI, that authorizes terraware-server to connect to a
HubSpot account. The credentials from that authorization flow are stored in the
database since they aren't known in advance.
Instructions for configuring a dev environment to connect to a HubSpot sandbox
account are in docs/HUBSPOT.md.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2400  👈
#2399
#2398
main

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

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Sep 10, 11:44 AM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


Question: Predict circRNAs using multiple tools

Hi,
I have a question regarding predicting circRNAs using multiple tools (CIRI2, find_circ, DCC, etc.) using CIRIquant.
How am I supposed to do that using CIRIquant --circ and --tool options? I am not sure if I can insert multiple parameters there.
Thanks!

Hi @farzamani , CIRIquant does not support specifying multiple --circ and --tool parameters at the same time. However, you could merge these results into a bed file for the --bed option.


Try out swbreak+ here, instead of hwbreak+ in case gdb likes it more

https://github.com/cnlohr/ch32v003fun/blob/master/minichlink/microgdbstub.h#L224

They have identical outcome. Leaving it as hwbreak+


DTR install Step 2 edits

ewrote Step 2 of DTR Installation in response to issue #10002.

Deploy preview for docsdocker ready!
Built with commit 7d8626225fa0f85ad18d97e76d9703583ab3af3f
https://deploy-preview-10120--docsdocker.netlify.com


NixOS release lifecycle

Issue description
How do NixOS release lifecycle works?

See https://nixos.org/nixos/manual/index.html#ch-releases

I'm not sure what you're asking.  If it's about length of support, every six months we make a release (.03 and .09) and there's at least one month of overlap in the support (mainly backporting security fixes).  Very critical fixes usually get backported for longer time.

I'm asking about general NixOS release life cycle.
joachifm lead me towards some documentation, but I'm also interested in maintenance/security support time (at least one month after current release, like you said) and EOL of a release.
Asking because 18.09 (I'm on it) is open to recent intel flaws.

I posted that.  First line of 18.09 release notes: https://nixos.org/nixos/manual/release-notes.html#sec-release-18.09-highlights

End of support is planned for end of April 2019, handing over to 19.03.

I picked updates to latest Linux kernel to 18.09, as that's fairly easy and cheap, and perhaps the mitigations are critical to some.  I think this thread is answered now.


Dark mode

A dark mode is needed for all components.
Stencil

dark mode would quite double the size of css.
We need to define the strategy for that, does all components need to have a dark alternative?

Using CSS custom properties, this should be quite easy and only cost a new declaration block redefining some variables.
body {
    --background: white;
    --color: black;
}

.component {
    background: var(--background);
    border-color: currentColor;
    color: var(--color);
}

.is-dark {
    --background: black;
    --color: white;
}```

By setting main color scheme on body, you get it for free everywhere as a default. And by using a utility class to switch to dark theme, you'll be able to use it on a component, on an entire section, or even directly on body to globally use dark theme.

And being lazy would be good: ensure using `currentColor` everywhere color code should match font's color. Also keep in mind `var()` function gets a second argument for default value (could save time).

IMHO this is the best possible approach, but it's highly related to browser support: that means no dark mode for IE11…

I reply to myself on this: .browserlistrc mentions IE10 and some other browser which don't support CSS custom properties.
Might try the same way using inherit and currentColor keywords, but not quite sure that it would work everywhere…
Is the "for all components" thing serious? If it is, I guess that dark mode should probably not be component specific but application specific: making a whole Boosted dark mode.
I've done this before…

@PigeardSylvain FWIW, since v5 dropped IE11 support, my suggestion using custom properties should be fine :)

Discussions in Bootstrap are taking place in  #27514 with an interesting suggestion by mdo.

Discussions in Bootstrap are taking place in  #27514 with an interesting suggestion by mdo.

Bootstrap added dark variants to some components, noticeably carousel and dropdown. Don't think it's a safe way to, though.

Some useful ressources about the prefers-color-scheme media query:
https://opensource.com/article/21/10/dark-themes-websites
https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme

This should not be handled as a user preference since it's a branding choice. Supporting user choice is a great idea but dark mode (in that case) is not about users.


Add India data files

Add India data files from STOP;
Add India data files of ten cancers;
Add India data files of four new diseases (ischemic heart disease, ischemic stroke, intracerabral hemorrhage, subarachnoid hemorrhage);
Add relative risks of sodium on stomach cancer.

Just a note: it looks like intercerebralhemorrhage is also added in this change. The data seems to be present for India only.

Fixes #284


[mysql] Add index to report table (#6691)

<More descriptions here, or remove this line>

This PR is for:

 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.


Detect and fix issues with inconsistent sets of platform package versions

Summary
Various packages that ship as part of .NET releases. While older versions of these packages may work with newer .NET versions, we only test with consistent sets of package versions for a given .NET release and we require consistent sets of package versions be used to stay in support. This proposal is to provide tooling to detect when package versions are out of date for a give .NET version and to aid with updating package references to a consistent and updated set of versions.
Motivation and goals

Using older package versions with a new .NET version may result in functional issues and is not supported.
Updating package reference versions as part of upgrading a .NET project to a new .NET version is manual and error prone.

In scope

Checking if a project references a consistent and up to date set of package versions for the .NET platform
Updating package references to the correct versions

@danroth27  Upgrade-Assistant is already doing the upgrade to a minimum-version-that-works-with-targetTFM while upgrading a project to a specified target TFM using nuget APIs, is this design-proposal to provide an option to just upgrade packages without making a TFM change?

Hi @sunandabalu. This functionality would check the NuGet package packages given the current TFM to make sure they are updated and consistent to stay in support. I think this isn't necessarily the same as the min versions that work with the TFM.

Got it, likely this will also help with the customer requested feature of providing information when nuget packages are deprecated and recommendations on path forward.


Switch Gnosis Chain rpc, old one deprecated

https://developers.gnosischain.com/for-developers/developer-resources/update-rpc-url

Thank you! Merged


Branch add done feature

Closes #115

Codecov Report

Merging #133 into master will increase coverage by 0.95%.
The diff coverage is 75.00%.

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


filtering out default values on routes

filter out any situation where there are empty results in the route.
ex. a "get" array without a default value will leave a empty default route that redirects to url = null

My initial thoughts is the route creation process should be modified to prevent bad configurations vs the filtering approach.  Also, would be nice to unit test this edge case.


fix: #867 add user email return to silva application

add user email return to silva application refs: #867

Looks good, but a question, I am not sure if the "email" in the "read_attributes" also is needed to be in "write_attributes" (compare to previous "custom:idp_display_name", it is also in write_attributes).


[WIP] Refactor Mempool Management

Ok a lot of stuff in this PR.
The blocks.follow() function has been removed and replaced with:
 - The `blocks.catch_up()` function whose only role is to catch the last block.
 - The `follow.py` module which then takes over to follow the blockchain.

The follow.py module uses ZMQ to receive a notification for each transaction that enters the mempool and for each new block.
The follow.py module uses the mempool.py module to parse the mempool transactions in groups of 100 and to clean it with each new block.
The follow.py module, the blocks.catch_up() function (and also the kickstart) use the blocks.parse_new_block() function to parse the new blocks. Whatever the parsing method, this function must be used to add a new block.
blocks.parse_new_block() uses the new module deserialize.py (good candidate to be ported to Rust). This module is extracted from the kickstart to avoid a circular dependency and also to ensure that whatever the parsing method (catch_up, follow, kickstart) we always use the same deserializer.
It is also this function, and it alone, which is responsible for incrementing CURRENT_BLOCK_INDEX and managing the reorganization of the Blockchain.
The prefetch.py module is responsible for managing the block and transaction cache. It contains two functions get_decoded_block(block_index) and get_decoded_tx(tx_hash) which are used systematically in the code. This once again ensures that we use the same deserialization, the same cache, etc. everywhere.
The backend module has been completely refactored:

The __init__.py file is empty.
The bitcoind.py module contains functions to make RPC calls to Bitcoin Core
The addrindexrs.py module contains functions to make calls to Addrindexrs
(The addrindexrs.py module also contains functions to make RPC calls to bitcoind in batch. I left these functions here because they are only used by functions inside addrindexrs.py and that we can delete them too.)

I added a tx_hash field in the messages table. This field allows you to easily retrieve all events for a given transaction in order to save them (or delete them) from the mempool table. Along the way, I added a route /v2/transactions/<tx_hash>/events.
I need to update the doc and release notes and test it again but other than that I think it's finished.


db.close() issue when connecting to  MONGOLAB  URI

When I run the following code, with a local mongo instance, everything works.
var mongojs = require('mongojs');

// connect now, and worry about collections later
var connection = process.env.MONGOLAB_URI || 'mongoldb://localhost/test' ;

var db = mongojs(connection);
console.log("connection = " + connection);

var objcollection = db.collection("pets");

objcollection.find({}, function(err,docs) {
    console.log(docs);
    db.close();
    console.log("db.close() finished");
});

Output

connection = mongodb://localhost/test
docs printout fine
db.close() finished

When I run the same code, connecting to a MONGOLAB URI, I get

connection = heroku_user:heroku_passwd@ds035643.mongolab.com:35643/heroku_user
docs printout fine.
db.close() finished
/Users/jack/projects/kokowantsahome/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:247
throw err;
^
TypeError: undefined is not a function
at /Users/jack/projects/kokowantsahome/node_modules/mongojs/lib/database.js:66:12
at apply (/Users/jack/projects/kokowantsahome/node_modules/mongojs/node_modules/thunky/index.js:16:28)
at null._getServer (/Users/jack/projects/kokowantsahome/node_modules/mongojs/node_modules/thunky/index.js:27:3)
at Database.close (/Users/jack/projects/kokowantsahome/node_modules/mongojs/lib/database.js:64:8)
at /Users/jack/projects/kokowantsahome/try_mongojs.js:19:8
at /Users/jack/projects/kokowantsahome/node_modules/mongojs/lib/cursor.js:59:24
at handleCallback (/Users/jack/projects/kokowantsahome/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:244:5)
at setCursorDeadAndNotified (/Users/jack/projects/kokowantsahome/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:548:3)
at nextFunction (/Users/jack/projects/kokowantsahome/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:718:7)
at Cursor.next (/Users/ack/projects/kokowantsahome/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:749:3)

Also with the official mongodb driver, I don't see this issue

The find command itself seems to have executed fine, I get the error when I do the db.close().
of course, without a db.close() the script will just hang.

Discontinued use of mongojs and just stuck with the native (& officially supported) mongodb driver.

Open this issue again please, it's not only a problem with mongolab... The close method crashes and this should be fixed.


Add Finishing Printing Sales Contract Report

Coverage increased (+0.2%) to 64.473% when pulling 8450a61dafa988b537566b57e70603d113c0ab22 on achensetyawati:dev into 77afe44064610d6aee5fb93b9648e0cd30496ea9 on danliris:dev.


[SUP1-185] Org and account isolations

From SyncLinear.com | SUP1-185

@asdfryan assigning to you, as you will be working on the remainder of this, which is to check org id when calling /applications endpoints


When name missing in service json

Hi,
I encountered a bug on services, not really a bug actually it is more a missing error handler.
When name is missing, the log system and error handler doesn't catch it, and displays an error not really helpful about it : 'null' of flow 'login' -- action execution attributes were 'map[[empty]]'"
Related GG discussion https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/qN0VH9zzj14

Closed via #2516

This ticket was to maybe add a handler into the code in order to tell the user that the name was maybe missing into the config file

We could certainly consider that, but I tend to think that's more of a documentation issue; otherwise if you feel like you want to work on this by all means file a pull request any time.


Account discovery NOT working ANYMORE

Hi,
since Sonos removed the http:xxx:1400/status/accounts interface it's no longer possible to discover the connected music service accounts this way! (soco.music_services.accounts.Account)
How can you get them now ??

push

It seems like Sonos has totally removed the possibility of getting music service accounts for third party clients - see the meta issue #557. (AFAIK, it's because they worry about the security of account credentials.)
I know this is a huge issue, but apparently we can't do much about it at the moment. Any updates for the problem will be posted to #557.


[qt5] Update to 5.15.7

Testing build on CI...
Update instruction: https://github.com/microsoft/vcpkg/pull/24660#issuecomment-1124329485

Thanks!


create karan-palan.md

Notes for Reviewers
Attendance for newcomers meeting on 12 Sep, 2024
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 8759a7e3250d2b77623f4f5642705b39788ed815 at: https://66e2ef67784c340086738b3c--meshery-docs-preview.netlify.app


[Question] Data Organization of Processed Slices

(This is the following issue of https://github.com/JJGO/UniverSeg/issues/28)

I have another question about data storage organization of the processed slices.

In the supp., each task is defined as a quadra: (Dataset, modality, single axis (if it is 3D else 1 axis), label) and the hierarchical uniform sampling is applied in a five-stage approach: dataset -> subject group -> acquisition modality -> axis -> label.
Besides, there is another consideration about the organization of the mid and max slices.
(Also, is subject group the sample id?)

An intuitive method to store the data is to save them under paths like dataset_name/subject_name/modality_name/axis/label.
Given the consideration of the data splits, the paths are modified as dataset_name/split_name/... or split_name/dataset_name/....

However, LMDB is used in UniverSeg to help improve I/O throughput.
I am not familiar with the tool. How is it implemented? Is thunderpack an instantiation?
I would guess it save the images and labels in a giant folder and track them with a single index file.
Or can I implement it with tools like webdataset? But I deem it hard as webdataset only supports sequential reading well.

This could raise another question of the implementation of the hierarchical uniform sampling. As I think the data organization method would affect the implementation of the sampling and inappropriate designs could easily bottleneck the I/O throughput during training.

Thanks again for your time and I am looking for your advice!

Greetings. Thunderpack is a package that @JJGO wrote for insanely fast data-loading format when dealing with tons of individual files. https://github.com/JJGO/thunderpack. Let us know if you have any questions about it, it essentially is a way of construct KV stores that reduce the bottleneck from I/O.

Thanks for the speedy reply!


Update Timeline “2022-06-16t15-40-38-831z-campaign”

Automatically generated by Netlify CMS

👷 Deploy Preview for 4shame processing.

Name
Link

🔨 Latest commit
ebdc6d4895cc36ad5afeba8aaaac671c6d07c1f4

🔍 Latest deploy log
https://app.netlify.com/sites/4shame/deploys/6410aec079d4b40007682164


Remake MonthlyOperatingReport

After #101 is merged.

Covered under issue #128 (Create Operating Report)

When remade, attach Production and FileFolderURL

Requires creation of Revenue and Expense objects

Add array of object for Operations and Maintenance Event

Add array elements for PowerFactor, Curtailment

Add unit for kWhr per kWp, so that we can report capacity-normalized yield


Error while loading shared libraries: libgconf-2.so.4

I am getting an error on Fedora 28 when attempting to launch Trello. The error states "error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory."
I have attempted to run dnf provides libgconf-2.so.4 and have installed the missing dependency but I am still getting the error.

see #50


fix: set table name width to not hide icons when name is too long

SUMMARY
set table name width to not hide icons when name is too long
resolves: #13889
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

After:

TEST PLAN

ADDITIONAL INFORMATION

[x] Has associated issue:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@einatbar would you mind including a before and after screenshot?

@john-bodley Added to the PR description, thanks!

@amitmiran137 thanks for bashing again, but please let us know if the comments will be addressed. closing the pending PR for now 🙏


Ancestry composition

Hello,
I would appreciate your help with a question about ancestry composition.
Peddy assigns a single ancestry to each individual and gives the corresponding probability (which is the highest) for that prediction.
I was wondering if there is a way to know what are the probabilities for ancestries with lower probabilities for the same individual.
For example, if Peddy predicts for an individual an AMR ancestry with a probability of 0.7, can I know what is the prediction for the left 0.3?
My goal is to create a plot, based on that idea for example:

Thank you!

Hi, this could be done by not simply taking the max here: https://github.com/brentp/peddy/blob/master/peddy/pca.py#L82
I would accept a PR that reports the other probabilities.
The interpretation would not be the same as admixture, but might be informative as a proxy.


I am not able to view any course under Courses tab please help  #coursenotfound

hi @FaisalUmair can you help

Did u buy any course?

yes i have and when sometime i try to restart the application it is showing the courses, but still when i try to download it it is in the "Building the course data" i tried skipping the attachment in the settings but still no progress.


Integrating with OneDrive SDK 2.0.0

I'm having difficulty getting the OAuth Authentication for this example working with Version 2.0.0 of the OneDrive SDK.  Version 2.0.0 changed how the OneDriveClient is initialized.  This application references version 1.1.29.  Are there plans to update this example to use version 2.0.0 within the next few months?

@rgregg do you have any thoughts on when this example code would be updated to be compatible with version 2.0.0 of the OneDrive SDK?


Update steps related to the delegation and import guardduty detector

What

Update README.md with steps related to the AWS GuardDuty Module import into Delegated Admin Account.

Why

To make it easier for the user to use the module and the initial configuration of the service.

Pending for possible add-on to the module (k8s and malware protection) within the same PR.


Remove skiko.js from index.html to avoid downloading skiko twice

https://github.com/joreilly/StarWars/blob/c9db27f6ab3ba32f84c165af576be39e19285150/compose-web/src/wasmJsMain/resources/index.html#L6

ah, thanks.....same thing as happened in that other project!

That's updated now


Message Loss is occurring on the shared subscriptions

Environment

VerneMQ Version:1.12.4
OS: Debian
Erlang/OTP version (if building from source):
Cluster size/standalone: 3 nodes

Current Behavior
Our verneMQ is configured with webhooks for our custom ACL, but when the device is trying to publish some of the webhooks auth is failing with connection refusal and connection closed. The messages send by the MQTT clients are consumed using a shared subscription with consumer client configurations as the following
keepAlive : 60
QoSZero: true
The producer client configuration varies depending on how they have added the QoS level 0/1/2.

Expected behaviour
All the shared subscriptions should receive the data and able to consume it properly.
Configuration, logs, error output, etc.
# General Config
accept_eula = yes
allow_anonymous = off
allow_register_during_netsplit = on
allow_publish_during_netsplit = on
allow_subscribe_during_netsplit = on
allow_unsubscribe_during_netsplit = on
allow_multiple_sessions = off
max_client_id_size = 50
max_inflight_messages = 100000
max_online_messages = 100000
max_offline_messages = 100000
max_message_size = 65536
upgrade_outgoing_qos = off
listener.max_connections = infinity
listener.nr_of_acceptors = 1000
systree_enabled = on
systree_interval = 20000
shared_subscription_policy = random
log.console = file
log.console.level = info
log.console.file = /var/log/vernemq/console.log
log.error.file = /var/log/vernemq/error.log
log.syslog = off
log.crash = on
log.crash.file = /var/log/vernemq/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.crash.rotation = $D0
log.crash.rotation.keep = 5
nodename =<EMAIL_ADDRESS>erlang.async_threads = 512
erlang.max_ports = 10000000
erlang.process_limit = 10000000
erlang.distribution.port_range.minimum = 9100
erlang.distribution.port_range.maximum = 9109
erlang.schedulers.utilization_balancing = true
leveldb.maximum_memory.percent = 70
distributed_cookie = IOBSGt6kga6XEzOkwz57EmFTfGI7m6
vmq_webhooks.pool_max_connections = 50000
vmq_webhooks.pool_timeout = 10000
plugins.vmq_diversity = off
plugins.vmq_passwd = off
plugins.vmq_acl = off
plugins.vmq_webhooks = on
plugins.vmq_bridge = off

LOGS-
[error] <0.23049.3>@vmq_webhooks_plugin:call_endpoint:{739,13} calling endpoint failed due to closed
[error] <0.31265.10>@vmq_webhooks_plugin:call_endpoint:{739,13} calling endpoint failed due to econnrefused
[error] <0.2420.169>@vmq_queue:drain:{411,5} got unknown sync event in drain state {migrate,<19211.10175.320>}

Code of Conduct

[X] I agree to follow the VerneMQ's Code of Conduct

@Kirangopalan Thanks, a couple of quick notes:

To use the EULA-based binary packages (accept_eula = yes) in production, you need to pay a subscription. Contact us for more info. (https://vernemq.com/contact.html)
Your WebHooks endpoint seems to close its HTTP listener, or somewhat crashes. There's not much VerneMQ can do in that case. If this seems related to overwhelming your WebHooks endpoint, make sure you use caching in the WebHooks layer (https://docs.vernemq.com/plugin-development/webhookplugins#caching)
vmq_webhooks.pool_max_connections = 50000 looks too high. VerneMQ will run out of outgoing ports before you reach that number anyway (since your WebHooks endpoint is a single IP/Port). And the max_connections is even applied per hook, if I remember correctly. It looks like you want to enable some sort of concurrent peak requests by that. Enable caching might be more efficient (at least for PUBLISHs). For concurrent initial registers, look at the performance of your WebHook endpoint as well, and define a connection setup rate per second that you want to be able to handle. Then configure and optimise for that setup rate.
1.12.4 is from December 2021. Why not redeploy the most recent release?
You dubbed the issue as "message loss on shared subscriptions". This might be a consequence of the WebHooks not responding, of course. I have limited info (and limited free bandwidth to extrapolate/guess more info into it) to be helpful (and the pics posted do not seem to explain what you mean?).

Of course, feel free to ask for more details, if the points remain unclear. I'll update the list in case more ideas come up.

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

Hi @ioolkos,
Thank you for the prompt reply.
Sorry for any confusion while analyzing the stats. We observed a correlation between the spike timeframe and message loss. We have added caching for all MQTT states (onpublish, onsubscribe, onregister) in our webhook handler ACL microservice, with caching for all requests set to 86400 seconds (one day). Additionally, we have monitored the application health of the webhooks, and it seems to be handling all requests without abruptly closing connections.
We increased the max connection parameter to accommodate the traffic and mitigate connection refusal and connection closed errors in the VerneMQ broker.
We redeployed the same version to reverify the problem since testing and deployment of the latest version takes some time. Upon initiating the restart, we experienced almost four restarts on our 4-pod cluster. While analyzing the logs, we discovered the issue was hitting the system limit. However, we are unsure why it is hitting the system limit as we are running it on an instance with 4 CPUs and 16GB of memory.
[error] calling endpoint failed due to system_limit
2024-07-19T06:16:02.401758972Z 06:15:59.609 [warning] can't authenticate client *****

What are the possible reasons for hitting the system limit? Also, what do you recommend for the max_connections? Previously, it was configured as 10000.
Would configuring the Erlang VM offer any performance benefits for this problem?
Finally, how can we efficiently trace and debug the issue? Looking forward to your valuable insights.

This is a mix of generic and specific questions, but to be helpful I'd need to have more insights in the use case.
Please contact us as described above to look into the subscriptions and commercial support agreement.

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.


Update CI to run on python 3.9, drop 3.6

Fixed CI. For the very selfish reason of it looking ugly in my new hobby project 😆

Yeah, tbh I wasn't sure how to solve this. Just a quick google search on the problem wasn't enough.
I'm not sure if this is a great solution, since we do state we support python 3.6.
Did you also try having a look at what the problem with the py3.6 pipeline is?

OK, had a look. Replaced uses: actions/setup-python@v1  with uses: actions/setup-python@v2  did the trick.


The process stops abruptly

Even though the code is written to gracefully handle errors, the process will sometimes silently exit without a stack trace.

Running it with strace reveals a concerning message :
poll([{fd=10, events=POLLIN}], 1, 1000 <unfinished ...>) = ?
+++ killed by SIGPIPE +++

A few lines above, we have this :
poll([{fd=10, events=POLLIN}], 1, 1000) = 1 ([{fd=10, revents=POLLIN}])
poll([{fd=10, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=10, revents=POLLIN|POLLRDNORM}])
read(10, "\16\370\320\212,J \16\313N\331\252~P\204\347\214\"g\377tV\241\207\303\21P\311# \364\254"..., 15649) = 1368
read(10, 0x55eaf6330e20, 14281)         = -1 EAGAIN (Resource temporarily unavailable)

10 seems to be the file descriptor of the underlying cURL socket :
poll(NULL, 0, 4)                        = 0 (Timeout)
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 10
setsockopt(10, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(10, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(10, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
connect(10, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = -1 EINPROGRESS (Operation now in progress)

This would mean that Youtube closes the connection before the download is finished, or that youtube-d tries to read more data than what it's supposed to due to a range miscalculation or something like that.

Relevant issue : https://github.com/googleapis/google-cloud-cpp/issues/2654

Capturing and ignoring sigpipe seems to do the trick. The printf message doesn't get displayed, I suspect that it gets overwritten by one of the writeln("\r"... calls. But there has been no crashes since. Instead, it goes into timeout and the retry mechanism takes it up from there. I'll test it for a few more days to make sure that it works before merging.


Spaces in file path cause Python Exception

OS Paths should be enclosed in quotes to prevent the path breaking at spaces.
The test crashed repeatedly with messages like this:
$ ../../writing-a-c-compiler-tests/test_compiler --chapter 1 compiler_driver.py
======================================================================
FAIL: test_valid/multi_digit (test_framework.basic.TestChapter1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/c/Users/id1234/OneDrive - My Company Inc/apps/books/WritingACCompiler/writing-a-c-compiler-tests/test_framework/basic.py", line 563, in test_run
    self.compile_and_run(program)
  File "/mnt/c/Users/id1234/OneDrive - My Company Inc/apps/books/WritingACCompiler/writing-a-c-compiler-tests/test_framework/basic.py", line 345, in compile_and_run
    self.assertEqual(
AssertionError: compilation of /mnt/c/Users/id1234/OneDrive - My Company Inc/apps/books/WritingACCompiler/writing-a-c-compiler-tests/tests/chapter_1/valid/multi_digit.c failed with error:
gcc: fatal error: input file ‘/mnt/c/Users/id1234/OneDrive’ is the same as output file
compilation terminated.

======================================================================
FAIL: test_valid/newlines (test_framework.basic.TestChapter1)
----------------------------------------------------------------------

This may be a bug in your compiler driver, rather than the test script. What happens when you use driver.py to compile one of the test programs directly, without using the test script?

Hello and thanks for the quick reply.
My 1st pass of compiler_driver.py is quite crude and only works in the current directory.  So it is unlikely to trip up on a distance path parent having spaces.
Running from the executable directory.  The error is due to my lazy parsing of the input file name split("."):
$ ./compiler_driver.py ../../writing-a-c-compiler-tests/tests/chapter_1/valid/return_2.c
gcc: fatal error: output filename may not be empty

Running from the test file directory (the error is due to the compiler not existing yet):
$ ../../../../work/chap_01/compiler_driver.py return_2.c
Assembler messages:
Error: can't open return_2.s for reading: No such file or directory

Enjoying the book.  The hardcopy version arrives on Monday.

Thanks for replying, and glad to hear you're enjoying the book!
What happens when you pass it an absolute path? Like:
$ ./compiler_driver.py "/mnt/c/Users/id1234/OneDrive - My Company Inc/apps/books/WritingACCompiler/writing-a-c-compiler-tests/tests/chapter_1/valid/return_2.c"

Yes you are correct, the reported issue is in my compiler_driver.py code.  I suggested a fix to your code, that I had not implemented in my own code.  Even as we discussed it, it took me a while to see it.
Please close this issue as user error.  Thank you for your time.

Gotcha, thanks for confirming!


Azure Hyperledger Quickstart Guide

Hi @smichelotti i -
See attached for the Azure Hyperledger Quickstart guide.
Thanks,
Kevin

@keleffew : Thanks for your contribution to the Azure documentation! The author, @keleffew, has been notified to review your proposed change.

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.
It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We've closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions


fix: server setup script errors when missing semi-colon

We have logic that removes whitespace on scripts before evaluating. We should remove that, or use better minification if actually needed.

fixed in commit: d50b67f


Run perf continuously

Description
This PR changes SystemProfiler (which runs perf) to run in true continuous mode (like PyPerf & phpspy, and more to come, hopefully).
Continuous mode produces more accurate results because we don't miss anything - we're always sampling. Also, avoiding the re-starts of perf should yield better performance.
Supersedes https://github.com/Granulate/gprofiler/pull/103.
Based on https://github.com/Granulate/gprofiler/pull/89.
Motivation and Context
Performance & accuracy.
How Has This Been Tested?
T.B.A.
Basic sanity works.
I will decide on more elaborate tests & preferably add them to our test suite.
Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have updated the relevant documentation.
[ ] I have added tests for new logic.
[ ] Test performance effect - does it really help in benchmarks & do we see less perf in the flamegraph now :)
[ ] Complete all TODOs in code
[x] Time to get rid of the --profiling-interval option? With perf now being continuous, there's no sense in allowing duration != interval.

Time to get rid of the --profiling-interval option? With perf now being continuous, there's no sense in allowing duration != interval.

We have decided to get rid of it, in favor of true continuity.

Changes LGTM

I'll update the README


Possibility to pass a commit comment at the API

Is it possible to pass any commit comment at the API? Background: some customer wish to have a dedicated string appearing in the Change Details, for example an indication that the change came from a dedicated tool.

Currently, the API does not support adding commit messages to requests.


Sat symbol

Instead of writing "sat" use the sat symbol. There is also "the sat" in case we want to provide the user with more options.

https://github.com/joinmarket-webui/joinmarket-webui/pull/11 resolves this.


i18n: add polish translation

Summary
I'm a native polish speaker. I've added polish translation that matches the context.
Closing Issues
Closec #74
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Improvements to existing code, such as refactoring or optimizations (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@YasiOnFire Thank you for your interest in this. Someone else had already expressed interest in completing the Polish translation, and had already been assigned to the issue before your PR came in.

Yea I see they just copied my code.  :) Nice

@YasiOnFire Are you sure? I'll investigate either way.

100%. There is no apostrophe in general polish use, and i used it in {0}'s GitHub Activity -> Aktywność {0} na GitHub'ie as a mistake. Also some verbs are not translatable in polish and I've used the terms we use in our company daily, and they fit best.

@YasiOnFire That is about as convincing as it gets---unlikely two would put a stray apostrophe in the same place. Sorry that I didn't catch that sooner. I'll think about what makes sense for me to do about the other contributor.
For now, I'm reopening your PR, and removing the "duplicate" label.  If you want, you can update from main (it has a few additional translations since your original PR), and then fix the error.  I know it's not the same as if I had simply merged your PR first, but you'd at least be able to get the credit for the PR toward Hacktoberfest for the substantial work that you had done.

Sorry that I didn't catch that sooner.

No worries. I didn't mean to sound so salty, but this was just not a cool move from the other contributor.
Thank You for the response @cicirello

@YasiOnFire I definitely agree with you. Not at all cool.


Upgrade to python 3.11 and action version upgrade

What and why?
How to test?
Trello

/deploy robinm3


Large objects in serialized FileSystem

Not sure what yet
import gcsfs
import pickle

fs = gcsfs.GCSFileSystem(token="anon")
print(len(pickle.dumps(fs)))
files = fs.glob('anaconda-flights/data.parquet/data.parquet/part*')
print(len(pickle.dumps(fs)))

That outputs
2598
7132903

for me.
Looking into the cause.

It's GCSFS._listing_cache. I don't think that should necessarily be pickled.

Certainly should be dropped. Other things like .dircache are already dropped (in AbstractFileSystem)

Will do a PR quick.
On Mon, Oct 7, 2019 at 11:07 AM Martin Durant<EMAIL_ADDRESS>wrote:

Certainly should be dropped. Other things like .dircache are already
dropped (in AbstractFileSystem)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/gcsfs/issues/181?email_source=notifications&email_token=AAKAOIQN2R5CPINPTNPGJWTQNNNDPA5CNFSM4I6GPID2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQ5CBY#issuecomment-539087111,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKAOIV5HNTRNRVK57TLAWTQNNNDPANCNFSM4I6GPIDQ
.


Make sure that operations in pipes do not modify "original"/subject values via memory

Feature Request
Is your feature request related to a problem? Please describe.
This is related to a question I asked on StackOverflow. I did not find any similar issues, so sorry if this was in fact discussed erlier.
I want to do unit conversion for an array of objects that are stored in an BehaviorSubject. For that I am using a setup like this: (Angular 9, 3xjs 6.5.5).
private _sequences: BehaviorSubject<Sequence[]> = new BehaviorSubject(null);

public readonly sequences: Observable<Sequence[]> = combineLatest([this._sequences, this.unitService.preferredWeightUnit]).pipe(
    // This pipe is where all unit conversions for sequences is happening!
   // It should return a an array of objects similar to _sequences, except the units should be converted.

    // For every sequence, convert Price and inventory into the preferred display unit
    map(([sequences, preferredWeightUnit]) =>
      sequences?.map(sequence => this.convertSequenceUnits(sequence, "kg", preferredWeightUnit))
    )
  );

in "this.convertSequenceUnits" the only thing happening is some values are multplied by certain factors.
Generally the above works, but if you have a look at this stackblitz you will see that when subscribing and unsubscribing to the observable, the values are converted multiple times. The answer to the linked SO question suggests this is because the subject values are modified directly because the map function is applied to the arrays stored in the subjects - so through a reference in memory. I don't know if this is a bug but it was very unsuspected to me - I thought the subject's value could not be modified just by calling .pipe().
Describe the solution you'd like
In the linked SO question, the answer says deep-cloning the object/array that should be modified is enough to fix this, so what I am doing at the moment is a simple JSON.parse(JSON.stringify(obj)), but I think this is just wrong. I feel like the subject should never be modified except .next() is called on it (though I am for sure no expert in reactive programming or rxjs). I think rxjs should make sure that the values are not modified through array references. So the "bug" that rounding is done multiple times when subscribing to the piped subject should be fixed.
Describe alternatives you've considered
For me the only alternative is to manually deep-clone objects inside the pipe.
I hope I did not miss any important architektural decision that leads to this behavior. As I said I'm sure that you designed rxjs very carefully and well.
Thank you and have a great day!

Follow up question: If this behavior is in fact expected I would be interested in why there are cases where subjects can be modified "directly" and if there is a list of cases where this rule applies.

IMO, this is not the library's responsibility: https://github.com/ReactiveX/rxjs/issues/5398#issuecomment-616208179

Observable chain passes forward references to its emitted value so as explained above it is expected. For the following answer, any observable consumer should not expect observable contract will be honored as soon as trying to mutate values across subscriber chain.

why there are cases where subjects can be modified "directly"

I don't think this is true, for some primitive value it may possible to work like that but it's only cause those values are primitive doesn't affect by modification to reference. In any case, consumer should not rely on it.


fix: production story order

Summary
Type

Bug

Summarise concisely:
What is expected?
Story should be displayed in declaration order
The following changes where made:

Changes in preview.js

Can't resolve see https://github.com/storybookjs/storybook/issues/15574