Bug:  Parallel states transitions behave differently on V5

XState version
XState version 5
Description
Example:
{
  id: "question-flow",
  initial: "value1",
  type: "parallel",
  states: {
    value1: {
      type: "final",
      on: {
        NEXT: {
          target: "#question-flow.value2.shown",
        },
      },
    },
    value2: {
      id: "value2",
      initial: "hidden",
      states: {
        shown: {
          on: {
            NEXT: {
              target: "#question-flow.value3.shown",
            },
          },
        },
        hidden: {},
      },
    },
    value3: {
      id: "value3",
      initial: "hidden",
      states: {
        hidden: {},
        shown: {
          type: "final",
        },
      },
    },
  },
}

on the state machine above I used to be able to send aNEXT event and it would toggle value2 on the first call and value3 on the second call, however since upgrading to v5 only the NEXT from value1 is being called, is this expected behavior now?
Here is a codesandbox with this machine and xstate v5
Here is a codesandbox for xstate V4
Expected result
it should call NEXT on value2.shown
Actual result
only NEXT from value1 is ever triggered
Reproduction
https://codesandbox.io/p/sandbox/test-xstate-4xcj29?file=%2Fsrc%2FApp.js%3A10%2C14
Additional context
No response

This works as expected according to the SCXML semantics of conflicting transitions (see removeConflictingTransitions.
However, we have tweaked rules around reentrancy of source states (see here). Essentially, for many purposes we are using LCA over LCCA algorithms to detect "transitions containment". This makes this part of the mentioned removeConflictingTransitions algorithm outdated for us:

Transitions that aren't contained within a single child force the state machine to leave the  ancestor (even if they reenter it later).

Our own implementation is still using our own computeExitSet though so it could work correctly already - maybe there is a small bug there. I'm still trying to think through this case but it feels like - given the above - you are right that this should work.
Note though that:

respective source regions are still exited here (and reentered). It's just that the parallel region itself isn't reentered here whereas in SCXML it would be
using on in a final state is forbidden by SCXML but it turns out that we don't quite enforce this


[#4533] Ensure replacement of decoder is delayed after finishHandshak…

…e() is called
Motivation:
If the user calls handshake.finishHandshake() we need to ensure that the user has the chance to setup the pipeline before any WebSocketFrames are read. Because of this we need
to delay the removal of the HttpRequestDecoder.
Modifications:

Remove the HttpRequestDecoder via the EventLoop and so delay it which gives the user a chance to setup the pipeline after finishHandshake() completes
Add unit test for this.

Result:
Less surpising and correct behaviour even if the http response and websocket frame are received in one read operation.

@nmittler @Scottmitch @trustin PTAL.
@jroper this should fix your issue.

Addressed comment and cherry-picked into 4.0 (d0b0e028d08200ada8991a773f7d8c435ab73607) and 4.1 (7a562943ad5dfc430c75de8cdeb2a2aa0a68244e)


[BEAM-12040, BEAM-11934] Remove the option withRunnerDeterminedShardingUnboundedInternal; add a check for merging windows

A follow-up to PR #14164. This PR removes withRunnerDeterminedShardingUnboundedInternal option so users by default are allowed to use runner determined sharding. Also added a check if the input of WriteFiles requires windows to be merged since the current implement of runner determined sharding for unbouded data does not support merging windows yet.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @chamikaramj

Run Java PreCommit

Thanks Cham!
The presubmit failure looks unrelated...
:runners:flink:1.12:test FAILED
  | org.apache.beam.runners.flink.FlinkSavepointTest > testSavepointRestoreLegacy FAILED |
  | java.util.concurrent.ExecutionException at FlinkSavepointTest.java:255 |
  | Caused by: org.apache.flink.runtime.messages.FlinkJobNotFoundException at Dispatcher.java:894

Run Java PreCommit

Run Java PreCommit


json: cannot un marshal string into Go struct field VMessAccount.alterId of type uint16

你正在使用哪个版本的 V2Ray？（如果服务器和客户端使用了不同版本，请注明）
What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?

Both are built in 20170928

你的使用场景是什么？比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。
What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.

Just start running the client.

你看到的不正常的现象是什么？
What did you see?

It noticed me that the uuid in the client config didn't match your data type compiled in your software.

你期待看到的正确表现是怎样的？
What's your expectation?

Works fine.

请附上你的配置文件（提交 Issue 前请隐藏服务器端IP地址）。
Please attach your configuration file (Mask IP addresses before submit this issue).
Server Configuration File（服务器端配置文件）:

    // 在这里附上服务器端配置文件
    // Please attach your server configuration file here.

Works fine according to the log in nohup.out
Client Configuration File（客户端配置文件）:

    // 在这里附上客户端配置文件
    // Please attach your client configuration file here.

https://pastebin.com/K8N5srva

请附上出错时软件输出的日志。在 Linux 中，日志通常在 /var/log/v2ray/error.log 文件中。
Please attach the log file, especially the bottom lines if the file is large. Log file is usually /var/log/v2ray/error.log on Linux.
Server Log File（服务器端日志）:

    // 在这里附上服务器端日志
    // Please attach your server log here.

No related file to offer.
Client Log File（客户端日志）:

    // 在这里附上客户端日志
    // Please attach your client log here.

V2Ray v2.39 (One for all) 20170928
An unified platform for anti-censorship.
Main: failed to read config file: ./v2rayclient.json > Ext|Tools|Conf|Serial: fa
iled to parse json config > Ext|Tools|Conf: invalid VMess user > json: cannot un
marshal string into Go struct field VMessAccount.alterId of type uint16
Update 1
I change the alterID from "32"  to 32.
Then :
V2Ray v2.39 (One for all) 20170928
An unified platform for anti-censorship.
Main: failed to read config file: v2rayclient.json > Ext|Tools|Conf|Serial: fail
ed to read config file > invalid character '\r' in string literal

错误信息里有说，检查一下哪里有'\r'字符。

I checked the whole file and use Pycharm and Sublime Text 3 searching \r , both returns no matches.
However , after I use the 'reformat code' in Pycharm to this json , it works fine.(But I still have to replace "32" to 32 . Orz.)

sub2conf.py 里面找到"alterId": use_conf["aid"] 改成"alterId": int(use_conf["aid"])

sub2conf.py 里面找到"alterId": use_conf["aid"] 改成"alterId": int(use_conf["aid"])


Data-driven NPC behaviors

Requires https://github.com/space-wizards/RobustToolbox/pull/1568

Nuked AiLogicProcessor
BehaviorSets are now all stored in yaml (might try making actions also yaml someday)
Added a test to validate all BehaviorSets + NPC behaviorsets
Might also try pooling actions in the future to reduce allocs but that'll be way down the line (cough physics).
I wasn't sure about adding a wrapper for BehaviorSets like a "Civilian profile" that could be re-used between different entities but if this turns out clunky I'll add it.

Most of the line changes are just from having to make actions be able to be instantiated from IDynamicTypeFactory so no args.

Going to convert the actions to !type instead

nvm leaving as strings at least until I can use types in yaml (unless I can already?)


[Feature][K8S deploy] add helm chart

Purpose of this pull request
#8283 Add helm chart and publish-helm-chart workflow.

Does this PR introduce any user-facing change?
No.

How was this patch tested?
Tested by my account.
the publish-helm-chart workflow run result.

the helm repository.

I successfully installed Seatunnel cluster using this helm with version 2.3.8 on my own K8S cluster.

Check list

[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[x] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[x ] Update the release-note.

helm安装后 开启ingress true 报错 ingress.yaml中 其中port: name 应该是port: number
应该是
spec:
rules:
host: "{{ .Values.ingress.host }}"
http:
paths:

path: {{ .Values.ingress.path }}
backend:
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
service:
name: {{ include "seatunnel.fullname" . }}-master
port:
number: 5801

helm安装后 开启ingress true 报错 ingress.yaml中 其中port: name 应该是port: number 应该是 spec: rules:
host: "{{ .Values.ingress.host }}" http: paths:

path: {{ .Values.ingress.path }}
backend:
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
service:
name: {{ include "seatunnel.fullname" . }}-master
port:
number: 5801

Fixed it.

Update with two port, 5801 for cluster join, and 8080 for restapi。
After install， svc as bellow

And endpoints as bellow.

After #8312 merge， need update metric api version

LGTM, wait for CI pass

CI https://github.com/FrommyMind/seatunnel/actions/runs/12476135067 rerun succeed。


Apply Post.rank to sort posts in Post{List,Muxer}.

Follow-up to https://github.com/PolymerLabs/arcs/pull/1303.

I'm just trying to think how can we make the particles as reusable as possible - what is List particle (or maybe SortedList) would take a sort-by-field as an input parameter? Then it won't be Post specific.
But maybe I'm overthinking it.
I'll approve now, and we can rework it later, if needed.


status Not Synced error

I have 62 chia and 1 silicoin plot. All plots legal and I m not multiple farming. I was stopped hpool farming for 3 week ago.  how can I fix this problem ?

,,,

help pls.

Please provide more information because now we have two printscreens which say virtually nothing.
Which version of SIT, which ports, have you followed the upgrade process to the letter, post some debug.logs etc. etc.
There are just TOO MUCH information missing to do anything with this bug report....

-last version. 1.1.3
-I not changing ports. only I accept all attentions  when  registering.
where is debug txt file ?cant find.

Please close the Silicoin app and delete ~/.sit folder, reopen and sync all the blocks from the beginning.

1-uninstall SIT program,
2-delete -/.sit folder.
3-install SIT program.
open SIT program and :
2021-11-21T20:19:51.427 harvester chia.plotting.manager   : WARNING  Plot H:\temporary folder location\plot-k32-2021-11-01-21-32-0370d4dbb04eef4663dc7520c6b2e196c9637199bf416968b1739dc00a0df9a6.plot has a farmer public key that is not in the farmer's pk list.
ı cant farm. HELP !

1-uninstall SIT program, 2-delete -/.sit folder. 3-install SIT program.
open SIT program and :
2021-11-21T20:19:51.427 harvester chia.plotting.manager : WARNING Plot H:\temporary folder location\plot-k32-2021-11-01-21-32-0370d4dbb04eef4663dc7520c6b2e196c9637199bf416968b1739dc00a0df9a6.plot has a farmer public key that is not in the farmer's pk list.
ı cant farm. HELP !

You need to import the key that used to plot your plot files.

1-uninstall SIT program, 2-delete -/.sit folder. 3-install SIT program.
open SIT program and :
2021-11-21T20:19:51.427 harvester chia.plotting.manager : WARNING Plot H:\temporary folder location\plot-k32-2021-11-01-21-32-0370d4dbb04eef4663dc7520c6b2e196c9637199bf416968b1739dc00a0df9a6.plot has a farmer public key that is not in the farmer's pk list.
ı cant farm. HELP !

You need to import the key that used to plot your plot files.

which key ?  I import already my  keys. (24 words)   whats problem ? why cant i fix it.

Backup .SIT folder,
uninstall app,
delete /Username/.SIT folder, /Username/AppData/Local/SIT and... /Username/AppData/Roaming/SIT.
Install App,
Run App and whait 5 min (here was the problem as it didn't actually want to connect to any peers or introducer)
Close App,
Copy from backup: DB (only blockchain_v1_mainnet.sqlite) and Wallet (blockchain_wallet_v1_mainnet_XXXXXXXXX.sqlite)
Copy from backup peer_table_node.sqlite
Re-stake

Can you farm now?

1-uninstall SIT program, 2-delete -/.sit folder. 3-install SIT program.
open SIT program and :
2021-11-21T20:19:51.427 harvester chia.plotting.manager : WARNING Plot H:\temporary folder location\plot-k32-2021-11-01-21-32-0370d4dbb04eef4663dc7520c6b2e196c9637199bf416968b1739dc00a0df9a6.plot has a farmer public key that is not in the farmer's pk list.
ı cant farm. HELP !

You need to import the key that used to plot your plot files.

which key ? I import already my keys. (24 words) whats problem ? why cant i fix it.

Can you farm now?

1-uninstall SIT program, 2-delete -/.sit folder. 3-install SIT program.
open SIT program and :
2021-11-21T20:19:51.427 harvester chia.plotting.manager : WARNING Plot H:\temporary folder location\plot-k32-2021-11-01-21-32-0370d4dbb04eef4663dc7520c6b2e196c9637199bf416968b1739dc00a0df9a6.plot has a farmer public key that is not in the farmer's pk list.
ı cant farm. HELP !

You need to import the key that used to plot your plot files.

which key ? I import already my keys. (24 words) whats problem ? why cant i fix it.

yes now SYNCHED and my 62 plots FARMİNG but not coming any SIT ???  how can I gain Silicoin ?

How many SIT are you staking?


⚠ BeyondHD has degraded performance

In fd5d0d9, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 1857 ms

Resolved: BeyondHD performance has improved in 520fc25 after 6 minutes.


[1.16.1] InvocationTargetException at launch

Latest version (1.3.4)

Will fix!

It seems like a compatibility issue with mods that alters the Attack Speed attribute

In that case, CombatEdit (mod that I'm using, which removes the attack speed attribute entirely)

Ah yes, that would definitely cause an issue, thanks. Knowing that makes it easier to fix!

Fixed in dev.


DNS Resolution error for slscan.io

Current behavior
When requesting the site slscan.io, there is a Cloudflarre Error page that shows a DNS resolution error

Expected
The server hosting the website is probably done and should be restarted

Please use appthreat.ioappthreat.io

All links must point to the new corrected domain now.


Search improvement: behave a bit more like sublime text by getting the BEST match in a given string, not just the first.

Are you still working on this? This would be a great improvement.
I use this library for my (sublime-go-to-anything-like) chrome extension Tab Ahead.

Re: finding the best match - this might be a good place to look for ideas: http://stackoverflow.com/questions/23305000/javascript-fuzzy-search-that-makes-sense

@janraasch: I like the idea for that feature. It'd be great to see it in a new issue, since it's different from the topic of this issue.


 Therefore, these accounts should not be modified by the user during operation, as doing so may cause issues with flows and reconciliation.
We need to implement some rules to prevent modifications.
How to do it

Do not allow the deletion of accounts of type external
Do not allow modifications to accounts of type external
Do not allow accounts with aliases starting with @external/

I'm currently waiting for this task to be completed before I can proceed: Issue.


Upload test results report from Travice CI to temporary storage

I think it's hard to look for Travise build logs to find out which tests are failed.
This PR improves Travise CI configuration - now all files from 'build/reports/' will upload to http://transfer.sh.
It will be easy to download and read reports.

@BorisOsipov Sorry for the delay. Merged, thank you!


[Event Request] report 11000000 "Get Proposal Entries" - OnBeforeConfirmCurrencyDate

Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnBeforeConfirmCurrencyDate' to be added to trigger 'OnPreReport' in report 11000000 "Get Proposal Entries" (NL version only).
    trigger OnPreReport()
    var
        CustEntries: Record "Cust. Ledger Entry";
        VendEntries: Record "Vendor Ledger Entry";
        EmployeeLedgerEntry: Record "Employee Ledger Entry";
        IsHandled: Boolean; //**4PS>MS.n
    begin
        if "Value Date" < Today then
            Error(Text1000000);
        //**4PS>MS.sn
        IsHandled := false;
        OnBeforeConfirmCurrencyDate("Value Date", IsHandled);
        if not IsHandled then
        //**4PS>MS.en
            if CopyStr(CompanyName, 1, 6) <> Text1000001 then
                if "Value Date" - Today > 14 then
                    if not Confirm(
                         StrSubstNo(
                           Text1000002 +
                           Text1000003 +
                           Text1000004,
                           "Value Date" - Today), false)
                    then
                        Error(Text1000005);

        OnPreReportOnAfterConfirm(TransactionmodeTable);
        BatchStatus.Open(Text1000006 + Text1000007);

        CustEntries.SetCurrentKey(Open, "On Hold", "Transaction Mode Code");
        CustEntries.SetRange(Open, true);
        CustEntries.SetRange("On Hold", '');
        CustEntries.SetFilter("Transaction Mode Code", '<>%1', '');

        VendEntries.SetCurrentKey(Open, "On Hold", "Transaction Mode Code");
        VendEntries.SetRange(Open, true);
        VendEntries.SetRange("On Hold", '');
        VendEntries.SetFilter("Transaction Mode Code", '<>%1', '');

        EmployeeLedgerEntry.SetCurrentKey(Open, "Transaction Mode Code");
        EmployeeLedgerEntry.SetRange(Open, true);
        EmployeeLedgerEntry.SetFilter("Transaction Mode Code", '<>%1', '');

        NumberOfEntries := CustEntries.Count + VendEntries.Count + EmployeeLedgerEntry.Count();

        CompanyInfo.Get();
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeConfirmCurrencyDate(CurrencyDate: Date; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53230.


WIP CurveRecipe

Some considerations about this WIP:

_bake was written supposing that IPie.calcTokensForAmount() returns (_, uint256[] amounts) where amounts contains the amount of _inputToken to spend for each underlying asset
Does IPie.joinPool(uint256) receive the amount of _inputToken from which thepie is baked/minted?

Now some considerations about the implementation and possible edits:

Gas consumption will be huge on this (basically ICurveExchange.get_best_rate requires a lot of gas). We should think about exposing a pure function as: getBestPools(address _inputToken, address[] _outputTokens) that returns something like address[] pools, representing the best pools. This can be encoded (like in UniPieRecipe) and passed in the data field to bake.

Last commit adds a script to estimate gas for get_best_rate function in Swap Curve contract in scripts/curveExchangeTest.ts.
Results from the script:
Creating Typechain artifacts in directory typechain for target ethers-v5
Successfully generated Typechain artifacts!
Curve Swap contract address: 0xD1602F68CC7C4c7B59D686243EA35a9C73B0c6a2
Gas estimation for get_best_rate: 1603971
Best pool is 0x06364f10B501e868329afBc005b3492902d6C763 receiving<PHONE_NUMBER>3714086595 DAI

So gas cost for get_best_rate should be 1603971. In CurveRecipe contract, this function is called n times (where n is the number of underlying tokens). Supposing a price of 100 gwei gas price: 1603971 * 100 gwei = 160397100 gwei = 0,1603971 ETH (just for a single call to get_best_rate)


feature: Blockchain scanner PoC

Motivation
We want to investigate an approach to blockchain scanning in zebra using existing crates.
Specifications
One potential approach would be to send a single compactblock from a test function to the existing crate and check the results.
We can then try with multiple blocks or other more complex scenarios.
Complex Code or Requirements
No response
Testing
No response
Related Work
No response

Creating a new gif repository with a binary crate, or adding an example binary to a new or existing Zebra crate might be simpler than a test function.
It depends if we want to iterate on the proof of concept to build the final product, or just do something quick to show it works, and throw it away.


Container media queries

Hi! I'm not sure what's the policy on including proposal-level features in feature requests and the contributing guide doesn't seem to forbid it, so I'd like to propose the inclusion of the container media queries proposal:
https://wicg.github.io/container-queries
Good context article:
https://philipwalton.com/articles/responsive-components-a-solution-to-the-container-queries-problem/

I'm fine having it here as a request, however I probably won't be adding it to the site until there's an indication browsers are interested in implementing some form of this specification.

That's a shame, but I do understand and respect where you are coming from. My motivation here is the fact that every time I hit CIU up looking for stuff like this, it'd be helpful to know whether it not coming up in the search means it just wasn't added yet (because it's too early) or because there is no stated browser vendor interest. If there was a way to represent this on the site, that would be cool, but perhaps something like this is too niche and would dilute the scope of the site.
In any case, I appreciate leaving this up as a feature request for if/when browser vendors state and intent to implement.

There seems to be a new push:

https://twitter.com/tomayac/status/1324345127012343811
https://groups.google.com/a/chromium.org/g/blink-dev/c/u1AKdrXhPGI/m/wrJb-unhAgAJ
https://bugs.chromium.org/p/chromium/issues/detail?id=1145970

Now available via chrome://flags in Chrome Canary.

Now available at https://caniuse.com/css-container-queries


push context: refactor DestinationRule to split usages

Currently, we actually have two distinct code paths in a single
function. This is pretty confusing to follow, and makes other PRs more
complex (https://github.com/istio/istio/pull/37174/files).
This splits out to an internal function, which is to be called when
creating SidecarScope, and a method on SidecarScope to be called by
consumers (eg Cluster builder code).
This can be cleaned up further to stop doing the dummyNode thing,
which is a major source of bugs historically, if we do the same with
Service. But trying to keep this minimal.
This PR also has a lot of testing changes, as many of our tests do
things that are not realistic.
Please provide a description of this PR:

thank you so much @howardjohn ! This really helps my other PR.


Image size on mobile device

"fromDataURL()" incorrectly resize image data on Android device.
Image data is saved correctly into a local file using "toDataURL()" but when I reload it, image is half its original size.
This is due to pixel ratio. I made a quick fix in file "signature_pad.js" in "fromDataURL" function line 124.
I remove the divide by pixel ratio and now image size is correct:
width = this._canvas.width // ratio/,
height = this._canvas.height // ratio/;

I would rather recommend to enhance signaturePad to keep aspect ratio of a given image and fit it into a canvas of a given size.

I have the same problem. Is there already a solution for this problem?

fixed in #253


Revert "Fix the first frame logic in tracing and driver"

Reverts flutter/flutter#35297
This is breaking platform_view__start_up

Landing on red to fix build


Could not specify coverage provider per config

Describe the bug
In workspace, the coverage is specified in a common vitest.config.ts and not in individual config.
This prevents plugin authors to create configs that uses different providers.
For example:
vitest.config.ts
vitest.config.playwright.ts
vitest.config.webdriverio.ts
vitest.workspace.ts

// vitest.workspace.ts
export default [
  'vitest.config.playwright.ts',
  'vitest.config.webdriverio.ts'
]

playwright uses coverage-v8 while webdriverio uses istanbul.
This scenario doesn't work at all when running vitest run --coverage.
It fails with:
Error: @vitest/coverage-v8 does not work with
{
  "browser": {
    "provider": "webdriverio",
    "name": "firefox"
  }
}

I've tried adding test: { coverage: { provider: 'istanbul' } } in vitest.config.webdriverio.ts and ignore the type error. But that has no effect.
Reproduction
as described above
System Info
System:
    OS: macOS 14.7.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 74.48 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.9.0 - ~/.local/state/fnm_multishells/36490_1733342322767/bin/node
    npm: 10.8.3 - ~/.local/state/fnm_multishells/36490_1733342322767/bin/npm
    pnpm: 9.13.2 - ~/.nvm/versions/node/v20.12.2/bin/pnpm
    bun: 0.1.6 - ~/.bun/bin/bun
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 131.0.6778.87
    Safari: 18.1.1
  npmPackages:
    @vitejs/plugin-react: ^4.2.1 => 4.3.3
    @vitest/browser: ^2.1.8 => 2.1.8
    @vitest/coverage-istanbul: ^2.1.8 => 2.1.8
    @vitest/expect: ^2.1.8 => 2.1.8
    vite: ^5.3.5 => 5.4.11

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This cannot repro on stackbliz as that fails with:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Error: Cannot find package '@vitest/browser' imported from /home/projects/vitest-dev-vitest-qbwddo/node_modules/vitest/dist/chunks/resolveConfig.RxKrDli4.js
 ❯ __node_internal_captureLargerStackTrace2 ../../../builtins.ddb8d84d.js:101:5335
 ❯ new NodeError ../../../builtins.ddb8d84d.js:101:4149
 ❯ packageResolve ../../../builtins.ddb8d84d.js:158:9724
 ❯ moduleResolve ../../../builtins.ddb8d84d.js:158:10188
 ❯ defaultResolve ../../../builtins.ddb8d84d.js:158:12372

This is expected behavior. Coverage is done for the whole workspace, that's the whole point of having a workspace in the first place: https://vitest.dev/guide/workspace.html#configuration

Yes, I understand that's what mentioned in the doc. But that makes it not possible to do what I described.

Yes, I understand that's what mentioned in the doc. But that makes it not possible to do what I described.

Yes, this use case is intentionally not supported and it is mentioned in the docs that it is intentionally not supported.

ok, thanks for confirming.

FYI I have tried for a few days but couldn't find a workable workaround

There is no workaround. You can only have one coverage provider


I found an animation-related error when interacting with Mob Player Animator and all the Bark, All Bite mods

Fixed by703f477.


Sweep: update the readme (✓ Sandbox Passed)

Description
This pull request updates the README.md file to include installation, usage, requirements, contribution guidelines, and showcase of predicted gender and age images.
Summary

Updated README.md to include installation, usage, requirements, and contribution guidelines
Added showcase of predicted gender and age images
Modified the project description and result section

Fixes #4.

🎉 Latest improvements to Sweep:

New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To get Sweep to edit this pull request, you can:

Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch

Rollback Files For Sweep

[ ] Rollback changes to  README.md


Setup first working version

The idea is to setup a sort of clone of active storage. But with the ability to use different tables for attachments.
This is a first draft setup. I wanted to include a lot more, but than the PR became a lot larger. This is already too large. I wanted it to be smaller. But could not achieve this and complete a 100% test coverage.
Other enhancements are

Partition the blob table
Cleanup blob table
Async cleanup for blob

@nvanoorschot nu heb ik de checksum omgebouwd naar 85 char en de filename naar de attachment gemigreerd.


io.js 3 / node 4 / nan 2.1 support (DONE)

Hi,
I'm opening up this PR, however it is not yet finished. Just for everyone to know that it is in progress.
Everything compiles except line https://github.com/unbornchikken/node-proxy/blob/master/src/node-proxy.cc#L1533. The issue is that nan 2 doesn't support SetCallAsFunctionHandler. I've opened up an issue: https://github.com/nodejs/nan/issues/427
If anyone has hope for this gets merged, please +1 that nan issue above.

Adding to the list: https://github.com/nodejs/node/issues/2798.

We're still not there, NAN 2.1 is not released yet. :-1:

So, the good news is NAN 2.1 released, so finally this PR gets done. All test passed on all Node.js versions including 4.x. I've also updated Travis stuff to do tests on Mac and Linux on the whole version range. All tests passed there of course. @samshull please merge and release this as soon as you can, because there are many who waits for this module update. Thanks for your hard work there anyway!

:+1:

:+1: Great job! Thanks!

<EMAIL_ADDRESS>


Implement basic StationWare: Extended gamemode

Description

This is for a more chill and low-stress environment.

run events as normal
when a player dies, respawn them at the next ware event
player should lose all of their belongings

this is kinda unbalanced but with the automatic shuttle call it should be fine.
probably introduce a base-case where if everyone dies in a single round, the game ends.

Closing in favor of challenge-style warioware


Get form state before rate limiter so the form is validated

Currently the rate limiter kicks in before the form is validated so you have to wait a whole minute if some input is invalid. In case of password validation this is really frustrating.

Isn't that the whole point of rate limiting login attempts?

Okay, probably the login one was too much, but I don't want to rate limit users on registration if they haven't entered a valid password, right? 😅

I think all those rate limiters where correct originally.
The problem with registration now is that users can check if an account exists for an email without being rate limited.

Hm, we should at least increase the limit to 5 then. Otherwise you enter a password, it says "please enter at least X digits" you enter a new password and are rate limited 🤔

Agree. Maybe also change the decay to 30 seconds instead?

What about the number of tries though, @danharrin?

Okay lets do 2 for all forms then


adding some modifications to test/test_client.c and tests/test_server.c to avoid misunderstanding

Well, when I used the test examples of test_client.c and test_server.c, some details in them misguided me. They are quite tiny of course, but I think adding some modifications to them may help them look better.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.tang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Steps for contributing in CONTIBUTING.md file

I will be adding all the steps in detail like
fork
clone
branch change
add
commit
push
how to create pr
I'll be explaining everything in details to contibutors new to open source
pls assign me this under label gssoc24

Hey, I've already contributed to another project so I can do this. Can you please assign me this issue under gssoc'24?

I am interested in this task. Pls assign it to me under GSSOC'24 so that I can contribute to this project. I am good enough at my skills to complete this task efficiently.

Could you please assign this issue to me under GSSOC'24.

Hello,I am interested in this task I would like to work on this .Please assign me this Under GSSOC'24

since I'm a begginer too, I know how important it is to know how to contribute in an OS, I can very much relate to the new users , I would like to work on this issue ,Please assign this issue to me @TAHIR0110


Make server stop with password

Closes #749

Coverage remained the same at 90.904% when pulling b6fa908352a5494bb8d1c83ce1bbf837fbb1d4f0 on takahi-i:make-server-stoppable into e9161fe985406768c5fd2bff3502e49d15f8e979 on redpen-cc:master.


No option to place closing bracket on new line when wrapping or chopping long arrays

Prerequisites

[x] Ensure you have latest version of plugin installed
[x] Search for possible issue duplicates

Installation details

[x] IDE version (Help->About->Copy to Clipboard)GoLand 2018.3.4
Build #GO-183.5429.49, built on February 12, 2019
Licensed to Hyland Software Inc. / Nathan Lowe
Subscription is active until November 17, 2019
JRE: 1.8.0_152-release-1343-b26 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

[x] intellij-hcl plugin version (Settings->Plugins)

v0.6.13

[x] Terraform version (terraform -v)

Terraform v0.11.11

Terraform Configuration Files
variable "foo" {
    type    = "list"
    default = ["a", "b", "c"]
}

Expected Behavior
When the default array (or any array in general) gets too long and Chop down if long is set in formatting settings, or if Wrap Always is set in formatting settings, I expect the above code to be reformatted as follows:
variable "foo" {
    type    = "list"
    default = [
        "a",
        "b",
        "c"
    ]
}

Actual Behavior
The code is reformatted as follows:
variable "foo" {
    type    = "list"
    default = [
        "a",
        "b",
        "c"]
}

Note the closing ] stays on the same line as the last element.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:

Install the Terraform / HCL Plugin
In Settings > Editor > Code Style > Terraform Config, under the Wrapping and Braces tab, set Arrays to Wrap Always.
Write the above hcl to vars.tf
Re-format the document (Ctrl+Alt+Shift+L)

Notes
Other languages have the ability to control where the closing ] gets places. For example, Javascript:

I found this because the rest of my team works with terraform manifests in VSCode. I was trying to get the formatting to match.

The Indent setting doesn't seem to be respected either, no matter what I set it to it always indents to 4 spaces.

For now it's recommended to configure terraform fmt file watcher and also performing it before committing changes.

Ah, I didn't know that was a thing. That's exactly what I'm looking for!

I have the terraform fmt file watcher running but this bug is still very annoying. Is there a timeline on a fix?

This is annoying me as well! The problem with using terraform fmt is that it formats a whole directory, rather than the specific file you're working with?


Update scalatest-wordspec to 3.2.13

Updates org.scalatest:scalatest-wordspec from 3.2.11 to 3.2.13.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.2.11).
You might want to review and update them manually.
build.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest-wordspec" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scalatest", artifactId = "scalatest-wordspec" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
18

Relevant Lines:
47

💛  - Coveralls


[ Languages, Java, JSP ] Implementing User Sign Up, Login and Sessions With Java Server Pages (JSP)

Proposed title of the article
[ Languages, Java, JSP ] Implementing User Sign Up, Login and Sessions With Java Server Pages (JSP)
Proposed article introduction
This article will be a guide through the JSP technology to develop user interfaces which will help understand the basic functionality of Java Server Pages (JSP) to develop web applications. After completing this tutorial you will have the expertise in developing web pages with JSP.
Key takeaways

In-depth guide and core concepts around the JSP technology.
How to use the JSP to develop web applications user interfaces.
How to handle HTML form data and user input with JSP.
A practical example of the JSP in action to develop a user registration form.

Article quality
This article explores the core concept of JSP from the ground up clearly and concisely with examples making it friendly for beginners and people with no prior knowledge of JSP.
References
Stream API
The Stream API
Templates to use as guides

How To Guide Template
Tutorial Template

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites. Some have even gone further to add MySql.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
You are more than welcome to pursue another more in depth topic.


ActiveStorage::FileNotFoundError in ActiveStorage::AnalyzeJob@default

Error in Osuny
ActiveStorage::FileNotFoundError in ActiveStorage::AnalyzeJob@default
ActiveStorage::FileNotFoundError
View on Bugsnag
Stacktrace
bin/rails:4 - <main>

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
ActiveStorage::FileNotFoundError in ActiveStorage::AnalyzeJob@default


Security code can be named also as "CVC", not only "CVV"

Describe the bug
I tought that it was a typo, but the security code can be named in both ways. If you want just close the issue, or if it has any different meaning, consider to let the dev. choose between the two options maybe?
Screenshots

@funder7 we'll provide this update in next release.

@funder7 we'll provide this update in next release.

@funder7 This feature is supported is latest version of plugin. Kindly update it to latest version.

This has been added to latest version of plugin so i am closing this issue.


syntasitc not popup when NERDTree open

amazing work!
syntasitc works fine in terminal vim but in macVim , when NERDTree is open , it not showing up ..

Please explain what did you do, what did you expect to happen, and what happened instead.

Ping.

i' am  sorry ~~
here is a demo( nerdTree  not open ):

here is another demo( with nerdTree open)
the warning msg is not showing up ...

I can't reproduce the problem.  How are you triggering syntastic?  Please don't asume I can understand exactly what you're doing from your screenshot. :)

here is my config (the default config) , and i use latest macVim in (macOS 10.10.2)
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

Please explain how are you triggering syntastic.  I can't see that in your screenshot.

sorry i don't know what you mean by triggering,  it's all Automatic ...

You aren't running syntastic with the power of your mind, are you?  Please explain in English sentences what you're doing.  Are you writing the file?  Are you running :SyntasticChecks?  Do you have a macro that automates the write?  Is the cursor in the file window (as opposed to the nerdtree window) when you run syntastic?

you lost me ..
long words in short:  i close NERDTree , the "warning check" works fine , i open NERDTree the "warning check" works bad .
that's the best i can explain .

Please run :SyntasticInfo with the NERDTree open, and post the output.

here comes:

Ok.

Thanks.
if i run :SyntasticCheck manually with NERDTree open it works fine ~
i guess "save"  not trigger :SyntasicCheck  with NERDTree open

Please post the output of:
:verbose autocmd BufWritePost

OK , Without NERDTree :

and with it open :

Great.  Now please try doing your test with all your plugins disabled, except for syntastic and NERDTree.

sorry,  but how to ?

Temporarily move them somewhere else.

@lcd047   ok, then what?

Then you try running syntastic with NERDTree open, as before.

with or without NERDTree open , it both not work
and when i try ; SyntasticCheck , it shows Not an editor command: SyntasticCheck  ...
i guess i could use SyntasticCheck without NERDTree open , it's not big deal

Somehow you also disabled syntastic.  Please run the test with both NERDTree and syntastic left active.

You seem to be using nerdtree-git-plugin.  According to #1391, nerdtree-git-plugin has a bug that prevents syntastic from working.  This doesn't seem to have been fixed to this day.

yes, i did use the nerdtree-git-plugin,  thanks for point out .

This pull request provides a solution.


menu.min.js not updated

Hi,
Sorry to ask, but I think that master/js/menu.min.js should be updated since https://github.com/romgerman/GTAVMenuVueHtml/pull/1
Thank you,
rt-2

Done


[Future] It may be possible to create dedicated servers.

Can only look into this once the improved join game functionality is implemented.
Can initially act as a relay, passing commands to all connected clients. Will encounter problems with world loading and saving. Dedicated server will have to keep track of the world somehow.
Might not be possible, leaving this here to look into later.
Steps

[ ] Add join game button to main menu, clicking that button will load the world sent by the server.
[ ] Add a ParseOnDedicatedServer abstract method to CommandHandler.cs. This will allow commands to perform tasks when received on a dedicated server (such as updating the game save).
[ ] Figure out how to access these commands from a .NET Core project, .NET Core will be used for the server (allows running on Linux, Mac and Windows).

This would be amazing if we can achieve this!

Any news?
We are big fans of your modification.
Big thanks to you.
Could we help you?

Any news?
We are big fans of your modification.
Big thanks to you.
Could we help you?

Just use the pull request if you are able to.


etcdserver: cherry pick of #9990 to release 3.1

Cherry pick of #9990 to release-3.1.
This is to improve debuggability of etcd release-3.1. Added a grpc interceptor to log information on incoming requests to etcdserver.
During backporting, the following two dependencies are removed from the original PR:

removed dependency on zap logger. Use capnslog for logging.
removed dependency on grpc_middleware. Interceptors are chained manually instead.

This backporting also includes #10021. If debug level is disabled, skip logUnaryRequestStats() to avoid potential performance degradation.
/cc @gyuho @jpbetz

lgtm!


[DOC] Add example for Hessian-vector products

And a comparison via functorch.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
117

Relevant Lines:
141

💛  - Coveralls


How to query resource utilization metrics from the pod

Hi
I am trying to query the actual resource utilization of containers running with a pod. Is there a mechanism with the API that provides for that?
Thanks
Shanker

You can query kubelet directly for the information.
    // /stats/<pod name>/<container name>                   : Stats for Kubernetes pod/container
    // /stats/<namespace>/<pod name>/<uid>/<container name> : Stats for Kubernetes namespace/pod/uid/container

For example. "curl --insecure https://localhost:10250/stats/foo/bar"


Improving ghostscript detection (windows)

The SearchRegistry function call was removed under cygwin
Added Searchbyregquery function to detect gs executable under msys (git bash)
Some double quotes were changed to single quotes

To do the tests I used
perl pdfcrop.pl --debug tests/version-test.pdf

The output under msys without having gs in PATH:
PDFCROP 1.40, 2020/06/06 - Copyright (c) 2002-2020 by Heiko Oberdiek, Oberdiek Package Support Group.
* Restricted mode: disabled
* Option `pdfversion': auto
* Perl executable: perl
* Perl version: v5.30.2
* Pointer size: 8
* Pipe support: yes
* Fork support: yes
* OS name: msys
* Arch name: x86_64-msys-thread-multi
* System: msys
* Not found (gswin32c): /c/Users/pablo/bin/gswin32c.exe
* Not found (gswin32c): /mingw64/bin/gswin32c.exe
* Not found (gswin32c): /usr/local/bin/gswin32c.exe
* Not found (gswin32c): /usr/bin/gswin32c.exe
* Not found (gswin32c): /bin/gswin32c.exe
* Not found (gswin32c): /mingw64/bin/gswin32c.exe
* Not found (gswin32c): /usr/bin/gswin32c.exe
* Not found (gswin32c): /c/Users/pablo/bin/gswin32c.exe
* Not found (gswin32c): /c/Windows/system32/gswin32c.exe
* Not found (gswin32c): /c/Windows/gswin32c.exe
* Not found (gswin32c): /c/Windows/System32/Wbem/gswin32c.exe
* Not found (gswin32c): /c/Windows/System32/WindowsPowerShell/v1.0/gswin32c.exe
* Not found (gswin32c): /c/Windows/System32/OpenSSH/gswin32c.exe
* Not found (gswin32c): /c/ProgramData/chocolatey/bin/gswin32c.exe
* Not found (gswin32c): /c/Strawberry/c/bin/gswin32c.exe
* Not found (gswin32c): /c/Strawberry/perl/site/bin/gswin32c.exe
* Not found (gswin32c): /c/Strawberry/perl/bin/gswin32c.exe
* Not found (gswin32c): /cmd/gswin32c.exe
* Not found (gswin32c): /c/tools/BCURRAN3/gswin32c.exe
* Not found (gswin32c): /c/Users/pablo/AppData/Local/Microsoft/WindowsApps/gswin32c.exe
* Not found (gswin32c): /c/texlive/2020/bin/win32/gswin32c.exe
* Not found (gswin32c): /d/jdk/bin/gswin32c.exe
* Not found (gswin32c): /usr/bin/vendor_perl/gswin32c.exe
* Not found (gswin32c): /usr/bin/core_perl/gswin32c.exe
* Not found (gswin64c): /c/Users/pablo/bin/gswin64c.exe
* Not found (gswin64c): /mingw64/bin/gswin64c.exe
* Not found (gswin64c): /usr/local/bin/gswin64c.exe
* Not found (gswin64c): /usr/bin/gswin64c.exe
* Not found (gswin64c): /bin/gswin64c.exe
* Not found (gswin64c): /mingw64/bin/gswin64c.exe
* Not found (gswin64c): /usr/bin/gswin64c.exe
* Not found (gswin64c): /c/Users/pablo/bin/gswin64c.exe
* Not found (gswin64c): /c/Windows/system32/gswin64c.exe
* Not found (gswin64c): /c/Windows/gswin64c.exe
* Not found (gswin64c): /c/Windows/System32/Wbem/gswin64c.exe
* Not found (gswin64c): /c/Windows/System32/WindowsPowerShell/v1.0/gswin64c.exe
* Not found (gswin64c): /c/Windows/System32/OpenSSH/gswin64c.exe
* Not found (gswin64c): /c/ProgramData/chocolatey/bin/gswin64c.exe
* Not found (gswin64c): /c/Strawberry/c/bin/gswin64c.exe
* Not found (gswin64c): /c/Strawberry/perl/site/bin/gswin64c.exe
* Not found (gswin64c): /c/Strawberry/perl/bin/gswin64c.exe
* Not found (gswin64c): /cmd/gswin64c.exe
* Not found (gswin64c): /c/tools/BCURRAN3/gswin64c.exe
* Not found (gswin64c): /c/Users/pablo/AppData/Local/Microsoft/WindowsApps/gswin64c.exe
* Not found (gswin64c): /c/texlive/2020/bin/win32/gswin64c.exe
* Not found (gswin64c): /d/jdk/bin/gswin64c.exe
* Not found (gswin64c): /usr/bin/vendor_perl/gswin64c.exe
* Not found (gswin64c): /usr/bin/core_perl/gswin64c.exe
* Search Ghostscript in Windows registry under msys:
* Registry entry found for GS_DLL (64 bits version)
* Add /c/Program Files/gs/gs9.52/bin to PATH for current session
* Found (via reg query): gswin64c
* Autodetected ghostscript command: gswin64c
* Input file: tests/version-test.pdf
* Output file: tests/version-test-crop.pdf
* Margins: 0 0 0 0
* PDF header: %PDF-2.0
* Using PDF version: 2.0
* Running ghostscript for BoundingBox calculation ...
* Ghostscript call: gswin64c -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f tests/version-test.pdf
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 149 139 308 715
* Page 1: 149 139 308 715
%%HiResBoundingBox: 149.003995 139.247996 307.295991 714.023978
* Running pdfTeX ...
* pdfTeX call: pdftex -no-shell-escape -interaction=nonstopmode tmp-pdfcrop-1229
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdftex)
entering extended mode
(./tmp-pdfcrop-1229.tex [1 <./tests/version-test.pdf>] )
Output written on tmp-pdfcrop-1229.pdf (1 page, 11071 bytes).
Transcript written on tmp-pdfcrop-1229.log.
==> 1 page written on `tests/version-test-crop.pdf'.
* Cleanup
* Temporary files: tmp-pdfcrop-1229.tex tmp-pdfcrop-1229.log

The output under msys having gs in PATH:
PDFCROP 1.40, 2020/06/06 - Copyright (c) 2002-2020 by Heiko Oberdiek, Oberdiek Package Support Group.
* Restricted mode: disabled
* Option `pdfversion': auto
* Perl executable: perl
* Perl version: v5.30.2
* Pointer size: 8
* Pipe support: yes
* Fork support: yes
* OS name: msys
* Arch name: x86_64-msys-thread-multi
* System: msys
* Not found (gswin32c): /c/Users/pablo/bin/gswin32c.exe
* Not found (gswin32c): /mingw64/bin/gswin32c.exe
* Not found (gswin32c): /usr/local/bin/gswin32c.exe
* Not found (gswin32c): /usr/bin/gswin32c.exe
* Not found (gswin32c): /bin/gswin32c.exe
* Not found (gswin32c): /mingw64/bin/gswin32c.exe
* Not found (gswin32c): /usr/bin/gswin32c.exe
* Not found (gswin32c): /c/Users/pablo/bin/gswin32c.exe
* Not found (gswin32c): /c/Windows/system32/gswin32c.exe
* Not found (gswin32c): /c/Windows/gswin32c.exe
* Not found (gswin32c): /c/Windows/System32/Wbem/gswin32c.exe
* Not found (gswin32c): /c/Windows/System32/WindowsPowerShell/v1.0/gswin32c.exe
* Not found (gswin32c): /c/Windows/System32/OpenSSH/gswin32c.exe
* Not found (gswin32c): /c/ProgramData/chocolatey/bin/gswin32c.exe
* Not found (gswin32c): /c/Strawberry/c/bin/gswin32c.exe
* Not found (gswin32c): /c/Strawberry/perl/site/bin/gswin32c.exe
* Not found (gswin32c): /c/Strawberry/perl/bin/gswin32c.exe
* Not found (gswin32c): /cmd/gswin32c.exe
* Not found (gswin32c): /c/tools/BCURRAN3/gswin32c.exe
* Not found (gswin32c): /c/Users/pablo/AppData/Local/Microsoft/WindowsApps/gswin32c.exe
* Not found (gswin32c): /c/texlive/2020/bin/win32/gswin32c.exe
* Not found (gswin32c): /d/jdk/bin/gswin32c.exe
* Not found (gswin32c): /c/Program Files/gs/gs9.52/bin/gswin32c.exe
* Not found (gswin32c): /usr/bin/vendor_perl/gswin32c.exe
* Not found (gswin32c): /usr/bin/core_perl/gswin32c.exe
* Not found (gswin64c): /c/Users/pablo/bin/gswin64c.exe
* Not found (gswin64c): /mingw64/bin/gswin64c.exe
* Not found (gswin64c): /usr/local/bin/gswin64c.exe
* Not found (gswin64c): /usr/bin/gswin64c.exe
* Not found (gswin64c): /bin/gswin64c.exe
* Not found (gswin64c): /mingw64/bin/gswin64c.exe
* Not found (gswin64c): /usr/bin/gswin64c.exe
* Not found (gswin64c): /c/Users/pablo/bin/gswin64c.exe
* Not found (gswin64c): /c/Windows/system32/gswin64c.exe
* Not found (gswin64c): /c/Windows/gswin64c.exe
* Not found (gswin64c): /c/Windows/System32/Wbem/gswin64c.exe
* Not found (gswin64c): /c/Windows/System32/WindowsPowerShell/v1.0/gswin64c.exe
* Not found (gswin64c): /c/Windows/System32/OpenSSH/gswin64c.exe
* Not found (gswin64c): /c/ProgramData/chocolatey/bin/gswin64c.exe
* Not found (gswin64c): /c/Strawberry/c/bin/gswin64c.exe
* Not found (gswin64c): /c/Strawberry/perl/site/bin/gswin64c.exe
* Not found (gswin64c): /c/Strawberry/perl/bin/gswin64c.exe
* Not found (gswin64c): /cmd/gswin64c.exe
* Not found (gswin64c): /c/tools/BCURRAN3/gswin64c.exe
* Not found (gswin64c): /c/Users/pablo/AppData/Local/Microsoft/WindowsApps/gswin64c.exe
* Not found (gswin64c): /c/texlive/2020/bin/win32/gswin64c.exe
* Not found (gswin64c): /d/jdk/bin/gswin64c.exe
* Found (gswin64c): /c/Program Files/gs/gs9.52/bin/gswin64c.exe
* Autodetected ghostscript command: gswin64c
* Input file: tests/version-test.pdf
* Output file: tests/version-test-crop.pdf
* Margins: 0 0 0 0
* PDF header: %PDF-2.0
* Using PDF version: 2.0
* Running ghostscript for BoundingBox calculation ...
* Ghostscript call: gswin64c -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f tests/version-test.pdf
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 149 139 308 715
* Page 1: 149 139 308 715
%%HiResBoundingBox: 149.003995 139.247996 307.295991 714.023978
* Running pdfTeX ...
* pdfTeX call: pdftex -no-shell-escape -interaction=nonstopmode tmp-pdfcrop-831
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdftex)
entering extended mode
(./tmp-pdfcrop-831.tex [1 <./tests/version-test.pdf>] )
Output written on tmp-pdfcrop-831.pdf (1 page, 11071 bytes).
Transcript written on tmp-pdfcrop-831.log.
==> 1 page written on `tests/version-test-crop.pdf'.
* Cleanup
* Temporary files: tmp-pdfcrop-831.tex tmp-pdfcrop-831.log

The output under cygwin:
PDFCROP 1.40, 2020/06/06 - Copyright (c) 2002-2020 by Heiko Oberdiek, Oberdiek Package Support Group.
* Restricted mode: disabled
* Option `pdfversion': auto
* Perl executable: /usr/bin/perl
* Perl version: v5.30.3
* Pointer size: 8
* Pipe support: yes
* Fork support: yes
* OS name: cygwin
* Arch name: x86_64-cygwin-threads-multi
* System: cygwin
* Not found (gs): /usr/local/bin/gs.exe
* Found (gs): /usr/bin/gs.exe
* Autodetected ghostscript command: gs
* Input file: tests/version-test.pdf
* Output file: tests/version-test-crop.pdf
* Margins: 0 0 0 0
* PDF header: %PDF-2.0
* Using PDF version: 2.0
* Running ghostscript for BoundingBox calculation ...
* Ghostscript call: gs -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f tests/version-test.pdf
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 149 139 308 715
* Page 1: 149 139 308 715
%%HiResBoundingBox: 149.003995 139.247996 307.295991 714.023978
* Running pdfTeX ...
* pdfTeX call: pdftex -no-shell-escape -interaction=nonstopmode tmp-pdfcrop-759
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdftex)
entering extended mode
(./tmp-pdfcrop-759.tex [1 <./tests/version-test.pdf>] )
Output written on tmp-pdfcrop-759.pdf (1 page, 11071 bytes).
Transcript written on tmp-pdfcrop-759.log.
==> 1 page written on `tests/version-test-crop.pdf'.
* Cleanup
* Temporary files: tmp-pdfcrop-759.tex tmp-pdfcrop-759.log

I have left in comments the changes I have added, the changes only affect users who use perl pdfcrop and not those who use the direct version provided in TeXLive.
You can remove the detection of some old architectures (dos, os2) and some executable names for gs (gsc, gs386, gsos2), but, I don't know what level of backwards compatibility you want to have.
One thing I didn't manage to test was to remove gs from the list of ghostscript executable names for miktex (and windows), if anyone has miktex they might be able to do the test.

Now the idea is complete, the detection proposed under git win is to be able to make some tests on the script using l3build, I put a quite simple example (just to understand the idea).
(I tried to create a temporary directory, but, it behaved differently in win/linux and didn't allow me to use run)


Debugger: Pop up exception dialog when click the 'Stop' button during the debug session

Environment data
dotnet --info output:
VS Code version:
C# Extension version:
Steps to reproduce
1 Press F5
2 Press the  "Stop" button before the breakpoint comes to be in break mode
Expected  behavior
This project should be stop
Actual behavior
VSCode would pop up an exception dialog

This fix will be available in the next release.


Add forever hold to snap refresh.hold

Based on the feedback on #80, adds an option to hold the refresh of snaps forever.

Note that I think in general we should opt for a per-snap hold, especially when "forever holding" - so it's likely that we'll want to land that change before this is used too widely.

And I agree with Jon -- would you be willing to follow up with a PR to add per-snap holds?

I can add an issue to solve that and take a look in the future. But I think it's outside of the scope of this PR and the needs we had for doing this.


Issue 14: fix(yandex api): change hashSimple for split\join an array

Issue https://github.com/KhaledMohamedP/translate-json-object/issues/14
Solution
Yandex API not correctly translate with [(.|.)] sybmols
We change it to /|/|/|

@leoni4 your feedback will be valuable here https://github.com/KhaledMohamedP/translate-json-object/issues/17
Can you please take a look 😃


744 - [Product] Request Pricing CTA on hero should be agnostic to user region

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #744
Test URLs:

Before: https://main--moleculardevices--hlxsites.hlx.live/products/flipr-penta-high-throughput-cellular-screening-system/screenworks-software
After: https://fix-744--moleculardevices--hlxsites.hlx.live/products/flipr-penta-high-throughput-cellular-screening-system/screenworks-software

can't seem to get 100 LHS due to https://github.com/hlxsites/moleculardevices/issues/430.


Support css-loader modules in webpack

Webpack's css-loader has the modules option, which renames all classnames to a unique hash.
Problem is, when the transpilation process is:
source CSS => PostCSS plugins => container query => css-loader
Then the container query stats json will have the original classnames instead of the new hashed ones, and it won't work.
The solution could be adding a mapping function to the runtime, which would rename all classnames to the new ones based on the classname map the loader returns:
const styles = require('./Button.pcss');
const containerStatsJSON = require('./Button.pcss.json')['.Button'];
mapClassesToHashes(containerStatsJSON, styles);

Update: This should just be a loader, which could optionally handle the output from the css-loader.
(Which is would either be the raw css string or the raw string and the js object map in module mode.)
https://webpack.js.org/contribute/writing-a-loader

Seems like this might not be possible right now:
https://github.com/webpack-contrib/css-loader/issues/645

Made a proof-of-concept css loader rework, which would allow me to have a named export from a container-query loader:
https://github.com/ZeeCoder/exporting-css-loaders

There's a little movement in regards to this (After v1 of css/style-loader, we'll discuss these ideas more in-depth), but it will have to wait until after the new year unfortunately.

Congratulations @ZeeCoder for this awesome packages set! It really beats the competition because of the container units.
I hope we could revisit this issue sometime soon. Perhaps the recent releases of style-loader and css-loader now have the features necessary for this to work?

Thanks! Are they released though? last time I've checked there was no movement, and I couldn't connect to anyone to help with the process.
Tbh I'm at a loss as to who is responsible for these loaders, and how development happens. 🤷♂
I even played with the thought of implementing my own loader that just does everything for me instead. 😅

I will probably invest some time in continuing your work here. The reason being that I’m developing an extension that injects a react app as a sidebar and I really need this :)
I will keep you up to date.

Sounds fantastic, good luck! please keep me up to date as you go 👍
On Tue, 3 Jul 2018, 18:05 André Cruz<EMAIL_ADDRESS>wrote:

I will probably invest some time in continuing your work here. The reason
being that I’m developing an extension that injects a react app as a
sidebar and I really need this :)
I will keep you up to date.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ZeeCoder/container-query/issues/18#issuecomment-402227446,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADglEnmVswuAB-N0fTw_hhxAzE-RCY6jks5uC6RggaJpZM4MdMkg
.

@ZeeCoder @satazor have y'all made any progress on this? I'm trying to use container-query in a React app and having the same CSS-Modules/hashed classnames issue. This library would be a lifesaver if I can get it to work in my setup!

here's an attempt at your mapClassesToHashes function that seems to be working for me:
const classToHashedClass = (str, styles) => {
  const classesWithHashes = [];
  const classes = str.split(' ');
  classes.forEach((classStr) => {
    const classNoDot = classStr.replace(/\./g, '');
    classesWithHashes.push(`.${styles[classNoDot]}`);
  })
  return classesWithHashes.join(' ');
};

const mapClassesToHashes = (json, styles) => {
  const newJson = {...json};
  const containerClass = Object.keys(newJson)[0];
  const containerConfig = newJson[containerClass];

  if (containerConfig.e) {
    newJson[containerClass].e = classToHashedClass(containerConfig.e, styles);
  }

  if (containerConfig.f) {
    const styleChanges = newJson[containerClass].f[0].b;

    styleChanges.forEach((obj, i) => {

      if (obj.e) {
        obj.e = classToHashedClass(obj.e, styles);
      }
    })
  }
  return newJson[containerClass];
};

Thanks! 🙌
I'll take a look at Sunday, I'm a bit busy until then 👍

@tjbenneche I'd like you to try a code snippet I've came up with to solve this, before I release it in the next major release:
import styles from  "App.pcss";
import rawMeta from "App.pcss.json";
import {
  QUERIES,
  ELEMENTS,
  SELECTOR
} from "@zeecoder/container-query-meta-builder";

const getMeta = (meta, styles) => {
  /**
   * Checks if the given css selector has a hashed css class in the given `styles`
   * object
   * @param {string} selector Ex: ".App"
   * @return {boolean}
   */
  const hasSelectorInStyles = selector =>
    typeof styles[selector.slice(1)] === "string";

  /**
   * Returns a hashed css class to the given selector, from the styles object.
   * @param {string} selector Ex: ".App"
   * @return {string} Ex: ".App_wCjtv"
   */
  const getMappedCssClass = selector => `.${styles[selector.slice(1)]}`;

  /**
   * Patches the given object's selector prop if it has any, and if there's a
   * hashed class in the styles object.
   * @param {{}} obj
   */
  const patchSelectorWithHash = obj => {
    if (
      typeof obj[SELECTOR] !== "string" ||
      !hasSelectorInStyles(obj[SELECTOR])
    ) {
      return;
    }

    obj[SELECTOR] = getMappedCssClass(obj[SELECTOR]);
  };

  // Patching the root selector
  patchSelectorWithHash(meta);

  // Patching the elements' selectors
  if (Array.isArray(meta[QUERIES])) {
    meta[QUERIES].forEach(query => {
      if (Array.isArray(query[ELEMENTS])) {
        query[ELEMENTS].forEach(element => patchSelectorWithHash(element));
      }
    });
  }

  return meta;
};

const meta = getMeta(rawMeta, styles);

You can then pass "meta"  into the runtime as usual, selector classes should be patched according to the CSSModules styles object.

Hey man sorry for the delayed response. This isn't quite working how I would expect.
If i call getMeta(rawMeta, styles) , where, for example:
`
const rawMeta = {
'.SearchInput': {
e: '.SearchInput',
f: [
{ b: [
{
e: '.SearchInput .SearchInput__searchButtonIcon',
d: { display: 'none' }
}, {
e: '.SearchInput .SearchInput__searchButtonText',
d: { display: 'block' }
}, {
e: '.SearchInput__iconButtonOnly .SearchInput__searchButtonIcon',
d: { display: 'block' }
}, {
e: '.SearchInput__iconButtonOnly .SearchInput__searchButtonText',
d: { display: 'none' }
}],
a: [[['width', '>', 720]]] }
]
}
};
const styles = {
SearchInput: 'SearchInput__SearchInput__1W2oC',
SearchInput__iconButtonOnly: 'SearchInput__SearchInput__iconButtonOnly__1EOU1',
SearchInput__searchButtonIcon: 'SearchInput__SearchInput__searchButtonIcon__3esvF',
SearchInput__searchButtonText: 'SearchInput__SearchInput__searchButtonText__1sCNM'
};
`
I get the following error:
Invalid meta object. It's either not an object, or it's missing the 'e' and/or the 'f' property.
If I call getMeta(rawMeta['.SearchInput'], styles), the code renders fine and the root selector gets patched, but none of the children do. It looks like the issue is in this snippet called in hasSelectorInStyles and getMappedCssClass :
selector.slice(1)
Because my scss classes are nested, calling slice(1) on the selector won't return the correct key. If instead I call:
selector.split(' ').pop().slice(1)
I get the results I'd expect.

Ah yeah that's probably because I didn't account for the case where the meta contained multiple container data.
I'll update the script.
I intend to ship it with the final v3 version anyway, so your feedback is extremely helpful!

@tjbenneche Could you try the following?
import { SELECTOR, QUERIES, ELEMENTS } from "@zeecoder/container-query-meta-builder";

/**
 * Runs through all selectors of a meta object.
 * @param {{}} meta
 * @param {function} cb
 */
const mapMetaSelectors = (meta, cb) => {
  if (typeof meta[SELECTOR] === "string") {
    meta[SELECTOR] = cb(meta[SELECTOR]);
  }

  // Patching the elements' selectors
  if (Array.isArray(meta[QUERIES])) {
    meta[QUERIES].forEach(query => {
      if (Array.isArray(query[ELEMENTS])) {
        query[ELEMENTS].forEach(element => {
          if (typeof element[SELECTOR] === "string") {
            element[SELECTOR] = cb(element[SELECTOR]);
          }
        });
      }
    });
  }
};

/**
 * Rewrites the meta selectors according to the styles map object.
 * @param {{}} rawMeta
 * @param {{}} styles A classname => classname map, like the one CSS Modules provides.
 * Ex: "{ App: "App_ehyfd" }"
 * @return {{}}
 */
const remapMetaSelectors = (rawMeta, styles) => {
  // If meta is a string, then assume it's from a css-loader export.
  // Unfortunately css-loader will add quotations around the exported JSON, so
  // we need to trim that.
  const meta =
    typeof rawMeta === "string" ? JSON.parse(rawMeta.slice(1, -1)) : rawMeta;

  /**
   * Checks if the given css selector has a hashed css class in the given `styles`
   * object
   * @param {string} selector Ex: ".App"
   * @return {boolean}
   */
  const hasSelectorInStyles = selector =>
    typeof styles[selector.slice(1)] === "string";

  /**
   * Returns a hashed css class to the given selector, from the styles object.
   * @param {string} selector Ex: ".App"
   * @return {string} Ex: ".App_wCjtv"
   */
  const getMappedCssClass = selector => `.${styles[selector.slice(1)]}`;

  // We need to differentiate between single- and multi container mode here, as
  // the meta object's structure would be slightly different.
  if (meta[SELECTOR]) {
    mapMetaSelectors(meta, selector => {
      if (!hasSelectorInStyles(selector)) {
        return selector;
      }

      return getMappedCssClass(selector);
    });
  } else {
    for (let selector of Object.keys(meta)) {
      mapMetaSelectors(meta[selector], selector => {
        if (!hasSelectorInStyles(selector)) {
          return selector;
        }

        return getMappedCssClass(selector);
      });
    }
  }

  return meta;
};

It's essentially the same as this one:
https://github.com/ZeeCoder/container-query/blob/v3/packages/container-query-meta-builder/src/remapMetaSelectors.js
As I'm planning to ship this with v3.


Update Jetstack logo

This PR updates the Jetstack logo on the partners page.

This change is

I've updated the commit (and pushed) to now use my Jetstack email address and we're all signed up to the CNCF CLA.
Can someone prod the bot to check CLA again, please?

@mattbates just comment "I signed"

I signed

@mattbates Sometimes the bot requires a nudge. :(


Custom domains not working on chromium browsers

After the last update I've tried the new function implemented in #85. It seems it works on Firefox but not on chromium browsers.
On Firefox, it correctly shows the popup to configure the provider:

And then the icons change and the I can configure the icon style:

But on chromium browsers, it shows the popup to allow access to the website:

Then the popup content doesn't change. I have to click away of the popup and open it again. But the provider configuration doesn't show up:

There was, some miscommunication and appears that a required permission was removed from the extension manifest. This is a quick fix and it should be working in the next release.


Dependencies of dependencies not being respected in run-all group ordering

Describe the bug
When calculating group ordering for run-all commands, dependencies of dependencies are not respected. The error manifests (at least how I experience it) as an outdated output cache.
To Reproduce
Consider the following module dependency graph.

When running a terragrunt run-all command against modules A and C (not B), A will not be processed before C. They'll be placed in the same group.
Expected behavior
Dependencies of dependencies should be respected in run-all group ordering. In the example above, A should be processed before C.
Versions

Terragrunt version: v45.3
Terraform version: v1.0.11
Environment details (Ubuntu 20.04, Windows 10, etc.): Ubuntu 20.04

Additional context
It's probably worth considering whether targeting A and C, but not B, even makes sense since B is an explicit dependency of C. Internally within my organization we might (edit: we were) be able rework some things to avoid this, but we have a fairly complex module graph. This seems like a reasonable bug nonetheless.

@jlepere-everlaw, are you using dependencies block? If so, could you please provide a simple configuration to reproduce this behavior?

@jlepere-everlaw, are you using dependencies block?

I'm using dependency blocks.

If so, could you please provide a simple configuration to reproduce this behavior?

I drastically simplified the example relative to my organization's configuration, so I don't off-hand. Let me see if I can whip something up real quick.

If so, could you please provide a simple configuration to reproduce this behavior?

I drastically simplified the example relative to my organization's configuration, so I don't off-hand. Let me see if I can whip something up real quick.

Alright, @levkoburburas, I was able to reproduce this with the following.
# terragrunt-issue-2565-example/A/
terraform {
  source = "./"
}

# terragrunt-issue-2565-example/B/
terraform {
  source = "./"
}
dependency "A" {
  config_path = "../A"
}

# terragrunt-issue-2565-example/C/
terraform {
  source = "./"
}
dependency "B" {
  config_path = "../B"
}

$ terragrunt run-all apply --terragrunt-working-dir terragrunt-issue-2565-example/ --terragrunt-strict-include --terragrunt-include-dir A --terragrunt-include-dir C
INFO[0000] The stack at terragrunt-issue-2565-example/ will be processed in the following order for command apply:
Group 1
- Module /home/jakelepere/everlaw/servers/terragrunt-issue-2565-example/A
- Module /home/jakelepere/everlaw/servers/terragrunt-issue-2565-example/C

C should be processed in a separate group after A because C implicitly depends on A.


Add support to Spring Boot's TestExecutionListener

Spring Boot defines an API for test execution listener. It seems to be similar to ours, but KT is not working with them at the current state.
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/test/context/TestExecutionListener.html
An example of this feature can be found at @Sql, at this guide:
https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#testcontext-executing-sql-programmatically

I don't understand what they do. Are we supposed to add a KotlinTestExecutionListener, or is KT meant to invoke the current TestExecutionListeners?

I think the latter.
It seems that one can register some listeners to Spring, and it will do something to execute them. As stated in that link,

Note that not all testing frameworks support all lifecycle callbacks defined in this API.

We should be one of the frameworks that does.
I'm figuring out how they're executed now.
We would just need to add their behavior to our SpringListener

Do you need help with this? I also need this feature and I would happily contribute.

@tibtof I think this is just about done, but there's plenty of other issues if you'd like to contribute again :)

Once we merge this, it would be awesome if  you could validate it in your usage. As I said, I couldnt validate many scenarios

If you can test with master snapshot it would be great, @tibtof

@Kerooker I'll do my best to test this in the following week. I'll let you know of my findings.


[JS][Android] Newlines not working in JS, Android in textblock

Platform

Android
JavaScript

Author or host
Author
Version of SDK
Latest master
Issue
Having newlines in a string results in expected behavior for the UWP renderer, but the JavaScript (Designer) renderer doesn't display the first newline.
So in JavaScript "First Line\nSecond Line" looks like

And (still in JavaScript) "First Line\n\nSecond Line" looks like

In Android the newlines don't seem to work at all, so "First Line\n\nSecond Line" looks like

#3531

Tracked by #1984


computed properties in v-repeat

Is it possible to use computed properties in v-repeats? As far as I can tell, there's no way to tell which item is being rendered in the computed property. I've also tried adding a function as a property of the data item but that wasn't working either.
For example:
data: { items: [ { number: 1, text: 'one' }, { number: 2, text: 'two' } ] }
template: {{text}}
computed: { propercolor: function(item) { return item.number == 1 : 'blue' : 'black'; } }

Hi,
Newbie-question related to this:
I'm trying to do something very similar but I'm having troubles with "v-component" on the same element as my repeat. I'm doing just like: http://jsfiddle.net/yyx990803/rUAPZ/, I have put

and registred the subcomponent with just a computed property:
module.exports =
components:
row:
computed:
resultText: ->
this.value.result + "foo"
(sorry, coffescript)
But I get this error that the directive "component" doesn't resolve. In
compileDirectives this turns out to undefined for "v-component":
dirDef = resolveAsset(options, 'directives', dirName)
while "v-text" and other stuff inside works just fine. There is an "_component" in the options.directives passed in while other built in stuff like "text" is there without the underscore. What can I be doing wrong=
Thanks,
Viktor

Hi,
That fiddle is pointing at quite an old version of vue  'Vue.js v0.8.2'. Is that the version you want to be using?
A

Nah, but the code seems legit still:
http://jsfiddle.net/hedefalk/3b8xz2o4/1/

I could come around my current issue by simply using a filter to compute the property from the simple data object iterated over, but I think I still will need computed properties for more involved things in the future.

@hedefalk your fiddle isn't loading Vue correctly. Also, note that once you are using a component, it treats the content inside it as "external content to be redistributed in its own template". You need to give the component its own template in its options, or use the inline-template attribute.
Working: http://jsfiddle.net/yyx990803/3b8xz2o4/3/

Yes I've reworked it using coffeescript here http://codepen.io/sgtiria/pen/vOmNpQ?editors=101

Thanks guys, so this is exactly what I would have wanted (using inline-template):
http://jsfiddle.net/hedefalk/kdv9nhbe/
However, in my real app, I still get the:
"[Vue warn]: Failed to resolve directive: component" when trying to put a v-component on the same element as my v-repeat. I guess something is different but I don't understand it. I guess I need to try to isolate the issue I have in my production code...
I'll be back!

@hedefalk are you using 0.12-rc in your real app? In 0.12 v-component has been deprecated and you can only use custom element components.

@yyx990803 Oh, I guess I am?
"dependencies": {
"vue": "yyx990803/vue#next",

Oh, that was definitely it.
Sooo, I really don't want to stay behind, so how would I achieve something like this if I don't want to break up my template? I mean, the use case is simply this:
I have an iteration of a lot of elements retrieved as json from a backend and I just use v-repeat and everything is fine and I'm all but done. Then I realize I need just one more thing in the inner thing that needs to be computed from the json data but isn't there just yet. I don't want to have to rearrange the templates just for this - I would like to be able to just add a computed attribute on the elements that I can then use inside the v-repeat. Makes sense?
If v-component is removed, I need to stuff a  around the template that is "v-repeated"? But what if the computed property needs to be on the actual element that the v-repeat is on, in my case a styleClass on the  ?
Thanks for your patience :)

I don't think I understand your problem, but this is your fiddle using custom element component (notice replace: true option for the component): http://jsfiddle.net/yyx990803/kdv9nhbe/1/

Thanks a lot! I've been trying to use this approach on my production code, but it doesn't seem to work. I tried to boil it down to my particular problem. To me a wild guess would be something related to the use of a table and custom elements, but I don't know. I figured it might be jsfiddle first that moved out my repeat of the table element before giving the template to my js, but the problem remains even though I used a script-tag for the template. The custom element seems to be moved out of the table:
https://jsfiddle.net/hedefalk/vz522u8m/7/
Thanks for your patience, I guess I'm doing some real wtf here :)

Hmm okay, this is indeed due to browsers not allowing non-table elements inside tables. You'll have to use v-component on table elements. This is something I've overlooked when deprecating v-component; in the 0.12 official release I'll make it still usable on table elements.

Ah, ok! Thanks for investigating this! I guess moving the template to a script didn't help since there's no shadow DOM thing going on, the transformations are applied after the template is put in DOM so the browser has already "fixed" the template?
I'm just starting out with vue.js and don't want to get stuck with an old version, but rather follow your development and be bleeding edge so I have a couple of follow-ups:
My strongest reason for choosing vue.js, over for instance mithril.js or react (which are the only ones I have looked into after dumping angular :) ), is that I'm a fan of this kind of templating. I'm coming from a background where I have used Lift/Scala and done server side rendering using functional transforms of pure and correct html5 documents with mock data just by adding "data-" attributes. I know that times are changing and frontend people need to do the js too, but I really liked the way I have been able to work with a "design person" doing only html/css in the same git repo and me just adding unobtrusive "data-" attributes and then binding it with data.
I guess I'm a bit interested in the rationale for deprecating v-component and what I can expect in the future with other attributes? Is it because the attributes are not correct html5? I'm for instance using v-text over mustache bindings which I guess is just my esthetic preference due to my background.
Will it at all be possible to do what I kind of want to do that is to sometimes have a large correct html5 document (with mock data) and just bind the shit out of it with js but without any external templates?
Again, thanks for your help!

