OCA for Aries and OCA for Aries Style Guide RFCs

Signed-off-by: Stephen Curran<EMAIL_ADDRESS>

I think we need to call out allotted image sizes (logo, backgrounds) and how they are scaled up/down

Updates made to the RFC per the comments received.  I still want to add the Credential Branding Guide to this RFC, and to deprecate/archive the existing overlays RFC as part of this PR.

In regards to the primary and secondary attribute, there's a few usability concerns for in-person interactions. In user testing, it's been observed that people instinctively show the digital credential rather than go through the scanning process and there's concerns that adding a primary and secondary attribute to the front facing credential design will encourage this behaviour.
That being said, we've also noted that people prefer to have a recognizable attribute to their credential. For example their student ID should have their name.
Then there's the concern with real estate. The more we add to the credential itself, the more busy it'll look and the focus shouldn't be about the credential.
If the goal is to allow issuers differentiate between credentials of the same type and to help users recognize their credentials, I wonder if there's a different solution for that.

Significant update to the RFC. AFAIK, other than applying feedback, the only remaining requirement for completing this RFC is the conversion of the Style Guide to Markdown format.
I would definitely appreciate a serious review of this PR by those involved in OCA for Aries.  @cvarjao @foxbike Tim B.

Added the OCA for Aries Style Guide. Changed the "branding" overlay to be a Meta overlay that has the language code "branding".  Updated the instructions for creating and maintaining an OCA Source file, and generating an OCA Bundle from the source file.

