[bug] back button after switching chain broken

Link to minimal reproducible example
https://web3modal-laboratory-git-360-alpha1-walletconnect1.vercel.app/library/wagmi-email/
Summary

Connect email wallet
Click account
In account modal switch chain
Click back button

Expected bheavior: something happens
Actual behavior: noting happens
https://github.com/WalletConnect/web3modal/assets/966091/0cc17b10-1995-4d90-8f45-5539781aec92
List of related npm package versions

Closing this as it's resolved by #1662


ConnectBlock (RAPTOREUM): spork is off

Source code <IP_ADDRESS>, on a GNU/Linux Ubuntu 18.04
Hello,
please, I haven't caught a block in the pool in 10 days
and this text appears to me in debug.log
ConnectBlock (RAPTOREUM): spork is off, skipping transaction locking checks
is it some mistake ??
it seems weird to me ....
and about 150 users left
because there was no block for 10 days

The two are unrelated, this relates to Instasend which we do not have enabled.

And how can I allow it ??

It has nothing to do with your pool not getting blocks, as to the feature, it is centrally controlled and we will not be turning it on.


Improve ToDatetimeTransformer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3a6c244) to head (bfe23e2).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #244   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           35        35
  Lines          814       818    +4
  Branches        27        27
=========================================
+ Hits           814       818    +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[4.0] Sema: Track ReferenceWritableKeyPath applications as reads of their base.

Explanation: The compiler would incorrectly complain that a variable was unused when the only use of it was as the root of an assignment through a KeyPath application.
Scope: Incorrect diagnostic that's annoying to suppress.
Issue: SR-5673 | rdar://problem/33881533.
Risk: Low, small targeted bug fix
Testing: Swift CI

@DougGregor Does this look OK for the 4.0 branch?

@swift-ci Please test

@swift-ci Please test source compatibility


How can we apply BCKD to two-stage object detection models like Faster R-CNN?

Sorry for the late reply, because I was busy with other work.
We focus on one-stage dense object detection models, but I think the core idea can be apply to the two-stage models.


Update interactive figure export to account for named colormaps

This PR fixes a bug in the interactive figure export where named colormaps are not exported correctly. This is a pretty straightforward change, we just need to make sure to account for all of the relevant settings, which I did by mimicking the logic here.
Also, I changed "_colorMap" to "colorMap" in the other two cases because using "_colorMap" doesn't call the setter correctly (since it's set_colorMap rather than set__colorMap).

I think most of the test failures here are spurious, but flake8 has a complaint to address.

I fixed the flake8 error, so the tests are all good now.

Great, thanks!


Source-mapping of risk assessments

The location cards currently only indicate the risk level. However, they do not indicate which factors contributed to this result. Ideally, all relevant values and their respective risk classification should be indicated e.g. by changing the font color of the value.

Solved by https://github.com/TilBlechschmidt/ELSA/commit/1cc4ab5b6fd3de8dfa04478d382ba58f7a68e21b


[BACKPORT][v1.2.x] Allow to add annotations on the serviceAccount managed by the helm chart

I guess we forgot to backport this.
https://cloud-native.slack.com/archives/CNVPEL9U3/p1651717419977589

verified passed on v1.2.x-head.
there are service account annotations settings in yaml files, and the annotation can be set to service account w/o problems.


Add ERC: Transparent Financial Statements

Complete Reference Implementation and Source code HERE.
title: Transparent Financial Statements