Sorry to bug you this much, but one last question (for now :) ):
I need to have a styleclass on the tr that depends on the data it's repeated over. I can't seem to find a way to use v-repeat, v-component and v-class on the same tr:
http://jsfiddle.net/hedefalk/px37b9ts/1/
It seems the v-class is evaluated outside the v-repeat/v-component scope?

@hedefalk http://jsfiddle.net/azamatsharapov/px37b9ts/6/

@azamat-sharapov Sorry, that doesn't help me. What I'm looking for is a way to use the element iterated over to set a style class. You have simply added "text" by evaluating the static value true.
Thanks,
Viktor

@hedefalk HTML5 is quite forgiving in terms of custom tags and attributes, and there isn't any substantial downside in using them. On the other hand, Custom Elements is actually being worked on as an official W3C spec, so it is going to be very common in the future.
Component with props is a first-class concept in Vue, that's why they get their own dedicated syntax. Other directives will remain v- prefixed attributes.
For your scoping question, see this blog post: http://vuejs.org/2014/12/08/011-component/#Where_Does_It_Belong?

@yyx990803 Thanks!
I've read the blog post, but I can't seem to understand how I can use this to get what I want in my current example:
http://jsfiddle.net/hedefalk/px37b9ts/5/
Since inline-template only gives the inner template to the sub-component it seems I just can't fix this thing without resorting to external templates - is this correct?
Thanks again,
Viktor

