Migration guide: NextJS to vite-plugin-ssr

Description
Would be nice with a guide / screencast detailing how to migrate an existing app from NextJS to vite-plugin-ssr. To lower the barrier to adoption. It would also give people a quick overview of the practical code/repo differences between the two.
Possibilities for example apps to migrate:

HelloWorld app (good since minimal, and for focusing on the framework differences instead of app specifics).
TodoMVC app: https://todomvc.com/
RealWorld app: https://github.com/gothinkster/realworld and https://github.com/reck1ess/next-realworld-example-app or the more recent https://github.com/Dima-Abramenko/next-layouts-realworld-example-app from https://github.com/gothinkster/realworld/discussions/1082

👍 I like idea of having a screencast and/or a single commit showcasing a migration.
Contribution welcome.

What is migration for getServerSideProps?
I'm using solid-ssr example, how can it be done in index page?

Contribution much welcome to write a migration guide.


scrolling zone is not working

Hi ! I am new fresh in react.

According to docs, I put the same code on my project, but if I want to trigger auto-scrolling still have to mouse over to the bottom or top of the container the first time.
I expected when closer to the top/bottom for 500px would trigger auto-scrolling immediately.
Has anyone had been same issues before? 🙏 Thanks

This should be fixed now. @apple890493  @azerum

Hi, I got the same issue. I upgraded to v.1.3.3 and it's solved. Thank's


v0.0.5rc

Codecov Report

Merging #44 (b1da1d1) into main (2c6d782) will increase coverage by 2.87%.
The diff coverage is 83.22%.

@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
+ Coverage   74.33%   77.20%   +2.87%
==========================================
  Files          36       38       +2
  Lines        1013     1154     +141
==========================================
+ Hits          753      891     +138
- Misses        260      263       +3

Flag
Coverage Δ

3.6
?

3.7
?

3.8
77.20% <83.22%> (+3.10%)
:arrow_up:

3.9
77.20% <83.22%> (+3.10%)
:arrow_up:

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

Impacted Files
Coverage Δ

oknlp/utils/keyword.py
76.84% <76.84%> (ø)

oknlp/utils/format_output.py
79.62% <83.87%> (+1.70%)
:arrow_up:

oknlp/algorithm/abc/batch_algorithm.py
86.20% <100.00%> (ø)

oknlp/algorithm/abc/batch_algorithm_client.py
87.62% <100.00%> (+0.67%)
:arrow_up:

oknlp/algorithm/cws/BaseCWS.py
83.33% <100.00%> (+3.33%)
:arrow_up:

oknlp/algorithm/cws/__init__.py
53.84% <100.00%> (ø)

oknlp/algorithm/cws/bert_cws/BertCWS.py
95.00% <100.00%> (+0.55%)
:arrow_up:

oknlp/algorithm/cws/thulac_cws/THUlacCWS.py
96.55% <100.00%> (+1.09%)
:arrow_up:

oknlp/algorithm/ner/bert_ner/BertNER.py
94.44% <100.00%> (+0.10%)
:arrow_up:

...rithm/postagging/bert_postagging/BertPosTagging.py
94.73% <100.00%> (+0.09%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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


[RFE] Allow kustomize --enable-helm equivalent functionality

This may not be feasible due to the way YAML is parsed by the plugin, but it would be great if the plugin could work "as if" you had called:
kustomize build --enable-alpha-plugins --enable-helm ./
this would allow kustomization of a helm chart functionality with PolicyGenerator.
of course, some may also consider this undesireable as well - but i thought it was worth asking !

Hi @eformat! Thanks for opening an issue! Would you please elaborate a bit more on this use-case? Are you requesting that, as part of providing a Kustomization manifest as an input, that plugins and Helm are enabled there as well?

hi @dhaiducek - yes exactly so - use Policy Generator -> kustomize manifests -> to call helm charts
my example use case is using PolicyGenerator to bootstrap Team Based ArgoCD's
https://github.com/eformat/acm-gitops-helm
but because   " --enable-helm" does not get passed on via PolicyGenrator .. i have two step the process for now.
make sense ?

@eformat I'll take this up with others on our team. I don't think we'd want it turned on by default, but I don't see why we couldn't raise a flag in the generator to pass to our Kustomize instance.

I've just entered a PR for our team to review. It lacks tests (though it works locally)--does this look like it'd meet requirements for your use case?

https://github.com/open-cluster-management-io/policy-generator-plugin/pull/109

@dhaiducek - yes it does. i just built your branch and tried it out on my repo. enabling this in the policy generator manifest:
    manifests:
      - path: helm-input/
        kustomizeOptions:
          enableAlphaPlugins: true
          enableHelm: true

worked like a charm ! and then enableHelm: false correctly gives the error
`: must specify --enable-helm
Error: failure in plugin configured via /tmp/kust-plugin-config-3212683469; exit status 1: exit status 1

thanks & great stuff 🎉

@eformat You probably noticed, but we opted for an env, POLICY_GEN_ENABLE_HELM="true" to enable Helm globally rather than per-generator. Thanks for raising this, and apologies for the rather slow resolution!

thanks @dhaiducek ! yes , all good - i will be able to stop carrying the patch now for this ! thanks a lot i use it all the time :)


General bignum trait

In my code (https://github.com/poanetwork/vdf), I found myself in need of a trait that included pretty much everything that could be asked of a bignum: conversions from various sized integers, bit setters, serialization and deserialization (both unsigned and 2’s complement), mutating arithmetic operations, etc.
Would such a trait be in the scope of this crate?

You are probably looking for something like PrimInt from num-traits crate.


[spaceship] Support manual app release

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

This PR adds support for appStoreVersionReleaseRequests, enabling fastlane users to release an app update that has been approved by Apple and for which the release type is set to manual release.
Description

The PR adds a new AppStoreVersionReleaseRequest model to the App Store Connect API interface and a dedicated create_app_store_version_release_request method in the AppStoreVersion model.
Testing Steps

I've written two unit tests to cover the new logic of the Connect API Tunes client and the expected API response. They can be run individually as follows:
bundle exec rspec ./spaceship/spec/connect_api/models/app_store_version_release_request_spec.rb
bundle exec rspec ./spaceship/spec/connect_api/tunes/tunes_client_spec.rb

@valerio-castelli Hey 👋 This is amazing! Can you sign the CLA so that we can get this merged in? 😊

Hi @joshdholtz, sure! The company I'm working for is currently reviewing the CLA, we should be good to go in a few hours 🙂
In the meantime, I took the occasion to test the code live with one of our apps and I confirm it works. 🎉

@valerio-castelli Heyyy! Just wanted to check in with you to see if you knew that status of the CLA 😇 I don’t want to rush it but I am working on getting a new build out tonight and wanted to include this if possible 😊

I'm sorry @joshdholtz, we're a bit late 🙁 Our legal team just gave the green light and we're now waiting to receive the CLA agreement from Google, which is going to be signed soon by our legal representative.
We hope everything will be signed by tomorrow, I'll keep you posted 🙏

❤ Thank you for the update!

@googlebot I signed it!

@googlebot I signed it!

I'm not sure if I have to do something else, as Google Bot doesn't seem to have picked up the CLA change. Since this is a corporate submission, what we did so far is:

Create a Google Group within our GSuite organization for open source contributions
Add my contributor email to that group
Ask our legal team to fill the details for the corporate CLA submission
Submit the signed CLA agreement
Reply to Google Bot that we signed the agreement

However, the status of the Google comment hasn't changed, and Google reports that they have no individual agreement on file for me. I'm troubleshooting this with our legal team 🤞

@googlebot I signed it!

@googlebot I fixed it.

@joshdholtz Sorry for the long wait, we're finally good to go. 🎉

@valerio-castelli Thank you!! So excited to have this released 😊

@valerio-castelli Does this change work for phased release as well? so when phased release has been chosen,  will calling post_app_store_version_release_request start the phased release? In addition, when phased release is in process, will calling post_app_store_version_release_request immediately phased release to all users?

@iliao58 That is a great question! I would assume so but I don't have anything in that state to know for sure 😔
@valerio-castelli Would you happen to know? 😇

@joshdholtz I haven't tested with this API yet, but I don't think it would work. By going through the source,
releaseToAllUsers: function() {
    return function(e, t) {
        var n = t(),
            r = Object(y.o)(n.storeVersions);
        e(Object(_.a)(g.nc, {
            providerOps: {
                versionId: r
            },
            attributes: {
                phasedReleaseState: v.b
            }
        }))
    }
}

it is patching the phasedReleaseState. Can you add support for this? Thanks.

@iliao58 Can do! You mind creating a discussion over at https://github.com/fastlane/fastlane/discussions for this? I’m not able to get to this right away but I’d love to track it and then report back to you there when its done 😊


Need to be able to do password reset by username

It would also be really good if you sent the username in the registration name.

@dmachi , is it easy to add user name in the password reset email?

Should be straight forward. I’ll add this into the p3-user changes we are working on.
Dustin

On Dec 7, 2017, at 11:52 AM, Maulik Shukla<EMAIL_ADDRESS>wrote:
@dmachi https://github.com/dmachi , is it easy to add user name in the password reset email?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1630#issuecomment-350027641, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobk7dzRni--WG8873AQivv4lW_Pecks5s-BfcgaJpZM4OzryQ.

https://github.com/PATRIC3/p3_web/pull/686


ERROR: Module initialization failed.

See image below, is there any suggested fix ?

You node can't talk to MySQL database.
If your MySQL running?

You node can't talk to MySQL database. If your MySQL running?

Yes, it's running


feat: Application Layouts

Feature Description
Every application needs at least one layout and Anglify should make it easy to create these responsive layouts.
If we leave everything up to the user, then the user has the most options with the use of CSS Grids. However, the user has to overcome various challenges, which sound easy, but are harder than expected. One of these challenges is the responsiveness.
Example: Let's assume the user wants to make a Navigation Drawer layout. The drawer should remain open on the left side on desktop devices and intentionally take up screen space and on mobile devices the drawer should appear as a model from the left side when a menu button is pressed.
How do we tackle that?

Create layout

<anglify-toolbar [elevation]="5">
  <ng-template slot="navigation">
    <button anglifyButton appearance="icon" (click)="drawer.toggle()">
      <anglify-icon icon="mdi-menu"></anglify-icon>
    </button>
  </ng-template>
</anglify-toolbar>
<anglify-nav-drawer [(ngModel)]="true" mode="standard"></anglify-nav-drawer>
<main>
  <!-- your content here -->
</main>

Add responsive layout

:host {
  display: grid;
  height: 100vh;
  grid-template-areas:
    'toolbar'
    'main';

  @include md {
    grid-auto-columns: auto 1fr;
    grid-template-areas:
      'drawer toolbar'
      'drawer main';
    grid-template-rows: auto 1fr;
  }

  anglify-nav-drawer {
    grid-area: drawer;
  }

  anglify-toolbar {
    grid-area: toolbar;
  }

  main {
    grid-area: main;
    overflow-y: auto;
  }
}

Problems

How do we tell the navigation drawer to switch from standard mode to modal mode?
What if the drawer should also be toggleable on desktop devices? If the user minimizes the window (for mobile mode), then the drawer must always be closed. When the window becomes large again (desktop mode), then the user setting should have been saved, that the drawer was closed on desktop devices.

Use Case
No response

@iCrawl I have briefly described the problem here, which I would like to discuss with you tomorrow.
In the featue/application-layouts branch you can see the example under http://localhost:4200/examples/layouts/base


use built-in OffsetDateTimeParam etc. for jsr310 types

Currently we emit an injection binder to allow JSR310 types as query/form/header params in annotated resource methods. dropwizard-jersey appears to support them natively, but via using ${Type}Param as the argument type.
I'm not a fan of those, but we could use them, and then "unwrap" them before passing them to the handler so the handler interface remains sane.

Issues:

The AbstractParam base class appears to throw a WebApplicationException with a hard-coded JSON response on error.  This precludes the possibility of someone using an ExceptionMapper in their service to return an error response that conforms to their openapi spec.
These *Param classes were only merged into the main DW code as of DW 1.0.  DW 0.7-0.9 can use dropwizard-java8 (which the newer code is based on), but of course they changed the package names when merging into mainline, so any solution will have to use guardrail modules to reflect the different package names.

@kelnos Was this resolved fully in #506, or is there still work to be done?

Should be done


Added: Turnitin webcrawler verifier.

https://www.turnitin.com/robot/crawlerinfo.html

Done in 2.0.0.


bug:  dropped blockchain events can lead to divergent network state

There is a race condition with the current implementation of the Engine which can lead to a divergent network state among nodes breaking the principle of eventual consistency. The problem goes like this:

At block 100, @alice changes her signer to 0xf00
At block 110, @alice changes her signer to 0xbar
Node A receives the signer change 0xf00 but not the one to 0xbar
Node B receives both signer changes
Alice broadcasts a new chain with a root set to 120, but accidentally signs it with 0xf00 (invalid root)
Node A accepts this message from Alice, but Node B rejects it
Later, Node A receives the signer change

At this point, Node A has one valid chain more than Node B and the nodes will never converge. This is a likely scenario since most blockchain event subscriptions are done over websockets, which do not have strong delivery guarantees and can drop events.
Proposed Solution
Since we cannot rely on websockets, we have to implement a polling mechanism to ensure that we collect events even if the websocket fails. A pseudo-code implementation of the polling algorithm with be:

Set lastPolledBlock to 0
Ask the ETH node for lastKnownBlock
Ask the ETH node for all events between lastPolledBlock and (lastKnownBlock - 3) (for safety)
Set lastPolledBlock to lastKnownBlock - 3
Repeat 2 - 4 as needed

We don't need to simulate this exactly, but we should assume that the engine may receive events out of order and so we should be able to handle that gracefully. There are two approaches:

Accept First, Reject later -- in this approach, the engine will accept any signed chain that appears valid, but when it receives a new event that might change the validity of a previous chain it re-examines all of them and drops invalid changes. This is simple to implement, but leads to more state reversal which can cause further complexity for clients and entities interacting with nodes.

Reject First, Accept Later -- in this approach, the engine keeps track of the lastPolledBlock and only accepts signed chains that are signed with blocks that are equal to or below this. This means that nodes will reject some number of messages if they are received too early. This slows down eventual consistency, but avoids state reversal meaning that it is very unlikely that a chain will be accepted and rejected in the future. The other downside of this approach is that it exposes the engine to more state.

Next Steps:

Decide which approach to take
Implement the logic in the addRoot and addSignerChange methods and write unit tests to cover these cases

the part about roots is no longer relevant, but the general problem still exists

Assigning this to myself, because it should be addressed in the signer set changes

This problem will be solved at the network layer by syncing ID Registry events between hubs. Validation of contract events can be done using the validateIDRegistryEvent method in the IDRegistryProvider if a hub uses a provider.

Closing this issue because it has been addressed via the SignerSet changes


full JSON parser?

I see the "pure grammar" example for JSON. I'm wondering if there's a fully functional version somewhere I missed or if you have one of your own.

Hi @elidoran
Define "fully functional"?
Do you mean that it outputs a JSON object?
There is such an example in the playground:

http://sap.github.io/chevrotain/playground/?example=JSON grammar and embedded semantics

But note that while this is a common use case for a JSON parser
This does not cover all use cases, for example: a JSON editor in an IDE may need to know the location
of each and every comma and semicolon for formatting purposes.
A more generic output format would be a Concrete Syntax Tree (CST).
See example:

http://sap.github.io/chevrotain/playground/?example=JSON grammar and CST output

If you take the JSON pure grammar example and enable CST output.

https://github.com/SAP/chevrotain/blob/master/docs/concrete_syntax_tree.md#how-to-enable-cst-output

You will have a fully functional parser which automatically creates a detailed output data structure
without having to manually add the semantic actions for the creation of that data structure.
This CST data structure can also be traversed using helper (CST Visitor)

https://github.com/SAP/chevrotain/blob/master/docs/concrete_syntax_tree.md#traversing-a-cst-structure

You can use one CST Visitor to output a JSON object, and another CST Visitor
to collect position information, ect...
Thus a single grammar can serve multiple purpose.

Yes, that is exactly what I meant. Thank you for taking the time to provide all this good information.
I thought I had seen the one in the playground before but I wasn't finding it because I didn't look in the playground.
Thank you


Accept DuelRequest embed question.

the "Accept DuelRequest embed"  still remains in the message even after the user accepts, how to remove?

NPM package ➤ discord-tictactoe@^3
discord.js ➤ v13.*
node.js ➤ v18.13.0
Module version ➤ v3.*

discord-tictactoe@^3 accept v18 version of node.js or only v16?

if discord-tictactoe@^3 is not compatible with the v18 version of node.js then maybe the bug of not deleting the "Accept DuelRequest embed" is that

Bugfix is now available in both versions 3.2.1 (discord.js v13) and 4.1.1 (discord.js v14).
Sorry for the inconvenience..
npm project page: https://www.npmjs.com/package/discord-tictactoe
Releases page: https://github.com/utarwyn/discord-tictactoe/releases


outlier detection: distinguish upstream from internal errors.

Today, the outlier detector doesn't distinguish between a 5xx from the backend or generated internally inside Envoy due to backend unreachability. We would like to be able to only eject hosts when they are unreachable, but not if they explicitly 5xx. Opening this issue to track.

@htuch, @ggreenway I can look at this issue.

@htuch. Would you mind explaining why

We would like to be able to only eject hosts when they are unreachable, but not if they explicitly 5xx. ?

outlierDetector has a specific handler for 5xx: https://github.com/envoyproxy/envoy/blob/master/source/common/upstream/outlier_detection_impl.cc#L70. This is called directly when upstream host returns 5xx.
But router also calls outlier detector with its internal code https://github.com/envoyproxy/envoy/blob/master/source/common/router/router.cc#L464-L466 which is mapped to 503 and eventually is handled by the same handler as for HTTP 5xx.
As you noted both cases are handled without distinction. What is exact logic you had in mind?

If the error comes from router.cc, then it should count towards outlier detection. If it comes from the backend, it should be ignored for this purpose.
The use case is when you only want to exclude those backends that have network connectivity issues, but where 5xx might be a normal part of their behavior that we don't want to be opinionated on.

@htuch Thanks, I assume that another handler for connectivity errors is needed plus configuration item, let us call it "consecutive_connection_failure", so you can distinguish those two cases and switch them on/off separately, correct?

@htuch @cpakulski the intention is to make this change configurable, right? I can see a scenario in which the user wants to configure this but I also think that the current behavior is a more sensible default for the way most users intend to use outlier detection?

@htuch @mattklein123 I am implementing it by adding counters and config items parallel to consecutive5xx. They will be called consecutive_conn_failure..... The defaults will be as for 5xx. It means that if a user uses just defaults there will be no difference in outlier detector's behavior. After several consecutive attempts to connect, a host will be ejected. Just different statistics counter will be incremented. However, by changing "enforcing..." config item, it will be possible to shut down one detection mechanism and leave other one active.

@cpakulski SGTM

Work in progress.

@mattklein123 Sorry to tag you on a really old comment of yours

I can see a scenario in which the user wants to configure this but I also think that the current behavior is a more sensible default for the way most users intend to use outlier detection?

This is more of question on this comment. Let us say Client -> Service A and Service A calls multiple services B,C,D in one particular flow.  One of the service among B,C,D returns 5xx. A returns 5xx back to client. If we configure default outlier detection with consecutive 5xx, Client sees Service A being ejected though Service A is actually healthy and can process other flows.  I think the above scenario is quite common and local origin errors makes more sense here so that A is not ejected from Client.  Want to capture your thoughts on is there any better way to configure outlier detector other than using local origin errors here and if there is no other way - is n't local origin error a better default ?

From my perspective, if A is failing because B/C/D are failing, it is still failing. It's irrelevant to the client whether service A itself is failing or its dependencies are failing. Personally, I would keep it simple and just eject A and let the max ejection % kick in to avoid ejecting too many hosts.

Thank you @mattklein123


start keeping changelog and include in app

Now that we are close to the initial release, we need to start keeping a proper changelog. We should also embed this in the app so that users can easily see what has changed when they receive an update.

Up to now, the changelog has been kept at https://github.com/pybricks/support/issues/48


plusone fix

Thanks!

I’ve just notices that you’ve updated the docs instead of the actual code 😭

How did you test it? The URL is the same as for the popup.


esp32c6: fix compilation when enable mbedTLS in apps

This PR is doing same than https://github.com/espressif/esp-hal-3rdparty/pull/2 but when we are using ESP32C6

Merged into https://github.com/espressif/esp-hal-3rdparty/commit/26d4d1b57d54b63384b4e466b9e644ff0fe702b5


We need this mutation to ensure that both Unix and Windows paths resolves the same

Description:
The current implementation of the get_all_folders function potentially leads to inconsistent behavior due to differing path separators on different operating systems. To ensure consistent results and portability, it's important to handle path separators in a platform-independent manner.
Proposed Solution:
Refactor the code to utilize Rust's built-in path handling capabilities using the std::path::Path and std::path::PathBuf types. This will allow the function to automatically manage path separators according to the operating system, resulting in more predictable and reliable behavior.
I opened a pull request https://github.com/pnpm/pacquet/pull/59

This edge case is already handled properly.


However, when I pass a null value for a certain key into storeToRefs, it will throw an error.

Reproduction

Steps to reproduce the bug
In the function definition within the file "pinia/packages/pinia/src/storeToRefs.ts", if the property value of the object rawStore obtained from const rawStore = toRaw(store) might be null, an error will occur.

Expected behavior
When the final computed value of rawStore is { projectId: null, name: null }, the program can execute normally.
Actual behavior

Additional information
No response

This simply sounds like wrong usage but you didn’t provide a repro like asked… open a discussion for help or use the discord, please

To help others who might have this issue. This comes from code like this:
export const useStore = defineStore('counter', () => {
  let thing = null

  return { thing }
})

This should be changed to
export const useStore = defineStore('counter', () => {
  let thing = ref(null)

  return { thing }
})

Otherwise, things don't work: the thing variable used inside of the store is different from the one exposed through useStore().thing. This is worth adding as an aslant rule.


Items of type conference paper are not added to Notion database

Hi Dvanoni,
First of all, thanks for this great tool.
There seems to be an issue synchronizing items of the type "conference paper" to the notion database. I have to manually add the notion tag for it to work. Journal paper type, on the contrary, works just fine.

Hi @kanz76, thanks for reaching out!
Can you share more details about the cases in which the conference paper items do and do not sync? If you modify a conference paper item in some other way (i.e. not adding the notion tag), does that trigger a sync?
Also, are all of the items in question in one of your monitored collections (the ones you've enabled sync for in Notero Preferences)?

Here's an example of a conference paper https://openreview.net/forum?id=YWNAX0caEjI
When I add it to my collection (using the Zotero connector Chrome extension), the notion tag is not attached to it, and, therefore, does get added to my Notion database.
However, the following 2 workarounds seem to trigger a sync.

Manually adding the notion tag triggers a sync with my Notion database.
Changing the item type from Conference paper to, say, Journal paper, automatically adds the notion tag, which triggers a sync.

And yes, all the items in question are in my monitor collection.

I just tried saving that paper to my Zotero library using the connector, and it successfully synced to Notion. 🤔
I wonder if there's another Zotero plugin that's somehow conflicting with Notero. Would you mind sharing the plugins you have installed in Zotero? If you try disabling the rest of them, does that have any impact?
Also, would you mind capturing a screenshot of the Zotero logs by opening the Error Console from the Tools > Developer menu? If you open the Error Console first, click the Clear button at the top, and then import a paper using the connector, we should hopefully be able to get some insight as to what's happening.

I got a fresh install of Zotero today. Here are the pluggings

Here's the Console log when I add a paper using zotero connector

Hmm interesting. Is Zotero downloading the PDF of the paper for you? It's downloading it for me, so I see two messages with add item (one for the item and one for the PDF attachment). But even if it wasn't downloading the PDF, I would still expect the first add item to end up triggering a sync.
When you import a journal paper, does Zotero download the PDF?
For reference, here's what I see on my side. I've annotated the log lines with what they mean.

I'm a bit stumped on this one. I'm not sure what's preventing the usual sync process from happening for just this one type of item...

No, I'm not downloading PDFs, I download PDFs later on my computer when I am about to read.
For instance, with the link I shared with you (https://openreview.net/forum?id=YWNAX0caEjI), I'm saving to zotero connector the very page on which I'm landing, without further clicking on the PDF icon next to the paper title.
So I am doing this

Instead of this

The reason why I am doing this is because the PDF approach does not have complete metadata to generate accurate citations.
That said, the PDF approach triggers a synch and gets saved to my Notion database because it is automatically saved as a Journal paper, instead of a Conference paper.

Thanks for that additional information! I was able to reproduce the issue by disabling the "Automatically attach associated PDFs and other files when saving items" option in the Zotero preferences.
I'll dig into this further and see if I can determine what's preventing the sync from occurring. In the meantime, you should be able to manually trigger the sync by right-clicking on either an item or a collection and selecting the "Sync to Notion" option.

Hi @kanz76, I finally got around to digging into this, and I just released a fix in the latest version (0.5.13). Check out PR #453 if you're interested in the details.
Thanks again for reporting this issue!


Migrations: Cleanup SQL generation

Resolves #1559
This promotes SqlGenerator to a relational data store service.

:shipit:


Added a DLC loader.

Basically the mod menu, separated from the TARGET_MOD.

not the way it's going to be implemented


d3-color library security issue

The latest version of c3 uses d3 (^5.8.0) as a dependency, and d3 has a dependency for d3-color.
This d3-color library is exposed to the following security issue,
https://snyk.io/vuln/SNYK-JS-D3COLOR-1076592
It would be great if we can get that issue fixed by updating the d3 dependency.

C3 version:  0.7.20
D3 version: 5.16.0

c3 was last updated in August 2020, over two years ago.
c3 has a dependency on d3, version constraint ^5.8.0.
There has been two major releases of d3 since this dependency was last updated (current d3 version is 7.6.1).
Is the c3 package still under maintenance?
Packages with npm audit security vulnerabilities are not acceptable as dependencies for our products, so I really hope you'll invest in updating d3 to latest version.

Same issue with d3-color vulnerability. Any update on when c3 will be updated with latest d3 version 7.6.1 to resolve d30color security vulnerability issue?

Can we get any update on this. We are also using C3 library in our product and facing this issue. Please help us to resolve the issue.

I recommend doing what I did: Replace c3 with billboard. js.
billboard.js is a fork of c3 that is under proper maintenance.
Migration is very simple, there's a guide describing the required few steps.

I fixed this in my project by adding an override in package.json. It did not have any negative impact on my charts.
"overrides": {
"d3-color": "3.1.0"
}


Question: is it possible to add dependant resources programatically, instead of using annotations?

Hi!
I am implementing an operator, and depending on the spec, operator should install some other CRD's, but the number is not known until receiving the CR.
I couldn't see anything like this programatically (it is possible through @Dependent annotation in the Reconciler though.
Thanks very much!

Do I understand correctly that dependending on the contents of a CR (Custom Resource) you want to install CRD's (Custom Resource Definitions) ?
This is not possible in the current version of managed dependent resources. (Will be in the followup interations). But basically this dynamic nature does not fit that much into concept. But you can do it either with standalone dependent resources. Or just manully implementing the logic. Somthing like this:

private KubernetesClient client;

@Override
  public UpdateControl<MyResource> reconcile(MyResource resource, Context<MyResource> context)
      throws Exception {

if (resource.getSpec().crdIdsToInstall().contain("myCrdId1"))
   client.kubernetesClient.apiextensions().v1().customResourceDefinitions().create(myCrd1())
}

if (resource.getSpec().crdIdsToInstall().contain("myCrdId2"))
   client.kubernetesClient.apiextensions().v1().customResourceDefinitions().create(myCrd2())
}

Of course you might optimize it to not install if already installed -  check standalone dependent resource, and how those can help with that (from framework version 3.0 (now RC)): https://javaoperatorsdk.io/docs/dependent-resources#standalone-dependent-resources

Hi, not sure I understand what you want to achieve.  Do you want to reconcile when the managed CRD is changed, or?
Pls see also glossary about dependent resource vs secondary resource: https://javaoperatorsdk.io/docs/glossary

welcome, pls let us know, if something is not clear, maybe how to improve it more in the docs. thx!

Thanks to your support! I have to debug and check how dependent and events go to the primary reconcile.

Hi again @csviri ! Is it possible to have a KubernetesDependentResource that is a CustomResource at the same time? I would like to have the possibility of creating a custom resource without using the "parent root" custom resource I have.

Hi @juangon , not sure if I understand the question correctly, but you can use custom resources as the resources managed by the KubernetesDependentResource.  I am sorry, have another one: is it  dr.setLabelSelector (https://github.com/java-operator-sdk/java-operator-sdk/blob/d804ee17c503f99bfea3a3ee5a6f9fe6d0dd7f01/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageStandaloneDependentsReconciler.java#L88) adding a label to those dependent resources so the Reconciler then can check if those dependent are available or not?

It's basically just filtering, so only relevant resources are considered.
To explicitly check if resource exists, use "getSecondaryResource", it returns an Optional. if that empty it does not exists.
https://github.com/java-operator-sdk/java-operator-sdk/blob/80195c9e905954b277ed376f7385e667fa4c8a12/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/ResourceOwner.java#L25-L25
But the reconcile method checks this in background.
Note that there is now an update (more might be come before the release) for that:
https://github.com/java-operator-sdk/java-operator-sdk/pull/1217

Ok thanks a lot!! Could I create programatically dependent resources in initContext method instead of constructor like this example? https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageStandaloneDependentsReconciler.java#L79-L90 . I won't know which dependent resources will be until checking the root CustomResource (webPage in this case).

That is basically not what you want, event if you might want to have different dependent resource created for a custom resource than for an other, the event source are global and the possible dependent resources are known upfront. So you want to defined all the dependent resources upfront, but you might not want to reconcile all of the for a custom resource instance.(however might be for an other instance).

Ok so in order to choose which one I have to reconcile them or not, but have to define all the possible dependants in advance. I think I got it. Thanks again :-)

BTW @csviri can I use the code before this fix https://github.com/java-operator-sdk/java-operator-sdk/pull/1217/files ? So, the code existing before that works fine, or should I wait until the new version with that fix?

Yes, its basically just fix in usage, not in the implementation itself in the framework.


Upgrade Karpenter to v0.37.0

Proposed change:

Upgrade Karpenter to v0.37.0

This upgrade will help us leverage the latest bug fixes and improvements made in Karpenter v0.37.0.

hi @kuppuswamy - could you please elaborate on the ask here? The construct defaults to installing the latest version of Karpenter unless you specify otherwise, see example here

hi @kuppuswamy - could you please elaborate on the ask here? The construct defaults to installing the latest version of Karpenter unless you specify otherwise, see example here

There is a slight difference in the cloudformation.yaml files of v0.32.0 and v0.37.0. And hence this issue.
Diff: https://www.diffchecker.com/4RlTWae4/


use-caps-for-id: try

Have a weaker form of 0x20 that registers if an upstream authoritative can handle dns-0x20 on first contact.

When will that first contact value timeout / be forgotten?
Sort of related: use-caps-for-id: !dnssec
(previously I've seen some issues with inline-signers together with 0x20)


Refactor how jobs are handed out

About the PR
Adds support for multiple stations, and for stations to customize their job loadout.
Screenshots

Changelog

add: Nanotrasen finally has a proper crew management system, allowing them to control the number of crew members on a per station basis.
add: Nanotrasen's crew management now supports multiple stations in the same sector.

RFoot moment (Test failures match master.)


Add files via upload

Congratulations on making a pull request!
Please make sure you check all the items.

[x] The numbering of the company that you added starts with 1.
[x] You have increased the Total Companies Added count.

added new companies polygon technology,coinbase and shopify


Crash with bow enchants

Was messing with some of the bow enchants earlier and I had infused experience into the bow. I went to fire and blam client crash.
Was using the Draconic Evolution Draconic bow.
Crash report here
http://pastebin.com/7bLDu7fC

disable piercing enchant for now I know what happened I'll fix when done

There also seems to be a problem with the Flaming enchant.  I applied only that to my bow and got kicked off the server and now the server is spamming
ASM: HxCKDMS.HxCEnchants.Handlers.ArrowEventHandler@10b51d72 arrowInAir(Lnet/minecraftforge/event/entity/EntityEvent;)V
Shortly after the server shutdown with a crash http://pastebin.com/fGg4jbLD

Ummm
Don't use that enchant with draconic evolution....

Gonna see if I can set a MAX level for it .... because Draconic evolution Doubles/Triples the level of an enchant... Getting too high on that enchant = 19x19 area of fire every tick...

disable the enchant to remove the fire from world if ti still crashes

I'm using the Dark plate chest from Ender IO. The charge meter when it's been infused is behaving erratically. I'm putting in like many levels of xp and it will display like 1350 charge in the tool-tip. then do something and it will read "charge -5" No other armor piece is doing it; only the Ender IO Chest. The legs, boots, and head are all behaving normally.
Also the Draconic Evolution Wyvern sword doesn't even show the xp charge in its tooltip. Not sure why that is. Other swords like the Ender IO "The Ender" are showing the charge amount correctly in their tool-tip.
Secondly it's not a major issue but I keep getting server messages
[12:32:41] [Server thread/INFO] [STDOUT]: [HxCKDMS.HxCEnchants.Handlers.EnchantHandlers:handleBootEnchant:130]: {421=4, 8=1, 153=3}
[12:32:42] [Server thread/INFO] [STDOUT]: [HxCKDMS.HxCEnchants.Handlers.EnchantHandlers:handleBootEnchant:130]: {421=4, 8=1, 153=3}
[12:32:42] [Server thread/INFO] [STDOUT]: [HxCKDMS.HxCEnchants.Handlers.EnchantHandlers:handleBootEnchant:130]: {421=4, 8=1, 153=3}
[12:32:43] [Server thread/INFO] [STDOUT]: [HxCKDMS.HxCEnchants.Handlers.EnchantHandlers:handleBootEnchant:130]: {421=4, 8=1, 153=3}
[12:32:43] [Server thread/INFO] [STDOUT]: [HxCKDMS.HxCEnchants.Handlers.EnchantHandlers:handleBootEnchant:130]: {421=4, 8=1, 153=3}
[12:32:44] [Server thread/INFO] [STDOUT]: [HxCKDMS.HxCEnchants.Handlers.EnchantHandlers:handleBootEnchant:130]: {421=4, 8=1, 153=3}
[12:32:44] [Server thread/INFO] [STDOUT]: [HxCKDMS.HxCEnchants.Handlers.EnchantHandlers:handleBootEnchant:130]: {421=4, 8=1, 153=3}
The only HXC Enchants enchantment I have on my boots is Regen IV.
Hmmm enchanting+ used to work flawlessly with your mod. I wish there was some way of getting them to both work perfectly together or at least more harmoniously.

Hmmm...

Sorry I left some debug code xD

Some mod items don't like having unknown data put on them... ? IDK what to entirely do to fix that if I can..

http://game.kappador.com:5050 Jenkins to grab latest builds

I added a config option to not even register the keybinds to the game also the same goes for all my enchants if you disable they don't register

Draconic Evolution Wyvern sword doesn't even show the xp charge in its tooltip. < Can't be fixed Draconic Evolution overrides the tooltip method and clears and adds its own tooltip
I can add a command to check the charge??? or on screen display (if I figure out gui code :)

EnderIO Chestplate Draining Charge to -5 every time it's filled
Has a chance to be my fault I'll have to do some testing

Hmmm enchanting+ used to work flawlessly with your mod. I wish there was some way of getting them to both work perfectly together or at least more harmoniously.
I broke compat by breaking away from vanilla code, I'll re-instate compatability when I recode enchanting plus

Also Plazia What's your ingame name I wanna add you to HxCSupport list :D

9ae538d0-32ee-41cd-b39d-fdab46521290 Your UUID I'll add it to the list just lemme know if you want to have [HxC Support] beside your name in game

@plazia hello?

in game name is plazia and thanks. I've been trying your latest release and no such problems with the keybindings now. Also seems you've sorted out Enchanting+. Thanks very much.

:D so would you let me add you to HxCSupporters list?  If I find any more bugs of interest I shall report them to you with haste. :)


[PROPOSAL] Move user/pass to config file instead of command line argument.

Would be nice to be able to place the user and pass in a formatted (JSON|YAML|Plain Text) file that would be pulled in on script run, instead of having to enter them as command line arguments.

@dschaper added feature to cache the credentials in file name "credentials" under the same directory where "udemy-dl.py" is. try it and let me know if you face some problem.
POC for caching credentials:

POC for using cached credentials

Looks great! Thanks, this does lead to another feature that may be something to look at, and that's a config file that would allow users to set all the flags once, user/pass and resolution requested with the download anyways.
{
  "username": "<>",
  "password": "<>",
  "resolution": "<>",
  "forcedownload": "true/false"
}

Maybe JSON isn't the best for that kind of configuration, but something along those lines. Then all you'd need on the CLI would be the URL to the course.

@dschaper updated feature of caching credentials. the force download or allow default resolution option is set to True by default. now you just need to edit configuration file.


client: serialize LocalDate as 2009-01-01 (FINERACT-1234)

FINERACT-1234

What we really should do is FIRST merge #1453 (when green), then rebase this - to make sure no broken build.

/rebase

This PR "includes" #1452. You can already review it by just looking at the 2nd commit only.

This PR "includes" #1452. You can already review it by just looking at the 2nd commit only.

@ptuomola @vidakovic build now passed, this is ready for review (note comment above).

@ptuomola @vidakovic build now passed, this is ready for review (note comment above).

/rebase

@ptuomola @vidakovic so this one would be next in my... "streak" :smile: Does this LGTY? (Whenever you get to it - no stress.)


Not working on linux

Hi,
I've just tried running sablon on a linux server, however, the output document is empty - on OSX it works. "Sadly", the tests seem to run without errors, except one skip:
/usr/local/rvm/rubies/ruby-2.1.0/bin/ruby -I"lib:test" -I"/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib" "/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/content_test.rb" "test/context_test.rb" "test/executable_test.rb" "test/expression_test.rb" "test/mail_merge_parser_test.rb" "test/processor_test.rb" "test/sablon_test.rb" "test/section_properties_test.rb"
Run options: --seed 24583

# Running:

.....................................S........

Finished in 2.269466s, 20.2691 runs/s, 24.6754 assertions/s.

46 runs, 56 assertions, 0 failures, 0 errors, 1 skips

You have skipped tests. Run with --verbose for details.

The verbose command doesnt seem to work, i'll try again later. I realize it's trouble to work out the problem, but do you have any pointers where to look?
ruby 2.1.0
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux
nokogiri-<IP_ADDRESS>
2.1.0 :004 > Nokogiri::VersionInfo.instance.loaded_parser_version
=> "2.9.2"
2.1.0 :005 > Nokogiri::VersionInfo.instance.compiled_parser_version
=> "2.9.2"

@cboe I assume it has to do with your server environment. We are running sablon on CentOS servers in production and so far we had no issues.
I'm a bit confused that the tests are passing on the server, this basically means that it does not generate empty documents in all scenarios. You can try to run the example from the executable_test.rb on the command line and verify the output.

The problem was a permission issue on the server, so if anyone else gets 0 byte files, you might want to check that. Thanks!

@cboe to help further readers would you mind to go into a little bit more detail about the issue? Where was the permission issue? On the input file? The output directory? The installed gem? The template?

It actually wasn't permissions, we had
config.action_dispatch.x_sendfile_header = "X-Sendfile"

set in environments/production.rb, using nginx it should have been
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'

so, totally unrelated :)

@cboe gotcha. Thanks for the heads up.


Fixes, I think, coverity issues 1379288

I'm definitely not 100% sure on this fix, but the code is definitely wrong. @zizhong can you review please?

I believe this would be correct, but I would like @zizhong to look at it.

looks good to me. Thanks @zwoop for catching this.
Reviewed my commit https://github.com/apache/trafficserver/pull/1990/commits/8be79013886996f6119141672023c9b87c1f90ce again. This fix is definitely right.

A better fix would have bool is_ent_good = ent && ent->good; at the beginning of the function since this is used in several place.


Sync eng/common directory with azure-sdk-tools for PR 1876

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1876  See eng/common workflow

/check-enforcer override


Does it work with CommonsChunkPlugin?

Hi,
I've an Angular4 project where I tested your plugin, but the only thing which will be cdnified is RxJS:
(part of result of index.html)
<app-root></app-root>
<script type="text/javascript"<EMAIL_ADDRESS><script type="text/javascript" src="polyfills.min.js"></script>
<script type="text/javascript" src="vendor.min.js"></script>
<script type="text/javascript" src="app.min.js"></script>

Does your plugin work with the CommonsChunkPlugin from webpack? Or did I make any mistake in my config?
Inside vendor.min.js all dependencies are still fully imported although I've a custom resolver which resolves all angular modules with unpkg.com.
The verbose log tells me:
...
✔ '@angular/core' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ '@angular/core' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ 'rxjs' will be served by<EMAIL_ADDRESS>✔ '@angular/core' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ '@angular/common' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ '@angular/platform-browser' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ '@angular/core' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ '@angular/platform-browser' will be served by https://unpkg.com/@angular/platform-br 10% building modules 5/6 modules 1 active ...bapp-v2/src/scripts/app/app.module.ts✔ '@angular/core' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ '@angular/platform-browser' will be served by https://unpkg.com/<EMAIL_ADDRESS>✔ '@angular/common' will be served by https://unpkg.com/<EMAIL_ADDRESS>...

Here is the my webpack plugin-config including the custom resolver:
// ...
plugins: [
            new DynamicCdnWebpackPlugin({
                disable: ENV !== "production",
                verbose: true,
                only: [
                    "@angular/core",
                    "@angular/common",
                    "@angular/http",
                    "@angular/platform-browser",
                    "@angular/platform-browser-dynamic",
                    "@angular/router",
                    // "node-forge",
                    // "reflect-metadata",
                    "rxjs",
                    "jquery"
                ],
                resolver: function (moduleName, version, options) {
                    var mod2Cdn = require('module-to-cdn');
                    var mod = mod2Cdn(moduleName, version, options);
                    if(mod) return mod;

                    var vars = {
                        "@angular/core": 'ng',
                        "@angular/common": 'ng',
                        "@angular/http": 'ng',
                        "@angular/platform-browser": 'ng',
                        "@angular/platform-browser-dynamic": 'ng',
                        "@angular/router": 'ng',
                        "node-forge": 'forge',
                        "reflect-metadata": 'window',
                        "rxjs": 'Rx',
                        "jquery": '$'
                    };
                    var urls = {
                        "@angular/core": 'https://unpkg.com/<EMAIL_ADDRESS>                        "@angular/common": 'https://unpkg.com/<EMAIL_ADDRESS>                        "@angular/http": 'https://unpkg.com/<EMAIL_ADDRESS>                        "@angular/platform-browser": 'https://unpkg.com/<EMAIL_ADDRESS>                        "@angular/platform-browser-dynamic": 'https://unpkg.com/<EMAIL_ADDRESS>                        "@angular/router": 'https://unpkg.com/<EMAIL_ADDRESS>                        "node-forge"<EMAIL_ADDRESS>                        "reflect-metadata"<EMAIL_ADDRESS>                        "rxjs"<EMAIL_ADDRESS>                        "jquery"<EMAIL_ADDRESS>                    };

                    if(!vars[moduleName]) {
                        return null;
                    }

                    return {
                        "name": moduleName,
                        "var": vars[moduleName],
                        "url": urls[moduleName].replace('[version]', version),
                        "version": version
                    };
                },
                env: 'production'
            }),
            extractCssToAssets,
            new webpack.DefinePlugin({
                'process.env': {
                    'ENV': JSON.stringify(ENV)
                }
            }),
            new webpack.optimize.CommonsChunkPlugin({
                name: ['app', 'vendor', 'polyfills']
            }),
            new webpack.ContextReplacementPlugin(
                /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
                helpers.root('src'),
                {}
            ),

            new HtmlWebpackPlugin({
                filename: 'index.html',
                template: 'src/base.html',
                chunksSortMode: 'dependency'
            })
        ],
// ...

Kind regards

Never mind! It was my own mistake: The urls are wrong.

Glad you figure it out yourself
If you don't mind, could you send me a PR to module-to-cdn so your changes can be shared with others


Context parsing in commands

Description
I personally recommend changing the format of world=world world=world_the_emd to the format of world=world,world_the_end, for example: lp user test permission set test.test true world=world,world_the_end, the same for others, which can greatly shorten write time
Proposed Behaviour
The effect remains the same as usual, but the writing method has been modified. The code does not need to judge the context key many times, just judge it once, and then use split(",") to get the content behind the context as an array, and finally traverse the array Just
Extra Details
No response

What if you want a comma in the value of a context? :/
It's a nice idea, but to avoid breaking existing workflows, I think it is probably better off staying as it is


Netbox 3.2 Support

NetBox 3.2.0 was just released and has a number of extension improvements.
Furthermore, a NetBox 3.2 plugin tutorial was released

@ryanmerolle, thanks for the feedback. I understand, it's been awhile :)
I've just started working on plugin that supports 3.x Netbox version. I hope will finish it till mid of August.

Covered by another issue.


how to place optionplus sell order

Trying to place optionplus sell order
place_order(stock_code="NIFTY",                                                      exchange_code="NFO",                                                      product="optionplus",                                                      action="sell",                                                      order_type="Market",                                                      quantity="50",                                                      price="29",  # limit price                                                      stoploss='25',  # SLTP                                                      validity="day",                                                      disclosed_quantity="0",                                                      validity_date="2023-05-26T06:00:00.000Z",                                                      expiry_date="2023-06-01T06:00:00.000Z",                                                      right="put",                                                      strike_price="18200",                                                      order_type_fresh="Market",  # Limit or Market                                                      # fresh order price.                                                      order_rate_fresh="20",                                                      user_remark="Test")
but it returns error '{'Success': None, 'Status': 500, 'Error': 'Incorrect Limit Rate received. Actual Rate: 33.00'}'
How to calculate limit price, because its expecting limit price to be 33. Other than 33, all other values giving error.

Dear User,
Correct limit price can be obtained from the error message only. In future, we will provide a way to calculate the limit price in SDK or a sperate API for the same.
Meanwhile, you will have to manually take the LP from error msg and feed it in the input parameters of the API

From: bluealien0x7bd @.>
Sent: Friday, May 26, 2023 4:59 PM
To: Idirect-Tech/Breeze-Python-SDK @.>
Cc: Subscribed @.***>
Subject: [Idirect-Tech/Breeze-Python-SDK] how to place optionplus sell order (Issue #26)
External Email Warning:
Use 'Report suspicious Email' button to report Phishing mails. Do not click on any attachment or links/URL in this email unless sender is reliable.
Trying to place optionplus sell order
place_order(stock_code="NIFTY", exchange_code="NFO", product="optionplus", action="sell", order_type="Market", quantity="50", price="29", # limit price stoploss='25', # SLTP validity="day", disclosed_quantity="0", validity_date="2023-05-26T06:00:00.000Z", expiry_date="2023-06-01T06:00:00.000Z", right="put", strike_price="18200", order_type_fresh="Market", # Limit or Market # fresh order price. order_rate_fresh="20", user_remark="Test")
but it returns error '{'Success': None, 'Status': 500, 'Error': 'Incorrect Limit Rate received. Actual Rate: 33.00'}'
How to calculate limit price, because its expecting limit price to be 33. Other than 33, all other values giving error.
—
Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/26, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ42XM6TX3BLIOH6S6K3XICH23ANCNFSM6AAAAAAYQDIX2E.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Print this mail only if absolutely necessary. Save Paper. Save Trees." "The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. Please also note that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure the integrity of/over the contents of the information contained in e-mail transmissions and that any views expressed in this e-mail are not endorsed by/binding on the ICICI Group unless the sender does so expressly with due authority of ICICI Group. Before opening any attachments please check them for viruses and defects and please note that ICICI Group accepts no liability or responsibility for any damage caused by any virus that may be transmitted by this email. Any unauthorized use of this email or any attachment(s) may be treated as infringement of right(s) including right of privacy under the applicable laws of India including Information and Technology Act, 2000. Thank you for your cooperation. Regulatory Disclosures are available on https://www.icicisecurities.com (for institutional business) and www.icicidirect.com (for retail business).


Error downloading

Hello, all chapters that contain a special character or series whose title contains this character cannot be picked up.
characters in question:
<

:
/

?
*
"
|

Can you give me an example of a URL for a chapters?

Yes sure,

I have much more pictures, but only the chapters with special character don't work.


Add context to errors in JSON.mapping

Errors from JSON parse methods generated by JSON.mapping are difficult to debug. The message only tells about the immediate error encountered by JSON::PullParser, for example Expected int but was string. At least the source location is attached, but that makes it still quite hard to figure out, what exactly the parser was doing and parsing which object failed, especially in large JSON structures (such as the index.json produced by the docs generator).
This PR adds some context to errors raised by .parse_json by adding the name of the class and property (if available) that is being parsed.
These errors are wrapped, so each level of JSON data is unwrapped and can be followed. It's roughly comparable to a stack trace.
Expected begin_object but was string at 12:10
  parsing Foo at 12:10
  parsing Bar#foo at 12:5
  parsing Baz#bar at 3:15

This exception hierarchy can probably get pretty large with highly nested JSON structures. I'm not sure if the outer contexts are really that useful.
This deep wrapping could be removed and only the significant innermost scope would get wrapped, adding the most important context information.
Obviously, this entire context feature adds some additional overhead to the JSON mapping parser. Exceptions are usually pretty rare, so it shouldn't matter much. In the case it happens, the additional debug info should be worth it.

I like this, but the "exceptions are pretty rare" argument doesn't convince me. Imagine an http server. I can bombard you with invalid json and then you'll waste resources both raising and building that exception message. But since raising is already slow, I don't think there's a fix for this (this is why Go returns an error instead of raising, it's always cheap).


Unable to build 8.5/jre8/Dockerfile

coz of I need to change the CATALINA_HOME path for tomcat install, after changed rebuild hit below error!
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c set -eux;               savedAptMark="$(apt-mark showmanual)";  apt-get update;                 apt-get install -y --no-install-recommends gnupg
dirmngr;               export GNUPGHOME="$(mktemp -d)";        for key in $GPG_KEYS; do                gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; d
one;            apt-get install -y --no-install-recommends wget ca-certificates;                success=;       for url in $TOMCAT_TGZ_URLS; do                 if wget
-O tomcat.tar.gz "$url"; then                   success=1;                      break;          fi;     done;   [ -n "$success" ];              echo "$TOMCAT_SHA1 *tomc
at.tar.gz" | sha1sum -c -;              success=;       for url in $TOMCAT_ASC_URLS; do                 if wget -O tomcat.tar.gz.asc "$url"; then

Most likely there was a Java bump between the time that you copied the Dockerfile and when you built it.  So it was probably this line that failed:
https://github.com/docker-library/tomcat/blob/abef52206ba44c495a37a90a8de3ab6d40431f12/8.5/jre8/Dockerfile#L115-L121
Please use the latest version of the Dockerfile if you are going to build the image yourself.


Are multiple instances of the same interface supported?

Assume a connected Robot
As a builder, I would like to instantiate left arm and right arm.
Are named instances supported?
Assume a connected train
I would like to implement 'N' wagons and address them by index
Are array instances supported?
Assume and an interlocking vault
I would like to implement exterior and interior doors
If these examples are supported, I would love to review best practices and how to represent them on IoT Central dashboards.

In the current release, multiple instances of the same interface (in an implements property in a CapabilityModel) are not supported. However, look for this to be improved in an upcoming update where you will be able to define your robot as you expect.


pipelined plugin css ordering and static naming?

I have a problem with pipeline css when we load balance multiple instances of grav. It seems that the ordering of sections of the pipelined css can be different (although the content is exactly the same). Hence the uri generated from the hash of the css is different and this breaks the load balancer since the css asset has a different name on each server.
In particular it seems like sometimes the langswitcher plugin css gets pipelined before the simplesearch plugin css (both have priority 10) and sometimes the other way around. Is there a way to force the ordering of the plugin css?
Firstly, is this a bug, or is the order of plugins in the pipelined css non-deterministic? i.e. in consecutive startups are you guaranteed to get the same pipelined css?
I have looked at the docs and it seems inconclusive :

If pipelining is turned on in the configuration, assets not excluded from pipelining are combined in the order in which assets were added, then processed according to the pipeline configuration. The combined pipeline result is then rendered before or after non-pipelined assets depending on the setting of css_pipeline_before_excludes.

Secondly, Im looking for a workaround. Is there a way to set the name of the pipelines css file to something static e.g. style.css rather than the uid. Unfortunately, Ive looked at the code and it seems like the uid is enforced.
protected function pipelineCss($group = 'head', $returnURL = true)
    {
        // temporary list of assets to pipeline
        $temp_css = [];
        // clear no-pipeline assets lists
        $this->css_no_pipeline = [];
        // Compute uid based on assets and timestamp
        $uid = md5(json_encode($this->css) . $this->css_minify . $this->css_rewrite . $group);
        $file =  $uid . '.css';
        $inline_file = $uid . '-inline.css';

Also, am I correct in assuming that the following code is the code that determines the order in which the plugins are loaded :
class Plugins extends Iterator
{
    public $formFieldTypes;

    public function __construct()
    {
        parent::__construct();

        /** @var UniformResourceLocator $locator */
        $locator = Grav::instance()['locator'];

        $iterator = $locator->getIterator('plugins://');
        foreach ($iterator as $directory) {
            if (!$directory->isDir()) {
                continue;
            }

            $plugin = $directory->getBasename();

            $this->add($this->loadPlugin($plugin));
        }
    }

If so, is there a chance that different operating systems might return different order of plugins in the iterator?

It's definitely possible that any DirectoryIterator could produce a different order on different platforms.  Usually the order is alphabetically based on filename so it's generally not an issue.
Are you running two different platforms in your load balanced solution? I thought you mentioned they were identical docker containers, but is the underlying platform different?

I checked that and the docker hosts are both ubuntu 14.04. The docker image is based off phusion/baseimage:0.9.19. The entrypoint doesnt do anything other than start the nginx server up.

Also, digging deeper, the order for the asset is set in the call to addCss(). This is called by each plugin in each plugin's onTwigSiteVariables()  handler, and the handlers are added by the following code :
    public function init()
    {
        $grav = Grav::instance();

        /** @var Config $config */
        $config = $grav['config'];

        /** @var EventDispatcher $events */
        $events = $grav['events'];

        foreach ($this->items as $instance) {
            // Register only enabled plugins.
            if ($config["plugins.{$instance->name}.enabled"] && $instance instanceof Plugin) {
                $instance->setConfig($config);
                $events->addSubscriber($instance);
            }
        }

        return $this->items;
    }

The order that the handlers are added is the order of the associative container, so Im really strugglling to understand how this can be different in the two containers.

I have added extra logging. In a given container, the order of loading the plugins is very different

container 1
container 2

problems
shortcode-ui

shortcode-ui
breadcrumbs

shortcode-core
error

breadcrumbs
langswitcher

anchors
problems

simplesearch
anchors

error
highlight

highlight
simplesearch

langswitcher
addsubs shortcode-core

This is also the order in which addSubscriber() is called.
The order in which addCss is called (via the EventDispatcher calling onTwigSiteVariables() ) is completely different :

container 1
container 2

plugin://breadcrumbs/css/breadcrumbs.css
plugin://breadcrumbs/css/breadcrumbs.css

plugin://simplesearch/css/simplesearch.css
plugin://langswitcher/css/langswitcher.css

plugin://langswitcher/css/langswitcher.css
plugin://simplesearch/css/simplesearch.css

plugin://highlight/css/default.css
plugin://highlight/css/default.css

That's good info.  What are the timestamps on the files like in the two containers? Do they line up with the ordering?

in container1 I have a log line in addTo() that outputs the following on container 1:
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/breadcrumbs\/css\/breadcrumbs.css","remote":false,"priority":10,"order":0,"pipeline":true,"loading":"","group":"head","modified":1503320330}
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/simplesearch\/css\/simplesearch.css","remote":false,"priority":10,"order":1,"pipeline":true,"loading":"","group":"head","modified":1503320330}
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/langswitcher\/css\/langswitcher.css","remote":false,"priority":10,"order":2,"pipeline":true,"loading":"","group":"head","modified":1503320330}
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/highlight\/css\/default.css","remote":false,"priority":10,"order":3,"pipeline":true,"loading":"","group":"head","modified":1503320330}

and on container 2
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/breadcrumbs\/css\/breadcrumbs.css","remote":false,"priority":10,"order":0,"pipeline":true,"loading":"","group":"head","modified":1503320330}
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/langswitcher\/css\/langswitcher.css","remote":false,"priority":10,"order":1,"pipeline":true,"loading":"","group":"head","modified":1503320330}
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/simplesearch\/css\/simplesearch.css","remote":false,"priority":10,"order":2,"pipeline":true,"loading":"","group":"head","modified":1503320330}
addTo{"asset":"\/user\/sites\/mcl\/ssodocs\/plugins\/highlight\/css\/default.css","remote":false,"priority":10,"order":3,"pipeline":true,"loading":"","group":"head","modified":1503320330}

Suspicious that modified is the same for all?

Yah, i'm wondering if its related to your container setup or docker in general.  I need to try some tests to see if i can replicate the order changing.

What determines the ordering in Symfony\Component\EventDispatcher\EventDispatcher

I will update. As well as Grav, I can see SimpleSearch and LangSwitcher are out of date.
$ ./bin/grav --version
Grav CLI Application version 1.2.4

SimpleSearch    [v1.10.2 -> v1.13.0]
LangSwitcher    [v1.3.0 -> v1.4.0]

(Accidentally closed issue sorry)

The problem is still there after updating

The issue is that in Linux many filesystems return the files by order of inodes or generally without applying for any particular order than in which they have been stored into the disk index. The ordering of the plugins is not well defined. I believe that the addCss() just uses whatever order the files come in, which of course causes a few issues if the files are combined together.
The only way to enforce some well-defined ordering is to order the items after foreach'ing through them. Actually, I just looked into this code few days ago and was hoping that nobody depended on the ordering. :)

Can you please try editing your system/src/Grav/Common/Plugins.php file constructor with this:
class Plugins extends Iterator
{
    public $formFieldTypes;

    public function __construct()
    {
        parent::__construct();

        /** @var UniformResourceLocator $locator */
        $locator = Grav::instance()['locator'];

        $iterator = $locator->getIterator('plugins://');

        $plugins = [];
        foreach($iterator as $directory) {
            if (!$directory->isDir()) {
                continue;
            }
            $plugins[] = $directory->getBasename();
        }

        foreach (natsort($plugins) as $plugin) {
            $this->add($this->loadPlugin($plugin));
        }
    }

This basically gets a list of the plugin names, natural sorts the, then runs through and adds the plugins.  It should ensure the plugins are loaded in the correct order.

I am doing something very similar right now as it happens.

Im pretty sure that is working

ok cool, we're looking into a better long-term fix though.

At least not with docker containers where the order is so random probably because everything has the same createdate but different inode ordering ( I assume).

Thanks for the support on this guys! Grav is a great tool.


Remove headers

This partially fixed #297. I replaced all the headers with NOTICE file in the root of the repocitory. The same apporoach is used by jfc.

Current coverage is 93.84%

Merging #367 into master will not affect coverage as of 28c7784

Powered by Codecov


Request to create a new release

Hello!
We are long time customers and looking forward to see a new release!
We have recently upgraded from 0.7.0 to 0.9.0 along with a terraform 0.11 -> 0.13 migration. It went super well thanks to the usage of terrascript! Kudos for all the hard work!
We are especially interested in this commit: https://github.com/mjuenema/python-terrascript/commit/11685492baf21a0fb6719ff0c75988c1b24af6bf
It adds support for public ECR repositories, which we are looking to use as well.
Thanks for all the hard work and thank you in advance for another great release!

Thanks for the kind words.
There is some work in progress (whenever I kind find spare time, which is very difficult) on automatically supporting (almost) all providers that are available from the Terraform Provider Registry.
There is an on-going discussion (#149) about this. Also check the feature/makecode-and-terraform-registry branch for current progress.

fwiw, this is how we are currently working around the missing resource: https://github.com/app-sre/qontract-reconcile/pull/1466/commits/0aadd9c9e32e30b8719ffc47816771a48066c5ed

Thanks. As you figured out, adding a provider/resource/datasource is as simple as subclassing the equivalent Terrascript class.
I am progressing nicely on rewriting tools/makecode.py which is responsible for creating the Python code for the various Terraform providers. Once finished, aws_ecrpublic_repository will be available through Terrascript.


启动脚本报错问题

操作系统版本：CentOS Linux release 7.4.1708 (Core)
启动be报错如下：

建议将common.sh的95行修改如下

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
3.0.5
2.5.10

the mem_limit is removed in branch-3.1.
Maybe we can remove it in branch-2.5 and branch-3.0 as well. @trueeyu


Energy dashboard showing wrong values

Describe the bug
A clear and concise description of what the bug is.
** Debug information **
Answer the questions below before submitting a new issue.

Are you using the latest version of Home Assistant? Yes
Are you using the latest version of this integration? Yes
Have you looked into the closed issues and did not find a similar issue. Yes
Are you using Kiosk or Northbound / OpenAPI mode? OpenAPI mode - credentials valid
Have you checked the logs for any info? Yes, no info

Expected behavior
My grid usage is wrong, in fusion solar app i can see it is 0 at the moment, HA showing 2.8 kWh..

Home is showing 3.1 kWh, but fusion app showing 0,33kW
I have no idea how HA is calculating that 3.1 kWh
Probably a combination of some sensors...
Screenshots

API delay in HA is 20 minutes? Can we go lower than this default value?
Thanks for your work.

Home is showing 3.1 kWh, but fusion app showing 0,33kW

Note that the Fusion Solar app can use a different schedule to update the data then this integration. So it is very realistic that values don't match up.

I have no idea how HA is calculating that 3.1 kWh
Probably a combination of some sensors...

To my knowledge, but I am not a core Home Assistant developer. The Energy dashboard uses the information from the sensor you provide. So you should be able to trace the datapoints, or at least recognise the values.

API delay in HA is 20 minutes? Can we go lower than this default value?

No. Not without running into rate limiting.
You could disable some device to speed up the updating. See https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/blob/master/README.md#disabling-devices--plants--stations

@tijsverkoyen Thx for the info, found out that my dashboard is showing my totals :) not the current values.
Seems logic in the end because of the delay.


Create function to convert to parquet

Analogously with delete_from_hub, this PR:

creates the Python function convert_to_parquet
makes the corresponding CLI command use that function.

This way, the functionality can be used both from a terminal and from a Python console.

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


[stable/kubernetes-dashboard] Add variable for container securityContext

What this PR does / why we need it:
This PR creates a new variable to allow for setting SecurityContext at the dashboard container level.
Is related to https://github.com/kubernetes/kubernetes/issues/82647
Special notes for your reviewer:
Please note that the existing variable only defines PodSecurityContext, which does not provide the same capabilities.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/cc @kfox1111 @desaintmartin

/lgtm


fix: revert back to not mutating tree nodes

Mutating tree nodes was causing audit context to be overwritted by multiple audits. This change avoids such conflict. Instead a reference to the original item will be maintained.
Fixes #50

This change has been folded into https://github.com/GoogleChromeLabs/form-troubleshooter/pull/52


Fix a compilation issue for C++

This is a fix for problems encountered when compiling with g++ when including rres-raylib.h from a C++ source.
See issues: https://github.com/raysan5/rres/issues/21 https://github.com/raysan5/rres/issues/18

@Bigfoot71 thanks for the review! I only tested rres with C so I understand there could be build warnings/issues with C++.
I'm merging those fixes but I think those issues should be probably addressed in some other way, like reviewing some data types...


fix z_pos when there is no z_plan

At the moment, when there is no z_plan (NoZ), when we set the stage to move and acquire images at different xy positions (e.g. through the napari-micromanager mda position table), the z_pos is always None even if it is defined in the experiment.
This PR fix this problem in the iter_events methods of the MDASequence class.

is this ready to go? Is there a test you could add that fails on main for

yes it is ready to go. There is no error (it works), it is only not considering the z position if there is no z_plan.

well ... you said:

when we set the stage to move and acquire images at different xy positions (e.g. through the napari-micromanager mda position table), the z_pos is always None even if it is defined in the experiment.

and then you opened this PR to fix it ... so, looking at the code you submitted, it looks to me like creating a MDASequence and then calling iter_events() should have different behavior now than before right?  that's what I mean... can you add a test for that?

@tlambert03
you mean something simple like this?
def test_z_position() -> None:
    mda = MDASequence(
        axis_order="tpcz",
        stage_positions=[(222, 1, 10), (111, 1, 20)]
    )
    for event in mda:
        assert not mda.z_plan
        assert event.z_pos

yep, exactly.  Something that fails on the main branch, but is fixed here in your PR.  something to make sure that whatever you've done here won't be "lost" accidentally in the future.  tests can be super simple


201 gives ok should say created

Request created an entity.
This cannot happen on GET or DELETE requests.
This will happen on POST and may happen on PUT requests.

I do not understand this. It seems like this is a bug with what you are testing or with your system plugin and not aux itself.


Why do not use type IEnumerable as "getKey" param?

Ask a question
A clear and concise question. Ex. How to do xyz?
There is no need for limit param to Array. IEnumerable is enouth and more flexible.

Do you mean in AbstractEntityIndex?
https://github.com/sschmid/Entitas/blob/develop/src/Entitas/EntityIndex/AbstractEntityIndex.cs#L23
We could change getKeys to IEnumerable


OR-ing filter programmatically.

Hi, how do I OR a filter programmatically. I know this could be done by
tableParams.filter({ $: 'something' })

$ being global. Or any property name.
How do I use OR using that syntax? Thanks

Anyone have any idea? $ is global and is for all the properties. For some properties we don't render on the page, if we make search on such not rendered property with $ filter, the row can still be searched. This is very confusing to the user.


Harfbuzz version too old (1.4.2)

I cannot execute the binary because of this error. (OS: Fedora 31)
I suggest updating the Harfbuzz version?
Or is there a workaround?

Hi :) I just transferred this issue to the new repository I'm working on now, this is URL to new issue : https://github.com/ORN-Fox/serina-1/issues/1
(for more details at this level look at this issue : https://github.com/foxdog05000/serina/issues/34).
I will fix that shortly !

Have a good new ! Update Electron to 9x and Build app on Mac OS fix problem :)

R0.2.4 is released ! On my new repository.

Thank you :)


Trouble integrating next-auth and ConnectWallet

@warengonzaga as per the discord message
The next-auth example code currently only allows connection through metamask. Ideally I'd like to use the ConnectWallet component with it. I've tried to incorporate it but the auth api routes do not seem to work. You can see a forked version of the repo with my amendments here
I get http 400 errors  when the component tried to make a get request to http://localhost:3000/api/auth/user and a post request to http://localhost:3000/api/auth/payload because those are not supported by nextauth.
Is it not possible to integrate?

Hey @chriship thank you for reaching out here. Adding @MananTank here to take a look and update the template. Thanks!


fix #1754, use scala binary version in example jar name

What is the problem?

to be consistent with other built jar files

+1


Issue with matched token in Firebase JWT

Any ideas why my token auth is giving me this?

Fatal error: Cannot access property started with '\0' in
[..]/vendor/firebase/php-jwt/Authentication/JWT.phpon
line
237

The most I can find on this issue is this:
http://cweiske.de/tagebuch/php-property-started-nul.htm

Turns out that I was passing some extraneous model object data into an attribute of my token when encoding. This caused an error when its trying to decode.


Explanatory no results Workflow C.2

https://arax.ncats.io/?source=ARS&id=bc7d0408-402c-480e-ad36-da57145834fc

  "description": "Unsupported query structure.",
  "logs": [],
  "message": {
    "knowledge_graph": {
      "edges": {},
      "nodes": {}
    },
    "query_graph": {
      "edges": {
        "e01": {
          "object": "n1",
          "predicates": [
            "biolink:related_to"
          ],
          "subject": "n0"
        },
        "e02": {
          "object": "n2",
          "predicates": [
            "biolink:related_to"
          ],
          "subject": "n0"
        },
        "e03": {
          "object": "n3",
          "predicates": [
            "biolink:related_to"
          ],
          "subject": "n0"
        }
      },
      "nodes": {
        "n0": {
          "categories": [
            "biolink:Gene"
          ]
        },
        "n1": {
          "categories": [
            "biolink:ChemicalSubstance"
          ],
          "ids": [
            "CHEBI:45783"
          ]
        },
        "n2": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "MONDO:0005301"
          ]
        },
        "n3": {
          "categories": [
            "biolink:ChemicalSubstance"
          ]
        }
      }
    },
    "results": []
  },
  "status": "Unsupported",
  "validation_result": {
    "message": "",
    "n_edges": 0,
    "n_nodes": 0,
    "provenance_summary": {
      "n_sources": 0,
      "predicate_counts": {},
      "provenance_counts": {}
    },
    "size": "2 kB",
    "status": "PASS",
    "version": "1.1.1"
  }
}

Explanatory agent does not handle three-hop queries and is currently out of scope.


Only depend on nixpkgs/lib.

This reflects the actual requirements of the core flake-parts functionality and removes any possible confusion about where lib comes from (always flake-parts's input) vs where pkgs comes from (always the flake's nixpkgs input). Flakes which use flake-parts should only ever have to override its input in the very unlikely event of a bug in lib.
Hopefully lib will be separated into its own flake some day, which will also make this a much smaller footprint.

bors r+

@roberth Oops, yes.

bors r+

Added to changelog https://github.com/hercules-ci/flake-parts/blob/main/ChangeLog.md#2022-10-11

Thanks @shlevy


Integrate markdown for static pages and Event description field

We would love a way to be able to write text heavy pages with markdown.
It would also be good to be able to allow users to offer a short template welcoming description that users can edit on the event detail page.
Priority

[x] Static markdown page
[ ] Markdown Email
[x] Form fields

Prerequisite to including:
#5 #6 #7 & #8.

This has now been done but still needs documentation.


Consider re-expanding prover-client-test

at the moment yarn-project/prover-client/src/test/bb_prover_full_rollup.test.ts has only a one block epoch test, the rest disabled due to resources and time. If core proving time goes down a lot, or we are able to refactor this somehow to use less proving, we can reconsider. Otherwise, it can be a nightly test

Just FYI the disabled two block iteration of this test is required to fill the fixture used in yarn-project/end-to-end/src/composed/integration_proof_verification.test.ts. I'm not sure the verification test is currently used (but it works on my branch with an updated fixture).


At.js replace all text before caret in contenteditable if there's no whitespace after the first inserted tag

Hi!
I'm using At.js to insert images. When there's no whitespace after the first inserted image, inserting a new tag replaces all text from newline with a new image.
Example:
[@img_inserted_here]some_text_without_spaces
Then I'm adding a new image from the selector:
[@img_inserted_here]some_text_without_spaces[@new_img]
And the result after item was selected is:
[@new_img]
When I wrap inserting img with  it works perfect.
at_config =
    at: '::',
    displayTpl: """
#{img_tpl}
""",
    insertTpl: """#{img_tpl}""",
    startWithSpace: false,
    limit: 10000,
    searchKey: 'data-sequence'

How to do the same without contenteditable wrapper? Because sometimes cursor behaviour around contenteditable==false looks strange.
Thanks.

Since At.js will wrap all inserted element with a div.atwho-inserted, you can unwrap the image which is inside it. The div.atwho-inserted is a helper wrapper of At.js;
bind inserted.atwho events and unwrap .atwho-inserted img the element:
    $('#editable').on('inserted.atwho', function(e){
      $(this).find('.atwho-inserted img').first().unwrap();
    });

At.js can't do it automatically, for there may be not just img inside.


NetBSD support

Expected behavior
Build and work on NetBSD.
Actual behavior
Not working on NetBSD.
Steps to reproduce
Try to build in pkgsrc-wip with these build rules:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=216b86d9ff25fb21af74d56ca1f45afe87031aab
Package is called 'java-netty'.
The package is inspired by FreeBSD's ports package for the same software.
Minimal yet complete reproducer code (or URL to code)
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=blob;f=java-netty/files/patch-netty_kqueue_bsdsocket.c;h=130c5bf49a2bedf8be46ba489d1e2c7476b792f1;hb=216b86d9ff25fb21af74d56ca1f45afe87031aab

TCP_NOPUSH is unsupported
sendfile() is unsupported
netty_kqueue_bsdsocket_getPeerCredentials needs a custom implementation

Does this patch looks good? At minimum, the 1-3 problems have to be fixed.
Netty version
4.1.53
JVM version (e.g. java -version)
https://pkgsrc.se/lang/openjdk11
openjdk11 version <IP_ADDRESS>.11
OS version (e.g. uname -a)
NetBSD/amd64 9.99.x

@krytarowski thanks for the report but this will not be good enough IMHO as you just remove the C bindings but it may still be called from the java layer. Consider opening a PR with the changes and we can work from there to get it fixed.

@normanmaurer OK, I'm not a java developer so I need assistance.


fix(dropdown): removes actionmenu and dropdown overlay components

resolves #958

Closing the dropdown on click outside still works.
But I'm still seeing the same issue reported in #958 on this page locally: http://localhost:1337/components/dropdown
I can't select dropdown items with the mouse. Will you let me know what your experience is on that page?

Did you run npm run clean -- -y && npm run bootstrap?


Mirror docker images to other docker registries like quay.io

Do you want to request a feature or report a bug?
Official images are stored on hub.docker.com https://hub.docker.com/_/traefik
but due to hub limits [1], some projects may hit the docker pull limit
Would it be possible to publish images to other registries that do not have pull limits ? like quay.io [2] (or others)
[1] : https://www.docker.com/blog/what-you-need-to-know-about-upcoming-docker-hub-rate-limiting/
[2]: http://quay.io/
What did you expect to see?
images being published on public registries without limits

Hello,
the official images of Traefik are built by Docker it-self, as they are official there is no rate limits on it.
Thanks anyway.

@ldez
$ curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest
...
RateLimit-Limit: 100;w=21600
RateLimit-Remaining: 100;w=21600

$ docker pull docker.io/traefik:v2.2.8
...
Status: Downloaded newer image for traefik:v2.2.8

$ curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest
...
RateLimit-Limit: 100;w=21600
RateLimit-Remaining: 99;w=21600

limit goes down to 99 so it's unlikely behaving as you're saying. There is still rate limit on it.

@benoitf
Greetings, I'm asking some of the maintainers at docker about this issue. Thank you for reporting your findings.
_kc

@notsureifkevin hi, did you get some answers from maintainers at docker ?

We are waiting for an answer.


Does deTiN support to accept SSNV and SCNA data from callers other than Mutect1 and AllelicCNV?

Hi Amaro,
Thank you for developing deTiN tool and we appreciate your great job!
My understanding is that as long as we can prepare the input files conforming to the required input definition and data format, deTiN should still have the capabilities to use the input data, train the models, estimate the TiN and do the inferences.
So I am wondering if deTiN supports using SSNV/SCNA data from callers other than Broad's Mutect1 and allelicCNV?
For example,

For mutation statistics file,  if we follow the definition of the fields definition and we convert the SNV VCF results from either Sanger CaVEMan caller or Mutect2 to the call-stats format, I think the results of deTiN should still be valid, right?
For aSCNA segmentation file, I was trying to find a mapping relationship between the CNV results from Sanger ASCAT caller and  required fields of f, tau and n_probe in segmentation file. However it is not that straightforward. Do you mind give us more information about how to generate those values from existing VCF files other than outputs from AllelicCNV? Or any suggestions are very appreciated.

Thank again!
-Linda

Hey Linda,
Nice to e-meet you. Happy to try and help out! DeTiN is method agnostic as long as you provide the required columns the model is valid. So the answer the first question is yes. Is there any chance you could send a list of headers from an ASCAT file? My guess is that ASCAT produces this information. f is the minor allele fraction covering a segment, tau is the copy ratio of the segment, and n_probes refers to the number of exome capture probes in the region (this could be generated using BEDtools).
Best
Amaro

Hi Amaro,
Thank you so much for the swift response. Sorry for the delay reply.
Firstly, thank you for the confirmation and we are very glad that the tool will also work for the data files from other callers. We will make some efforts to head for that direction then.
Secondly, ASCAT does produce multiple data files and the related are:

SAMPLE.caveman.copynumber.csv has the columns:

SegmentId
Chr
Start
End
Normal Major Allele Copy Number
Normal Minor Allele Copy Number
Tumour Major Allele Copy Number
Tumour Minor Allele Copy Number

SAMPLE.copynumber.txt has the columns:

SNP_identifier
Chromosome
Position
LogR
segmented LogR
BAF
segmented BAF
Copy number
Minor allele
Raw copy number

Note:
LogR: Normalized log transform of read depth (Tumour/Normal)
BAF: Allele Frequencies (Tumour/Normal)
For details, Please see the protocols paper,
https://currentprotocols.onlinelibrary.wiley.com/doi/full/10.1002/cpbi.17
Thanks again!
-Linda

Hey Linda,
Great. I think tau corresponds to e(LogR) but centered at 2. BAF for the tumor should correspond directly to f (the min is 0 and max is 0.5?) . Hopefully that is helpful?

Thank you Amaro. These information are very helpful!!


[Bug]: the cursor animation is bugged #368

Title and Issue number

**Title:  [Bug]: the cursor animation is bugged #368 **
**Issue No.: #368 **
Close #368

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have created a helpful and easy-to-understand README.md if it's a new page/tech stack.
[X] I have gone through the contributing.md file before contributing.

Additional context (Mandatory):
Are you contributing under any Open-source programme?

[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor

Can you upgrade the level please. @Anuj3553 ,thank you

You have to give the video of your work.

You have to give the video of your work.

i cant give video of my work because locally the project is not working as expected as only able to see the subscribe popup.
And about this PR i have resolved this with best of my knowledge and it will work if you merge it.
sorry for this.

Well done @AE-Hertz