eip: 7776
title: Transparent Financial Statements
description: Open Transparent Financial Data such as Revenue, Costs of Goods Sold, Operating Expenses, EBITDA and Earnings Per Share for all Investors.
author: Ignacio Ceaglio (@Nachoxt17) <EMAIL_ADDRESS>discussions-to: https://ethereum-magicians.org/t/erc-xxxx-transparent-financial-statements/21191
status: Review
type: Standards Track
category: ERC
created: 2024-09-20
requires: 20
Abstract
This proposal defines a standard API that enables EVM Blockchain-based companies (or also called "protocols") to publish their financial information, specifically Income Statements and Balance Sheets, on-
chain in a transparent and accessible manner through solidity smart contracts. This standard aims to emulate the reporting structure used by publicly traded companies in traditional stocks markets, like
the SEC 10-Q filings. The financial statements include key information, namely as Revenue, Cost of Goods Sold, Operating Expenses, Operating Income, Earnings before Interest, Taxes, Depreciation, and
Amortization (EBITDA) and
Earnings Per Share-Token (EPS), allowing investors to assess the financial health of blockchain-based companies in a standardized, transparent, clear and reliable format.
Motivation
The motivation of this ERC is to bring seriousness to the cryptocurrencies investments market. Currently, the situation is as follows:
The current state of token investment analysis is opaque, with most information presented in an abstract and non-quantitative form. This standard API ensures a consistent and reliable way for investors to
evaluate blockchain projects based on real financial data published directly on-chain, not just speculative promises. This will establish a greater
trust in the cryptocurrency markets and align token analysis with the standards of traditional equity markets.
Most ERC-20 Tokens representing EVM Blockchain-based companies (or also called "protocols"), DO NOT work the same way as a publicly traded stock that represents a share of ownership of the
equity of that such company (so the user who buys a protocol's ERC-20, is also now a share-holder and co-owner of the business, its profits and/or its dividends), but rather function as "commodities" such
as oil; they are consumable items created by said EVM Blockchain-based company (or "protocol") to be spent in their platform. They are publicly traded and advertised to be representing the underlying
protocol like a share, working in practice the same way as a commodity and without any public, transparent and Clear Financial Information as publicly traded stocks have.
Added to that, most token research analysis reports that can be currently found on the internet are informal Substack or Twitter posts, with lots of abstract explanations about the features of the said
protocol to invest in, that lack of transparent financial numbers and factual financial information, that are made by anonymous users without real exposed reputations to affect.
This ERC will improve that by giving users and investors transparent, clear and factual financial information to work with when analyzing as a potential investment the such
EVM Blockchain-based company that implements this ERC in their solidity smart contracts, and that will generate trust, transparency and seriousness in the cryptocurrencies investments market long term.
Specification
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in
RFC 2119 and RFC 8174.
All Transparent Financial Statements Standard implementations MUST implement ERC-20 to represent shares, and the financial numbers such as Revenue, Costs of Goods Sold, Operating Expenses, Operating
Income, EBITDA, Other Income and Expenses, Net Income and Earnings Per Share MUST be displayed in the value of the protocol's stablecoin of choice.
All Transparent Financial Statements MUST implement ERC-20's optional metadata extensions.
The name and symbol functions SHOULD reflect the underlying token's name and symbol in some way.
All methods MUST be of visibility external.
All methods MUST return their financial numbers valued in the provided stablecoin.
If the contract owner uses data or methods from other owned smart contracts external to their smart contract implementation of this standard, those smart contracts MUST be verified in the correspondent
blockchain explorer and of open and visible source code.
Timestamp Constraint: For all methods, startTimestamp MUST be less than or equal to endTimestamp. If startTimestamp is equal to endTimestamp, the method returns a balance sheet snapshot. If
startTimestamp is less than endTimestamp, the method returns an income statement for that period.
Output Structs: Instead of a single uint256 value, each method returns a struct with one or OPTIONAL more uint256 entries to allow for detailed financial data, each one with their own customized
entry name.

All Format checks passed :white_check_mark:. @Mc01 , @axic, @lightclient and @SamWilsn, you are invited to review :D
@abcoathup please also let me know if the formatting is correct here. In the .md file, I used as a file name erc-659.md because before I tried with eip-review_t_financial_statements_s.md, erc-review_t_financial_statements_s.md, eip-XXXX.md and erc-XXXX.md but in all cases the eth-bot reverted, and inside the file in the header I specified eip: 659, because if I left it blank the eth-bot will revert.
If I wrote something wrong regarding the E.I.P./E.R.C. number or .md file name, please tell me exactly for what to replace it instead.

All Conversations Resolved  :white_check_mark:(except from one with @SamWilsn in which I'm awaiting for further feedback). @Mc01 , @axic, @lightclient and @SamWilsn, you are invited to re-review and offer further and deeper feedback! :D
After I have taken care of all of your further and deeper feedback, I will remove the 2 <!-- TODO --> present in the document.

All Conversations Resolved ✅(except from one with @SamWilsn in which I'm awaiting for further feedback). @Mc01 , @axic, @lightclient and @SamWilsn, you are invited to re-review and offer further and deeper feedback! :D
After I have taken care of all of your further and deeper feedback, I will remove the 2 <!-- TODO --> present in the document.

X2 I insist in having updates since it has been 2 weeks since the last comments were resolved.

All Conversations Resolved ✅(except from one with @SamWilsn in which I'm awaiting for further feedback). @Mc01 , @axic, @lightclient and @SamWilsn, you are invited to re-review and offer further and deeper feedback! :D
After I have taken care of all of your further and deeper feedback, I will remove the 2 <!-- TODO --> present in the document.

X3 I insist in having updates since it has been 2 weeks since the last comments were resolved.

All Conversations Resolved ✅(except from one with @SamWilsn in which I'm awaiting for further feedback). @Mc01 , @axic, @lightclient and @SamWilsn, you are invited to re-review and offer further and deeper feedback! :D
After I have taken care of all of your further and deeper feedback, I will remove the 2 <!-- TODO --> present in the document.

X4 I insist in having updates since it has been 2 weeks since the last comments were resolved.

@Nachoxt17 please note there is only a small number of ERC editors.  (I am not an editor)
You can try attending office hours: https://github.com/ethcatherders/EIPIP/issues/363

@Nachoxt17 please note there is only a small number of ERC editors.  (I am not an editor)
You can try attending office hours: https://github.com/ethcatherders/EIPIP/issues/363

Thanks! This is useful.

@Nachoxt17 please note there is only a small number of ERC editors. (I am not an editor) You can try attending office hours: ethcatherders/EIPIP#363

Hello @poojaranjan , Can this ERC be reviewed in the next office hours?

Take a look at fixing these while you're in draft.

Done @SamWilsn .


Export reportContext if a reporter option with a path is specified.

This is a draft PR with a new feature that exports the JSON used to create the HTML report.
The json is called the report context as handlebars takes in a context used to format the HTML.
This PR might be updated as we figure out ways of producing the collated can I use it page.

@aljones15 does it have to be called "context" for Handlebars? That's a pretty loaded word around here... Could we not just call it "reportData" or some such?

@aljones15 does it have to be called "context" for Handlebars? That's a pretty loaded word around here... Could we not just call it "reportData" or some such?

ok so for handlerbars yes, but we could pass reportData as the context to handleBars and fix that. One further naming issue: you can add report data to a suite that will show up in the report so reportData might not be the best name maybe formattedReport would be better as that seems more specific to the use of the data structure while also avoiding over used concepts like data and contexts?


[Menu] Feature Request : MUI Next : Menu and MenuItem are not easily composable

Menu and MenuItem APIs are not flexible enough to compose richer components. This is primarily due to two features that have been removed since 0.x:

onChange property on Menu
value property on MenuItem

These properties enable the composition of richer components such as IconMenu and DropDownMenu. This is very clunky with the existing MUI Next APIs. For example, in the following code, there is no easy way for the parent component to inform the Menu that a MenuItem was clicked and hence the menu should be closed. I could pass a prop but that's very clunky and results in a tight coupling between the parent and the child.
    <IconButton onClick={ this.onMenuAnchorClick }>
        { this.props.icon }
    </IconButton>
    <Menu
        id="menu"
        anchorEl={ this.anchorEl }
        open={ this.open }
        onRequestClose={this.onRequestClose}
    >
        { this.props.children }
    </Menu>

Ideally, I would like to replicate the API of <select> which makes this type of functionality very easy:
    let items = [
        { id: 'item1', label: 'Item 1' },
        { id: 'item2', label: 'Item 2' }
    ];

    onItemChanged(event) {
        console.log('onItemChanged', event.target.value);
    }

    return (
        <select value={ selectedItemId } onChange={ onItemChanged }>
            {
                items.map((item) => {
                    return <option key={item.id} value={item.id}>{item.label}</option>;
                })
            }
        </select>
    );

Very clean and easy to understand!

Well I think this the purpose of dropdown menu, that was available in the [pre-v1 version]http://www.material-ui.com/#/components/dropdown-menu), but not yet on the v1. I hope that it'll be brought in the v1 as quick as possible.

Some thoughts on this proposition.

We want to expose low-level API so users can build higher abstraction they like on top of it. Here it's a good example.
You can rely on the click event bubbling up behavior to add a onClick event listener on the Menu and not the MenuItem.
Another option is to clone each menu item, to be careful with the number of item you have, that's not really great for performance.
The Menu component wasn't designed to have a select like API, however, I think that we should use it to build our SelectField component.

@oliviertassinari, in that case I would wait for the SelectField component. However I don't see that listed under supported components. Can you please clarify if we can expect to see something like that?

Follow #5716

Thanks for the reference!


add basic article page

I noticed many users landing on /article based on previously shared links.  This goes to a 404 page.  That's not good, this is a very simple page to deliver the content the users are probably looking for: the whitepaper

This is a very smart stop-gap, but I wonder if we might want to add some
content suggesting that people look at How It Works?
On Fri., May 8, 2020, 18:06 Jesse<EMAIL_ADDRESS>wrote:

Merged #50 https://github.com/covid19risk/website/pull/50 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/covid19risk/website/pull/50#event-3318840722, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZ6JILNCLS2KEMG3FGJBHTRQSUARANCNFSM4M4SJY3Q
.


W-13731552-reassignorphanedentities-se

First draft:
Added:

Settings documentation
Migration Hints
New page Reassign Assets

Includes changes in https://github.com/mulesoft/docs-rpa/pull/237 -> close this PR


Switch off of deprecated pkg_resources library

Background
The pkg_resources library, used by XBlock to load static assets, is deprecated. The removal timeline is unknown.
XBlock uses pkg_resources in a couple places.
XBlock also recommend pkg_resources in its docs: https://edx.readthedocs.io/projects/xblock-tutorial/en/latest/anatomy/python.html
To do
First, choose a new resource loading interface. Options:

Use importlib.resources. Unfortunately, this will become deprecated in Python 3.11 and replaced with a yet-to-be-determined interface.
Wait until Python 3.11, and then switch to the 3.11 replacement.
Merge xblock-utils into this repository. That library provides a ResourceLoader abstraction; adopt that.

Then:

Update the docs to recommend the new interface.
Update any uses of pkg_resources in this repo.
Reach out to XBlock maintainers (including maintainers of edx-platform, which defines several XBlocks!) to request that they switch from pkg_resources to the new interface.

Related

https://github.com/openedx/XBlock/issues/675
https://github.com/openedx/XBlock/issues/676

Its a duplicate story of following
https://github.com/openedx/XBlock/issues/676


feat: add combo box component

Add Combo Box
This PR adds the combo box component.
Draft status
The component renders and navigating with the arrow keys works. Still todo:

[x] filter options using input
[ ] add stories
[ ] add tests
[x] show clear button and handle clicks when an option has been selected

Related Issues or PRs
closes #170
How To Test

Open storybook and verify that the behavior matches what is shown in the USWDS version.

Screenshots (optional)
Checklist

[ ] PR title conforms to conventional commits, e.g. feat: Button
[ ] PR includes yarn audit output if dependencies changed
[ ] Any new components are exported from index.ts

There is a bug where the option list displays as empty if there is already a value selected. I think it stems from the filtering logic.

@jim  Checking in! Thanks for your work so far on this. What is the outstanding work here? Would love to get this merged and can help make sure that happens.

@haworku There are some missing tests to implement, and probably a few to write.
The biggest TODO, though, is to make a decision about how to proceed in terms of what props are required to use the ComboBox. Right now, we expect a setFieldValue function to be passed in, which is out of alignment with the rest of the components in this library (which only need to pass onChange).


The field I use as zabbix_value exists and is a string
The zabbix output part of my filter is :
filter {
if [@metadata][http_poller] == "TreinLocatiesAging" {
mutate {
convert => {"[aggregations][aging][values][75.0]" => "string"}
add_field => {
"zabbix_host" => "NLNSVTPW001__PRD01"
"zabbix_key" =>"ns.vt.aging.logstash"
}
}
}
}
output {
if [@metadata][http_poller] == "TreinLocatiesAging" {
zabbix {
zabbix_host => 'zabbix_host'
zabbix_server_host => '<IP_ADDRESS>'
zabbix_server_port => 10050
zabbix_key => "zabbix_key"
zabbix_value => "[aggregations][aging][values][75.0]"
}
stdout { codec => rubydebug { metadata => false}}
}
}
sample output :
{
"_shards" => {
"total" => 5,
"failed" => 0,
"successful" => 5,
"skipped" => 0
},
"hits" => {
"hits" => [],
"total" => 10936,
"max_score" => 0.0
},
"took" => 11,
"@timestamp" => 2017-11-20T16:01:42.724Z,
"zabbix_host" => "NLNSVTPW001__PRD01",
"@version" => "1",
"timed_out" => false,
"aggregations" => {
"aging" => {
"values" => {
"75.0" => "10"
}
}
},
"zabbix_key" => "ns.vt.aging.logstash"
}
Zabbix version : 2.4.2
Logstash version : 5.6.0
Architecture is litle endian (not related to logstash-output-zabbix plugin causes Logstash crash on Solaris (and possible other big endian platforms) )
Logstash log :
[2017-11-20T15:58:47,704][INFO ][logstash.pipeline        ] Pipeline main started [2017-11-20T15:58:47,919][FATAL][logstash.runner          ] An unexpected error occurred! {:error=>#<ZabbixProtocol::Error: data length is too short (data: "")>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/zabbix_protocol-0.1.5/lib/zabbix_protocol.rb:41:in load'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-zabbix-3.0.4/lib/logstash/outputs/zabbix.rb:206:in tcp_send'", "org/jruby/RubyIO.java:1201:in open'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-zabbix-3.0.4/lib/logstash/outputs/zabbix.rb:203:in tcp_send'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-zabbix-3.0.4/lib/logstash/outputs/zabbix.rb:226:in send_to_zabbix'", "org/jruby/ext/timeout/Timeout.java:115:in timeout'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-zabbix-3.0.4/lib/logstash/outputs/zabbix.rb:225:in send_to_zabbix'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-zabbix-3.0.4/lib/logstash/outputs/zabbix.rb:242:in receive'", "/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:92:in multi_receive'", "org/jruby/RubyArray.java:1613:in each'", "/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:92:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/legacy.rb:22:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/output_delegator.rb:49:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:436:in output_batch'", "org/jruby/RubyHash.java:1342:in each'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:435:in output_batch'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:381:in worker_loop'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:342:in start_workers'"]}

Sorry for bumping this issue. I had the same issue and the connection to the Zabbix couldn't be made which provoke this error.


A more efficient labeling method for polyline

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

When the mouse is placed on the polyline, the polyline can be selected and moved, and there is no need to move to the endpoint of the line. This expected operation is similar to the new rectangle labeling.
Fig1. move freely the rectangle when the mouse is placed on the rectangle

Fig1. cannot move the ployline when the mouse is placed on the ployline

"Pinned" property is default "true" for polylines.
If you want to move polylines, first uncheck this property.


[WIP] ILX callfunc cleanup

The F# compiler translates in phases TAST --> ILX --> IL --> Binary.  The ILX phase is a historical curiosity from a decade ago and we would like to get rid of the whole phase.  The whole ILX representation is cumbersome, silly, allocates a a lot of garbage (though it's all cleaned up quickly so doesn't cost too much) and generally obfuscating.
This is one small step towards eliminating this phase - the ILX "EI_callfunc" operation is immediately eliminated when generating IL from TAST rather than being generated as an instruction.

Merging as this is cleanup

Cool.


Deprecate TypeSpec onboarding guide on Azure DevOps

With the move to Eng Hub, we want to make sure that our users are only going to one place for documentation. Recently I saw that the API Stewardship board was sharing the link: DevOps instead of Eng hub
@mario-guerra recomendations are:

Port anything that you consider neccesary from this previous wiki to the new one
Remove all content from the DevOps wiki and put a message with the link to the new wiki. ie.: https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/10/Welcome-Service-Partners!
Move the page to the DEPRECATED section
Contact Mike and give guidance on what information to communicate when people have questions about TypeSpec

Thanks @maririos, I'll look into this issue later this week or early next.

Deprecation is complete.


[igemm] fix xdlop wrw padding kernel

fix
./bin/MIOpenDriver conv -F 4 -n 120 -c 510 -H 5 -W 5 -k 250 -y 3 -x 3 -p 1 -q 1 -u 1 -v 1 -l 1 -j 1 -g 1 -t 1
this patch is not fixing nan issue

Then what does it do?

Then what does it do?

It fix an issue when testing http://ontrack-internal.amd.com/browse/SWDEV-258337

#568 should be able fix the issue, so this PR is no longer needed


Add crate target choice

Add a choice to select crate target arch.

Motivation
Crate readme files contain this choice.

Current dependencies on/for this PR:

main

PR #15

PR #16

PR #17

PR #18

PR #21

PR #22

PR #23   👈

This comment was auto-generated by Graphite.


openstack-submit: Use SLE_12_SP2 for Newton gating

When running the openstack-submit job (after a succesful cleanvm job),
look into the SLE_12_SP2 repository when copy packages from Staging
to Non-Staging.

+1


Attached properties of ScrollViewer is not listed in an individual section

ScrollViewer has many properties which both dependent and attached, I can just find the attached properties from the method section. Maybe lists all the attached properties in one section (just like other controls) is more convenient.

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

ID: d6b04b95-dab3-a46a-0aef-6012c351b443
Version Independent ID: aa6e4ef8-5027-f0b8-6521-d15054ad022c
Content: ScrollViewer Class (Windows.UI.Xaml.Controls) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.UI.Xaml.Controls/ScrollViewer.xml
Product: uwp
Technology: winui
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

The doc system only supports listing properties in the table of contents as 'Properties' or 'AttachedProperty', but not both. The ScrollViewer attached properties are listed in a separate section of the Remarks:
https://learn.microsoft.com/uwp/api/windows.ui.xaml.controls.scrollviewer?view=winrt-19041#scrollviewer-xaml-attached-properties


Client Crash with builder tool on rendering Belt from create.

Building Gadgets Version
1.0.6
Describe the bug
Client crash when trying to render Belt block from Create using the Build Tool. I shift clicked the belt on accident when trying to place a normal solid block while playing on a server. The server is fine, but the client crashes on join because the tool is the selected item and is trying to render the block.
To Reproduce
Steps to reproduce the behavior:

Sneak-click Belt with shaft block from Create, using the build tool

Expected behavior
Either not render the block or not allow selecting it at all.
Screenshots
https://i.imgur.com/U5vtScG.png
Log Files
https://mclo.gs/GztgDLC
NOTE ON RUBIDIUM
Rubidium contains code that will crash many mods when used in conjunction with them. Unfortunately this includes Building Gadgets 2. There is absolutely nothing I can do on my side to prevent these crashes. If you're using Rubidium and your game crashes when rendering something, please try without rubidium before submitting a bug report.
It crashed with embedium, then I disabled all mods related to it and it still crashed.

The item and NBT for reference:

I can't reproduce this in dev environment - can you test without embeddium and let me know if it crashes still?


Create command line arguments to set genesis staking keys, VRF keys, and pool Id

This is the last item for #1004

This is looking fine. I'll review again after addressing the comments.


update snapshots issue

Not really sure that is an issue, but if one of the snapshots fails, I want to update snapshots, but all of them seem to get updated. I actually want to update only the snapshot that failed.
Is that even possible?
PS: Many thanks for this library. It works great!

Not yet :/ How would we determine which snapshots to update and which not? Obviously they all changed with changes below the threshold.

Not yet :/ How would we determine which snapshots to update and which not? Obviously they all changed with changes below the threshold.

Not sure I understand entirely how the tool works but if jest is ran with like this jest --updateSnapshot I was hoping that the library can decide to update the failing snapshot.

Not sure I understand entirely how the tool works but if jest is ran with like this jest --updateSnapshot I was hoping that the library can decide to update the failing snapshot.

That's what it does, however, considering the following:
Let's say you set the threshold to 50% and only 49% of the pixels changed.
Now, when you run jest with -u, the test is not failing, but the image did change.
In that case, jest-screenshot will still update the image, even though it did not fail.

That's what it does, however, considering the following:
Let's say you set the threshold to 50% and only 49% of the pixels changed.
Now, when you run jest with -u, the test is not failing, but the image did change.
In that case, jest-screenshot will still update the image, even though it did not fail.


feat: add faithfulness metric based on Bespoke Labs MiniCheck model

This PR adds a faithfulness metric based on the Bespoke-MiniCheck-7B model.
Users can use the metric either by calling the model through the Bespoke Labs API, or by running the model locally.
I tested that the metric works via a colab: https://colab.research.google.com/drive/1OcL8-LkeKp-_7-_8_l7ysO8O6_AIz6jd#scrollTo=Jbg0gon7uXII.

Thanks for the PR @vutrung96 , I will take a look at it shortly.

@shahules786 thanks! one thing I'm running into is that for make type, I'm getting import not found for this line:
"import einops as einops"
I think it's because in CI, the command pip install is run to install ragas, which doesn't include the optional dependencies.

@vutrung96 you can add that as part of the dev dependencis in requirements/dev.txt?

@jjmachan thanks for the suggestion! I've added the dependencies to dev/requirements.txt.

@shahules786 ping on review. please lmk if you need any clarifications :)

@vutrung96 I'm rethinking and reworking parts of faithfulness metrics. I'm also thinking best ways to allow users to use any NLI model within it without adding code into ragas.
please bear with me on this.

Hi, thanks again for the PR.
We want to enable developers to use any model of their choice, regardless of the metric they use. There are two types of models in this context:

General-purpose models (e.g., OpenAI, Anthropic, LLaMA, etc.)
Specialized models that are limited to one or more tasks (e.g., Vectara HHEM, Bespoke)

For the former, we already support the use of any model with ragas. For the latter, currently, either we or the user has to modify the code in ragas to integrate the specialized model. This is acceptable if the user does this in their own version of ragas, but merging that code into the main ragas repository transfers the responsibility of maintaining and updating it ( this is the case with this PR), which is not something we can take on.
Therefore, we are introducing components that allow developers to plug in their specialized models for use with metrics. This is still experimental but can be integrated into ragas after a few iterations and feedback. #1339
Here’s the revised version:

In your case, I think the model can be used as a component by passing it as a HuggingfacePipeline to LLMComponent. Please take a look at it, and perhaps we can add documentation to help users with this integration.


[bug]Chinese translations missing creator

if Chinese choosed for language displayed
app/Locale/zh_CN/translations.php

'Created by %s' => '创建者：',

should be changed to

'Created by %s' => '创建者：%s',

Otherwise,you will not see the creator in task;

BTW,this Kanban is the best one i used,thank you;

Thanks, it's fixed in master.


Make types Hashable

Would be convenient to make all bound types hashable, and the built-in ones as well (different code needs, since the latter uses "content" for hashability)

Done


feature: Center & Padding for text body

Is your feature request related to a problem? Please describe.
I was wondering if it is possible to center the written text (not codeblock or something, just normal paragraphs), not as much as center align but some padding on the left and right. The header is centered perfectly, but this adds readability for quick notes.
Describe the solution you'd like
A good enclosure could be this one, having a margin on the left and right:

Describe alternatives you've considered
Maybe handling terminal padding or in neovim config works, but I don't know if it's possible enabling this only on markdown files.
Additional information
No response

Added the feature here under a new paragraph configuration: https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/d20d19fa54965f6eb94558c0b84fe9a942169fb4
You can try something like:
require('render-markdown').setup({
  paragraph = {
    left_margin = 0.5,
    min_width = 100,
  },
})

To center paragraphs.
Paragraphs are centered individually, so if you don't set a min_width single line paragraphs will end up not looking great.

Thanks! it did work, adding a paragraph render is nice too, I guess I can play with similar attributes as in the header.
As a support, texts that are longer than one line without a break don't get the margin added, but it's not something I would need.

Yeah, I'm not sure how to apply inline virtual text across wrapped lines. Currently I don't think it's possible, at least not easily.


In live streaming, how can I show the broadcaster's track to the his-viewer?

Hi @vorachirag318  please check the doc for rendering video here : https://www.100ms.live/docs/flutter/v2/features/render-video

hey @vorachirag318
Were you able to resolve this?


initial implementation of z index on elevation

proper demo, transition not added on this stage - only basic elevation

the transition is not there, but this component seems fundamental for MDC anyways


MRO of DeleteView was changed

Refactored BaseDeleteView and DeleteMixin. Deleted BaseDetailView
in the MRO of DeleteView because SingleObjectMixin is sufficient.

Hello.
Build #1312 shows 1 failure following
---> ModuleNotFoundError: No module named 'xmlrunner'
However I think this error is not related to my code.
Please let me know what I can do next.

Don't worry for the test failure. However I think you need a ticket in the Django tracker to explain the basic issue you are trying to fix.

As per the ticket, I think we have to say wontfix on this.
Since this is though, at least in theory, a nice-to-have, I've opened a django-developers thread to solicit feedback.


[R-package] construct yields different results

Environment info
Operating System: Windows 8.1 Pro
CPU: i7-4600U
C++/Python/R version: 3.4.0
When using construct, training metric differs. It is 100% reproducible.
Steps to reproduce

Run this (without construct):

lgb.unloader(wipe = TRUE)
library(lightgbm)
data(agaricus.train, package = "lightgbm")
train <- agaricus.train
dtrain <- lgb.Dataset(train$data, label = train$label, weight = inverse.rle(list(lengths = c(rep(500, 12), 513), values = 1:13)), init_score = inverse.rle(list(lengths = c(rep(500, 12), 513), values = (1:13) * 2)))
params <- list(objective = "regression", metric = "l2")
# dtrain$construct()

model <- lgb.train(params,
                   dtrain,
                   10,
                   list(train = dtrain),
                   min_data = 1,
                   learning_rate = 1,
                   early_stopping_rounds = 10,
                   reset_data = TRUE)

# Check whether data is copied deeply or not
dtrain$setinfo("weight", inverse.rle(list(lengths = c(rep(500, 12), 513), values = 13:1)))

# Not identical training! // CORRECT
model <- lgb.train(params,
                   dtrain,
                   10,
                   list(train = dtrain),
                   min_data = 1,
                   learning_rate = 1,
                   early_stopping_rounds = 10)

Run this (with construct) and compare:

lgb.unloader(wipe = TRUE)
library(lightgbm)
data(agaricus.train, package = "lightgbm")
train <- agaricus.train
dtrain <- lgb.Dataset(train$data, label = train$label, weight = inverse.rle(list(lengths = c(rep(500, 12), 513), values = 1:13)), init_score = inverse.rle(list(lengths = c(rep(500, 12), 513), values = (1:13) * 2)))
params <- list(objective = "regression", metric = "l2")
dtrain$construct()

model <- lgb.train(params,
                   dtrain,
                   10,
                   list(train = dtrain),
                   min_data = 1,
                   learning_rate = 1,
                   early_stopping_rounds = 10,
                   reset_data = TRUE)

# Check whether data is copied deeply or not
dtrain$setinfo("weight", inverse.rle(list(lengths = c(rep(500, 12), 513), values = 13:1)))

# Not identical training!
And you didn't pass it as the parameter of Dataset.

@guolinke It now matches when passing min_data = 1 to construct.
Do you know the list of Dataset-only parameters?

@Laurae2
Check this https://github.com/Microsoft/LightGBM/blob/master/include/LightGBM/config.h#L94-L153


unpublish job for non-existing node get recreated

We deploy our clusters using CAPI, thus our node names are ephermal.
Im currently noticing an unpublish job, that wants to run on a node that already got deleted and im unable to get reid of it.
If i delete the job, PSO just recreates it.
If i check on ly storage arrays, the volume it tries to unmount doesnt have a mount listed.
So, how do i get rid of that job.

dup of #200


Remove deprecated no-default-schema option

:notebook_with_decorative_cover: Description
This removes the option entirely after we deprecated it with the last release.
:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions
File-by-file. The docs were already updated when we deprecated the option.

Should we add this to the changlog?

Forgot to push, it's there now.


Match arguments seem to be ignored

Have tried:
Get-ServiceNowIncident -ServiceNowCredential $Creds -ServiceNowURL xxxxxxxxxxxxxxxxx.service-now.com -MatchExact @{Number="INC9999999"}
and
Get-ServiceNowConfigurationItem -ServiceNowCredential $Creds -ServiceNowURL xxxxxxxxxxxxxxxxxxx.service-now.com -MatchExact @{Name="anynameyouwanttotry"}
but all I ever get back is last 10 created items (in this case, incident and CI).  It does not care about -MatchExact or -MatchContains
Anyone else run into this?

When I ran debug on this line:
Get-ServiceNowConfigurationItem -ServiceNowCredential (get-credential xxxxxxxxxx) -ServiceNowURL 'xxxxxxxxx.service-now.com' -MatchExact @{Name="garbage"}
the sysparm_query argument which I assume SNOW uses was equal to:
ORDERBYDESCname^Name=garbage
That looks wrong.

I was able to reproduce your issue.  The property name in the REST call is case sensitive.  It looks like we should be able to easily force lower case on the field property in New-ServiceNowQuery to remove case sensitivity from the module users.
If my SNow admins don't think it's a bad approach and nobody else comments on the issue I'll work this into the dev branch.

Is there a workaround until?

Instead of -MatchExact @{Number="INC9999999"} do -MatchExact @{number="INC9999999"}.  Specifically "number' should be in lower case when you type the command.

@Rick-2CA, I have code updates ready if you've confirmed we can set the keys to lowercase without issue.

I was testing the code change and came across something odd.  Not only is the property name case sensitive, but if you mistype the property it still comes back with the default 10 results.  In looking at the SN docs this is due to a setting:

If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property glide.invalid_query.returns_no_rows. Set this property to true to return no rows on an invalid query.

Here's how you set that value on your instance.  I've tested this and although it works, you get a 404 Not Found if no rows are returned so we'd need to handle that.
With this in mind, I think we should still move forward with changing the property names to lowercase, but feel we need to do something more to make this more intuitive.


Ignore some Flutter-related files

Reasons for making this change:
Google's Flutter mobile app SDK is used to make Android and iOS apps written in Dart, in IDEs such as Android Studio, IntelliJ and VS Code. That's why it creates many additional useless files that are not ignored by the regular Dart.gitignore file, so I've appended all those extra rules in my updated Dart.gitignore file itself.
Links to documentation supporting these rule changes:

Here's the official site of Flutter, as well as the documentation.
The new rules I added were taken directly from the .gitignore file from the official Flutter repo.

Hey @shiftkey, friendly reminder that this PR is still open. I saw from another similar PR from a while ago that you were interested in a merge of Flutter-ignored files into the regular Dart.gitignore, so here it is. Thanks

@urmilshroff thanks for the contribution. Unfortunately I can't accept this in it's current form for a few reasons:

it duplicates OS-specific and editor-specific rules that are captured in other templates that are maintained in this project
it excludes editor-specific files that we recommend committing to version control (check out the JetBrains and VisualStudioCode templates for example)

I'm not sure how to proceed here, and will think more about the options available.


Refactoring the name of the step is causing a compilation error

From @sguptatw on April 1, 2016 4:8
With the spec
Users should be able to start the game
======================================

* User "\n"should be able to join the game

User should be able to access the site
--------------------------------------
tags: join

the implementation being
    @Step("User <user>should be able to join the game")
    public void UserShouldBeAbleToJoinTheGame(Object arg1) {
        driver.get("https://www.thoughtworks.com/");
        assertEquals(arg1, "\n");
    }

refactor the name of the step to something else
now the code is having error with
    @Step("User <user>should be able to join the game")
    public void UserShouldBeAbleToJoinTheGame(Object arg1) {
        driver.get("https://www.thoughtworks.com/");
        assertEquals(arg1, "
");
    }

Copied from original issue: getgauge/gauge#315

Regression test refactoring_the_step_with_special_chars_in_implementation.spec


Tried to load a model to both cores of a two-core GPUs, but only one core (device:0) is used.

I used Optimum to convert a finetuned xlm-roberta-base model to an ONNX model by following the tutorial in this link. I have a two core GPU. When I tried to load the original finetuned model, I was able to load it to both cores of my GPU. But for some reason, when I try it with the ONNX model, the model only gets loaded into one of the cores. And because of that, that core's memory gets maxed out.
The code that deals with model loading is below, and any suggestion and advice would be much appreciated!
def worker(i, sents, model_path):
    tokenizer = AutoTokenizer.from_pretrained(model_path)
    model = ORTModelForSequenceClassification.from_pretrained(model_path)
    if i % 2 == 0:
        pipe = pipeline("text-classification",
                        model=model
                        tokenizer=tokenizer,
                        padding="max_length",
                        max_length=96,
                        truncation=True,
                        device=0,
                        batch_size=64)
    else:
        pipe = pipeline("text-classification",
                        model=model,
                        tokenizer=tokenizer,
                        padding="max_length",
                        max_length=96,
                        truncation=True,
                        device=1,
                        batch_size=64)
    scores = pipe(sents)
    return scores

Thank you! This a limitation from https://github.com/huggingface/optimum/blob/d15b47f6f0ab750b1203463f98869a8bcbb99c77/optimum/onnxruntime/modeling_ort.py#L141-L153 . Let me fix this shortly.

Thanks! @fxmarty. How do I install the updated version of optimum?

The PR is merged for the fix.
Could you try
pip uninstall optimum
pip install git+https://github.com/huggingface/optimum.git@main

This will install the development branch of Optimum before the next release. You script should then work as is. Let me know if there is still any issue.


no message

Signed-off-by: ENDOKRON<EMAIL_ADDRESS>

Hi  @ENDOKRON, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


parse(pretty x) == x   doesn't hold true for Bedrock modules.

The test suite should be extended to test all of the bedrock types.

Fixed.


[BUG] Loading pages on-demand at the start not working correctly on 2.1.0

Describe the bug
I’ve followed the code in the documentation showing how to load pages on demand at the start:
@State var count: Int = -1
@StateObject var page: Page = .first()
// @ObservedObject var page: Page = .first()
@State var data = Array(0..<5)

Pager(page: self.page,
        data: self.data,
        id: \.self) {
    self.pageView($0)
}
.onPageChanged({ pageIndex in
    guard pageIndex == 1 else { return }
    let newData = (1...5).map { $0 * self.count }
    withAnimation {
        self.data.insert(contentsOf: newData, at: 0)
        self.page.index += 5
        self.count -= 1
    }
})

However, the newData that gets created is in the wrong order: -1,-2,-3,-4,-5. No idea if this leads to issues, but a workaround is to add .reversed(). And because we decrement self.count by 1, the next time pages are added to the start they’ll be -10,-8,-6,-4,-2. As a result, I’ve made changes to get data that’s inserted be the correct values in the correct sequence. But, this is actually not the issue. The issue is the page.index moved to is not correct when I add pages to the start.
To Reproduce
To be clear, I’ve made changes to the property values to get the new data items to be appropriately valued/sequenced. Regardless, with or without my changes, the page.index moved to is not correct. However, with my changes, they seem to be closer to the correct index, off by two.
I’ve changed newData to:
let newData = (1...5).map { $0 + (count + 1) * -5 }
And made count start at 0:
@State private var count: Int = 0
My data is:
@State private var data = Array(1...5)
And page starts at:
@StateObject var page: Page = .withIndex(2)
This is my onPageChanged closure:
.onPageChanged { page in
    guard page == 1 else {
        guard page == data.count - 2 else { return }
        guard let last = data.last else { return }

        /// adding pages to the end
        let newData = (1...5).map { last + $0 }
        withAnimation {
            data.append(contentsOf: newData)
        }
        return
    }

    /// adding pages to the start
    let newData = (1...5).map { $0 + (count + 1) * -5 }
    withAnimation {
        data.insert(contentsOf: newData, at: 0)
        self.page.index += 5
        count += 1
    }
}

I debugged self.page.index’s value after 1) data.insert as well as 2) after it has 5 added to it.
After data.insert(contentsOf: newData, at: 0), it’s index 1. This makes sense, as it was originally 2 and a swipe right should reduce it by one.
However when I add += 5 to it, its index is being returned as 4 (and not 6 i.e. previous index 1 + 5). This is wrong. So with this data:
[-4, -3, -2, -1, 0, 1, 2, 3, 4, 5]
Its page returned is 0, as opposed to the expected 2.
I breakpointed into the index property setter of Page:
    public var index: Int {
        get { _index }
        set { _index = min(totalPages - 1, max(0, newValue)) }
    }

I noticed the problem is totalPages is 5 when the index is being set, resulting in min(4,6) returning a 4.
After the index is set, I noticed Pager’s initialiser is called again with its Page’s index set to 4 but for the first time its totalPages is now showing as 10. However, at this point, this correct up-to-date knowledge doesn’t seem to be used.
FWIW I tried self.page.update(.new(index: self.page.index + 5)) too but this didn’t make a difference.
Expected behavior
If totalPages was showing as 10 immediately after 5 new data items were added to the start, then the index would be the expected 6.
Here you can see when new pages are added, it suddenly jumps to the wrong index (February, index 6, to December, index 4):

Environment:

OSX: iOS 14.4
Device iPhone 12 Pro simulator
SwiftUIPager version 2.1.0

Hi @bardigolriz , the example is just a way to show how to prepend new items on-demand. I don't think this is an issue with the library.
In any case, I've opened this pull-request to address the docs update:
https://github.com/fermoya/SwiftUIPager/pull/205
https://user-images.githubusercontent.com/11335612/111035209-401ec180-8411-11eb-9390-fb66ac117bb1.mov

I also encountered this problem, and I found that it was because my initial data only had 5 entries. In the example 'Infinite Example View', 7 pieces of data were initialized. I changed it to be the same as the example, and after initializing 7 pieces of data, the problem was solved. I think this should be a problem.


It is possible to disable user management and login

Hi,
After comparing this kong dashboard with https://github.com/PGBI/kong-dashboard, I find that this dashboard is cleaner and has more functionality like search.
However in my company we run every admin application behind google openid login. This means only our devs can access the admin applications. So we would like to be able to disable user management and the login, or automatically log in every user as an admin user. Is this currently possible?
Kind regards,
Stijn

This looks like it might be an extension or variation on #230 .

@stijndehaes , as @smklugherz pointed out, the LDAP auth feature is what you need.
It's in my plans to implement it, but i can't give you an exact roadmap.

Having the ability to authenticate at Konga with OpenID Connect would be a great enhancement.

I have another use case... I have Konga configured as another "API" in KONG itself, so... KONGA access is protected by a kong authentication plugin (api key, jwt, ...).
So, in my organization, we don't need user/passwords to manage Kong.
Is there a way to disable user authentication or some kind of "auto-login" for default admin account?

This feature will be introduced on the upcoming 0.14.4 version of Konga. Check out CHANGELOG.md .
For now you can try it out using the next branch or pulling pantsel/konga:next from docker hub.

@pantsel I still do not see NO_AUTH being read in on the next branch?  Could we reopen this or am I missing something?

@timduhenchanter , if you run Konga 0.14.4-rc2 (next) passing the ENV variable NO_AUTH=true, Konga will start with no Authentication. Have you tried it? What happens?

My apologies.  It was a stale Docker image.  NO_AUTH appears to be working as intended on next


Fix skip_featurization bug

Time series classification pipelines weren't dropping the time index. This wasn't an issue in the short term, but could become one in the long term.

After discussion with @jeremyliweishih, this change may not be the fix we're looking for. For now, it's better for us to revert the skip_featurization change.


Unable to apply a background fill to an instance/variant of a component

Describe the bug
Currently it's not possible to add a background fill to an instance/variant of a component. Other tokens like sizing, radii, opacity do seem to work. If you directly apply a color from Figma to an instance/variant, that does work.
To Reproduce
Steps to reproduce the behavior:

Create a component and variant
Try to apply a color token as background fill to the instance/variant

Expected behavior
It should be possible to add a background fill to an instance/variant.
Note:
It seems that the 'selection color' shown in the second recording has something to do with this.
Screenshots or Screencasts
https://github.com/user-attachments/assets/4bebc1d7-0342-47df-b593-8158bcc26b50
https://github.com/user-attachments/assets/db506e22-019b-4df2-a316-554249e622d7

@rbosker is there a color token already applied to the parent component?

@SamIam4Hyma no, there was not a color token applied to the parent component.

Closing this. User error (correct me if I'm wrong).
Your rectangle that fills the entire component had a fill of yellow, then you tried to apply to the parent another fill. That will never be visible because the child fill wins


Suppress warning for deprecated value .

What does this PR do?
Suppress warning for deprecated value subscriberCellularProvider.
Where should the reviewer start?
PostHog/Internal/PHGPostHogIntegration.m
How should this be manually tested?
Any background context you want to provide?
I was getting a warning in iOS 16
What are the relevant tickets?
no
Screenshots or screencasts (if UI/UX change)
none
Questions:

Does the docs need an update? no
Are there any security concerns?
Do we need to update engineering / success? no

Closed because of the new major version that does not use this provider anymore
https://github.com/PostHog/posthog-ios/pull/75


cyber: fix setw intput type and get index size directly

Update commit message.

Plz fix the lint errors.

will fix it soon.


Clicking context menu option toggles calendar

Clicking context menu option toggles calendar

Hey, thank you for the PR. Can you please resolve conflicts?

Hey, thank you for the PR. Can you please resolve conflicts?

Done!

Don't think we need this. Access more permission that we need. And access through context menu doesn't really make it that much easier to access the extension.


Move JSDoc to dev dependency

jsdoc is a dependency of the package, but it should probably be a devDependency, right?

Right, sounds like an oversight on my end.

Addressed by 3c0f7c60d4f2f2ae6d9aa1117d9424ca9b475452 – jsdoc is actually not needed at all, because we have typedoc in the dev dependencies (jsdoc is probably a relic from back when we were playing around with some package templates?)


1.4 template changes broke semver

Just a quick, friendly fyi. I helped @ericwooley to debug html-webpack-plugin to work with https://github.com/mvilrokx/react-starter-template . The problem was that it depended on html-webpack-plugin using ^1.1.0 (major versions). As per semver that will match to major versions (ie. 0.1, 0.2, ... 1.0, 2.0, ...). You can try http://semver.npmjs.com/ to see how it behaves.
The problem is that somewhere between 1.1 and the current version (likely 1.4) backwards compatibility was broken. Due to the way matching works that caused breakage here.
So in short bump major version for backwards incompatible changes. That will keep dependants happy. :+1:
I'm not sure what would be a good fix but maybe there's something that could be done. Hope this helps.

Actually 1.4. should be backwards compatible.
The error was a missing new Error() and was fixed by #45.
We should release a 1.4.1 version and roll this fix out

Ah, ok. Great to hear!

Will be fixed as soon as @ampedandwired released 1.5.

1.5 seems to be out so I suppose it's safe to close this.


Online activity

Is your feature request related to a problem? Please describe.
I wish I could see when other my friends are online and I wish they too could see when I was online.
Describe the solution you'd like
When I launch the application, I would like to see an indication that a particular friend is online, maybe text that displays under their name that they are online or a green border around their profile to show that they are online and a grey border if they are offline.
Describe alternatives you've considered
There are no alternatives.
Additional context
I have none

Presence detection is being considered here: https://github.com/waveyboym/Chat-App#todo

This has been added as a feature in this commit: https://github.com/waveyboym/Chat-App/commit/a726120194affee8643153dba01c64e081577d33


Use ByteBuffer Instead of ByteBuf

ByteBuffers should be used in the public interface instead of ByteBuf to remove the public API dependency on Reactor Netty.

This is be completed as part of #4572


Update to 2024-08-12

Opened turnstile-types#5 to add the flexible size option type, will update the deps here when that's released. You can still use this feature before then there will just be a type error.

Added in #30

Released in v0.8.0


Create Raycast customiser helper script

At the moment any scripts that require a raycast only allow the basics of layer ignoring.
However other features may be wanted within the raycast such as ignoring triggers.
Rather than add every raycast option to every script that uses a raycast, it's better to create a helper script that has those options and the script can be told about the custom raycast options to digest it and build it's own raycast from it.

PR with solution: https://github.com/thestonefox/VRTK/pull/1042


Crash in newer forge version (1.20.1)

Minecraft version
1.20.1
Mod version
latest for 1.20.1
Describe the bug
crash when enter in end dimension in forge 47.1.6, older version work
To Reproduce
Steps to reproduce the behavior:
just go in end dimension in new version of forge
Crash Reports / Logs
https://pastebin.com/pxUpvBfg
Screenshots
not needed

Sorry this is quite late, just tried out with the latest Forge version (47.1.43) and this issue has been fixed.


test(takeWhile): add test against breaking unsubscription chain

Relates to #875.

Merged with d7438b5. Thanks again, @figueredo !


Utilize upcoming gulfile-ninecms

And take away common tasks from gulpfile.
https://github.com/Wtower/gulpfile-ninecms/issues/3

https://github.com/Wtower/generator-django-ana/issues/4
https://github.com/Wtower/generator-django-ana/commit/1a1097fcb5cdd8f2c4d4175410cf77211f99fa50


added a new file to the views/questions folder.

Please check if this PR fulfills these

[ ] The commit message is descriptive of changes
[ ] You have tried at least one local test (this includes viewing the changes on your local fork)
[x] Docs have been added / updated as needed (for bug fixes / features)

What kind of change does this PR introduce?

[ ] Typo / Doc Update
[ ] Bug Fix
[x] Feature / New Item

What is the new behavior (if this is a feature change)?

[ x] Added Interview Technical Question
[ ] Added Interview Whiteboard Question
[ ] Corrected existing items
[ ] Other

Adding new question ? Please check if this PR fulfills these

[ x] <title> tag has been updated
[ x] <h1> tag has been updated
[x ] new file is kabob-case-like-this.html
[ ] link to question has been added in technical.html or whiteboard.html

Other information:

Hi @rdoochin
The link should be a link to this question from technical.html to this page so that users can see your question.
Once that's done, I can go ahead and merge this in!
All the best!
Luke


not thread safe, is crashing in the Dictionary.Add

https://github.com/keimpema/Mvp.Xml.NetStandard/blob/ffaa727efa62d21c30fd432672f0dcbfcad95601/library/Mvp.Xml/Common/XPath/XPathCache.cs#L32
I had some crash in this file, when I load two file in parallel, betting a null ptr exception in the dictionary.add every variables are valid, I guess the dictionary is resizing while we are adding.
not sure if ThreadStaticAttribute or ConcurrentDictionary will be the best fix for this!

an other option will be to lets the user change/set the default cache dictionary if we want to!


added RPA new field

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-1558
Change description
add generalApplicationParties
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

https://tools.hmcts.net/jira/browse/CIV-3210 overrides these changes but code will be reused


Add basic vote over WebSockets

TODO:

[x] Sync type definitions

I merged main into this branch. I will open a new PR for some UI changes.


[crunchyroll:beta] Use anonymous access instead of redirecting

Description of your pull request and other information
Eliminates the beta -> non-beta redirect code, due to changes in the api making it impossible. Instead, uses anonymous access to the beta api, which already works, and its momentarily used by the browser before redirect.
Closes #4692
Ran all beta tests, both with and without an etp_rt cookie.
Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Are you waiting on something from me here?

No, just been busy


Arrival at Finish crashes when course starts and finishes

Reported by Guido Signore:

I tested today and the widget crash at start and when the course is finished.

Follow updates to this issues below.

This appears to be caused by the distance to destination property not being available until a course has been initialised.

This should be fixed by version 1.1.0


Meibomian gland degeneration

Please add:
Meibomian gland degeneration
DEF: a retrogressive impairment of function or destruction of the meibum-secreting modified lobulated sebaceous glands located at the rim of the eyelids inside the tarsal plate
SYN: tarsal gland degeneration
J:194073
Thanks
Anna

Meibomian gland degeneration   MP:0014154


Test case for HTTP JSON API Server error

Challenge Continue working with Nodejs Servers has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
The URL is /api/parsetime?iso=2016-08-18T14:48:45.720Z
But the expected is set to: EXPECTED:  "{"hour":10,"minute":48,"second":45}"
Note the value of "hour".

Hi @reed7.
That URL you reference contains time information for approximately the same time as you posted your issue, so I'm guessing it was the current time when you were doing the exercise. However, learnyounode's test cases don't take account of the current time, so it's likely that for the test a different URL is actually passed in to your code.
If there is an issue with learnyounode workshop, it actually belongs on the issue tracker for learnyounode, which you can find here. You will probably get a similar answer there, though, so instead try a visit to the FreeCodeCamp HelpBackEnd chat room to see if someone there can help answer your question 😄
Happy coding!


Adding a FAQ on how to self-service leave an organization

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Postgres: deleting pivot-related records failed

Laravel Version: 5.4.28
PHP Version: 7.1.3
Database Driver & Version: PostgreSQL 9.6.1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, 64-bit

Description:
I renamed model and table names from real production application, and in code may be mistakes. If needs, i can reproduce this with fresh project.
In PostgreSQL i reproducing this bug, but after switching this code to MySQL - all works fine.
I have two models related by pivot table
ModelOne:
public function modeltwo_items() {
     return $this->belongsToMany('App\ModelTwo', 'modelone_modeltwo','modelone_id', 'modeltwo_id');
}

ModelTwo:
public function modelone_items() {
     return $this->belongsToMany('App\ModelOne', 'modelone_modeltwo','modeltwo_id', 'modelone_id');
}

Steps To Reproduce:
This line causes error:
$modelone->modeltwo_items()->delete();
Illuminate\Database\QueryException: SQLSTATE[42P01]: Undefined table: 7 ERROR:  missing FROM-clause entry for table "modelone_modeltwo"

SQL: delete from "modelone" where "modelone_modeltwo"."modelone_id" = ID

But if i call this, i got correct SQL query:
$modelone->modeltwo_items()->toSql();
select * from "modeltwo" inner join "modelone_modeltwo" on "modeltwo"."id" = "modelone_modeltwo"."modeltwo_id" where "modelone_modeltwo"."modelone_id" = ?

[https://www.postgresql.org/docs/9.6/static/sql-delete.html](PostgreSQL: Documentation: 9.6: DELETE)
Joins with DELETE not supported, but USING clause is supported.

If you read the Laravel documentation, detach method is used to delete related table records. Instead of delete, do the following:
$modelone->modeltwo_items()->detach();

It works on Postgres 9.6.

Detach is used to drop relations by removing records in pivot table.

The detach method will remove the appropriate record out of the intermediate table; however, both models will remain in the database

But i need to remove records in related table, not pivot.

@ddzobov Please read the Laravel documentation on collections: https://laravel.com/docs/5.4/collections

So, if i need remove all related to my object records (for example, 1000), i need to run multiple queries (N = count(relations) + 1)?! Do you really think that this is optimal way?

@ddzobov That's the best possible solution in my opinion. You need to figure out a better solution on your own.
Also this is not a bug with the framework in my opinion.

Do you know difference of calling $object->relation and $object->relation()?
If i don't need a collection of records - why i need to get it for delete?
I want to remove items with single query, this feature working correctly in MySQL.
And in my opinion this is bug, because code behavior different in different types of database, but Eloquent was designed for same code behavior in different types of database.

I am perfectly aware of it @ddzobov :smile:. If you think its a bug then why you don't submit a PR for this.

#20041

#20062 - new PR with tests

https://github.com/laravel/framework/pull/20062


Allow instancing with different materials on same mesh.

This moves materials from being attached to each mesh to being attached to the instance. This allows for the same mesh to be used with different materials.
The GLTF importer was updated to correctly import scenes that have this type of instancing

Nice change, any reason to keep it as draft?

Nice change, any reason to keep it as draft?

Merge conflicts, it was easier to back out and then start again


autogenerate cloudflare_healthcheck documentation

Migrating cloudflare_healthcheck to use new autogenerated docs.

can you please pull the latest master into this branch and re-run make docs? there were some files changed that you'll need here.

🙌 🙌 🙌


Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.

https://code.djangoproject.com/ticket/32421

@ramonsaraiva Thanks :+1: I added release notes.

Thank you!


Razor Templating Improvements

Introduction
Today, Razor doesn't expose much functionality to enable app developers to leverage Razor templates at runtime. That is, Razor is a templating language, but it doesn't have many features that allow the developer to use templates written in Razor as a first-class primitive in view/page composition.
The one feature that does exist is that of "Templated Razor Delegates" (or "Template Expressions"), which allow for fragments of Razor to be captured as delegates and thus passed into functions, including HTML Helpers, and then executed to produce HTML output. E.g. in the following code, the block @
@item
 is the "template expression".
Helpers.cs
public static class Helpers
{
    public static IHtmlContent ForEach<T>(IEnumerable<T> data, Func<T, IHtmlContent> template)
    {
        var builder = new HtmlBuilder();
        foreach (var item in data)
        {
            builder.AppendHtml(template(item));
        }
        return builder;
    }
}

View.cshtml

@ForEach(new [] { "one", "two", "three" }, @
@item
)

This feature has a number of limitations that if addressed, and expanded upon, can provide a more powerful and expressive set of first-class templating features in Razor.
Support Declarative Template Authoring & Re-use via an @template Directive
Rather than trying to add new features to the existing template expressions feature, which could be limited by issues of backwards compatibility, we'll add a new directive to support declaratively creating Razor templates in CSHTML files:
@template HelloWorld(string name) {

Hello @name!

}

This would be roughly equivalent to (and thus generate):
public IHtmlContent HelloWorld(string name)
{
    var builder = new HtmlBuilder();
    builder.AppendHtml("
Hello ");
    builder.Append(name);
    builder.AppendHtml("!
")
    return builder;
}

This could be declared in any Razor file, including in _ViewImports.cshtml in an MVC application, to allow for easy re-use across the application.
The templates could then be executed directly in Razor files. In this way they're very similar to the @helper directive from ASP.NET Web Pages:
@HelloWorld("Frank")

They can also be passed in to other methods that accept the template delegate signature:
@{ var names = new [] { "Frank", "Mary", "Jane" }; }
@ForEach(names, HelloWorld)

Support Truly Async Template Expressions
Currently, while the delegates generated by template expressions support async statements, they are always evaluated synchronously (i.e. the calling thread is blocked while the delegate is executed). This logic is actually in MVC, so we'd need to make some changes to the contract between Razor and a Razor host, or limit this functionality to the new @template directive (see above).
@template async HelloWorldAsync(string name) {
    await Task.Delay(100);

Hello @name!

}

This would be roughly equivalent to (and thus generate):
public async Task<IHtmlContent> HelloWorld(string name)
{
    await Task.Delay(100);
    var builder = new HtmlBuilder();
    builder.AppendHtml("
Hello ");
    builder.Append(name);
    builder.AppendHtml("!
")
    return builder;
}

Support Multiple Arguments
Template expressions are currently limited to a single argument. We should extend this to support multiple arguments when using the @template directive, e.g.:
@template HelloWorld(string firstName, string lastName) {

Hello @firstName @lastName!

}

This would be roughly equivalent to (and thus generate):
public IHtmlContent HelloWorld(string firstName, string lastName)
{
    var builder = new HtmlBuilder();
    builder.AppendHtml("
Hello ");
    builder.Append(firstName);
    builder.AppendHtml(" ");
    builder.Append(lastName);
    builder.AppendHtml("!
")
    return builder;
}

The templates could then be executed directly in Razor files. In this way they're very similar to the @helper directive from ASP.NET Web Pages:
@HelloWorld("Mary", "Lou")

They can also be passed in to other methods that accept the template delegate signature:
public static class Helpers
{
    public static IHtmlContent MyHelper<T1, T2>(T1 data, T2 state, Func<T1, T2, IHtmlContent> template)
    {
        var builder = new HtmlBuilder();
        builder.AppendHtml(template(data, state));
        return builder;
    }
}

Support Templated Tag Helpers
We should extend Tag Helpers to make working with templates a first-class experience. Binding templates to properties as well as treating the content or even the entire element of a Tag Helper as a template should be possible.
Tag Helper with content as a template
[HtmlTargetElement("*", Attributes = "asp-repeat")]
public class RepeatTagHelper<TItem> : TemplatedTagHelper<TItem>
{
    [HtmlTargetAttribute("asp-repeat")]
    public IEnumerable<TItem> Items { get; set; }

    public override async Task ProcessAsync(TagHelperContext<TItem> context, TagHelperOutput output)
    {
        foreach (var item in Items)
        {
            output.AppendHtml(await context.GetChildContentAsync(item));
        }
    }
}

@{
    var customers = DB.GetCustomers().ToList();
}

<EMAIL_ADDRESS><EMAIL_ADDRESS>

Tag Helper with template properties
public class ListViewTagHelper<TItem> : TagHelper
{
    public IEnumerable<TItem> Data { get; set; }

    public Action<IHtmlContent> HeaderTemplate { get; set; }

    public Func<TItem, IHtmlContent> ItemTemplate { get; set; }

    public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
    {
        foreach (var item in Items)
        {
            output.AppendHtml(await context.GetChildContentAsync(item));
        }
    }
}

@model IEnumerable<Customer>
@template ContentTemplate(IEnumerable<T> items, Func<T,IHtmlContent> rowTemplate) {

        @foreach (var item in items)
        {
            rowTemplate(item);
        }

}
@template HeaderTemplate() {

            @Html.DisplayNameFor(m => m.FirstName)
            @Html.DisplayNameFor(m => m.LastName)

}
@template CustomerRowTemplate(Customer customer) {

<EMAIL_ADDRESS><EMAIL_ADDRESS>

}

<list-view data="customers" header-template="HeaderTemplate" content-template="ContentTemplate" item-template="CustomerRowTemplate" />

TODO: Update with some details about integration with #791
Support Template Compilation & Packaging
To enable sharing of declared templates across projects without having to restore to writing them manually in C#, we should build a tool that allows compiling templates from CSHTML files directly to assemblies/NuGet packages. This could be a project tool that works with the .NET Core CLI (e.g. dotnet razor compile-templates) or a Roslyn compilation extension/module that allows for templates (and potentially other Razor primitives) to be compiled as part of project compilation.

I'm still not 100% clear what the difference is between this and the @helper syntax that existed in Razor before (which I now notice is not present in the current version). I'm in favor of the rename though, template sounds better :).
I love templated tag helpers as a way to have cleaner inline templates. That original syntax was awful (I say having participated in designing it ;P)
:+1: :tada: :100:

Sounds very nice! No more painting over the telephone!

Im loving the sound of this feature, this would be very useful for creating html report solutions using templates; it would be great if the feature could also accept IQueryable outputting to a Stream asynchronously in cases where large datasets and outputs are needed to be persisted or downloaded to a client as a file.

First: Thank god the previous feature was actually mentioned. I thought I'd dreamed it all up. I've almost never seen it used or mentioned aside from Phil Haack's post and it is the worst possible syntax to Google, maybe aside from the <%: nuggets...
This sounds good even though I agree with @anurse wondering what the difference between this and helpers are. Since helpers were supposed to go in App_Code, I understand the desire to make a distinction though.
I think the magical uses of item need to disappear. For at least two reasons:

item just appears out of nowhere. In C#, inside a setter, for example, you have some sort of syntactical cue that value is going to be a special keyword. Here, it is a variable that's never being declared.

I might want to nest them. It is possible that this way lies spaghetti code, but deciding on item makes that impossible to even try.

That said, I understand that the syntax for declaring a variable name in an HTML attribute is awkward and that there's no really Razor-y way to do it - but you could argue that using the names of the templates are too.

@JesperTreetop not sure I agree with the

'magical uses of item'

the item is obtained from the foreach of the items; which as the example shows is an IEnumerable and after all it's up to you as the template developer to name the parameter/variables; however that said I do think there is a error where
@template CustomerRowTemplate(Customer customer) {

<EMAIL_ADDRESS><EMAIL_ADDRESS>

}
```should be

@template CustomerRowTemplate(Customer customer) {

@customer.FirstName
@customer.LastName

}

@grahamehorner In this example from the original post:

@{
var customers = DB.GetCustomers().ToList();
}

@item.FirstName
@item.LastName

```
...that's where item is suddenly used. customers is clearly the collection to iterate, so the lack of something to define which variable to use instead, and the decision to (always?) use item, is what I'm referring to. This is also the same behavior as the "templated razor delegates" which is referred to, the<EMAIL_ADDRESS>@item.LastName
 thing. There's a case to be made for consistency, but it's consistency with a feature almost no one knows exists, and it shouldn't constrain a new feature.

@JesperTreetop you're right regarding the generated item variable, and indeed the issue is find an elegant way to allow defining the generated parameter names when you don't have an explicit function declaration (like you do when using @template). There are certainly ways to do it for the Tag Helper support, but I don't particularly like any of them yet, but I haven't give up :smile:

`

@cust.FirstName
@cust.LastName

`

or even something like
@{
    var customers = DB.GetCustomers().ToList();
}

<foreach item-type="" item-name="item" in="model">

<EMAIL_ADDRESS><EMAIL_ADDRESS>

</foreach>

where by you tell the template engine the model variable name and the type or interface which it implements; then inside the template the tag of foreach with the item-type, item-name and in allows the developer to inform the template engine of what/how to consume/process the model instance its was supplied.

As always when foreach tags start being proposed, I feel compelled to remind people of Charles Petzold's CSAML april fools joke... :wink:
Razor offers easy access to C# and Tag Helpers are a valuable addition because they're a way of making the declarative, domain specific parts and the conceptual templates look more like markup. Having tags that just enable C# code to be written as HTML would defeat the purpose, in my opinion. If you want to write a foreach, just write @foreach (...) { ... }. For all its problems, even Web Forms mostly got this right.
The most Razor-like thing that I can imagine is to just say:
@foreach (var item in items) {
    <whatever-template model="item" />
}

...like in the <list-view /> example @DamianEdwards mentioned. This way, Razor is still Razor.

@JesperTreetop yeah lolz; loads of options anything is possible ;)

We should take the improvement from here: https://github.com/aspnet/Razor/issues/132 as part of this work


Extension icon clicked, pop-up is not showing technologies

Firefox browser 89.0.2 (64 bits)
Any website
The icon shows a various number of technologies found but on click the pop-up is just displaying the header and the clicks on buttons are not working. The following error is thrown :
Uncaught (in promise) TypeError: el.termsButtonDecline is not a function
    init moz-extension://2c77e093-006d-485a-8487-727e78b44038/js/popup.js:148
    async* moz-extension://2c77e093-006d-485a-8487-727e78b44038/js/popup.js:699

When navigating a page an error is thrown (not sure if it is related to the error above) :
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist.
    tabsSendMessage moz-extension://ca681e0c-6c18-496e-aa0c-3dbfbf2f56ff/content/tiresias/js/background.js:1

working now....


NF: Add flags, change commit messages, update tests

This adds flags (-m a.k.a. --message for all commands, and --yes and --quiet edit) and tests for the new flags.
The PR also normalizes the default commit messages (like discussed in #295) with the new function Repo.generate_commit_message() that automatically builds (and shortens, if needed) commit messages.
While I touched the older tests, I modernized them slightly. These changes are not meant to be a complete overhaul or something like it, but really just uplift them so they are easier to modify in the future (e.g. I removed a lot of hardcoded variables and asset names, and I added parametrization and pytest.mark.repo_files(*assets) instead).
Changes:

adds --message flag to all commands except onyo init and onyo config (close #90)

changes are made in main.py and for each command

adds --yes and --quiet to onyo edit
adds tests for all newly added flags
changes default commit messages (close #295)
I modernized some of the tests (just the ones I was working with anyways)

I added pyre
I made the tests a bit more flexible (e.g. pytest.mark.repo_files(*assets))
I added some special character tests, while removing redundant old tests

Codecov Report
Base: 90.40% // Head: 90.60% // Increases project coverage by +0.19% :tada:

Coverage data is based on head (72a59a5) compared to base (35e5b6e).
Patch coverage: 91.93% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #294      +/-   ##
==========================================
+ Coverage   90.40%   90.60%   +0.19%
==========================================
  Files          21       21
  Lines        1470     1490      +20
  Branches      311      320       +9
==========================================
+ Hits         1329     1350      +21
+ Misses        111      107       -4
- Partials       30       33       +3

Impacted Files
Coverage Δ

onyo/commands/edit.py
88.31% <66.66%> (-7.28%)
:arrow_down:

onyo/commands/mkdir.py
90.00% <100.00%> (+4.28%)
:arrow_up:

onyo/commands/mv.py
83.33% <100.00%> (+3.33%)
:arrow_up:

onyo/commands/new.py
95.73% <100.00%> (+0.10%)
:arrow_up:

onyo/commands/rm.py
82.35% <100.00%> (+2.35%)
:arrow_up:

onyo/commands/set.py
87.80% <100.00%> (+1.31%)
:arrow_up:

onyo/commands/unset.py
87.80% <100.00%> (+1.31%)
:arrow_up:

onyo/main.py
93.86% <100.00%> (+2.19%)
:arrow_up:

onyo/commands/history.py
90.38% <0.00%> (+3.84%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Except the points on which I commented, I implemented changes for all of your feedback. Thanks a lot!


⚠ HopeAlley Ecards has degraded performance

In 141a991, HopeAlley Ecards (https://hopealley.com/ecards) experienced degraded performance:

HTTP code: 200
Response time: 5992 ms

Resolved: HopeAlley Ecards performance has improved in 76dad65 after 6 minutes.


Dust renaming and index template

Updates:

*.dust files don't have underscore in the filename as there is no need for it.
index.html template added to the /templates folder.

Status: Ready for Review
Reviewers: @jeffkamo @avelinet @ry5n @mlworks @kpeatt @cole-sanderson

@nastiatikk what's the goal of this?

@kpeatt consistency

Dust templates don't need _ in the filename. It was used to detach visually partials from components, but then partials were moved to its own folder.
index.html is a template for /test folder to start from

I agree we don’t need the underscore in front of template filenames.
As far as adding the index.html, this is a template for the component’s test html. The trouble is that with the current folder structure, the tests live separately, so the name and placement here doesn’t mirror the rest of the repo, and could be confusing. I think we should move it to template/tests/visual/index.html and add templates/tests/visual/template.scss.

In this case we also need to create a /template folder in the /dist folder and remove /template from the root directory.
From the other side this folder (by name) contains all templates. There are not many of them to get confused. And in the documentation (that hopefully will be merged soon) you'll see each file destination.
I'm fine with any of these solutions.

No, we don’t want scaffolding in dist. What I mean is instead of index.html right inside templates, move it to templates/tests/visual/ so that it’s clear what it’s for. It’s not perfect, but until we have each component in a separate repo I think it’s a good compromise.

Hm… I can't agree. For me it looks much more complicated. If we do this we also should move scss and dust files to /templates/dist/components and /templates/dist/utils (even if they're the same) what becomes super complicated. And if we move just test files to its own folder it won't be consistent and will be confusing.

I see what you mean, but I agree I don’t want to do that either. We definitely need some way of clarifying what index.html is though. I’d be happy for now if we just put it in templates/tests/.

@ry5n Will it be more clear with these instructions? What do you think?
https://github.com/mobify/stencil/pull/123

That will definitely help. I still think we should at least have scaffolding for tests in their own subfolder. It’s not a big change from what you have.

@nastiatikk: So for now can we put index.html in /tests? We can flesh out the test directory structure later. But in the mean time, let's not block #123

Can we for now leave it in the /template folder? https://github.com/mobify/stencil/pull/123 instructions use /template folder structure, not /template/tests/visual

sure


Mac Workflows initial concept with podman-e2e-mac workflow, scheduler and template

Fixes #62.

@adrianriobo Hey, I would like to know, what do you think. If you can actually go through it and see what else could be included. I have only tested it in my branch without actually getting any resources from AWS. I would like to settle that first how you view this concept.
FYI: podman-e2e-mac's step that would actually execute the podman-desktop-e2e image is still set to windows. I need to try locally how it needs to be updated.


fatal error: 'CoreServices/CoreServices.h' file not found OS X Catalina

I am facing an above issue when running cabal install hfsevents. This is very similar to #3
Error message I get:
Resolving dependencies...
Build profile: -w ghc-8.10.1 -O1
In order, the following will be built (use -v for more details):
 - hfsevents-0.1.6 (lib) (requires build)
Starting     hfsevents-0.1.6 (lib)
Building     hfsevents-0.1.6 (lib)

Failed to build hfsevents-0.1.6.
Build log ( /Users/serhiip/.cabal/logs/ghc-8.10.1/hfsvnts-0.1.6-e6f8b654.log
):
Configuring library for hfsevents-0.1.6..
Preprocessing library for hfsevents-0.1.6..
Building library for hfsevents-0.1.6..
[1 of 1] Compiling System.OSX.FSEvents ( System/OSX/FSEvents.hs, dist/build/System/OSX/FSEvents.o, dist/build/System/OSX/FSEvents.dyn_o )

cbits/c_fsevents.m:1:10: error:
     fatal error: 'CoreServices/CoreServices.h' file not found
  |
1 | #include <CoreServices/CoreServices.h>
  |          ^
#include <CoreServices/CoreServices.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
`cc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Failed to build hfsevents-0.1.6. See the build log above for details.

I have Xcode freshly installed and I am able to locate header file at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h
but defining this env var (in my .zshrc) like this doesn't help
export CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/"

UPD: log of cabal install with -v3 https://pastebin.com/FDygnfQB

I got there with: nix-shell -p darwin.apple_sdk.frameworks.CoreServices -p darwin.objc4.all -p darwin.apple_sdk.frameworks.Cocoa
Apologies for this being a Nix-only solution, but it should give you some idea.

Does anyone still see this problem? I've never encountered it (I get my GHC installs from GHCup usually).

I still see this, but I don't only see this in haskell, but in other languages too, so I think it's an environment problem. And the solution with nix shell works for me still.

I'm still interested in learning how to reproduce this, since I don't see it here with my ghcup based install.

I believe this is related to the fact that I never installed xcode. When looking for similar errors online, they all are resolved by installing xcode/command line tools or running xcode-select. Examples:

https://github.com/rjeczalik/notify/issues/165#issuecomment-426110790
https://github.com/r-lib/fs/issues/150#issuecomment-436027795
https://github.com/ethereum/go-ethereum/issues/17940
https://discuss.ocaml.org/t/build-dune-doesnt-work/13326/10
https://elixirforum.com/t/problem-using-devbox-with-phoenix-error-cant-find-executable-mac-listener/59835 - solved with nix for a change, ha
Surprisingly, this same issue we're in was on the first page of search

I have the same error on macOS Sonoma 14.6.1.
I'm using nix flakes, and following the tips above, I have solved my problem by putting the following in my flake.nix:
        devShells.default = pkgs.mkShell {
          buildInputs = [
            pkgs.ghc
          ] ++ lib.optionals pkgs.stdenv.isDarwin ([
            pkgs.darwin.apple_sdk.frameworks.Cocoa
            pkgs.darwin.apple_sdk.frameworks.CoreServices
            pkgs.darwin.objc4.all
          ]);
        };

Here, pkgs is bound to nixpkgs with overlays as usual. The key point is to specify the required frameworks, Cocoa and CoreServices, explicitly.

I'm still interested in learning how to reproduce this, since I don't see it here with my ghcup based install.

That's alright — I think that the problem has to do with the installation of the MacOS SDKs. When starting XCode 15 for the first time, you'll get a question whether you want to install additional tools. If you answer "yes", and select "MacOS", then you'll eventually end up with the latest version of the SDKs installed here: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk. This needs to be connected to the Cabal frameworks: stanza somehow, and this is where things fail.