You have two options:

Use replace: true for the component so you include the root node in the component's template (recommended)
Use a <template> block repeat.

Sorry if I'm thick as a brick here, but replace: true just makes the original element be replaced - in my case, if just adding replace:trueI loose my <tr> altogether:
http://jsfiddle.net/hedefalk/px37b9ts/9/

You'll have to avoid inline template in this case: http://jsfiddle.net/px37b9ts/11/

Yeah, I was afraid so. This is what I'm actually trying really hard to avoid :)
I find this a little better:
http://jsfiddle.net/hedefalk/abxghy8q/
but I would rather be able to have one template that I can transform as explained above. If you come up with any idea how to do this, I'll be super-happy!
Thanks,
Viktor

how am i suppose to calculate average, here is the link, http://jsbin.com/xecelovepa/1/edit?html,js,output, http://jsbin.com/cirosuniru/1/edit?html,js,output

Hi, how can i use this code in v2.0.2 "http://jsfiddle.net/yyx990803/rUAPZ/"

@professor93  you could take look at this https://jsfiddle.net/defcc/0eeLzwh1/


Fix the server shutdown code in Fullstack_fixtures

Fixes https://github.com/grpc/grpc/issues/13429
(See comment: https://github.com/grpc/grpc/issues/13429#issuecomment-363657093 for more details)

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

@sreecha Great stuff, thanks!

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_pump.BM_PumpStreamServerToClient_SockPair__512.opt.old: 1

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_pump.BM_PumpStreamServerToClient_SockPair__8.counters.old: 1

[microbenchmarks] No significant performance differences


R4.3

R4.3 no longer offers a format arg for as.character; supposed to use the format function instead

Appveyor is breaking on installation of GLEON/LakeMetabolizer, which requires a GitHub PAT and makes me think the better fix would be to switch to GitHub actions rather than trying to modernize my use of appveyor. A local run of tests on Mac Intel Ventura 13.4, R4.2.3 passes after commit 7bb4f57


Add README

Add badges:

...

Describe:

How this package came to be
What its main focus is
How it relates to existing spline packages in Julia (add links)

Refer to:

NURBS book
LR NURBS paper

Satisfied by https://github.com/SouthEndMusic/SplineGrids.jl/commit/7442c821bff986fd2ebf075d0587cbc1ca56c9c4.


How to activate environment: micromamba activate

Affects: PythonCall / CondaPkg / Both [delete as appropriate]
Describe the bug
After the update command:
using CondaPkg; CondaPkg.update()

the following message is displayed at the end:
Transaction finished

To activate this environment, use:

    micromamba activate /home/stefan/.julia/environments/v1.9/.CondaPkg/env

Or to execute a single command in this environment, use:

    micromamba run -p /home/stefan/.julia/environments/v1.9/.CondaPkg/env mycommand

But I cannot execute this command, if I do the result is as follows:
julia> micromamba activate /home/stefan/.julia/environments/v1.9/.CondaPkg/env
ERROR: syntax: extra token "activate" after end of expression
Stacktrace:
 [1] top-level scope
   @ none:1

Your system
Please provide detailed information about your system:

The operating system:    Ubuntu 22.04.3
The version of Julia, Python, PythonCall, JuliaCall and any other affected packages

Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, haswell)
  Threads: 1 on 8 virtual cores