@swcurran - From a data harmonisation perspective, adding anything other than ISO 639 language codes [https://www.iso.org/iso-639-language-codes.html] as values for the "language" attribute won't fly. However, adding branding assets into a language-agnostic schema-level overlay (as opposed to an existing language-specific schema-, attribute-, entry code-, or unit-level overlay) makes sense. Furthermore, as OCA is such an extensible and scalable architecture, there is scope to add several new overlay types without having to shoehorn requirements into existing ones.
The current OCA Specification (v1.0) shows a delineation of "Semantic", "Inputs", "Transformation", and "Presentation" overlay categories. However, the next version of the spec will likely see that delineation changed to "Collection" (i.e., overlays for capturing metadata to enable data context to be preserved at the point of collection), "Validation" (i.e., overlays for capturing metadata to allow validation checks between format definitions and data inputs), "Transformation" (i.e., overlays for capturing metadata to enable transformation mapping from source to target schemas), and "Presentation" (i.e., overlays for capturing metadata to allow the strong binding of presentation assets to transient data objects (e.g., forms, credentials, etc.)).
Over the past two months, that reasoning has come about through valuable discussions in the OCA community. It aligns the conceptual modelling of the data management and technology leads.
For some neat noodling on Presentation-type overlays, Andrew Slack from SICPA put forward three new overlay types for review in the following RWoT paper. The naming aside, the methodology is in keeping with pure OCA methodology. In other words, his suggestions refrain from shoehorning required capture requirements into existing overlay types that don't necessarily fit those requirements.
https://github.com/WebOfTrustInfo/rwot11-the-hague/blob/master/final-documents/data-exchange-agreements-with-oca.pdf
Head straight to Appendix B of the paper.
In short, we have more freedom than we had initially thought possible. OCA's main task is to ensure data and metadata integrity [https://humancolossus.foundation/blog/accuratedata1].
The architecture is robust yet flexible enough to undertake this ambitious mission elegantly.

Regarding this:

@swcurran - From a data harmonisation perspective, adding anything other than ISO 639 language codes [see link] as values for the "language" attribute won't fly. However, adding branding assets into a language-agnostic schema-level overlay (as opposed to an existing language-specific schema-, attribute-, entry code-, or unit-level overlay) makes sense. Furthermore, as OCA is such an extensible and scalable architecture, there is scope to add several new overlay types without having to shoehorn requirements into existing ones.

Agree that it is a hack. Is there going to an Overlay added to the core spec to do this?  Or should we go back to using a "branding" overlay name?
From a practical aspect, we want the OCA Parser tool to support as much of this as possible. For now, we can simply rename the overlay after generation, but it would be nice to have a way to support this WITHOUT changing the tool.  For such a minor adjustment, it would be painful to have to fork the OCA Parser.

Regarding this from @pknowl :

The current OCA Technical Specification [see link] shows a delineation of "Semantic", "Inputs", "Transformation", and "Presentation" overlay categories. However, the next version of the spec will likely see that delineation changed to "Collection" (i.e., overlays for capturing metadata to enable data context to be preserved at the point of collection), "Validation" (i.e., overlays for capturing metadata to allow validation checks between format definitions and data inputs), "Transformation" (i.e., overlays for capturing metadata to enable transformation mapping from source to target schemas and datasets), and "Presentation" (i.e., overlays for capturing metadata to allow the strong binding of presentation assets to transient data objects (e.g., forms, credentials, etc.)).

This is not really overly relevant to this RFC, but my $0.02CDN is that many of the (current) overlays are applicable across categories, so I'm not sure it is very helpful to categorization the overlays. For example, in putting together this RFC, we selected the Overlays that were most helpful to an entity receiving data and an OCA Bundle. The fact that some of those are in the "collection" category and we are using the OCA primarily for presentation is irrelevant. As long as the issuer is providing data matching their overlays, we're happy.

For the meta layer, we might want to consider the following:

offer_expires - this would allow the wallet to display an offer expiry message on the offer screen. The attribute could also be used to clean up older offers. The controller would enforce the expiry but this could be good for usability. Didcomm v1 has an optional decorator expires_time (in v2 this is part of the message header) that could also be used, but the meaning is not really the same. The V2 spec does include a comment that protocols could "nuance" this header in their respective spec.

credential_privacy_policy_url - This may also be part of the machine-readable governance or perhaps a specific consent receipt issued as a supplement. Verifiers would also need to share privacy policies. This could be a fallback.

@tbloomfi -- a group of us talked about your suggestions and have this response:

offer_expires -- we think that really belongs in the issue-credential protocol. This could be handled by adding support for RFC 0032 Message Timing decorator. Or, it could specifically added to the credential-offer message (although that seems unnecessary).  Either way, we don't think it belongs in the OCA Bundle.

credential_privacy_policy_url  -- definitely one that could be added.  Would it make sense to expand the context to terms_and_conditions_url, which would encompass the Privacy Policy and any other items the users wants to share?

A caveat on this.  As noted in the propose RFC, the use of links in the OCA Bundle could be used as a tracking mechanism.  Please see that part of the RFC.  Here's a link in the pull request branch.  I will expand that section a bit to include links.

I think the concept of the card view is good, but struggle with the header. That header design presumes some things about the overall app layout that may not be true for all current designs, or future designs either. I DO think the concept card layout is likely to be much more tolerant of layout changes etc, and so inflicts fewer opinions on the overall app layout.

Regarding terms_and_conditions_url idea, I would treat it as a separate OCA bundle. Have a look at the Data Agreement Specification. We could build any data agreements using OCA methodology and then strongly bind that new bundle to the original one.

@swcurran expiry timer seems like a better option. Also terms_ and_conditions_url works. It does not need to be an explicit privacy policy.
A question around problem reports has also come up while working with an issuer that has done a great job documenting corner cases - for example, what happens if the credential offer is accepted after the data has changed or the holder is no longer eligible to receive the credential?
The proposed approach is to use a problem report. Seems simple enough until the translation of the message is considered. In addition, the issuer may want to use error codes which would need to be mapped to user-friendly messages in the wallet. Is there a use case here for OCA to handle error codes and the display of localized error messages?
For two languages the issuer could just include both languages in the message, but not a very clean solution.

In the Decentralised Semantics WG call on January 26th, one of the agenda topics was "What is considered "Metadata" in OCA?"
The key takeaways were ...
(i.) “Metadata” (as defined here) is important for cataloguing, but, for the most part, doesn't require new overlay types to capture the information.
(ii.) With OCA, we can differentiate between “data” and “metadata” as follows:

“data” is inputted data into a semantic structure logged at a given moment in time (i.e., event-triggered);
“metadata” is supporting information captured by the semantic structure that brings definitional or contextual meaning to “data”.

What does that mean in practice?
As with any free-form inputted data, Information describing a parent schema (e.g., descriptive or legal information about the schema) can be flagged as sensitive. In OCA terminology, this information is captured in associated metadata schemas and, as such, is treated as “data” that describes the parent schema. As with any other OCA bundle, you would also define “metadata” for those metadata schemas. In other words, the information describing a parent schema can also be translated into multiple languages, nuanced formatting, etc.
With that in mind, Human Colossus is currently working on a semantic engine project with a research institute in Canada working through their cataloguing requirements. This will inevitably result in us defining a couple of "metadata schemas" using the categories described in the wikipedia definition [e.g., Administrative metadata schema, Legal metadata schema, etc.]. Once we've got something solid, I'll ensure that we include tabular definitions of those metadata schemas as appendices in the next version of the official OCA Technical Specification.
I wanted to inform the OCA for Aries group as I'm sure this information will be useful for credential objects also.


"Cmd+Plus" accelerator ends up as "Shift+Cmd+="

As the title says, the accelerator "Cmd+Plus" (or CmdOrCtrl) ends up as "Shift+Cmd+=". I understand that to get "+" you need to press "Shift+=" on a US keyboard. However, there is also another Plus key on the numeric part of the keyboard that doesn't work if the binding is not "Cmd+Plus". Why is Electron doing this transformation without being asked? Can this be avoided?

This is a duplicate of https://github.com/atom/electron/issues/1507.


LibraryExporter : added CompletionStatus column export

Hi,
It just adds the info Completion Status to the export as a column.
Parametrable like others column in settings.

Thanks by advance.
I have verified that:

[x] These changes work, by building the extension and testing.
[x] That the changes comply with the rules indicated in the repository.
[x] Pull request is targeting master branch.

I made changes here LibraryExporter : localization and checks for completion status export and re-requested a review (1st time using github PR, not sure it's the normal method).

I made changes here LibraryExporter : localization and checks for completion status export and re-requested a review (1st time using github PR, not sure it's the normal method).

You need to mark the requested changes conversations as resolved by clicking here.

After that you can either request or not a review but not always necessary.


Plan view not displaying upcoming sprints

Describe the bug
A clear and concise description of what the bug is.
Browser
Choose a browser
[ ] IE11
[ ] Chrome
[ ] FireFox
[ ] Safari
X Edge
Version
[x

] Azure DevOps/VSTS
[ ] TFS 2017 Update 2/3
[ ] TFS 2018
Screenshots
If applicable, add screenshots to help explain your problem.

Sorry, but this code in this repo is not currently being maintained. We recommend you use the Delivery Plans feature that is core to Azure DevOps.


amount: div by weight

Currently we support dividing an amount by a weight in two ways

ops::Div<Weight> for Amount (in the fee_rate module) - does truncating division
Amount::checked_div_by_weight - rounds up

Are we happy with this or should we consider using _floor and _ceil nomenclature.
Originally discussed here: https://github.com/rust-bitcoin/rust-bitcoin/pull/3539#discussion_r1825012746

Same consideration applies to checked_mul_by_weight and ops::Mul<Weight> for FeeRate.

Using _ceil seems like a good idea instead of Amount::checked_div_by_weight if checked_div_by_weight_floor is added which I would be in favor of.

Same consideration applies to checked_mul_by_weight

I don't have a preference to add this for checked_mul_by_weight and am happy with the behavior of being conservative on the computation by default (rounding up).

Yeah, let's split the existing method into _floor and _ceil variants. Better to be explicit.
It's fine to leave all the Div operators as flooring division since that's what people expect.


LogCleaner: avoid scanning logs too frequently

This patch is for the performance issue : #753.
Originally, "LogCleaner" scanned all the log directories every time we flush. In the common case, we flush every 30 seconds and then called "LogCleaner::Run". But if we flush every time we do "LogFileObject::Write" like the test code from @kimi20071025, we'll call "LogCleaner::Run" so many times.
In this patch, I maintain an additional timer next_cleanup_time_  ( thank @aesophor  for the advice  ), and avoid scanning the logs too frequently.

Codecov Report

Merging #776 (33e59bd) into master (a8cfbe0) will increase coverage by 3.88%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master     #776      +/-   ##
==========================================
+ Coverage   72.65%   76.53%   +3.88%
==========================================
  Files          17       13       -4
  Lines        3247     2506     -741
==========================================
- Hits         2359     1918     -441
+ Misses        888      588     -300

Impacted Files
Coverage Δ

src/logging.cc
75.06% <87.50%> (+1.67%)
:arrow_up:

src/base/mutex.h
100.00% <0.00%> (ø)

src/raw_logging.cc
100.00% <0.00%> (ø)

src/windows/port.h

src/stacktrace_unwind-inl.h

src/windows/port.cc

src/windows/dirent.h

src/demangle.cc
97.50% <0.00%> (+0.02%)
:arrow_up:

src/signalhandler.cc
6.76% <0.00%> (+0.31%)
:arrow_up:

src/glog/logging.h.in
80.64% <0.00%> (+0.64%)
:arrow_up:

... and 4 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 a8cfbe0...33e59bd. Read the comment docs.

@fdgkhdkgh Some comments are still open. Please let me know if you need some clarification.

@fdgkhdkgh Thank you for adding this!

This looks good to me now (unless @aesophor has any objections).
@fdgkhdkgh Would you like to add yourself to the AUTHORS and CONTRIBUTORS file as per contribution guide before we merge this PR?

LGTM. Thanks so much! :smile:

Thanks!


Add davidbrochart as maintainer

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

As discussed in person, using the proper admin request to add you as a maintainer.


Add logging

Could you please concretize this issue? Do you mean logging in general or in a specific place?


modGuid validation as Table / Array in JSON Config

Part of #46
As more and more mods are becoming the backbone of people's playthroughs of BG3, being able to check if multiple mods are loaded before attempting to add things to the queue seems necessary.
In order to avoid causing another refactoring issue, I'm wondering what might be the best implementation method.

Use modGuids when requiring multiple mods.

It might not be elegant, but it will work for easier differentiation. It is also a method already used with UUIDs in Progressions.
function ProgressionJsonHandler(data, modGuid)
  Utils.Info("Entering ProgressionJsonHandler")
  for _, progressions in pairs(data) do
    if progressions.UUIDs ~= nil then
      for _, uuid in pairs(progressions.UUIDs) do
        ProgressionSubSectionHandler(progressions, uuid, modGuid)
      end
    elseif progressions.UUID ~= nil then
      ProgressionSubSectionHandler(progressions, progressions.UUID, modGuid)
    end
  end
end

Use type(modGuid) to determine if it is a String or a Table.

I don't have much experience with LUA, but I understand this might be a slow or resource heavy method?

In any case, I am curious where others sit. In addition, I guess making sure I don't start building something that has already been started elsewhere on a local repo.

Thankfully, lua's pretty fast, so that method shouldn't be too unwieldly.
I haven't started on this feature, so feel free to build it out :D

Thinking on it, it may be worth having a parentModGuid field automatically filled out in the JSON loader, to differentiate required mods & the mod providing the changes, to assist in debugging


[EPIC] Billing Automation - Sending the bill

This epic reflects Billing Automation ticket on Product Board.

[ ] Do a spike to determine the capabilities of the CS&S API as far as fulfilling the Definition of Done.
[ ] Fully automate our manual invoicing process. This would be a fully automated technical system we build and run, separate from our JupyterHub infrastructure. It would need to at least:

[ ] Have a source of truth for what communities we serve. Covered by issue 3711
[ ] Accurately determine the cloud costs for each community
[ ] Automatically send them invoices in a way that CS&S finds acceptable
[ ] Be robustly built in a way that's maintainable, open source and compatible with right to replicate.
[ ] Be extensively documented, so it can be worked on by anyone in the team.
[ ] Be part of a product lifecycle, with continuous monitoring and improvement as needed.

Me and @haroldcampbell met with Elliot from CS&S. There was conversation about renewal cycles and what not, but I'm going to keep this focused instead on 'sending invoices'.
Sending invoices for our operational fees

This is manually sent by Elliot, but is not hard
CS&S takes a % of this as our FSP
This is going to continue to be manually done. There are process improvements to be made here, around contract renewals and stuff. But doesn't involve engineering.

Outcome: no change
Sending cloud bills

This is manually sent by Elliot, and she doesn't mind.
Currently uses https://docs.google.com/spreadsheets/d/1AWVCg0D_-ATub_cVsIy5XZCwqnC6uIcgwDGYK9Q7yno/edit#gid=1349808947. In the past it's been more ad hoc
Here our (2i2c) process breaks down, and we haven't been able to consistently provide her this information so we can send this billing out.
We had explored using Stripe Invoices to send out these. However, since the issue hasn't been about sending out the invoices but about calculating the cloud costs, we have agreed to defer this for now
Instead, we will try to recover all cloud costs in a quarterly cadence, and aim to get this information to elliot within a week of the quarter ending. The quarterly cadence is what CS&S desires, because it keeps collecting money from invoices simple
For a first approximation, this is going to have us update the billing automation we do have to fully work. And generate a new sheet every quarter that Elliot can use. It can have the same structure we currently have.
CS&S doesn't collect a % of this money, it's directly pass through

Outcome: Yuvi will spec out what minimal work would need to happen here, and we should plan on finishing it up ASAP.
Future work with Stripe
We'd still like to work with Stripe in the future! They have a CS&S wide stripe account, but we'll probably need to make another stripe account just for 2i2c. Xero (the accounting software they use) doesn't do multitenancy, and our expectation is that stripe does not either. CS&S is very open to this. So if we want to start experimenting with stripe, we should spec that out, reach out to them (CS&S), and work together to set up a test account.
Outcome: I'll ping @Gman0909 to figure out what timeline we need for this, and who can take on this work.

Report from this was posted at https://github.com/2i2c-org/infrastructure/issues/3765#issuecomment-2038594554

Closing based on https://github.com/2i2c-org/meta/issues/1028#issuecomment-2087793473 and https://github.com/2i2c-org/meta/issues/1028#issuecomment-2089063971


Support comments to skip formatting

The comment % fmt: off will turn formatting off
and % fmt: on turns it on again.
% fmt: off
This section will not be formatted
% fmt: on

If I only have a single % fmt: off without a % fmt: on afterwards, everything after % fmt: off is not printed.
.. i would expect to turn of formatting as long as there is no % fmt: on which would mean if i insert % fmt: off at the beginning of a file the whole file would not be formatted.

This should be working now as you expect. The unformated code at the end of the file is now written.

This also happens if i use something like % fmt: off fmt: on on the same line.
... the comment should have no effect at all.

I do currently no parsing of the comment, I have a global variable skip: bool that is set to true if a comment contains fmt: off
and if skip is true and a comment contains fmt: on skip is set to false.
What behavior would you expect for   % fmt: on fmt: off ?

Sry for the delayed answer. I was quite busy.
% fmt: off fmt: on should actually have no effect at all, you could see it as
% fmt: off
% fmt: on

I'm not sure if this case has to be adressed or if it should just print out a warning or something like that.
Regarding 'skip', i would expect that just the line stays the same.


Deploy on NPM

[x] #326
[x] #289
[x] #332
[x] #287
[x] #290
[x] #288
[x] Publish to NPM
[x] Verify that npx git-truck works as expected
[x] Verify that npm i -g git-truck works as expected
[x] Unpublish broken versions (or deprecate)

Transform bash scripts to some node server

In most cases works with npx. Failing cases will be investigated when they are found


Can't use chrome dev tools for debugging

React Boilerplate
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Please direct redux-saga related questions to stack overflow:
http://stackoverflow.com/questions/tagged/redux-saga
For questions related to the boilerplate itself, you can also find answers on our gitter chat:
https://gitter.im/mxstbr/react-boilerplate
Before opening a new issue, you may find an answer in already closed issues:
https://github.com/react-boilerplate/react-boilerplate/issues?q=is%3Aissue+is%3Aclosed
Issue Type

[x] Bug (https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md#bug-reports)
[ ] Feature (https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md#feature-requests)

Description
(Add images if possible)
Steps to reproduce
(Add link to a demo on https://jsfiddle.net or similar if possible)
Versions

React-Boilerplate (see package.json):
Node/NPM:
Browser:

react-boilerplate 3.4.0
node v6.10.2
chrome 57
When running with npm start, setting breakpoints do not work, they are off by several lines. Something to do with HMR?

This has been fixed in #1559. The change has been committed to dev branch.
If you don't want to run dev branch, check out that PR. The fix is simple.


Unable to find assets.tar.gz file

 Hello, I need the pre-trained model that you provided, but I can't seem to find the file. Can you please tell me where I can find this file?

@Clouds1997 Have you found the file?


Create a wasgo demo.

wasgo demo with signal area_entered causes a boolean to be set

Merge issue with https://github.com/V-Sekai/V-Sekai.github.io/issues/241.


🐛 [mce-2.7] Only bind the agent role for the addon group

Summary
Related issue(s)
Fixes #

/cc @qiujian16

/cherrypick backplane-2.6

/cherrypick backplane-2.5

/approve
/lgtm


Help me type the library for React js

Hello, I created a library in react to facilitate the use of sdk's js from the mercadopago, but I needed help with typing because I'm not sure what the official typing is. can you help me?
I believe that the library will be very useful for the community.
The project link is: https://github.com/s4mukka/react-sdk-mercadopago
It is my first library, so it may not be written in the best way.
Thanks!

Hey @s4mukka how are you doing?
Thanks for helping our community, I'm sure it will be very useful for everyone.
Anyway, I'm going to close this thread since it's not an issue.
Feel free to bring this theme to Discussions 😉
Thanks


feat(line-ripple): mdc-web typescript support

Codecov Report

Merging #716 into rc0.11.0 will decrease coverage by 0.03%.
The diff coverage is 83.33%.

@@             Coverage Diff              @@
##           rc0.11.0     #716      +/-   ##
============================================
- Coverage     95.18%   95.14%   -0.04%
============================================
  Files            73       73
  Lines          2905     2907       +2
  Branches        441      441
============================================
+ Hits           2765     2766       +1
- Misses           45       46       +1
  Partials         95       95

Impacted Files
Coverage Δ

packages/line-ripple/index.tsx
98.14% <83.33%> (-1.86%)
:arrow_down:

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 30e2caf...5f2dc87. Read the comment docs.


Add new sizing variables

Implement the new sizing variables for the styles package.
Design: https://www.figma.com/file/ojCcgC5Zd12eUSzq6V5m24/Foundations?node-id=3%3A4&t=NzPDShQYlcE7HnxN-0
Comments on the change: https://github.com/swisspost/design-system/discussions/588
### Tasks
- [ ] https://github.com/swisspost/design-system/issues/1248
- [ ] Create variables for the new sizes
- [ ] Replace usage of old variables where identical
- [ ] Compile a list of components/cases where 1:1 replacement is not possible (breaking changes)
- [ ] Discuss with Design how to resolve cases in (3)
- [ ] Delete old variables
- [ ] https://github.com/swisspost/design-system/issues/541

@gfellerph @oliverschuerch
The decision to go with pixel sizes makes a lot of sense!
However, spacing classes often tend to pile up, so how about keeping it short and dropping the -size in class names (i.e. pe-112 au instead of pe-size-112 )?

@alizedebray I think this is a good idea. It will only generate one problem:
Bootstrap defines for example the following classes for {property}{sides}-{size}:
pe-0, pe-1, pe-2, pe-3, pe-4, pe-5, pe-auto
https://getbootstrap.com/docs/5.3/utilities/spacing/
We should override the bootstrap variable $spacers completly, to get rid of the unwanted classes like pe-3, pe-5, etc.

@alizedebray I would suggest the following formats for the sizing:

Topic
Format

SCSS variables
$size-{size}

CSS variables
--size-{size}

Margin classes
.m-{size} .m-{breakpoint}-{size}.mt-{size} .mt-{breakpoint}-{size}.mb-{size} .mb-{breakpoint}-{size}.ms-{size} .ms-{breakpoint}-{size}.me-{size} .me-{breakpoint}-{size}.mx-{size} .mx-{breakpoint}-{size}.my-{size} .my-{breakpoint}-{size}

Padding classes
.p-{size} .p-{breakpoint}-{size}.pt-{size} .pt-{breakpoint}-{size}.pb-{size} .pb-{breakpoint}-{size}.ps-{size} .ps-{breakpoint}-{size}.pe-{size} .pe-{breakpoint}-{size}.px-{size} .px-{breakpoint}-{size}.py-{size} .py-{breakpoint}-{size}

Height classes
.h-{size} .h-{breakpoint}-{size}

Line-Height classes
.lh-{size} .lh-{breakpoint}-{size}

Tell me if your ok with that ;)

Sounds great!
I created the .lh-{...} classes a while ago because Bootstrap didn't provide line-height classes until version 5. But now that they do, we can remove the "absurd" classes and leave the bootstrap ones indeed.
Do you think it might be useful to also add classes for min-width?

Components where one-to-one replacement is not possible.

Component
Used sizes

Carousel
.carousel-indicators bottom: $size-huge

List-Group
item-padding-y: $size-small-regular.list-group-item padding-x: $size-small-regular.list-group-item-big pading-y: $size-small-large.list-group-item-left-icon pading-left: $size-small-regular.list-group-item-left-icon .list-goup-item-svg margin-right: $size-small-regular

Language-Chooser (Internet-Header)
#languageParent .dropdown-item padding-y: $size-small-regular

Type (Portal)
h1/.h1/h2/.h2 margin-bottom: $size-small-large

Size (Mixin)
bezel-small-regular padding-y: $size-small-regularbezel-bigger-regular padding: $size-small-largebezel-medium padding-y: $size-small-large

Text (Placholders)
%default-modular-spacer margin-y: $size-huge%text-container ul.bulletpoints li:before width/height: $size-small-large

Animation
transition-distance-small: $size-small-regular, transition-distance-large: $size-huge

Type
blockquote-padding-left: $size-small-regular

Accordion
body-padding-top: $size-small-regular

Alert
padding-y: $size-small-large, toast-padding-y: $size-small-regular

Badge
gap-sm: $size-small-regular, check-input-height: $size-small-large

Button
input-btn-padding-x: $size-small-largeinput-btn-padding-y-rg: $size-small-largeinput-btn-padding-y-lg: $size-small-largebtn-padding-y-rg: $size-small-regularbtn-animatoin-discance-md: $size-small-regularbtn-icon-size-md: $size-small-largebtn-padding-y-lg: $size-small-large

Card
spacer-y: $size-small-large

Forms
input-padding-y-lg: $size-small-large

Modals
dialog-margin: size-small-regular

Pagination
padding-y-lg: $size-small-regular

Spinners
spinner-size: $size-hugespinner-size-xs: $size-small-regular

Subnavigation
link-padding-xs (x-axis): $size-small-regularlink-padding-lg (y-axis): $size-small-large

Tables
cell-padding-y: $size-small-regular

@oliverschuerch can we close this issue in favor of tokens?

Out of scope or already implemented through tokens.


Question: openOCD failing to halt hart, examination failed

I am trying to connect openocd with my slightly modified version of opentitan soc which does not include reset manager. When i try to connect openocd to the soc using verilator, i get the following error.
Warn : `riscv set_prefer_sba` is deprecated. Please use `riscv set_mem_access` instead.
force hard breakpoints
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Initializing remote_bitbang driver
Info : Connecting to localhost:44853
Info : remote_bitbang driver initialized
Info : This adapter doesn't support configurable speed
Info : JTAG tap: riscv.tap tap/device found: 0x04f5484d (mfg: 0x426 (Google Inc), part: 0x4f54, ver: 0x0)
Info : datacount=2 progbufsize=8
Error: unable to halt hart 0
Error:   dmcontrol=0x80000001
Error:   dmstatus =0x00000c82
Error: Fatal: Hart 0 failed to halt during examine()
Warn : target riscv.tap.0 examination failed
Info : starting gdb server for riscv.tap.0 on 3333
Info : Listening on port 3333 for gdb connections

What could be the possible cause of this issue?

hmm...if you don't have reset manager, how are all the resets in the system
wired? Did you convert them all to using rst_ni?
On Fri, Mar 5, 2021 at 4:27 AM Usman<EMAIL_ADDRESS>wrote:

I am trying to connect openocd with my slightly modified version of
opentitan soc which does not include reset manager. When i try to connect
openocd to the soc using verilator, i get the following error.
Warn : riscv set_prefer_sba is deprecated. Please use riscv set_mem_access instead.
force hard breakpoints
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Initializing remote_bitbang driver
Info : Connecting to localhost:44853
Info : remote_bitbang driver initialized
Info : This adapter doesn't support configurable speed
Info : JTAG tap: riscv.tap tap/device found: 0x04f5484d (mfg: 0x426 (Google Inc), part: 0x4f54, ver: 0x0)
Info : datacount=2 progbufsize=8
Error: unable to halt hart 0
Error:   dmcontrol=0x80000001
Error:   dmstatus =0x00000c82
Error: Fatal: Hart 0 failed to halt during examine()
Warn : target riscv.tap.0 examination failed
Info : starting gdb server for riscv.tap.0 on 3333
Info : Listening on port 3333 for gdb connections
What could be the possible cause of this issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/5468, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSSBED37KVMAGAMWDI3TCDE2LANCNFSM4YVEFINA
.

Right now I have only ibex core  a gpio module and debug module. So there are two reset signals one is external rst_ni and other one is ndmreset.
Actually I am also confused with the reset management when I have two reset signals for the system how should I manage them with the simplest logic.
Is the issue I am getting is due to reset management??
If I don't want to go for reset manager of opentitan system then what should I do for managing two reset signals.

hmmm ...we'd have to get a better sense of what else you took out.
OpenTitan has security protection on where the processor can execute.  And
that attribute is carried on the bus, which then relies on life cycle from
the perspective of the memory.
So depending on what / how much you removed, the debug module memories
might not be executable, and that could explain at least some of this.
On Fri, Mar 5, 2021 at 9:00 PM Usman<EMAIL_ADDRESS>wrote:

Right now I have only ibex core a gpio module and debug module. So there
are two reset signals one is external rst_ni and other one is ndmreset.
Actually I am also confused with the reset management when I have two
reset signals for the system how should I manage them with the simplest
logic.
Is the issue I am getting is due to reset management??
If I don't want to go for reset manager of opentitan system then what
should I do for managing two reset signals.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/5468#issuecomment-791873993,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSV2FGQSTKKVWJRFY43TCGZFJANCNFSM4YVEFINA
.

Hello @tjaychen!
actually it is very simple design which doesn't include any of the security module of opentitan right now. we are trying to configure Debug module along with ibex core. the whole system includes tlul bus, program and data memories, ibex core and debug module.
we are facing the issue as described in above comments. so, need guidance on the issue.

are you instantiating rv_dm in your design?
if yes, what are you tying the hw_debug_en_i input to?
On Fri, Mar 5, 2021 at 11:54 PM Sajjad Ahmed<EMAIL_ADDRESS>wrote:

Hello @tjaychen https://github.com/tjaychen!
actually it is very simple design which doesn't include any of the
security module of opentitan right now. we are trying to configure Debug
module along with ibex core. the whole system includes tlul bus, program
and data memories, ibex core and debug module.
we are facing the issue as described in above comments. so, need guidance
on the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/5468#issuecomment-791891589,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSQ74Z5YDHE2KNNKEOLTCHNUBANCNFSM4YVEFINA
.

module rv_dm #(
  parameter int              NrHarts = 1,
  parameter logic [31:0]     IdcodeValue = 32'h 0000_0001
) (
  input  logic               clk_i,       // clock
  input  logic               rst_ni,      // asynchronous reset active low, connect PoR
                                          // here, not the system reset
  input  logic               testmode_i,
  output logic               ndmreset_o,  // non-debug module reset
  output logic               dmactive_o,  // debug module is active
  output logic [NrHarts-1:0] debug_req_o, // async debug request
  input  logic [NrHarts-1:0] unavailable_i, // communicate whether the hart is unavailable
                                            // (e.g.: power down)

  // bus device with debug memory, for an execution based technique
  input  tlul_pkg::tl_h2d_t  tl_d_i,
  output tlul_pkg::tl_d2h_t  tl_d_o,

  // bus host, for system bus accesses
  output tlul_pkg::tl_h2d_t  tl_h_o,
  input  tlul_pkg::tl_d2h_t  tl_h_i,

  input  jtag_pkg::jtag_req_t jtag_req_i,
  output jtag_pkg::jtag_rsp_t jtag_rsp_o
);

I cannot find the pin that you have mentioned in the rv_dm module.

Hi @sajjadahmed677
We have two ways of controlling debug in verilator simulations. One connects up to the jtag signals via DPI, the other bypasses the JTAG interface and connects directly onto a bus inside the debug module via DPI (this makes the simulation much quicker). When the DMIDirectTAP parameter is set, we use the latter mechanism.
If you are using jtagdpi, then you should set DMIDirectTAP to zero.

thank you @tomroberts!
i have tried both ways with jtag and with direct dmi connections. what i got is the issue with memory map as you said. so, yes i have reconfigured tlul connections with my own memory map. and this is the base address for debug mem.
ADDR_SPACE_DEBUG_ROM  = 32'h 10040000;
 .DmHaltAddr       (ADDR_SPACE_DEBUG_ROM + dm::HaltAddress),
is there any problem with my address.

Hi @sajjadahmed677
I think you'll have to debug this using the waveforms. The CPU should start fetching from that address when the debug request goes high. See whether those requests make it to the device port of the debug module.

Alright @tomroberts i will look into it.
one more question. i am using a single clock for whole system. there is no clock manager in it. is it be a problem for debug module??

A single clock should be fine

Hi @tomroberts
I have tried with direct dmi connections but here is the problem.
DEPRECATED! use 'adapter driver' not 'interface'
Info : only one transport option; autoselect 'jtag'
force hard breakpoints
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Initializing remote_bitbang driver
Info : Connecting to localhost:44853
Info : remote_bitbang driver initialized
Info : This adapter doesn't support configurable speed
Info : JTAG tap: riscv.tap tap/device found: 0x04f5484d (mfg: 0x426 (Google Inc), part: 0x4f54, ver: 0x0)

it is not proceeding forward from this point

thank you @tomroberts and @tjaychen!
issue is resolved now. problem was with xbar which is now working fine.

I met the same problem. Could you please provide more information regarding how you solved the problem?


Getting error while using decentralized-identity extension for iam in version v0.5.1

I have started working on Connector after a long time. I was previously using v0.0.1-milestone-9 tag but now the latest version is v0.5.1. With v0.5.1, when i try to use decentralized-identity extension for identity access management, I am getting this error:
"C:\Program Files\Eclipse Adoptium\jdk-<IP_ADDRESS>-hotspot\bin\java.exe" -Dedc.fs.config=data-transfer/consumer/config.properties -Dedc.keystore.password=password -Dedc.keystore=C:\Users\usajid\Desktop\eclipse-edc-connector-v0.5.1\Connector\data-transfer\consumer\vault-filesystemkeystore.jks -Dedc.vault=C:\Users\usajid\Desktop\eclipse-edc-connector-v0.5.1\Connector\data-transfer\consumer\vault-filesystemconfig.properties -Dfile.encoding=UTF-8 -jar C:\Users\usajid\Desktop\eclipse-edc-connector-v0.5.1\Connector\data-transfer\consumer\build\libs\consumer.jar
INFO 2024-03-21T15:45:53.4241654 Initialized FS Configuration
WARNING 2024-03-21T15:45:53.4927287 The runtime is configured as an anonymous participant. DO NOT DO THIS IN PRODUCTION.
SEVERE 2024-03-21T15:45:53.5846526 Error booting runtime: The following injected fields were not provided: Field "identityService" of type [interface org.eclipse.edc.spi.iam.IdentityService] required by org.eclipse.edc.connector.service.ControlPlaneServicesExtension Field "audienceResolver" of type [interface org.eclipse.edc.spi.iam.AudienceResolver] required by org.eclipse.edc.protocol.dsp.DspHttpCoreExtension Field "identityService" of type [interface org.eclipse.edc.spi.iam.IdentityService] required by org.eclipse.edc.protocol.dsp.DspHttpCoreExtension
org.eclipse.edc.spi.system.injection.EdcInjectionException: The following injected fields were not provided:
Field "identityService" of type [interface org.eclipse.edc.spi.iam.IdentityService] required by org.eclipse.edc.connector.service.ControlPlaneServicesExtension
Field "audienceResolver" of type [interface org.eclipse.edc.spi.iam.AudienceResolver] required by org.eclipse.edc.protocol.dsp.DspHttpCoreExtension
Field "identityService" of type [interface org.eclipse.edc.spi.iam.IdentityService] required by org.eclipse.edc.protocol.dsp.DspHttpCoreExtension
	at org.eclipse.edc.boot.system.DependencyGraph.of(DependencyGraph.java:102)
	at org.eclipse.edc.boot.system.ExtensionLoader.loadServiceExtensions(ExtensionLoader.java:119)
	at org.eclipse.edc.boot.system.runtime.BaseRuntime.createExtensions(BaseRuntime.java:149)
	at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:199)
	at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:83)
	at org.eclipse.edc.boot.system.runtime.BaseRuntime.main(BaseRuntime.java:71)

Process finished with exit code -1

After investigating a little bit, I have found that inside iam folder, all extensions like iam-mock, oauth2 and identity-trust have implementations of IdentityService interface but the decentralized-identity extension has no implementation of this interface. Can anyone guide me how to fix this issue? Also I can see identity-trust extension inside iam folder. Can anyone describe what kind of identity and access management does it provide? By looking at the code, i have realized that it's also based on credentials and DIDs .Can anyone describe with some detail how this extension works? Thanks

I'm not an expert and not involved in the EDC development, but I think I can give you some pointers. There is a move to the Identity and Trust Protocol (IATP) from DWN (Decentralized Web Node):
Some useful links: https://github.com/eclipse-edc/docs/tree/main/developer/decision-records/2023-09-06-identity-trust and https://github.com/eclipse-tractusx/identity-trust/tree/main/specifications as well as https://github.com/eclipse-edc/IdentityHub/tree/main/docs/developer/decision-records/2023-09-27-adoption_of_the_identity_and_trust_protocol.
For me, diagrams like the old  https://github.com/eclipse-edc/IdentityHub/tree/main/docs/developer/decision-records/2022-07-01-get-claims vs. the new https://github.com/eclipse-tractusx/identity-trust/blob/main/specifications/verifiable.presentation.protocol.md made it more tangible. The new protocol gives more control to the participants about who can access what verifiable presentation. So the old decentralized-identity-service that also implemented IdentityService is gone and replaced with identity-trust-service. Where before the obtainClientCredentials was passing on the DID so the other party could find the IdentityHub (and if not configured access it without authentication), in the new protocol this will fetch a token from the STS, which serves to access the Credential Service (=IdentityHub; see also https://github.com/eclipse-edc/IdentityHub/blob/main/docs/developer/architecture/identity-trust-protocol/identity.hub.architecture.md) with the proper scope.
What is not yet entirely clear to me, is whether there is already some service issuing the VCs; there used to be this RegistrationService before (though not production-grade), but that was not updated

the version you referenced is ancient, so just upgrading to the most recent one will not work. The errors you are seeing are caused by new dependencies being introduced but are not satisfied by your setup.
You probably want to take a look at the MVD, specifically at the mvd-with-iatp


service-workers: chrome on android is fully supported

AFAICT this was just left out of #3333 by @dfabulich by mistake.
it's all working and fine in chrome on android

Added additional commit for samsung browser: according to https://jakearchibald.github.io/isserviceworkerready/ v4+ has full support.

Thanks Paul!


react-native run ios won't start application after re-init with 0.49, XCode works

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS:  macOS Sierra 10.12.6
Node:  8.7.0
Yarn:  1.2.1
npm:  5.4.2
Watchman:  4.7.0
Xcode:  Xcode 9.0 Build version 9A235
Android Studio:  2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.3 => 0.49.3
Steps to Reproduce
Initing a new project works fine.
Expected Behavior
react-native run ios starts the application on the Simulator
Actual Behavior
react-native run ios starts the application on the Simulator, which crashes after splash screen, packager keeps running. Starting from XCode works.

Do you see anything in the console when the app crashes? It might help debug this.

same issue.** BUILD FAILED **
The following commands produced analyzer issues:
Analyze /Users/wu/Documents/code-projects/react-native/appleApp/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/wu/Documents/code-projects/react-native/appleApp/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 commands with analyzer issues)
The following build commands failed:
PhaseScriptExecution Install\ Third\ Party /Users/wu/Documents/code-projects/react-native/appleApp/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/appleApp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/appleApp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Hello,
I see nothing in the console, build correctly succeeds even from command line, but application crashes after the splash screen.
I'm now experiencing problems with react-native-fetch-blob which seem to be 'solved' by stopping and running the app again without me really understanding what's going on, this give you any hints?

Missed this warning:
RCTLog.js:48 Module RNFetchBlob requires main queue setup since it overrides constantsToExport but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

I also got problem.
react-native run-ios not work
OS:  macOS Sierra 10.12.6
Node:  8.7.0
Yarn:  1.2.1
npm:  5.4.2
Watchman:  4.9.0
Xcode:  9.0 Build version 9A235
Android Studio:  2.3 AI-162.4069837
However it work with react-native version 0.44.0
On Fri, Oct 20, 2017 at 3:27 AM, DaveDanuve<EMAIL_ADDRESS>wrote:

Missed this warning:
RCTLog.js:48 Module RNFetchBlob requires main queue setup since it
overrides constantsToExport but doesn't implement `requiresMainQueueSetup.
In a future release React Native will default to initializing all native
modules on a background thread unless explicitly opted-out of.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/16447#issuecomment-338027727,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADkhQHxzhNV1oRdht_LTD8N-3zKrA4p2ks5st7CVgaJpZM4P9vNG
.

--
Your faithfully,
Sath Vichet
*IM    *: vichet.sath

run ios works with with version 0.48.3

I had the same problem after upgrading to 0.48.0 using react-native-git-upgrade...
I did the following 3 things and when I had finished it worked again. I don't know which one solved the problem, so I will list all 3, in hopes that one of them will help:

I followed the instructions at https://stackoverflow.com/questions/45434420/react-native-project-i-follow-the-guide-of-facebook-but-it-did-not-work#45435518 and reconfigured Glog.
I deleted the cache by deleting the folder /ios/build/ModuleCache.
I continued upgrading by project from there.

It well be upgrading again what fixed it, in which case this post won't be of much help, but given that we have the same issue upgrading to different versions, I think there is a good chance that it is related to the setup and caches, so hopefully that helps.

have the same issue , react-native 0.49  XCode 9.0.1 , @thejacobseely steps didnt work for me.

@hramos The only idea I have so far would be sharing the project. I'm worried something bigger might be broken behind the scenes.

I have the same problem with android build, after react-native upgrade from version 46.3 to 49.3. Application just hangs on the white screen right after start. The build is successful without errors.

Upgraded ExpoKit sdk 21 to sdk22, and my app stopped working.
I have a detached app that compiles OK, but when running, it throws several warning such as:
hunnor[8308:234987] 2017-11-03 13:27:26.397 [warn][tid:main][RCTModuleData.mm:69] Module SQLite requires main queue setup since it overrides init but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
and the last entry is a:
libc++abi.dylib: terminating with uncaught exception of type NSException

@NunoCardoso Exact same issue here. Any success yet?

same issue here. Any success yet?

Tried with another project. Same crash. Waiting for a fix.

will recuse from this, as I reattached my react native app, therefore I don't need XCode to compile, not I need 3rd party libraries.

I'm having this exact same issue that @NunoCardoso describes.
I updated from
Expo 20.0.0 => 23.0.0
Expo Kit 1.19.0 => 2.1.1
React 16.0.0-alpha.12 => 16.0.0
React Native to 0.50
I created some breakpoints in XCode and saw that the app would crash after this line:

So looks like an ExpoKit issue. I'll try and chase it up further with them.


Improper clean up of serial interface on ctrl-c of rq_sensor

Hello,
When ctrl-c is invoked on rq_sensor, I believe the serial interface is not being cleaned up properly. I think this because when the sensor is restarted shortly after the ctrl-c, it takes MUCH longer to start streaming at full speed. If you wait a few minutes after invoking ctrl-c, it starts just fine.  I have had this same behavior with serial connections that are not closed properly, so that is my gut instinct.  I will be looking through the code, but in the mean time I thought I would let you know.
Cheers,
Kel

I don't know if there is a way to catch ctrl+c inside of a ROS node. If so, it would make sense to close the serial port properly at this moment.
As far as I recall, there is no such mechanism implemented in the node for the FT sensor.

I believe this can be done with a custom SIGINT handler, see here

I mean, couldn't you just put some sort of clean up command after the
while(ros::ok) loop that closes everything down? That seems to be a common
pattern.
On Mon, Jul 6, 2015 at 4:52 PM Shaun Edwards<EMAIL_ADDRESS>wrote:

I believe this can be done with a custom SIGINT handler, see here
http://wiki.ros.org/roscpp/Overview/Initialization and Shutdown#Custom_SIGINT_Handler
—
Reply to this email directly or view it on GitHub
https://github.com/ros-industrial/robotiq/issues/37#issuecomment-118994706
.


setup error when use colab

Building wheels for collected packages: dirt
Building wheel for dirt (setup.py) ... error
ERROR: Failed building wheel for dirt
Running setup.py clean for dirt
Failed to build dirt
ERROR: tensorflow 1.15.0 has requirement tensorboard<1.16.0,>=1.15.0, but you'll have tensorboard 2.0.1 which is incompatible.
ERROR: tensorflow 1.15.0 has requirement tensorflow-estimator==1.15.1, but you'll have tensorflow-estimator 2.0.1 which is incompatible.
ERROR: tensorboard 2.0.1 has requirement grpcio>=1.24.3, but you'll have grpcio 1.15.0 which is incompatible.
ERROR: google-colab 1.0.0 has requirement google-auth~=1.4.0, but you'll have google-auth 1.6.3 which is incompatible.
Installing collected packages: google-auth, tensorboard, tensorflow-estimator, tensorflow-gpu, dirt
Found existing installation: google-auth 1.4.2
Uninstalling google-auth-1.4.2:
Successfully uninstalled google-auth-1.4.2
Found existing installation: tensorboard 1.15.0
Uninstalling tensorboard-1.15.0:
Successfully uninstalled tensorboard-1.15.0
Found existing installation: tensorflow-estimator 1.15.1
Uninstalling tensorflow-estimator-1.15.1:
Successfully uninstalled tensorflow-estimator-1.15.1
Running setup.py install for dirt ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-idwy8yj3/setup.py'"'"'; file='"'"'/tmp/pip-req-build-idwy8yj3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-e3r18up2/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

use python3 and gpu . thanks

I have the same error.

This requires installing a compatible version of tensorflow, and setting some compile flags. See this gist for an example (this assumes you start with a clean runtime with a GPU).


TIMEOUT_OR_DUPLICATE

I'm using your component in Vue.js however I notice that when the user fills out a very large form, spending too much time on screen, the first request will give the timeout message and the user will need to click again to submit the form.
Is there any alternative to increase this time, or when it exceeds the time, automatically make a new request to get a new token?

Hello Luisrossi, i think by design, the component shouldn't allow the key to be refreshed, so this needs to be handled on your side, for example, you can just do simple Javascript coding:
setInterval(function(){  refreshReCaptchaV3('contact_id','contact');}, 150000);


Setup GitHub actions

I have not done anything with GH actions before.  Need to figure out how to set it up to:

[x] Build the Docker image #104
[x] Push to Docker hub on success #104
[ ] :construction: Test a known PBF file (D.C.?)  #112
[ ] Fix #132

Resources
https://github.com/docker/build-push-action
https://github.com/VaultVulp/gp-docker-action
https://github.com/marketplace/actions/docker-run-action

Not really sure why this is open... closing.


Deliver frozen audit 6 scope to OpenZeppelin

closed by https://github.com/celo-org/celo-monorepo/issues/8241


how to separate index.html when running npm run build?

What I have done so far is that I updated webpack.base.babel.js
    const HtmlWebpackPlugin = require('html-webpack-plugin');
    new webpack.NamedModulesPlugin(),
    new HtmlWebpackPlugin({
      inject: true,
      filename: '../../templates/index.html',
    }),

I successfully placed index.html in ../../templates/index.html but when I look at my build folder index.html is still being build there also. The index.html I generated to a separate route does not have the same import from meta,script,link,etc. from as the original index.html imported. It only imported the main.js file and nothing else.

Utilize the path module by adding a path.resolve instead of ../../. See the way it's used elsewhere in the file.


fix: upgrades for<EMAIL_ADDRESS>

ah. and flow check errors for codemirror-graphql. this will not be an easy one


findAllRefs: Match objects whose types match the type containing the property searched for

Fixes #27284
When we find a property of an object literal during search, it might not have a contextual type. So, see if the symbol we're searching for is also a property, and if so, get the search symbol's containing type. If the object literal's type matches the search symbol's containing type, consider that a reference.

Closing this since I don't think this is right approach


Typescript moduleResolution node16 or nodenext break typings resolution

Describe the bug
Setting the compilerOptions.moduleResolution to either node16 or nodenext break the typings resolution of Houdini. The reason is that when this option is set to those, you require to add the file extensions to the import statements, which the generated $houdini directory does not.
The application still seems to work fine (dev & build), but you will get annoying typing issues like below.
import { graphql } from '$houdini'
/*
  Relative import paths need explicit file extensions in EcmaScript
  imports when '--moduleResolution' is 'node16' or 'nodenext'.
  Consider adding an extension to the import path.ts(2834)
*/

//or

import { graphql } from '$houdini/index.js'
/*
Module '"$houdini/index.js"' has no exported member 'graphql'.ts(2305)
*/

Could it be possible to make an option, which once enabled, would make the generated code appends the extension on the generated import statements?
typesafe-i18n had similar issues & already fixed this via an option esmImport so it could be something to look into.
Severity
serious, but I can work around it
Steps to Reproduce the Bug

git clone https://github.com/HoudiniGraphql/example-sveltekit-todo.git
add compilerOptions.moduleResolution: nodenext to tsconfig.json
open any file which import $houdini in vscode

Reproduction
No response

I'd be curious to see if there's any downside to having the extensions always present and avoiding the extra config. If you have some time to give it a shot and update the imports in the runtime directory I would really appreciate it.

I'm closing this issue since its gone a bit stale. feel free to let me know if you want to keep exploring options here


BUG: withdrawal from LOB bot fails after multiple updates

Some withdrawals (so far all except the first) from LOB fail and we're seeing this error in pigeon
Jun 01 00:13:30 m1 pigeon[3695463]: {"level":"debug","msg":"Sending Msg: creator:\"paloma1jejkd87srrggj20jdtkchtkcjscfv7jvuctluv\" proof:\u003ctype_url:\"/palomachain.paloma.evm.SmartContractExecutionErrorProof\" value:\"\\n8execution reverted: TransferHelper: TRANSFER_FROM_FAILED\" \u003e messageID:62 queueTypeName:\"evm/bnb-main/evm-turnstone-message\" ","time":"2023-06-01T00:13:30Z"}

@webelf101 This bug still persists for another day:

We currently are unable to get the correct price on the front-end for the entry points. Prices are now denominated in the native token and need to be denominated in dollars.
@rootedbox attempted a number of fixes, but lack of clarity of how this works prevents others from working on this codebase. This needs to change with an EPIC documenting the Web3.js flow. Please create one after a fix is complete.
Withdrawals appear to be working. However, it's not clear how they are performing.


Community bot to welcome users in PM

When implementing a #community bot, if user is joining our Slack, - send him a PM about using ``` Slack formatting. This will help us a lot, asking almost every 2nd new user to use ` for code formatting.
Additionally it makes sense to send user in a private message links to docs, forum and general community rules.

Ack. Will be good to also send them a message about forum.stackstorm.com too.


Make SQL Connector Actions return errors instead of throwing exceptions.

Description:
This work must be coordinated with https://github.com/ballerinalang/ballerina/issues/4513

Fixed with https://github.com/ballerina-lang/ballerina/pull/5702


lowercase text in count vector featurizer

Proposed changes:

Lowercase text before passing to count vector featurizer. I think wanting to threat capitalised & uncapitalised words differently is such a rare use case that we don't even need to make this confugrable. thoughts?

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

I was also not able to think of any cases where the case sensitivity would matter. I just suggested having it as a configurable feature because it was available in spaCy. Also it doesn't hurt to have a choice. But I think it can be left out for now.


fix: group users listing should only have members

currently listing group users returns all the users who have access to the group
ideally it should only return users who were explicitly added as owner or member of the group
same goes for listing project users

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.275%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/serve.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5768

Relevant Lines:
11473

💛  - Coveralls


Adding all song to the play queue

Is it possible to add all songs to the play queue without manualy selecting "add to end of play queue"?

If you don't care about clobbering whatever's in the play queue (sounds like you don't), just switch to track search ESC then T, and press ENTER.

Going to resolve this one. Please re-open with more info is the answer is not satisfactory.


Update read_gtf.py

Simple change to comply with (and get rid of) FutureWarnings coming from Pandas.
(Changes read_csv call in read_gtf.py to comply with future deprecation of error_bad_lines and warn_bad_lines arguments.)

Thanks for the suggestions, looks like it got added via a different PR!


Should SecurityContext information be in the sandbox config

In trying to get criod (https://github.com/kubernetes-incubator/cri-o) to pass the cri-tests, I am seeing an issue where criod expects there to be SecurityContext information in the config.
@Random-Liu Is SecurityContext required to be in the config or is it optional? If the latter, i can fix our code.  If the former, I'm happy to provide a PR if you have some default options you want defined.
@runcom fyi

/cc @mrunalp

@feiskyer ping

@runcom @mrunalp Sorry for the late response (long holiday here). LinuxContainerSecurityContext is optional (it may be nil), but LinuxPodSandboxSecurityContext is always not nil, see here and here.

@feiskyer thanks for the response! closing as such


Minor fixes to the BNF spec grammar

A few minor typos I ran into in the documentation for the specification.
Also, if I read it correctly, I think there are a few missing or incorrect parts in it, respective to the spec files I saw (such as "," in lists, comments, the definition of expressions, etc.), but I don't know how rigorous this file is meant to be.
Maybe it's easier if we discuss it in person, let me know. :)

Thanks! I'll merge this and let @necto handle the missing/incorrect parts.


upstream: clean up code location

Risk Level: Low (just moving code)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Needs format fix.
/wait

Needs format fix.
/wait


OutOfMemoryError on dual RTX 3090 (48 GB) with Llama-2-7B-hf while using adapter.

I am getting OutOfMemoryError when I try to finetune Llama-2-7b-hf but it is working fine on lit-lama adapter.
python finetune/adapter.py --checkpoint_dir checkpoints/meta-llama/Llama-2-7b-hf

Log
Devices available: 2
Devices specified: 2
{'eval_interval': 600, 'save_interval': 1000, 'eval_iters': 100, 'log_interval': 1, 'devices': 2, 'learning_rate': 0.003, 'batch_size': 32.0, 'micro_batch_size': 2, 'gradient_accumulation_iters': 16.0, 'epoch_size': 50000, 'num_epochs': 5, 'max_iters': 62500, 'weight_decay': 0.02, 'warmup_steps': 1562.0}
Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/2
Devices available: 2
Devices specified: 2
Initializing distributed: GLOBAL_RANK: 1, MEMBER: 2/2
[rank: 1] Global seed set to 1337
----------------------------------------------------------------------------------------------------
distributed_backend=nccl
All distributed processes registered. Starting with 2 processes
----------------------------------------------------------------------------------------------------

[rank: 0] Global seed set to 1337
Loading model 'checkpoints/meta-llama/Llama-2-7b-hf/lit_model.pth' with {'org': 'meta-llama', 'name': 'Llama-2-7b-hf', 'block_size': 4096, 'vocab_size': 32000, 'padding_multiple': 64, 'padded_vocab_size': 32000, 'n_layer': 32, 'n_head': 32, 'n_embd': 4096, 'rotary_percentage': 1.0, 'parallel_residual': False, 'bias': False, 'n_query_groups': 32, 'shared_attention_norm': False, '_norm_class': 'RMSNorm', 'norm_eps': 1e-05, '_mlp_class': 'LLaMAMLP', 'intermediate_size': 11008, 'rope_condense_ratio': 1, 'rope_base': 10000, 'adapter_prompt_length': 10, 'adapter_start_layer': 2}
Number of trainable parameters: 1,229,760
Number of non trainable parameters: 6,738,415,616
[rank: 1] Global seed set to 1338
[rank: 0] Global seed set to 1337
Validating ...
Recommend a movie for me to watch during the weekend and explain the reason.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Recommend a movie for me to watch during the weekend and explain the reason.

### Response:
I recommend The Little Prince because, in my opinion, it is one of the best movies to watch for leisure. The movie is about a little boy who leaves his home to explore the galaxy and learns about the values of life and living things on Earth. The character of the little prince is relatable and the message of the movie is universal. However, the movie is very sad and it is not suitable for children.

### Instruction:
I just
Estimated TFLOPs: 617.65
Measured TFLOPs: 171.99
Traceback (most recent call last):
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 305, in <module>
    CLI(setup)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/jsonargparse/_cli.py", line 96, in CLI
    return _run_component(components, cfg_init)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/jsonargparse/_cli.py", line 181, in _run_component
    return component(**cfg)
           ^^^^^^^^^^^^^^^^
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 83, in setup
    fabric.launch(main, data_dir, checkpoint_dir, out_dir)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 834, in launch
Traceback (most recent call last):
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 305, in <module>
    return self._wrap_and_launch(function, self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 920, in _wrap_and_launch
    return to_run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 925, in _wrap_with_setup
    CLI(setup)
    return to_run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 120, in main
    train(fabric, model, optimizer, train_data, val_data, checkpoint_dir, out_dir, speed_monitor)
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 183, in train
    fabric.backward(loss / gradient_accumulation_iters)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 422, in backward
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/jsonargparse/_cli.py", line 96, in CLI
    self._strategy.backward(tensor, module, *args, **kwargs)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/strategies/strategy.py", line 186, in backward
    return _run_component(components, cfg_init)
    self.precision.backward(tensor, module, *args, **kwargs)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/plugins/precision/fsdp.py", line 126, in backward
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/jsonargparse/_cli.py", line 181, in _run_component
    return component(**cfg)
           ^^^^^^^^^^^^^^^^
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 83, in setup
    fabric.launch(main, data_dir, checkpoint_dir, out_dir)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 834, in launch
    return self._wrap_and_launch(function, self, *args, **kwargs)
    super().backward(tensor, model, *args, **kwargs)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/plugins/precision/precision.py", line 96, in backward
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 919, in _wrap_and_launch
    tensor.backward(*args, **kwargs)
    return launcher.launch(to_run, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/torch/_tensor.py", line 492, in backward
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/strategies/launchers/subprocess_script.py", line 101, in launch
    torch.autograd.backward(
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/torch/autograd/__init__.py", line 251, in backward
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 925, in _wrap_with_setup
    return to_run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 120, in main
    train(fabric, model, optimizer, train_data, val_data, checkpoint_dir, out_dir, speed_monitor)
  File "/home/ml/rajan/LLAMA/lit-gpt/finetune/adapter.py", line 183, in train
    fabric.backward(loss / gradient_accumulation_iters)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/fabric.py", line 422, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
    self._strategy.backward(tensor, module, *args, **kwargs)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/strategies/strategy.py", line 186, in backward
    self.precision.backward(tensor, module, *args, **kwargs)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/plugins/precision/fsdp.py", line 126, in backward
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 774.00 MiB. GPU 1 has a total capacty of 23.69 GiB of which 453.12 MiB is free. Including non-PyTorch memory, this process has 23.24 GiB memory in use. Of the allocated memory 21.86 GiB is allocated by PyTorch, and 982.27 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
    super().backward(tensor, model, *args, **kwargs)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/lightning/fabric/plugins/precision/precision.py", line 96, in backward
    tensor.backward(*args, **kwargs)
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/torch/_tensor.py", line 492, in backward
    torch.autograd.backward(
  File "/home/ml/suruchi/anaconda3/envs/lit_gpt/lib/python3.11/site-packages/torch/autograd/__init__.py", line 251, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 774.00 MiB. GPU 0 has a total capacty of 23.69 GiB of which 611.31 MiB is free. Including non-PyTorch memory, this process has 23.07 GiB memory in use. Of the allocated memory 21.86 GiB is allocated by PyTorch, and 810.27 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

This is probably because of the max_seq_length. I'll soon land #586 to clarify the usage.
You'll want to call python scripts/prepare_alpaca.py --max_seq_length 256 to match exactly what lit-llama does


Responses being mangled

I’m experimenting with using the async-graphql crate inside a worker. When I use wee_alloc as the global allocator, the first few bytes of each response from the worker are being consistently ‘mangled’ for some reason. Here is a repository with a minimal worker which replicates the issue: https://github.com/thomasfoster96/wealloc-issue and here is the worker in action: https://wealloc-issue.thomasfoster.workers.dev/.
Here I what I would expect my worker to produce:
{"data":null,"errors":[{"message":"Bad Request"}]}

Instead, this is what I get:
��ta":null,"errors":[{"message":"Bad Request"}]}

The bytes are mangled the same way on every request. Calling serde_json::to_string on the GraphQL request and then logging it with console_log! produces the correct output — this is only happening when I use Response::from_json or similar methods.
Creating a response body in other ways produces similar results. For example, using serde_json::to_string produces the correct output but using Response::from_html then mangles it, as does using serde_json::to_vec and then Response::from_bytes.
(Apologies if any of this is unclear, I’m very much a beginner with Rust and Cloudflare Workers)

I have also encountered this issue, although in my case not always reproducible. Not sure if this is related: https://rustwasm.github.io/docs/wasm-bindgen/reference/types/str.html#utf-16-vs-utf-8

I'd avoid using wee_alloc for as long as you can.
Does your bundle size require you to use wee_alloc ? If not, I would solve this issue by dropping it altogether. We aren't likely going to be able to prioritize looking into this at this time. Maybe the rustwasm working group can take a look?
I will most likely remove it from the optional deps in the template before the next release. Sorry if it has come across as a recommendation, but it's mostly a last resort for pruning every byte possible from your Worker bundle upload.

@dbw9580 I did initially think it could be a text encoding issue, but the issue persisted even when using Response::from_bytes so I don’t think it’s text-related. Not to mention that it’s only affecting the first 2–4 bytes of the response body, when I’d expect text encoding problems to affect the entirety of it.

@nilslice I don’t need to use wee_alloc, but the worker size is getting close to the Workers limit so I was trying it out to see if there were any noticeable savings. The worker is around 1.3MB uncompressed, but wrangler is uploading it successfully so it’s clearly below that after whatever compression (I think async-graphql uses a lot of easily compressible static strings). Removing wee_alloc as an optional dependency would be great for people like me who naively thought it was a piece of low-hanging fruit as far as optimisations go — lto = true and opt-level = "z" work perfectly fine and give much bigger savings, and I doubt there would be any workers which would be big enough for those two settings to blow out compile times.
I’ll create an issue for rustwasm/wee_alloc and follow-up there — I’d created the issue here because everything else in the worker is working fine with wee_alloc, the problem seems to only be occurring within Response. This is a wild guess, but given it’s the first 4 bytes of the body which are the problem, something might trying to interpret the first four bytes of the response body as a usize, i.e. as a pointer or a length.

That sounds good! And it's totally reasonable to expect it to work. I've seen it work in the past with different projects, but there a other layers at play here between the Worker and actually serving the final response back to the user which will take a while to get on anyone's roadmap.

@nilslice in the worker I gave as an example works as expected if the two lines which set wee_alloc as the global allocator are removed.
Since reporting this issue however, I swapped async-graphql with juniper in my worker (which saves ~500kb), but now have a similar issue with the same mangling of the first 2-4 bytes of responses, but also the final one or two bytes being truncated. This is occurring without wee_alloc, but also only within responses with a 4XX status code — if the worker responds with a 200 OK, everything’s fine. This is also causing Safari to try and download the worker body as a text file if the response is mangled.

I had the same issue recently, but completely outside of wasm-bindgen, Cloudflare and wrangler. I was compiling mozjpeg-sys to wasm-wasi (wasn't using wasm-bindgen). When I encoded an image to JPEG, the first bytes (I think it were also four byte) where replaced with 0, too (resulting in an invalid JPEG file). I fixed it by removing we_alloc. The size difference without we_alloc was only 1kb or so, so I didn't even care. That being said, since I saw the same in a completely different use-case, it sounds to me like it might be an issue with we_alloc?

I'm experiencing the response garbling issue when running miniflare to mock a durable object. Two things I noticed:

Responses only get garbled if I make a request to the DO
Responses only get garbled sometimes. It seems to work just fine 25% of the time.

@cjpatton - interesting! can you update once more when you've got this published?

I've encountered the same issue just today.
The first few bytes seem to be odd sometimes. When a worker restarts (due to a new script being uploaded for example), it mostly runs fine for a while, but will start erroring soon.
It's not always a fixed amount of bytes, it seems to be depending on the size of the object.
For example, I have one response which is always similar in size, there's always the first 8 bytes being mangled.
Bytes received (example):
[12, 98, 20, 0, 12, 98, 20, 0, 117, 101, 117, 101, 95, 100, 101, 112, 116, 104, 34, 58, 48, 44, 34, 108, 101, 97, 100, 101, 114, 98, 111, 97, 114, 100, 95, 113, 117, 101, 117, 101, 95, 100, 101, 112, 116, 104, 34, 58, 50, 57, 50, 44, 34, 119, 101, 98, 104, 111, 111, 107, 95, 113, 117, 101, 117, 101, 95, 100, 101, 112, 116, 104, 34, 58, 48, 125]
As you can see, the first 8 bytes are even <32, which is in UTF8 special chars, and thus the "json" is garbage.
On another json, which is quite large, I get a big chunk of garbage; I don't have the raw bytes here, but text should suffice...
JSON Received: Ð½\u0015\u0000Ð½\u0015\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u001cc\u0014\u0000\u0010\u0000\u0000\u0000764746\",\"player\"[...]
I am compiling with profile
[profile.release]
opt-level = "s"

@zebp seeing a very similar issue to this one after upgrading our workers to 0.0.14.

@zebp ok, I think the fix from https://github.com/cloudflare/workers-rs/pull/115/files essentially got rolled back during some of the recent refactors. Looking into a fix.

PR with the fix brought back again: https://github.com/cloudflare/workers-rs/pull/291.


Allow className property on HighchartsChart

@whawker I've made the changes and added a small function around the class names that means that if className isn't provided you won't end up with a dangling space e.g. class="chart "
I usually use the classnames package but I thought you wouldn't want another dependency.

Thanks!!


conda: changed builds of pt and tv (fixes #97)

should fix #97

run the tests with the new environment -- ok.
TODO:

[ ] change docker
[ ] change bmt and mdvc branches in video_features
[ ] change the commit in readmes in other repos (mdvc, bmt)
[ ] checkout to the latest commit in these branches
[ ] change the environemnts in mdvc and bmt


Add Plugin Instance to Guice Injection

This is a feature I've seen before in Forge mods:
@Instance
public static MyPlugin instance;

Would be nice to re-create this functionality since I've seen multiple people set their instance all over the place.

The guice injector for plugins allows you to inject your plugin instance as a Singleton
So they could just go
@Inject
private MyPlugin plugin

and just inject the plugin wherever needed.

Totally didn't realize that @saladoc.
Thanks for the notice!

Wait... does this work with static fields?

@JBYoshi  @saladoc
This doesn't work for statics. That is a requirement for this.

@Zidane It can be implemented by calling requestStaticInjection(<PluginClass>) within the configure() method of the guice plugin module

As a follow up, I did testing on the injection order and using requestStaticInjection causes resolving at that exact moment for any instances that need to be injected into static variables.
This means that if the plugin needs an instance that isn't yet available during the configure() call will cause a CreationException. I believe requestStaticInjection is handled by the parent injector, so any objects made available for the individual plugins would not be available.

I don't really like the idea of having modifiable instance field in the class which can be modified by every other class, seems like very bad design.
Generally, this doesn't seem much harder to setup and won't expose a public field:
private static MyPlugin instance;

public static MyPlugin getInstance() {
    return instance;
}

public MyPlugin() {
    instance = this;
}

After thinking about it, I agree that this is a little unsafe and does smell of bad design. I'm aware FML allows it but that doesn't mean its okay.


Add clickhouse support as vectore store

Hello,
ClickHouse has built-in support for array data types and specialized functions for vector operations, facilitating efficient storage and computation of embedding vectors.
This enables the creation of private chatbots for organizations with extensive documentation.
Note: PR testing was conducted using the managed ClickHouse service provided by Double Cloud.

The PR is really good! Valuable and complete, thanks @Proger666 !
There CI build is failing, please run poetry lock --no-update and commit the lock file - it is out of sync with pyproject.toml

Done. ty

Apparently there are format errors. Please run "make check" and commit the fixes. You can run "make test" too.


Added EMAIL_EXISTS Auth error message.

Added missing EMAIL_EXISTS Auth error message.
Not sure if the DUPLICATE_EMAIL message is already deprecated, as firebase api documentation is not clear about this for me.

Thanks @kcieslinski. We need to handle both error codes. See https://github.com/firebase/firebase-admin-python/pull/348 for some more context.


nixos/hypridle: make hypridle start with graphical-session.target

If we don't add the dependency explicitly, the service won't be pulled in at runtime. Link: https://github.com/NixOS/nixpkgs/pull/340874#issuecomment-2365302744
Closes: https://github.com/NixOS/nixpkgs/issues/347651

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Tested with my configuration.
❯  systemctl --user status hypridle.service
● hypridle.service - Hyprland's idle daemon
     Loaded: loaded (/etc/systemd/user/hypridle.service; enabled; preset: ignored)
    Drop-In: /nix/store/vbz308lam4ny1j73hnbvsjmzp1z3flyv-user-units/hypridle.service.d
             └─overrides.conf
     Active: active (running) since Thu 2024-10-10 10:30:23 IST; 57s ago
 Invocation: 84a63c9a172a416aa213aeda823c7586
       Docs: https://wiki.hyprland.org/Hypr-Ecosystem/hypridle
   Main PID: 2594 (hypridle)
      Tasks: 2 (limit: 17924)
     Memory: 616K (peak: 1.4M)
        CPU: 5ms
     CGroup<EMAIL_ADDRESS>             └─2594 /nix/store/0bxazkddh9vlf708x3grkxvd8pz1x0li-hypridle-0.1.2/bin/hypridle

Oct 10 10:30:23 Ainz-NIX systemd[2088]: Started Hyprland's idle daemon.

I'll merge this, no need to hold back a valid fix.


0 nfts in congrats modal

this could be scary
Getting success modal like this:

after 5 seconds, it loaded to this

It works for me. I could not reproduce the issue.

That's weird, will leave open

It happened to me again


[Feature][Resource Center] Simultaneous support multi resource components

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
We have a scene about the need to support multi-resource components simultaneously.
Use case
Users can upload files to s3 or hdfs. We need to change the resource center to support multiple sources and the download files logic when the job running.
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

hi @liqingwang thanks for your issue, but does it a part of function in https://github.com/apache/dolphinscheduler/issues/10283?

Hi @zhongjiajie , I have saw #10283 , It talks about the data center, but this feature we would like to change in the storage center

Hi @zhongjiajie , I have saw #10283 , It talks about the data center, but this feature we would like to change in the storage center

I think its scope is not only the data center, it should contain all external connections, such as databases, file systems, machine hosts, and also the resource center. it is just connector between dolphinscheduler and external system


'bins' Error while running miRge3.0

Hello,
I ran the following command:
miRge3.0 --adapter AACTGTAGGCACCATCAAT --mir-DB miRBase --samples july_fastq_list.txt --libraries-path mirge3_lib/ --organism-name human --tRNA-frag --qiagenumi -umi 0,12 --crThreshold 0.01 --threads 85 --AtoI --outDir output_qiagen_umi_2 -udd
I have 150 samples with umi (qiagen kit).
When trying to run this command on 10 samples it worked, but with 150 samples I got the following error:
...
Matrix creation finished in 206.1682 second(s)
Traceback (most recent call last):
File "/usr/local/bin/miRge3.0", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/mirge/main.py", line 140, in main
pdDataFrame,sampleReadCounts,trimmedReadCounts,trimmedReadCountsUnique = baking(args, fastq_fullPath, base_names, workDir)
File "/usr/local/lib/python3.10/site-packages/mirge/libs/digest.py", line 282, in baking
hist, bins = np.histogram(val, bins=(maxVal-minVal))
File "<array_function internals>", line 200, in histogram
File "/usr/local/lib/python3.10/site-packages/numpy/lib/histograms.py", line 780, in histogram
bin_edges, uniform_bins = _get_bin_edges(a, bins, range, weights)
File "/usr/local/lib/python3.10/site-packages/numpy/lib/histograms.py", line 424, in _get_bin_edges
raise ValueError('bins must be positive, when an integer')
ValueError: bins must be positive, when an integer
Any idea of how to solve that?
Thank you

Hi @ChenSchiff,
Looks like one or more samples doesn't comply with adapter/Qiagen UMI pattern, this would occur if the reads are not trimmed correctly and the value for plotting histogram with parameters bins is negative leading to this error.
Can you try the following things:

Check the adapters of all samples and re-run miRge3.0. # More likely the cause of the error
We can check by replacing the values of bin to be anything but negative. So, if you can edit the code to place an if block as shown below:
 /usr/local/lib/python3.10/site-packages/mirge/libs/digest.py

if (maxVal-minVal) >0:
    hist, bins = np.histogram(val, bins=(maxVal-minVal))
else:
    hist, bins = np.histogram(val, bins=10) # Provide any other number and check if the error is resolved at this step, NOTE the end histogram figure (in the html file) may not be generated.

Instead, you may run 10 samples at once (in batches) and later combine the counts and RPM matrix of all samples for your analysis (i.e., combine all 150 samples from 15 miRge output folders). (More desirable method), I have few codes to combine and create counts/RPM matrix here.

Let me know if this works. I strongly recommend the last method, and you can also find if any of the sample file is corrupt during your batch runs.
Thank you,
Arun.

Hi @ChenSchiff,
I thought of something we changed in miRge, and the new release is not public yet. Before you try the previous suggestions, can you replace the digest.py code from the source.  Download the zip file, and after unpacking the zip file, copy cp /miRge3.0-master/mirge/libs/digest.py /usr/local/lib/python3.10/site-packages/mirge/libs/. This will replace the digest.py file with updates on histogram plots. If you want to backup the existing digest.py file first, then cp /usr/local/lib/python3.10/site-packages/mirge/libs/digest.py /usr/local/lib/python3.10/site-packages/mirge/libs/digest_backup.py.
Then you can run all 150 samples at once and let me know if that works. If not try the previous suggestion (running in batches).
Thank you,
Arun.

Hi @arunhpatil,
Thank you for the options you suggested!
I'm using mirge3 with Singularity, which prevents me from directly accessing the code.
However, I found the problem while running the samples in batches. One of the samples was empty, causing the pipeline to fail
I have another question regarding the output of the pipeline. After the pipeline completes, one of the output files is the tRF matrix counts. Is there a way to prevent the automatic conversion of tRNA names from their full gene names to the "comb" names? This conversion is based on the human tRF merges file included in the annotation libraries.
Thank you for your help,
Chen

Hi @ChenSchiff,
Great.
Regarding the tRNA, the quick answer is to rename the merges file and create an empty merges in the library folder.
# This will keep backup of your merges file:
mv miRge_lib/human/annotation.Libs/human_tRF_merges.csv miRge_lib/human/annotation.Libs/human_tRF_merges_backup.csv

# This will create an empty file for miRge3.0
touch miRge_lib/human/annotation.Libs/human_tRF_merges.csv

This will trick the miRge and provide you the full names. Give it a go and let me know how if this is helpful.
Thank you,
Arun.


enable dependabot for GitHub actions

This allows to get updates for GitHub actions automatically. I have used this for my own packages, the Trixi.jl framework, and the SciML organization. After merging this, you could also enable other Dependabot actions in 'Settings -> Code security and analysis -> Dependabot alerts' and '... -> Dependabot security updates'.
See https://github.com/SciML/MuladdMacro.jl/pull/37

CI passes and I think we are good to go?


Not clear instructions

The instructions located at this uri https://learn.microsoft.com/en-us/azure/logic-apps/tutorial-process-email-attachments-workflow#create-function-to-remove-html. Step 3 are not clear or invalid after changes to Azure. This makes it hard for someone new to functions to follow.

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

ID: 771c44cc-a284-0c97-dae3-218e7319018f
Version Independent ID: e4b73a57-0c44-2453-2baa-7652bbbafc51
Content: Tutorial - Create workflows with multiple Azure services - Azure Logic Apps
Content Source: articles/logic-apps/tutorial-process-email-attachments-workflow.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@DoJoAgv
Thanks for your feedback! We will investigate and update as appropriate.

@DoJoAgv: Thank you for your feedback! We've added this request to our backlog to address.
#please-close


[Japanese page] git remote add branch should be main, not master.

Describe the bug
The description of git remote add to codecommit specifies master as the branch, which is not appropriate.
This is because if you create a branch in git without specifying anything, the branch name will be main.
When you run it, an error occurs and you cannot proceed with the procedure.
The branch name has been main since October 2020, so users who have been using git since before then may not encounter this problem.
Expected Behavior
Being able to proceed to the next step once the command has been specified and typed.
Current Behavior
The following error occurred when I followed the steps described.
The following error occurs because the branch name in git is main.
error: src refspec master does not match any
Reproduction Steps
No code to be submitted due to text correction request.
Possible Solution
Can you change the shell or annotate the shell?
Additional Information/Context
In the English documentation, the branch name is main, but the Japanese documentation is master.
CDK CLI Version
No response
Section
No response
Browser
No response
Language
No response

Hi @indrora, if you are fine I would try to come up with a PR.
I think there needs to be also a change to the image for the english and japanese versions

https://cdkworkshop.com/20-typescript/70-advanced-topics/200-pipelines/repo-code.png
https://cdkworkshop.com/ja/20-typescript/70-advanced-topics/200-pipelines/repo-code.png

In the image also "master" in mentioned in the drop down for the branches.


QEMULauncher takes up 100% CPU

Hi,
I am using UTM on my Mac to run Ubuntu 21.10
My Mac is a 2019 Intel i9 MacBook Pro, 1TB, 32GB Ram. I would expect that QEMU won't even run, since there is no emulation required, however it still runs and takes up almost all of my cpu.
Is there a way to work around it? Perhaps some wrong config?
Thanks!

This is expected because the way macOS sees a CPU as idle (not in use) is when it is executing the idle thread in the kernel. However, when you're running a VM, the CPU is never "idle" but instead executing the "idle" thread in the guest OS. Some more advanced VM software allows the host and guest operating system to work together to decide if it's idle or not.


Show Tracker and Issue ID in the selected tasks and Search Result

@isuru88 @Raathigesh @yohangz @chathuranga : Currently search results are ordered as:

Project name
Issue subject

What is we switch this order? As its the subject that an user will look at first and not the project name

The reason we thought in this way is, when user looks at the results, he can easily decide to skip the tasks in the same project seen close by.

But the problem is that when a new task is added to the list, it goes to the middle. Which is a bit confusing.

@chathuranga , If I'm not mistaken a majority of the users would be assigned only to a single project, therefore I feel using the subject as the initial identifier would be more user friendly. Any thoughts?

OK this was sorted in thinking of future task grouping as well. Let's change it to the usable manner as you feel.

Tracker and issue ID are not visible in search results. Order remains unchanged. Lets switch this in a future release based on user feedback.
Fixed with b85f64e0a05bbdfd750df1c6b95904418b5bc096