other packages: see below

If an issue with PythonCall, the output of Base.versioninfo(), Pkg.status() and CondaPkg.status().

versioninfo(), see above
Pkg.status():

Status `~/.julia/environments/v1.9/Project.toml`
  [a134a8b2] BlackBoxOptim v0.6.2
  [ad839575] Blink v0.12.8
  [336ed68f] CSV v0.10.11
  [8be319e6] Chain v0.5.0
  [7c7805af] Clapeyron v0.5.2 `https://github.com/ypaul21/Clapeyron.jl#master`
  [8f4d0f93] Conda v1.9.1
  [992eb4ea] CondaPkg v0.2.18
  [e084ae63] CoolProp v0.1.0
  [a93c6f00] DataFrames v1.6.1
  [39dd38d3] Dierckx v0.5.3
  [da5bd070] EquivalentCircuits v0.3.1 `https://github.com/MaximeVH/EquivalentCircuits.jl.git#master#master`
  [5789e2e9] FileIO v1.16.1
  [f7f18e0c] GLFW v3.4.1
  [38e38edf] GLM v1.8.3
  [e9467ef8] GLMakie v0.8.9
  [66fc600b] ModernGL v1.1.7
  [429524aa] Optim v1.7.7
  [7f7a1694] Optimization v3.17.0
  [cb963754] OptimizationEvolutionary v0.1.3
  [9b87118b] PackageCompiler v2.1.7
  [eebad327] PkgVersion v0.3.3
  [f0f68f2c] PlotlyJS v0.18.10
  [438e738f] PyCall v1.96.1
  [6099a3de] PythonCall v0.9.14
  [295af30f] Revise v3.5.5
  [d6ea1423] RobustModels v0.5.0
  [1986cc42] Unitful v1.17.0
  [ade2ca70] Dates

CondaPkg.status()

CondaPkg Status /home/stefan/.julia/environments/v1.9/CondaPkg.toml
Not Resolved (resolve first for more information)
Packages
 impedancefitter
 micromamba
Pip packages
 impedancefitter

Additional context

Ah that message is printed automatically by the micromamba command when it installs packages and there's no way to turn it off unfortunately. You should ignore it.
The Conda environment is automatically activated when PythonCall starts up so there's nothing you need to do.

Thanks! - Maybe, you could put this as information in the readme.md?


Extensions are outdated and not retrieved from Microsoft

code-server version: 1.31.0-20 (or 1.0.0 according to it's own output)
OS Version: Fedora 29
Extension: any

All extensions are extremely outdated. I noticed it's querying some google storage (https://storage.googleapis.com/coder-production-extensions) instead of the VS Code Marketplace.
Why not use the official one?

I found https://github.com/codercom/code-server/commit/c384dfb81579ce054ad3323d353dfa6115a4b977
According to the commit message and the code setting SERVICE_URL should allow to override it, but it doesn't. Does the binary override the environment variables?

@schrej keep in mind code-oss which Coder bases off, does not include Extensions that has access to the registry.

We can't use Microsofts official extension registry as they don't open it to the public.
We'd love to open the world of extensions to all users, so we've created a system of observing and building from open-sourced GitHub repos for extensions. It isn't perfect yet, but we're working on it.
Which extensions in-particular have you found to be out of date?
cc: @foresthoffman

@kylecarbs Eclipse Che's extension registry might interest you. They've been working on it and we can adapt it for Coder/VSCode OSS

@sr229 I believe Che's extensions are written in Java, so that would require a large refactoring of the way extensions are currently handled.
I think the approach we're currently taking works nicely, and allows for a very open community where the builds are pulled directly from GitHub, GitLab, etc.

@kylecarbs Che 7 is VSCode-compatible (moved to Theia, which is VSCode-compatible), which can be adapted for Coder as well with substantial modifications.

We can't use Microsofts official extension registry as they don't open it to the public.

Can't we still download the extensions from the official registry? Or do we need to make modifications to them?

we could but we need to learn the underlying API for it. @nhooyr

@nhooyr They don't have a public API for us to pull from, so any web scraping would be very jank and unreliable. The added benefit of building from open source is: we can prevent versions that are failing to build from getting into the marketplace.

I doubt their API is changing very often. I don't think it will be jank or unreliable. Right now our approach is causing outdated extensions and a divergence which is a bigger problem.

Their TOS disallows it.

I found a workaround for this;

Use the official code with X and install extensions from VS Code Marketplace.

Make symlink to ~/.vscode/extensions:
rm -rf ~/.code-server/extensions
ln -s ~/.vscode/extensions ~/.code-server/extensions

Run code-server; you can use the installed extensions!

And what if you are running it on ubuntu/debian server?

I used X server on Windows like MobaXterm + ssh -X to the ubuntu/debian server.

It can work as a temporary solution, but it's certainly needed a more definitive way to implement extension

@ymmt2005 my extensions show up as disabled if I do this on ubuntu server

@andreimc which extensions are showing up as disabled?

What immediatly comes to my mind is to make an extension that loads the marketplace into a vscode tab, and make a simple bookmarklet or browser extension that appends a button onto the extensions page / card. All it would need to do is grab the rifi2k.format-html-in-php value and post it back to a simple webhook you were listening locally on via your inital extension or whatever. Use the vscode cli to download it for you. So technically you wouldn't be breaking the TOS someone would have implemented a way to download extensions via the already existing vscode cli.
Or you could do the same thing but only append and make the extension downloadable if it links to a public repo, then you can just grab it that way.

Closing as there isn't really a solution to this. Our marketplace seems to be improving though :hugs:

:clap: lets :clap: write :clap: a :clap: API :clap: for :clap: this :clap:

if we cannot change code-server we ll change vs


WIP: GEMM benchmark with ARM Compute Library

I've added the verification to the ACL benchmarks as well.
Also I've added a condition to show an error (a red line like verification failures) when the user attempts to use transposed matrices with this library. These benchmarks only support n,n mode.


Xamarin.UITest is not able to enter text for Acr.UserDialogs box on Samsung Devices

I am having an issue where both app.ClearText() and app.EnterText() is not working for Acr.UserDialogs box on Samsung  Devices (see attached screenshot) however works on Pixel. I am not sure what I can do to work around this, I have already tried to use app.Query(e => e.Id("custom").Invoke("setText", string.Empty))  and this is not working as well. I have found no way that Xamarin.UITest is able to change the text of these dialog boxes and I am really hoping there is a workaround or something I am missing. Thank you for your help in advance

Hi @Moshex , thank you for getting in touch with us!
What Xamarin.UITest version do you use in your android project?
Do you experience this issue locally or when running tests on the AppCenter portal?

I am on the latest version of Xamarin.UITest which as of today is version 3.2.8.
and I do see the issue both locally and on app center with just Samsung devices as stated.
Thank you @DmitriyKirakosyan for your help on this!

Hi @Moshex , I was able to repro and test your scenario with the Acr.UserDialogs. App.SetText doesn't work as the item is not focused and as you already figured out, you need to use a query.
Your query doesn't work because e.Id("custom") is not an EditText element but its container. So modifying query to app.Query(e => e.Id("custom").Descendant().Invoke("setText", string.Empty)) should work for you.
There is a useful tool app.Repl(), which you can use to trigger a xamarin uitest terminal and perform/test commands in it.
I'm closing this issue, but feel free to reopen if you have additional questions.

@DmitriyKirakosyan  Thank you for your reply I did not realize that .Descendant() was needed for this case since on the Pixel it does not require that to be able to interact with the box. However, your solution does work and I thank you so much for that!
Also, I use app.Repl() all the time and love the tool, I was just not able to troubleshoot why I was getting stuck in this case.
Thank you once again!


[Event Request] codeunit 1012 "Job Jnl.-Post Line" - OnBeforeJobPlanningReservationExists

Hello, would it be possible to add OnBeforeJobPlanningReservationExists event to codeunit 1012 "Job Jnl.-Post Line", like this:
local procedure JobPlanningReservationExists(ItemNo: Code[20]; JobNo: Code[20]): Boolean
...
          ReservationEntry: Record "Reservation Entry";
         ReservationEntryIsEmpty: Boolean;
         IsHandled: Boolean;
     begin
>         OnBeforeJobPlanningReservationExists(ItemNo, JobNo, ReservationEntryIsEmpty, IsHandled); //New Event
         if IsHandled then
             exit(ReservationEntryIsEmpty);

         with ReservationEntry do begin

local procedure OnBeforeJobPlanningReservationExists(ItemNo: Code[20]; JobNo: Code[20]; var ReservationEntryIsEmpty: Boolean; var IsHandled: Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Device Not Ready Error

Upon clicking [Transfer] button, user receiving 'Device Not Ready' error
Issue linked to System.IO; possibly tool not able to read local drives

NX GIC had a unfinished code for transfer via USB (as local drive)
Before the Transfer form appears, it tries to read local drives; however due to some users setup the tool may not be able to read the drives... causing an error 'Device not ready'
To fix this, I've removed the local drive check since the USB transfer mode is not available anyways
Issue will be fixed with version 1.3.0