ConvNext checkpoint

Hi! Thank you for releasing this great work. May I ask in you NuScenes leaderboard reasult BEVDepth-pure, which checkpoint of your convnext backbone is used (there are many options on the official convnext page)? Did you pre-train the convnext on nuscenes?
Thank you!

++++++++++++++++1

Hi, @DianCh. BEVDepth-pure extends the BEVDepth by using ConvNeXt-base as backbone. The model we used is pre-trained on ImageNet-1k from mmclassification convneXt. We did not pre-train on nuscenes, I hope you can try.

Thanks for the pointer @swtju14! For future reference, to use pretrained ConvNeXt-base as image backbone you can modify https://github.com/Megvii-BaseDetection/BEVDepth/blob/7ff5fab49d24c682acfb3144d9a55cbf2fe84f07/bevdepth/exps/nuscenes/base_exp.py#L39 to the following:
dict(
    type="ConvNeXt",
    arch="base",
    out_indices=[0, 1, 2, 3],
    drop_path_rate=0.5,
    gap_before_final_norm=False,
    init_cfg=dict(
        type="Pretrained",
        checkpoint="https://download.openmmlab.com/mmclassification/v0/convnext/convnext-base_3rdparty_32xb128-noema_in1k_20220222-dba4f95f.pth",
    ),
)

Then running forward of this backbone will give you image features at 4 scales with (128, 256, 512, 1024) channels.
Note that this won't work out of the box in the current repo, you'd need to install mmclassification, mmengine and upgrade mmdetection,  mmcv to their rc versions to make sure every library is compatible with each other.

Thank you very much for the references! I'm closing this issue.


Also prevent dirt paths. Inform player when this happens. Add German texts.

This prevents accidential dirt path creation as well as log stripping. Inform players when this happens, and tell them the key they bound NoStrip to. Include German translation of strings.
I also check for dirt blocks in addition to grass, as 1.17 allows turning dirt to paths (the mod works well with 20w46a btw).

That's awesome! Looks good to me. I think they also added mycelium and podzol to pathable blocks, but I can do that


Many folders async import

Based off @cal2195's amazing #383 🎉
This feature is nowhere close to ready, but it makes it past the low bar of 'proof of concept' 😅
Go to settings and statistics to add more folders to watch 😎
Will likely error out. Try not to open your regular .vha2 files -- create some small new ones you wouldn't mind corrupting 😉
Changes

remove SavableProperties interface (in favor of re-using FinalObject)
remove ImportSettingsObject interface
rename variables to more-understandable names
move imports to top of file 🔀
keyboard shortcuts grouped, changeable, savable
can select many input folders per video hub 🎉
strongly type SettingsButtons keys
language code in dedicated file
key event handler in dedicated method
move many methods around in main.ts 🔀
Touch Bar code moved to dedicated file 🔀
move most IPC event listeners to main-ipc.ts 🔀
move .ts files (other than main.ts) into /node folder 🔀

this list is not exhaustive 😅

Just so we don't forget, could you also deal with #381 in this PR? It will be pretty important for this feature! 😄
Using the proposed algorithm of using the smaller of [stats.blocks * stats.blksize, stats.size] in the hashing algorithm, will allow for detection to updates to sparse files, while also preserving backwards compatibility of existing hashes! It's also the best way regardless of compatibility! 🎉

Thanks for the idea!
This PR is such a massive change I'm likely going to have an integration branch.
Once all these files stabilize a bit (I'm about to move many/most of your recently-added methods into a new file for better compartmentalization) I'll merge changes into the integration branch and will try to handle #381 as an additional piece.
I may reach out with a question or two about the blocks idea 😅 🤝 😁


Remove unnecessary server side methods

There is a unnecessary methods on server side router (e.g. *State).

I think we can keep these for now. We'll tackle this when we are doing SSR.


[ctr] add HOSTNAME env for host network

Set the hostname environment var when using host networking via ctr
Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

LGTM


Use correct stages when creating a VAE or BIVA model.

It looks like the stages for creating a VAE or a BIVA model have been accidentally mixed up in biva/model/deepvae.py.

Thanks for the fix!


Fix auth code cleanup function

It will now properly only clean once every 5 minutes

Hi,
can you please at least have a short look at https://github.com/cloudfoundry/uaa/pull/2292 because to me this fix is small enough and we dont need to manipulate the clock with mocking the expiration

please check https://sonarcloud.io/summary/new_code?id=cloudfoundry-identity-parent&pullRequest=2291 Missing conditions in code coverage

This is a false positive. I didn't add any true new code. It's just complaining because it doesn't realize I refactored code.
I'll try to see if I can add coverage regardless.

I'll try to see if I can add coverage regardless.

yes and it shows that there is no complexity with the while(true) and exit if
} catch (DataIntegrityViolationException exists) {                 if (attempt>=maxAttempts) throw exists;             }
So is this change really needed?

only mention this for completeness : Another way to fix this would be to remove the internal cleanup and the setup of an
task scheduler, e.g. https://www.concretepage.com/spring/spring-task-scheduler in order to regular cleanup this (and maybe the other, e.g. revocable_token) table(s)

I agree that we can / should refactor this class, but to get a fixed release, can we agree on a minimal fix ?
https://github.com/cloudfoundry/uaa/pull/2311 because I think there we are all the same opinion ?

Are we still going to use the change in this PR?

Are we still going to use the change in this PR?

This PR should be closed.  For the immediate fix, we already merged #2292.  For follow-up refactoring, we have #2315.

I'm closing this per discussion above. Please, if it needs to be closed, explain why and close it.


eWeLink Coolkit SSL issue

Looks like there is issue with the SSL validation of the CoolKit servers, thus the cloud managed devices are not working.
A solution will be to add configurable ssl_verify parameter when creating the session:
async_get_clientsession(hass, False) in custom_components/sonoff/init.py and custom_components/sonoff/config_flow.py

What exact coolkit domain you talking about? I haven't seen any problmes

It is either the China or the EU once - I have put a local fix to the issue and don't have the errors anymore.

I have same problem, I think
[custom_components.sonoff.core.ewelink.cloud] Cloud WS Connection error: Cannot connect to host eu-pconnect8.coolkit.cc:8080 ssl:default [None]
[custom_components.sonoff.core.ewelink.cloud] Cloud WS Connection error: Cannot connect to host eu-pconnect5.coolkit.cc:8080 ssl:default [None]
and other servers

@azharkov78 can you share what was your mistake and what changes did you make to solve it?

@azharkov78 can you share what was your mistake and what changes did you make to solve it?

Mistake was in DNAT rules in Mikrotik router. I forget select IN interface. And all traffic to port 8080 (local and from wan) go dnat local ip

I had a very similar issue on my network, where all Sonoff devices were working properly on ewelink app but I was unable to use them through HA. I've enabled debugging and found multiple rows like this:
[custom_components.sonoff.core.ewelink.cloud] Cloud WS Connection error: Cannot connect to host eu-pconnect8.coolkit.cc:8080 ssl:default [None]
I've found that my firewall's outbound policy was blocking the outside connection to port 8080. After creating a proper allow rule all devices are back in HA.
There is one thing I wasn't able to understand tho, I always had this firewall and I've never reconfigured the IoT VLAN outbound policy, the Sonoff devices have been working for two years, then they suddenly stopped working. I'm wondering if coolkit.cc was working on standard 80/443 ports, and then they changed it to 8080? And why, by the way, use a non-standard 8080 port for an SSL connection in 2024?
I'm using the master branch version of the SonoffLAN, not a Release, should this help troubleshoot the issue.

In my case, I was able to solve this issue by ignoring the DNS server assigned for my home network and using cloudflare's and Google's. I figure out maybe the DNS of my ISP was filtering inbound traffic.

The cause of the issue are the coolkit servers. The SonoffLAN starts the comunication with GET call "https://eu-dispa.coolkit.cc/dispatch/app"
The server response is: {
"domain": "eu-pconnect5.coolkit.cc",
"reason": "ok",
"error": 0,
"IP": "<IP_ADDRESS>",
"port": 8080
}
Then the web socket communication continues with: wss://eu-pconnect5.coolkit.cc:8080/api/ws. And this sometimes fails sometimes not.
Using wss://eu-pconnect5.coolkit.cc:443/api/ws seems to be working fine.

Implementation reference: custom_components/sonoff/core/ewelink/cloud.py:297

The cause of the issue are the coolkit servers. The SonoffLAN starts the comunication with GET call "https://eu-dispa.coolkit.cc/dispatch/app" The server response is: { "domain": "eu-pconnect5.coolkit.cc", "reason": "ok", "error": 0, "IP": "<IP_ADDRESS>", "port": 8080 } Then the web socket communication continues with: wss://eu-pconnect5.coolkit.cc:8080/api/ws. And this sometimes fails sometimes not. Using wss://eu-pconnect5.coolkit.cc:443/api/ws seems to be working fine.

Thanks a lot, I knew it was something weird at their side!


added test for redirect to sign up page

@all-contributors please add @TetianaFomina tests

@all-contributors please add @TetianaFomina bug


OCR Queue Status

Description:
As of now, there is no way to see how many tasks are still pending in the queue. I know in version 2.1 there will be an indicator showing the OCR status but still, it doesn't give a full picture of all the files especially when you have tons of nested files.
Solution:
On the Logs page, there should be information regarding the OCR queue status.
E.g Processing Files: 12 / 24
12 = Processed files
24 = Total Files
I have tried looking into the codebase, but I haven't found any clues. If you can help how can this be achieved I will be happy to submit a PR. :)

I really would love to see that too. Please add that. :)


fix the UI of requestor details

Issue Description
Currently UI in label is at top and values are at bottom
Expected Behavior
We want labels and values side by side
Current Behavior
Currently UI in label is at top and values are at bottom
Screenshots

Reproducibility

[x] This issue is reproducible
[ ] This issue is not reproducible

Steps to Reproduce

Severity/Priority

[ ] Critical
[ ] High
[ ] Medium
[ ] Low

Additional Information

Checklist

[ ] I have read and followed the project's code of conduct.
[ ] I have searched for similar issues before creating this one.
[ ] I have provided all the necessary information to understand and reproduce the issue.
[ ] I am willing to contribute to the resolution of this issue.

closing in lieu of #753


variables ended with "...One" and "...Two" did not generate

strings_en.arb
{
  "variableOne" : "value one",
  "variableTwo" : "value two",
  "variableThree" : "value three"
}

Only variableThree is generated but variableOne and variableTwo are not. Is it related to .arb file?

You need to also have a value Other.

{
  "variableOne" : "value one",
  "variableTwo" : "value two",
  "variableThree" : "value three",
  "variableOther" : "value other"
}

ahh I see, it does
String variable(dynamic param) {
    switch (param.toString()) {
      case "1":
        return "value one";
      case "2":
        return "value two";
      default:
        return "value other";
    }
  }

Tbh, I thought it'll generate String get variableThree => "value three";
Where can I get information related to this? I tried to find info about this in here, but can't find the right info.

Here
https://github.com/flutter/flutter/blob/master/packages/flutter_localizations/lib/src/l10n/README.md
On Sat, 23 Feb 2019 at 06:00, Yusuf<EMAIL_ADDRESS>wrote:

Closed #41 https://github.com/long1eu/flutter_i18n/issues/41.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/long1eu/flutter_i18n/issues/41#event-2159396523, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AI2nVgH7nXEH5NJZKjXxJAQBiu-5npSXks5vQLzTgaJpZM4bEexw
.


Change linter to superlinter

Given that it's the best one on the market.

Closing this, turns out superlinter doesn't play well with older R versions.


Improvement suggestion: useTimeout

User story: I want to use useTimeout in order to nudge the user while they are looking at my page.
Problem: If the timeout elapses while the user is looking at another tab, they will miss the nudge.
It would be very nice if useTimeout had an option / variant that 'pauses' the timeout if the window is not focused.
This would require

keeping the started timestamp
clearing the timeout on window defocus and keep the elapsed time
when the window is focused, set a new timeout which is the original timeout minus the elapsed time
consider a scenario with multiple blur.

Hello @janwirth
maybe this can help: https://codesandbox.io/s/wizardly-minsky-39c9nf?file=/src/App.tsx
@juliencrn I consider submitting a PR to integrate my work if you think it is worth it.


added a property to set a track image to slider ios

this change will allow the slider to have different track images.
Sets an image for the sliderIOS's track. It only supports images that are included as assets.

@nicklockwood . I changed the type to UImage. By just exposing the setTrackImage method, im trying to make it very simple to change the track image as opposed to exposing setMinimumTrackImage and setMaximumTrackImage, which is more granular, but tougher to use if you want to just have a simple track image as background

any news on the review process for this?

Yep, looks good.
@facebook-github-bot shipit

Doh, I came late to the party, I would've liked to be able to set the left and right side of the track #4476.


Output of to_le_bits doesn't work for functions that take generic array inputs

Aim
Running the following tests causes in a panic in test1 while test2 passes
fn and<N>(bits: [u1; N]) -> u1 {
    let mut ans: u1 = 1;
    for i in 0..bits.len() {
        ans *= bits[i];
    }
    ans
}

global n = 11;

#[test]
fn test1() {
    let bits = n.to_le_bits(4);

    let ans = and(bits);
    assert(ans == 0);
}

#[test]
fn test2() {
    let tmp = n.to_le_bits(4);
    let mut bits = [0; 4];
    for i in 0..4 {
       bits[i]= tmp[i];
    }

    let ans = and(bits);
    assert(ans == 0);
}

Expected behavior
Both tests should pass
Bug
Error message:
Running 1 test functions...
Testing test1...
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: crates/noirc_frontend/src/monomorphization/mod.rs:729

To reproduce

Copy the code above
Run nargo test --show-output --allow-warnings test1

Installation method
Binary
Nargo version
nargo 0.5.1 (git version hash: 7f6dede414c46790545b1994713d1976c5623711, is dirty: false)
@noir-lang/noir_wasm version
No response
@noir-lang/barretenberg version
No response
@noir-lang/aztec_backend version
No response
Additional context
No response
Submission Checklist

[ ] Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.

This is caused by a bug where the length of the array returned by to_le_bits (and friends) is unknown to the type system since it depends on the argument to the function. A quick fix for now may be to specify the size you expect the array to be:
let bits: [u1; 3] = n.to_le_bits(4);

But this is obviously suboptimal if the argument is not a constant and thus the length is unknown.

@jfecher what is the status of this issue?

@kevaundray still open. It has the same cause as most other to_{le,be}_{bits,bytes} bugs. These functions claim they return an array of any length in the stdlib but really they just return a different length depending on the input. We can't express this in the type system so we need to change them to either return slices or return an array with a maximum size and fill zeroes in for the rest.


Role required for Scheduling Refreshes

Hi, in the table under the heading "Roles in the new workspaces", it does not mention which role(s) are able to schedule data refreshes via the on-premise gateway.  Which roles can do this?
Thanks

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

ID: 220c2a2b-9a3e-3bdf-5fcd-ac2fc85542b4
Version Independent ID: 024b0981-3008-08cd-8d2d-4dc6d87fe3fd
Content: Organize work in the new workspaces in Power BI - Power BI
Content Source: powerbi-docs/service-new-workspaces.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @cbailiss -- good question! I'll check and add it to the article.

Hi, @cbailiss -- belatedly I have the answer. Admins, Members, and Contributors can schedule data refreshes via the on-premise gateway. I'm adding it to the table in the article. Thanks for asking!


DBZ-5739 Handle permission error from RDS Postgres

Certain versions of RDS Postgres (e.g. RDS Postgres 12.3) are returning the following error when using the pg_replication_slot_advance() even though the user has superuser or replication roles. Since we can't use the function on these versions, catch and ignore these errors when validating the replication slot. This function works on RDS Postgres 12.5 for the same user.
ERROR:  must be superuser or replication role to use replication slots

@prburgu Applied, thanks!

@prburgu @jpechane  This function was added in Postgres 11 (which we are using), but I am running into this exact issue and have no idea how to resolve.

@mitchbregs What's the exact version of Postgres 11? I believe this function is available from 11.9 onwards. Btw, this is just a warning and the error is ignored and connector should continue working.

@prburgu got it. We are using 11.6. The warning is understandable and error being ignored is fine, but does this function seek the replication slot?
According to docs on the function:

The slot cannot be moved backwards or moved beyond the current insert location.
Any WAL being retained due to the slot's previous position will be removed at the next checkpoint.
An error is raised if the slot cannot be advanced.

Will we just keep retaining WAL? We are seeing a non-stop climb in replication slot lag..


Clean CI workflows

add code coverage, lint, mypy, security check

Closing it as achieving code coverage is difficult with third-party libs.
Rest points are already taken care of.


Fix  bug #20

Fixes bug #20

@xxxajk this isn't just fixing bug https://github.com/Noltari/pico-uart-bridge/issues/20, but it's also changing more stuff and adding new functionality such as additional LEDs.
Please, stick to the bug fixing in this PR and create separate PRs for the rest.


Update and rename What-is-an-security-champion.md to What-is-a-securi…

…ty-champion.md

very cool thx :)
merging


[Urgent] After upgrade to 3.3.0 -> 3.4.1, nothing works, empty channel list

Describe the bug
After upgrading to 3.4.1, the channel list is blank and it's impossible to chat. This is causing obvious problems in production, and we would appreciate it if the core team could take a look. We may be in a position to fund priority support depending on the situation, please advise.
I wrongly guessed it was a server issue and upgraded to 1.0.3 from 0.7x, but it didn't help.
I believe that anything after 3.3.0 is broken for us, which is weird as the release notes for 3.3.1 state "We have fixed an annoying bug that makes the chat list not showing for some servers.". Perhaps the fix broke stuff for other servers?
To Reproduce
Open app.
Expected behavior
Expect to see channel list. See nothing except for the header.
Logs
I don't see anything useful in the logs. Server logs look fine, Android logs don't have anything of interest. Happy to dig deeper if you guide me.
Screenshots

Devices and Versions
Your Rocket.Chat.Android version: 3.4.1
Your Rocket.Chat Server version: 1.0.3
Mobile device model and OS version: OnePlus 3T / Android 7.1.2, but happening to colleagues as well.
Additional context
Clicking on search button (magnifying glass) and clicking on Directory shows a list of channels. But clicking on a given channel results in an error message as below:

Same as #2308

Yes, it looks the same. Closing this to focus discussion there.


Refer to single service as 'service'

This is a small bug on the page listing department metrics.

super small

Good catch. 👍


chore(net): move reth_network::BlockDownloaderProvider to reth-network-api

Ref https://github.com/paradigmxyz/reth/issues/10002
Moves reth_network::BlockDownloaderProvider, supertrait of reth_network::FullNetwork to reth-network-api

did some more digging and found that all types that use the FetchClient returned by NetworkHandle::fetch_client, are generic over the client - nice!


Event Hubs API surface area

Based on architecture review, the public API is updated with the latest changes.

Can one of the admins verify this patch?


ci: webhdfs tests not be triggered

The WebHDFS tests did not be triggered on all events we set.

beyondstorage/setup-hdfs@master is not approved yet. I will refactor this job.


Google gemma models has much lower accuracy than their accuracy of Open LLM leaderboard

Hi,
We have run three Google gemma models with Winogrande on MTL or LNL, and we got much lower accuracy than Open LLM leaderboard. The detailed data as below:

Model
Precision
Device
Transformer Ver.
Acc.  [Winogrande]
Leaderboard   reference
% acc.   Degradation

google/gemma-7b-it
sym_int4
MTL
4.38.1
0.528
0.6796 (float16)
25.11%

google/gemma-7b-it
fp8
MTL
4.38.1
0.5391
0.6796 (float16)
23.06%

google/codegemma-7b-it
sym_int4
LNL
4.38.2
0.5217
0.6622 (float16)
23.74%

google/codegemma-7b-it
fp8
LNL
4.38.2
0.5478
0.6622 (float16)
18.91%

google/gemma-2b-it
sym_int4
LNL
4.38.2
0.5478
0.6093 (float16)
10.63%

google/gemma-2b-it
fp8
LNL
4.38.2
0.5454
0.6093 (float16)
11.07%

Thanks,
Yi

Hi @yzha107 , could you please provide some details of your experiments, such as running scripts and environment configuration (you can use this script to check the environment: https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/scripts), so that we can reproduce it.

Hi @yzha107 , After following tests:

Test setting
ipex-llm: 2.1.0b20240701
transformers：4.38.2
scripts：https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/dev/benchmark/harness

Test steps

# run.sh
source /opt/intel/oneapi/setvars.sh --force

python run_llb.py --model hf-causal-experimental --pretrained /path/to/model --precision fp16 --device xpu --tasks winogrande --batch 1 --no_cache --model_args "trust_remote_code=True"

Test results

| Precision | Winogrande |
-- | -- | --
gemma-2b-it | fp16 | 0.5383 |
codegemma-7b-it | fp16 | 0.5343 |
gemma-7b-it | fp16 | 0.532 |

Summary

The quantized model with sym_int4/fp8 precision provided by ipex-llm has no obvious accuracy drop compared to the fp16 model.
The fp16 model results is based on the open source framework (https://github.com/EleutherAI/lm-evaluation-harness) , which cannot reproduce the results of huggingface leaderboard. There may be differences and incompatibilities between the open source framework and huggingface leaderboard.

We recommend that you first try to reproduce the leaderboard results using the fp16 model, and then use the quantized model.

Hi @lalalapotter,
Thanks for the response. We tried the fp16 precision first and it failed with OOM. We also used the harness scripts (https://github.com/EleutherAI/lm-evaluation-harness) and winogrande dataset. The test machine is Meteor Lake, U7-155H, 32GB. So we compared the sym_int4/f8 precision with the float 16 precision result on huggingface leaderboard.
So as you mean, the gemma models' accuracy differences with huggingface leaderbord is due to the test framework difference and incompatibilities, right?
Thanks,
Yi

Hi @lalalapotter,
Thanks for the response. We tried the fp16 precision first and it failed with OOM. We also used the harness scripts (https://github.com/EleutherAI/lm-evaluation-harness) and winogrande dataset. The test machine is Meteor Lake, U7-155H, 32GB. So we compared the sym_int4/f8 precision with the float 16 precision result on huggingface leaderboard.
So as you mean, the gemma models' accuracy differences with huggingface leaderbord is due to the test framework difference and incompatibilities, right?
Thanks, Yi

Yes, it is.

Close the issue for now, if you have any updates please reach out.


Initial commit of aws_db_subnet_group resource

TODO:

[ ] subnets section of create_an_aws_db_subnet_group is matching on an ordered array, but what is returned by the resource is not ordered. How can we make it match unordered array (can't figure out how to use regular ol' rspec in there).
[x] Obvious the AZs I have defined in the tests won't work across regions, but finding ones that do is non-trivial (aka "a" and "b" are not always AZs in every region).

I'm a bigger fan of aws_rds_* for all the RDS resources - was there a reason you chose aws_db?

I'm a bigger fan of aws_rds_* for all the RDS resources - was there a reason you chose aws_db?

@tyler-ball Mostly to stay in line with what I was seeing in the written documentation when setting it up manually.  Happy to change it to aws_rds_subnet_group.  I think that will be just as clear to anyone reading the documentation and help clarify what it is for.

Renamed as requested.

@tylercloke Thanks for digging into these tests!  I think I fixed the ordering issue here:
https://github.com/chef/chef-provisioning-aws/commit/7711d94f778e52d7a5e75aad5bc98f06d2ef3a41

Can I call @jkeiser in for some support on the matchers?

@tyler-ball ^ Squashed, rebased, and added ref_full.rb and ref_destroy.rb examples

Thanks for the awesome work @stevendanna and @tylercloke !


python310Packages.railroad-diagrams: 1.1.1 -> 2.0.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.railroad-diagrams is: "Generate SVG railroad syntax diagrams, like on JSON.org"
meta.homepage for python310Packages.railroad-diagrams is: "https://github.com/tabatkins/railroad-diagrams"
meta.changelog for python310Packages.railroad-diagrams is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 2.0.3 with grep in /nix/store/2jsnbln316id96z2v0ff84h3fk2fb8fy-python3.10-railroad-diagrams-2.0.3
found 2.0.3 in filename of file in /nix/store/2jsnbln316id96z2v0ff84h3fk2fb8fy-python3.10-railroad-diagrams-2.0.3

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.railroad-diagrams
python39Packages.railroad-diagrams

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2jsnbln316id96z2v0ff84h3fk2fb8fy-python3.10-railroad-diagrams-2.0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.railroad-diagrams https://github.com/r-ryantm/nixpkgs/archive/106bc570be5c088274117046eca53c3766aeb8c1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2jsnbln316id96z2v0ff84h3fk2fb8fy-python3.10-railroad-diagrams-2.0.3
ls -la /nix/store/2jsnbln316id96z2v0ff84h3fk2fb8fy-python3.10-railroad-diagrams-2.0.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.railroad-diagrams
python39Packages.railroad-diagrams

Maintainer pings
cc @jonringer for testing.

Result of nixpkgs-review pr 178845 run on x86_64-linux 1

2 packages built:

python310Packages.railroad-diagrams
python39Packages.railroad-diagrams


Change slice description styles

The changes
Previous margin 5px to all sides

New possible change margin just for top and bottom

Codecov Report

Merging #6575 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6575   +/-   ##
=======================================
  Coverage   56.13%   56.13%
=======================================
  Files         518      518
  Lines       23030    23030
  Branches     2812     2812
=======================================
  Hits        12929    12929
  Misses       9640     9640
  Partials      461      461

Continue to review full report at Codecov.

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


Change logo in Darkmode

Hey buddy,
I am Kapil
I came to know about the issue and I realise that I can work on this issue so I want to work on this.
Would you like to assign this task to me.
Thank you!

Let's work on it.
Thank you


DO NOT MERGE: whitespace change to test travis

travis integration seems to be doing something, so closing!


[HIPIFY][LLVMCompat] Support of upcoming LLVM 8.0

StringRef issue, which is finally moved to LLVM from Clang
Renamed getBeginLoc() and getEndLoc() resolution for Expr and TypeLoc classes
Support all the previous LLVM versions via LLVCompat

Sorry, I want to ask a question that my hipcc using clang version 7.0 and LLVM is 7.0. Can I just compile LLVM 8.0 and set the hipcc using the new LLVM? Because I do not have sudo to update the rocm and hipcc version.

This PR is for hipify-clang, not for hipcc.


Serial/USART improvements

Looks like this feature already implemented, see swap field on UART config

@dotcypress The swap feature swaps TX and RX pins. What I've added has nothing to do with swapping. It's about inverting their polarity.


Feature request: Drag and Drop

Enabling drag and drop would be quite useful, especially for images.
It would be also more in line with standard macOS behaviour (you can almost drag and drop anything)

It would be also more in line with standard macOS behaviour (you can almost drag and drop anything)

Just asking, how do you (think the user can) drag a menu item?

Menu bar (or status bar items) support drag and drop actions. Theoretically dragging an image onto the icon would add it to the list.

Theoretically dragging an image onto the icon would add it to the list.

That would be fun but not useful, IMO. Plus Maccy is solely a clipboard manager and nothing else. There are already many apps do what you described like Yoink.

Would you drag to Maccy or from it? If the former, I don't think it's more convenient than just copying the image. If the latter, then it's very hard or impossible to implement drag&drop of menu items.

I've searched a bit how this can be done and it seems to discouraged to try implementing drag&drop for NSMenuItem - https://lists.apple.com/archives/cocoa-dev/2010/Feb/msg00703.html. Closing as I don't have capacity to work on this, but PRs are of course welcome.


WIP: chat history

This is a very rough first pass at https://github.com/Quansight/ragna/issues/421. I decided to investigate the naive approach of replacing
class Assistant
    ...
    def answer(self, prompt: str, sources: list[Source]):
        ...

with
class Assistant
    ...
    def answer(self, messages: list[Message]):
        ...

for just the HTTP-like assistants as a POC. Since a Message instance can hold a list of Sources, the _messages list in Rag.Chat serves as a cache of raw messages that live in the database (and what the user sees), while each assistant is responsible for formatting the message list according to the needs of the individual LLM.

@dillonroach I haven't updated any assistants other than the ones that inherit from OpenaiLikeHttpApiAssistant and the demo. Do you anticipate [m]any merge issues with your work if I went ahead and did that / do you have any other thoughts on how to pass multiple messages to the other assistants? I was thinking it would be a good idea to have a message list length limit but you are probably the one to know what that should be.

@dillonroach I haven't updated any assistants other than the ones that inherit from OpenaiLikeHttpApiAssistant and the demo. Do you anticipate [m]any merge issues with your work if I went ahead and did that / do you have any other thoughts on how to pass multiple messages to the other assistants?

I would intentionally stay hands-off from your PR on the assistants, I'll be overhauling that anyway (a reference implement in one or two places doesn't hurt anything, but I'll likely just use it as ref and tear it up, so don't be too worried about details).

I was thinking it would be a good idea to have a message list length limit but you are probably the one to know what that should be.

That's on the assistants to handle and there's nothing motivating it beyond the context window of the LLM - each assistant should have an idea of a max sequence length they can handle, and if the length coming in is too long, they'll basically need to drop the first n messages to account for the issue. E.g. (assuming message 1 is system prompt) (pseudo) messages[1] + messages[1+n:] - ideally, here, you'd do a token-count for the messages and anticipate the max length your generation will take, such that all messages+upcoming gen can fit within the llm context window.

I would intentionally stay hands-off from your PR on the assistants

@dillonroach Do you want to just merge this branch into yours and make a mega-PR, or would you prefer I coordinate with Philip to get mine merged into main first?


Catalog and apply optimal settings in the bot

Here are two examples of "optimal settings" that we currently do by hand:

for whatever.blogspot.com: whatever.blogspot.com -> whatever.blogspot.com/ncr
for whatever.tumblr.com: add --ignore-sets=singletumblr

The bot can do this sort of thing automatically.  It should be able to rewrite incoming URLs and append/modify !a/!ao options.  Naturally, it will inform the user of these changes:
<someone> > !a http://whatever.blogspot.com
<ArchiveBot> < someone: Archiving http://whatever.blogspot.com/ncr.

<someone> > !a http://whatever.tumblr.com
<ArchiveBot> < someone: Archiving http://whatever.tumblr.com.
<ArchiveBot> < someone: Added 1 patterns from ignore set singletumblr.

Advanced users may elect to skip the modification process, e.g. via --dont-be-smart.

re: blogspot:
[21:37:23] <nico_32> yipdw: i've seen the ncr expire during a job
[21:37:46] <nico_32> also linked blogspot would not be ncr-ed
[21:38:17] <nico_32> the best place is in the pipeline

So we may need pipeline support for this after all.


storage: multipart: stream error: stream ID 1; INTERNAL_ERROR

We have a serious issue on our production machines.
We recorded the following errors while sending objects:
2018/05/02 09:47:38 Post https://www.googleapis.com/upload/storage/v1/b/***/o?alt=json&projection=full&uploadType=multipart: stream error: stream ID 1; INTERNAL_ERROR
2018/05/02 10:11:51 Post https://www.googleapis.com/upload/storage/v1/b/***/o?alt=json&projection=full&uploadType=multipart: stream error: stream ID 11; INTERNAL_ERROR
2018/05/02 10:17:25 Post https://www.googleapis.com/upload/storage/v1/b/***/o?alt=json&projection=full&uploadType=multipart: write tcp xxx.xxx.xx.xx:61038->xxx.xxx.xx.xx:443: write: broken pipe

The main issue being that when this arises, it takes 47 minutes to have the operation fail. As a result our operations are all very late.
After this error, it seems like that something is left in a weird state, because we are unable to continue using the client properly and need to manually restart our services.

Could you tell us what that internal error is?
Also, when we have such errors, what should we do regarding bucket handles and existing clients? Should we throw them away?
Could it be that the retry strategy implemented in the client is kicking in here and not behaving like expected?
If we were to cancel the context 2 minutes in, would we avoid this error? Is that a good practice?

We are using 0.20.
Any help would be much appreciated as this is currently affecting a lot of our production servers.

The internal error ultimately comes from the server. We don't know why it's sending that.
I see the upload type is multipart. That either means you're sending data that is smaller than your chunks ize, or you've set Writer.ChunkSize to zero. Which one?
If you find that just creating a new Writer and retrying isn't sufficient, then it seems you will have to create a new client.
Canceling the context and retrying should work and is a reasonable workaround.
Anything you can provide that will let us reproduce this issue would be really helpful.

Thank you so much for the fast answer @jba, this is strongly impacting us and we were about to open a ticket in the console.
In our case, we didn't override the ChunkSize so it defaults to the 8Mb, however the files are mostly lower than that.

Canceling the context and retrying should work and is a reasonable workaround.

We deployed that fix an hour ago, unfortunately it doesn't help. The context consistently reaches the 2 minutes timeout.
It is to note that this is affecting us since today 4am UTC, and not in the 3 weeks we have this piece of code deployed.
We saw a very big increase in the internal errors returned by the servers at 4am today.
I see my options as:

setting the chunksize to the minimum possible value
if that doesn't work, we need to create a new instance of the client each time we have this kind of error. I'm not a huge fan of this one, but we will need to find a fix even if temporary.

I'd be very open to share more information regarding our project and maybe more specifics.
I feel like this really is related to the server side of GCS as on our side, the data sizes and the code didn't change.
Let me know what the best would be to move forward. I'm pretty much dedicated to fixing this issue given it currently delays the processing of our production services.

I just tried again to reproduce this issue by writing a thousand 1M files concurrently. They all succeeded.  Can you suggest another pattern that may match what you're doing better?
If you didn't change your code, then it does sound like a server-side issue. I would recommend opening a ticket.
If the context isn't helping, then I don't think the long delay is due to retries. But you can add logging around here to make sure.

In my current use case, I don't even write files concurrently.
Files are between very tiny, too 400Mb.
Here is our current implementation (only relevant part):
// Store stores gzip compressed file into GCS and publishes a message in a Pubsub topic according to the log kind.
func (s *LegacyStore) Store(ctx context.Context, kind LogKind, r io.Reader, ts time.Time) (written int64, err error) {
	ctx, cancel := context.WithTimeout(ctx, 2*time.Minute)

	// When the context is canceled, GCS writers will abort their job and ensure no object is stored.
	// It is important NOT to Close the GCS writer if something went wrong.
	// See: https://godoc.org/cloud.google.com/go/storage#Writer.CloseWithError
	defer cancel()

	w := s.writer.Resolve(ctx, s.bucket, s.StoragePath(kind, ts))

	gzipWriter := gzip.NewWriter(w)
	written, err = io.Copy(gzipWriter, r)

	if err != nil {
		gzipWriter.Close()
		return
	}

	err = gzipWriter.Close()
	if err != nil {
		return
	}

	err = w.Close()
	if err != nil {
		return
	}

	err = s.notifier.Notify(ctx, kind, s.hostname, ts)
	return
}

// Resolve resolves a writer that writes an object in Google Cloud Storage.
func (w *GCSWriterResolver) Resolve(ctx context.Context, bucket string, name string) io.WriteCloser {
	b := w.client.Bucket(bucket)
	o := b.Object(name)

	writer := o.NewWriter(ctx)
	writer.ContentType = "application/x-gzip" // We know this is wrong, and we will adapt in the future.

	return writer
}

Is there anything that looks wrong to you?
If not we'll move ahead and open a ticket.

I don't see anything wrong with your code.

I took another look at this, to see if the information in golang/go#26338 was helpful. There the problem was that writing took too long and tripped a timeout in the Go HTTPS server. Although GCS doesn't use Go, I did something similar anyway. I slowed down writing so that it took me almost 12 hours to write a 20M file to GCS. The write succeeded.
Do you have any further updates from your end? Are you still encountering the problem?
I'm inclined to close this issue because whatever the problem, it's not in the storage client.


Bug with external links in tabs navigation

Hello, it's me again! 👋
So on this example page: https://docs.coregames.com/fr/api/key_bindings/
If you look at the link "Core Academy" you can see that is missing a slash after the https
<a href="https:/learn.coregames.com" class="md-tabs__link"> Core Academy </a> same with other external links.
They are specified in the yaml as follows:
  - Core Academy:
      - Academy: https://learn.coregames.com
  - Forums:
      - Forums: https://forums.coregames.com
  - News:
      - News: https://forums.coregames.com/c/community/5

The links are fine on the non-/fr/ version

Hi @Stanzilla :)
Indeed I can reproduce the problem (yay!) and I think I know why this happens.. let me get a :coffee: and fix that mate

version 0.18 is out with the fix mate, thanks for reporting!

Can confirm that this is now fixed, thank you as always, you rock!


Little Problem with Linux Version

Hi I seen your post on reddit, and I decide try it out ,but I did face an problem that not all fields was receive the correct color, and a piece was white clashing from overall, I dont know if I lost something on middle of process, or the addon was updated with something new, but anyway I made this little hack and everyhing is working great as in your post.
this rule on chrome.css not working for me
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"].... {
   display: none !important;
}

my little hack to fix my issue:
#sidebar-box{
  background: #31313a !important;
}

PS: Great Theme, Congratulations 👏👏👏 for your job.

Thanks for the solution. I've added this to userChrome. Closing the issue now.


TStringGrid example

Hi, I have read the readme file but I can't understand how use the TStringGrid functionality. Can you explain with an example? I need to create a Delphi program able to read  TStringGrid rows of another running program.

enquiry := TAutomationDesktop.GetDesktopWindow('Form1');
enquiry.Focus;
//enquiry.Maximize();
This part dont work:
grid := enquiry.GetStringGridByIndex(0);
Why?

What is the program you are trying to automate written? Can you get to any other controls on the form?
It is worth trying to get at the controls using something like the uispy or inspect? If these tools cannot see the control then it is unlikely that the raw automation APIs can.
Good luck

Hello Mark,
I made video on it, so it is clear what Im trying to do:
https://www.youtube.com/watch?v=X-neMx4V6Ww
it is delphi TStringGrid and I want to take information from tstring project.

Out of the box the Delphi TStringGrid does not support Automation - it doesn't implement the automation client interface properly.
There is good news - there are controls in this project - TAutomationStringGrid that can be used as a replacement for the default one from Delphi. The wiki (https://github.com/jhc-systems/DelphiUIAutomation/wiki/TAutomationStringGrid) is a bit out of date, so I will update it now.
Let me know if you make any progress.

Thank you for your answer.
I tried, but still it didn't work and here is video:
https://www.youtube.com/watch?v=beuazczTsPo

Are you able to show me the code - both the calling program and the automation program?

I made new repo on github:
https://github.com/dakanadaka/delphigrid
Here is the source code of delphi project:
https://github.com/dakanadaka/delphigrid
and executable with database is here:
https://github.com/dakanadaka/delphigrid/tree/master/Win32/Debug
This is your library, that I changed so it can fetch grid
https://github.com/dakanadaka/delphigrid/blob/master/delphi_ui_tests/demo/AutomationDemo.dpr

From looking at the form in https://github.com/dakanadaka/delphigrid/blob/master/Unit1.pas, the Grid is just a standard TStringGrid, it will need to be a TAutomatedStringGrid, which implements the required set of Automation Interfaces. I'll try and create a fork that should work.

OK, I have problems committing from work, but essentially you need to ..

Install the AutomationControls package, so that you can add controls in Delphi
Remove the TStringGrid and replace it with TAutomatedStringGrid.
You'll need to add the underlying COM control to the project  as well, so it will look like this ...

uses   Vcl.Forms,   Unit1 in 'Unit1.pas' {Form1},   AutomatedStringGrid in 'delphi_ui_tests\controls\AutomatedStringGrid.pas',   AutomatedStringGridItem in 'delphi_ui_tests\controls\AutomatedStringGridItem.pas',   UIAutomationCore_TLB in 'delphi_ui_tests\controls\UIAutomationCore_TLB.pas';

The form1.pas should have this ...
StringGrid1: TAutomatedStringGrid;


Addition from Mark Uraine

Added Mark Uraine's 10print example to the list.

That creates some really nice images! Could make good backgrounds..


[Doc Improvement][build-tab-prerequisite][2091773]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
90
7
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit ec0cc56:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
90
7
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 6fe0a8b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 78d9fd9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 78d9fd9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 9bcba65:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 6f87d41:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit a78ff1b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b23ccbd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 0348447:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 0f78ed3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit e71d304:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/how-to/tab-requirements.md
92
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 3046ce7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/tab-requirements.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


We would love

I think one of the best features that CMS's had been in the custom fields and live preview and media manager. I would love to see something similar to below:
http://www.advancedcustomfields.com/pro/
+
https://craftcms.com/features/live-preview
+
https://octobercms.com/blog/post/introducing-media-manager

We're definitely planning on building a forms pro plugin that would have form building functionality.  This is probably scheduled for the second half of the year depending on how other stuff goes.
Regarding page-building, we do have some plans to improve the way modular pages are built.  This will cover some of what you are mentioning.
Lastly we are brining Gantry5 framework to Grav, and that will also cover some of the bases.


docs: Remove unnecessary when

Thanks for the nice documents.
I found a typo. Maybe one when would be fine.

thanks!


Cannot destroy everything correctly

Hey,
So I'm basically making it so players can enter a new level within my game, so I am trying to destroy all the tiled map data, and then create the new tiled map.
for example:
mymap = game.add.tiledmap('my-tiledmap'); // Create the tiledmap
then, when a user switches levels, I need to somehow get rid of everything
so I use:
mymap.children.forEach(function(value){
	value.destroy();

});
and/or
mymap.destroy();

My issue is am I destroying everything correctly? Because I can enter a new level using the above code for about 2 or 3 times and it works great, then, my fps drops to like 5 after the 4th time.
I'm sorry, I have looked into the source code and found the destroy method. It works, but im just thinking I'm doing this wrong.

I can help narrow it down.

Looks like my tiledmap is not getting destroyed, but only the reference (mymap) is? Hmm.

WOW! I'm an idiot! mymap.destroy() works perfectly.
I was using game.load.start and game.load.onFileComplete.add and it was adding the map in twice.   I am so sorry!


Documentation: please add these copy/paste-over-ssh instructions to a readme, wiki, or FAQ

Copy/pasting over ssh is hard. What do you think about adding a link to these detailed instructions to the readme, wiki, or an FAQ?
How to copy/paste to/from a remote machine running micro over ssh to/from your local machine

Anyone trying to copy text over SSH should have tried this way, but not only does it include line numbers as you point out, but you can't copy text that's larger than the terminal's screen. Also, tab characters will have been broken up.

I think we have adequate documentation for copy-paste, including information about working with it over SSH, in the copypaste help doc (https://github.com/zyedidia/micro/blob/master/runtime/help/copypaste.md). We can make changes to that document if it needs improvement.

@zyedidia , that document looks like a great spot to link to my notes above. What do you think? I think it could be a helpful reference. If you'd be amenable to it, maybe I could go through that doc and do any improvements I see, and link to my post above.


Use public networking for digitalocean

"Private networking" on digital ocean isn't private at all:
http://incoherency.co.uk/blog/stories/digital-ocean-private-network.html
So we might as well use public networking and allow masters to span across datacenters, forexample 3 masters in nyc1, nyc2, and nyc3. Currently you can't do it because private shared networking cannot reach across datacenters even in the same region.

@sheerun agreed. thanks for the heads up - we'll push a fix into devel for that shortly

Closing via #654


About the "per-token" distribution modeled by diffusion model

Thanks for your great work!
While cooking this MAR(i.e. looking at the paper & source code), I'm curious about:
how to show that the diffusion model models the "per-token" distribution rather than the joint distribution of all tokens
including theoretical level and code implementation(e.g. w/o attention across multiple tokens).
Looking forward to your reply, thx!

Thanks for your interest! Your understanding is correct: the simpleMLP only takes in one noised token $x+\epsilon$ and the condition $z$ and predicts $\epsilon$, without attention across multiple tokens. Therefore, the simpleMLP only models the per-token distribution. During training, the noise level on each token is sampled independently https://github.com/LTH14/mar/blob/main/models/diffloss.py#L27. During inference, the sampling is also performed without attention across tokens https://github.com/LTH14/mar/blob/main/models/mar.py#L319

Thanks!
This is why target & z reshape to (bsz * seq_len, -1) and regard the new 1st dim as batch num.
https://github.com/LTH14/mar/blob/e0cccf8341aa3276069a5bf2eb4bcb83bebafa4e/models/mar.py#L234
BTW, I'm also curious about:
can diffusion model represent the joint distribution of all tokens here?
Though this will increase compute &  memory cost(may also increase the difficulty of modeling).

Conceptually yes: you can use one diffusion model to model all tokens in one autoregressive step using attention between tokens (DiT).

Got it.
Thanks for your kindness, good luck!


New collector DirectoryEntries

The use case I have in mind is to add info about custom assets to bat. If we add this line to bat:
        .info(DirectoryEntries::new("Custom assets", PROJECT_DIRS.cache_dir()))

we will get output in --diagnostics that look like this if custom assets are installed:
#### Custom assets

- metadata.yaml, 101 bytes
- syntaxes.bin, 726517 bytes
- themes.bin, 40475 bytes

and like this
#### Custom assets

'/Users/martin/.cache/bat' not found

or this
#### Custom assets

'/Users/martin/.cache/bat' is empty

if no custom assets are installed.
I took some liberties in the structure and interface of the new collector.

I put it in its own file to make it easier to work with
I made the title owned rather than referenced so that e.g. a collector can be constructed in a helper function with the title from a local var in the function. See new_with_title_from_local_variable() example in tests. That code does not work for e.g. FileContents.
I used the "impl trait" syntax for clarity

I still made the new collector appear in the right place in the module hierarchy though, as can be demonstrated with cargo public-items:
% cargo public-items | grep -e DirectoryEntries -e FileContent
 Documenting bugreport v0.4.1 (/Users/martin/src/bugreport)
    Finished dev [unoptimized + debuginfo] target(s) in 0.28s
pub fn bugreport::collector::DirectoryEntries::collect(&mut self, _: &CrateInfo<'_>) -> result::Result<ReportEntry, CollectionError>
pub fn bugreport::collector::DirectoryEntries::description(&self) -> &str
pub fn bugreport::collector::DirectoryEntries::new(title: impl Into<String>, path: impl Into<PathBuf>) -> Self
pub fn bugreport::collector::FileContent::collect(&mut self, _: &CrateInfo<'_>) -> result::Result<ReportEntry, CollectionError>
pub fn bugreport::collector::FileContent::description(&self) -> &str
pub fn bugreport::collector::FileContent::new<P: AsRef<Path>>(title: &'a str, path: P) -> Self
pub struct bugreport::collector::DirectoryEntries
pub struct bugreport::collector::FileContent<'a>

or just a quick look at the cargo doc HTML if you're old-school :)
This is pretty bare-bones in terms of functionality (see docs in the code for limitations and idea for future improvements) but it should suit the bat use case well.

Thank you. Let me know when/if I should release a new version in order to integrate this into bat.

@sharkdp If you could make a release of bugreport when you get time that would be great. (I wanted to wait a bit to see if I could think of something else to do before a release but nothing has come to mind.)

Yes, of course: https://crates.io/crates/bugreport/0.5.0


Suggestions for small improvements to ol.proj

simplify handling of sphere radii. ol.proj.Units and ol.proj.EPSG4326 are currently using ol.sphere objects to get a radius. This means importing a file which creates a sphere object for a particular radius and then using the radius of that object. This seems an over-complicated way of defining a constant to me, and I would suggest just defining the radius in ol.proj.Units and ol.proj.EPSG4326, removing the dependency on ol.sphere. If these constants were widely used in the library, you could store them in one place, perhaps in a SPHERERADIUS enum, but they're not.
consistent use of projection code/object in params:

docs say apps don't need to use Projection objects, as ProjectionLike can be used in all options instead. But this is not true of getPointResolution, so I'd suggest changing this. Strictly speaking, I suppose this is an api change, but it shouldn't break anything.
proj.transforms is keyed on projection code, which is also used by get(), but add() and remove() use a Projection object. This is not api, so won't affect any apps, but it seems unnecessarily confusing to me, and I would suggest changing add/remove to use code as well.

+1 on everything except the last item (use projection code for adding/removing transforms). Are you able to provide a pull request?

ol.control.MousePosition and ol.Geolocation could also accept ol.ProjectionLike, see #6892

@ahocevar what don't you like about the last item? (not a major issue, just interested)

@probins: Not that it adds much overhead, but do not use ol.proj.get much internally.

I'll close this, as most of the issues now fixed


Basic Sample --> 'Custom links in grid' Question

In the Custom Link in Grid example, when I click on the Employee, and he lets me edit the order through the OrderDialog, if I change the Ship Via (on the Shipping Tab) , and update it, the grid does not refresh the field Ship Via
Is there any way for the grid to show me the newly added value? (this.refresh() or something like that?)
If I click on the menu, the grid reads and shows me the correct value.

I think it was discussed here in forum already, did u try to search for it?

@javaman63 that's a pretty basic question, please search or see at least the guide its all there.

Sorry Guys My Bad!
For anyone interested you have to Initialize the dialog, before to load

                    var dialog = new Clients.GestionesDialog()
                    this.initDialog(dialog);
                    dialog.loadByIdAndOpenDialog(item.IdGSC);


Error Swift 2 - ChartViewBase.swift

Hi guys! I'm having an error with ChartViewBase class (the Swift 2 version)
This line:
layer.renderInOptionalContext(context) is using the "renderInOptionalContext" which is deprecated.
I replaced it with:
layer.renderInContext(context!) and now is working fine, but I don't know if I'm missing something.
Thanks!

renderInOptionalContext can't be deprecated since it's a function I created that which basically does renderInContext(context!) but without force unwrapping.
What is the error you are seeing exactly.

You haven't imported an important file. It's missing from your project, which is why this function is missing from your project. Please make sure you've imported the project fully.


sst build: importing non-exist module does not fail the build

Issues
Importing @nosuchpath/blah does not fail the build.

Requested by

Sam Hulic and David Martin on Slack https://serverless-stack.slack.com/archives/C01JG3B20RY/p1628446989248100?thread_ts=1628444037.242300&cid=C01JG3B20RY

@thdxr This might be a TS related issue. Here is what I found.
I first created a JS SST project, and added this Lambda function:
import { Image } from "@asdf/models";

export async function main() {
  ...
}

sst build fails with error:

I then created a TS SST project, and added this Lambda function:
import { Image } from "@asdf/models";

export async function main(): Promise<APIGatewayProxyResult> {
  ...
}

sst build does not fail. It only printed a lint error:

Can you take a quick look at this?

Fixed in v2


Employee adjustments needs to be based on year

Every employee adjustment to allowance is applied only to particular year.
Each year to have its own adjustment.
That is prerequisite for ticket #6

Moved previous implemantation of adjustment to use newly added table


Change LICENSE from MIT to GPLv3

Changing it from MIT to GPLv3 prevents third parties from using the code in proprietary applications.

I don't really mind people using my code: the MIT license is simple so I'll keep it


Improve ibc-integration CI docker setup

The job takes 20 minutes to run. From running it locally, most of the time is spent running apt.
We should instead take a new docker image, which would have all the updates done already.

Using the Docker image for Hermes instead of building the binary every time within the job shortened the CI time to about 6:30 minutes. (PR #96) We still might be able to cut 2 mins more by not Dockerizing the job and using GitHub Actions instead.
Perhaps we can keep this issue open for further optimization later, especially whenever we want to cover more testing scenarios against different chains?

Another thing to work on:
Now that we've added the client upgradability test to the CI, and given that more variety of tests can be included in the future, we should consider having selective test management. So, we only run tests relevant to the impacted parts, make the overall running time shorter, and avoid running unnecessary tests for every PR


issue start web-ui on mac-os

using node 18
using yarn 1.22.21
error
~/projekte/zally/web-ui main !2 ❯ yarn dev                                                                                7s Node 18.12.1 15:43:15
yarn run v1.22.21
$ webpack-dev-server --config ./webpack/dev.js & NODE_ENV=development nodemon server.js
[nodemon] 1.12.7
[nodemon] to restart at any time, enter rs
[nodemon] watching: /Users/sk/projekte/zp/zally/web-ui/src/server//* ./server./*
[nodemon] starting node server.js
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module 'webpack-cli/bin/config-yargs'
Require stack:

/Users/sk/projekte/zp/zally/web-ui/node_modules/webpack-dev-server/bin/webpack-dev-server.js
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/Users/sk/projekte/zp/zally/web-ui/node_modules/webpack-dev-server/bin/webpack-dev-server.js:83:1)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/sk/projekte/zp/zally/web-ui/node_modules/webpack-dev-server/bin/webpack-dev-server.js'
]
}

bundle.js is loaded as html

Confirming also for Windows - bundle.js empty / loaded as html

No Zally change needed.


Upgrade gov frontend

WIP - some issues with fonts in new version.
https://github.com/alphagov/govuk-frontend/blob/main/CHANGELOG.md

outdated


Awards management screen

[ ] Edit the name and priority of awards
[ ] Add custom awards

Change number of minimum all stars per team (if at all, may be 0). Something like 1-5 or so. This should not affect previous seasons. This may? require a migration


fix EAP server validation documentation and sync sections

This fixes and syncs up the sections for Connect to these servers in EAP configuration.
The first two sections didn't make any sense at all without a * being mentioned there.
Unfortunately, even with the documentation derived from the third section, the original content is still not plausible.
As I don't know the internals, I don't know if a * is the only possible wildcard, as it's technically not a wildcard in regex.
The configuration in the GPO provides the following example for server names: srv1;srv2;.*\.srv3\.com
nps*.example.com does not make much sense in this context, as this regex would match e.g. npssssaexample.com but not nps1.example.com.
Dots are single character wildcards in regex they must be escaped when a literal dot is intended to avoid unexpected behavior, asterisks allow zero or more of the preceding character.
To match nps1.example.com and nps2.example.com one option would be nps.\.example\.com, but this wouldn't contain an asterisk.
Using an asterisk as the only possible regex "flag" doesn't make much sense, that doesn't mean it's not implemented that way though.

Learn Build status updates of commit f8853af:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

WindowsServerDocs/networking/technologies/extensible-authentication-protocol/network-access.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@Nothing4You thanks for this. I'm no longer the owner of this article, nor do I work on the Windows Server team. I worked on this a while back as a vendor on a team led by @JasonGerend - perhaps he can find the right person to approve this PR (and probably should also take my name off the article).

Hey @Nothing4You,
The authors have been notified and your contribution is greatly appreciated. This doc has this update applied and is going through several changes which will be reflected during the next business day.
Thank you and have a most pleasant day.
#please-close


Minimizing bundle size in CRA (Create React App)

I'm using CRA and the icons from material-ui, so I'm using only partial (named) imports like so:
import { Add, Check } from '@material-ui/icons';

I've read the page from the documentation about minimizing bundle size, but the information there about CRA seems to be a bit old. However, I'm not sure if that's 100% true. I tried researching, but found nothing. So, my question is - using CRA and named imports from material-ui, do I need to do anything to enable bundle size minimization?
Given that more and more people are using CRA, even for production, it would be best to add a section in the documentation for bundle size minimization specifically for applications, created with Create React App.

but the information there about CRA seems to be a bit old

Which in particular?

do I need to do anything to enable bundle size minimization?

Not that I know of. Which part of the docs lead you to believe you have to do anything? We specifically mention that right from the start:

If you're using ES6 modules and a bundler that supports tree-shaking (webpack >= 2.x, parcel with a flag) you can safely use named imports and expect only a minimal set of Material-UI components in your bundle:

But this requires knowledge about what bundler your framework is using. We can probably mention the specifics later (bundler) and start with saying that tree-shaking works out of the box in modern frameworks.

would be best to add a section in the documentation for bundle size minimization specifically for applications, created with Create React App.

create-react-app is in that regard not much different. It isn't maintainable to document each popular app framework if we can do it once for all.

@eps1lon Thanks for digging deep. In order of answering:

but the information there about CRA seems to be a bit old

Which in particular?

and

do I need to do anything to enable bundle size minimization?

Not that I know of. Which part of the docs lead you to believe you have to do anything? We specifically mention that right from the start:

The information is about installing react-app-rewired and customize-cra, which allowed customization of .babelrc for CRA version 2. However, IIRC from CRA version 3, you can have your own .babelrc in the root of the project. Here's the misleading information I was talking about: https://github.com/mui-org/material-ui/blame/master/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md#L149-L151

If you're using ES6 modules and a bundler that supports tree-shaking (webpack >= 2.x, parcel with a flag) you can safely use named imports and expect only a minimal set of Material-UI components in your bundle:

But this requires knowledge about what bundler your framework is using. We can probably mention the specifics later (bundler) and start with saying that tree-shaking works out of the box in modern frameworks.

Yes, indeed. I like your idea of having that information at the top.

would be best to add a section in the documentation for bundle size minimization specifically for applications, created with Create React App.

create-react-app is in that regard not much different. It isn't maintainable to document each popular app framework if we can do it once for all.

As I come to think of it - you are correct, as CRA is using webpack and tree-shaking internally, so nothing to do in order to make it work, as it works out of the box.

It sounds like we should be able to improve this page of the documentation :).

However, IIRC from CRA version 3, you can have your own .babelrc in the root of the project.
No.
As I come to think of it - you are correct, as CRA is using webpack and tree-shaking internally, so nothing to do in order to make it work, as it works out of the box.
It doesn't actually work last time I checked.

@bugzpodder So, should we close the issue?

The docs section on CRA looks correct.  You'll need some like react-app-rewired on top of CRA in order to minimize bundle size at least right now.  I don't think it needs to be updated.

It doesn't actually work last time I checked.

@bugzpodder Please provide a repro when making these claims.

@eps1lon my claim is in line with what your doc.  You want me to provide a repro to prove your doc is correct?

@eps1lon my claim is in line with what your doc describes. You want me to provide a repro to prove your doc is correct?

The docs say it works out of the box. You said

It doesn't actually work last time I checked.

referring to

as it works out of the box.

We should probably change the wording. The current question implies someone needs to take action. Assuming latest software is the default, this isn't required. It's  a dev-only optimization we describe.

I'm now more confused than I was before asking the question. Is the bundle size automatically minimized for the production build of CRA? Is it for development?

@thexpand The topic here is for development only. You don't have to worry about production.

@oliviertassinari So, what we're discussing is about minimizing for development, and thus reducing the time for hot reloading, by reducing the build time, is that correct?

@eps1lon my mistake.
I reread the doc again (this is probably the tenth time I read it, and each time I always thought the options were for production), and you are right the docs options are for development only.  I think people reading the docs doesn't necessarily read every word, they just goto the section they want to see, and miss the one sentence on top.
Anyway from my personal experience, named imports are not tree-shaked in production.
I have tested many times with the following setups all using production config + source-map-explorer:

CRA only
CRA + component library built with rollup
custom webpack config + component library built with rollup

I'll follow up with some examples soon.

I just tested this on stock CRA and @material-ui and actually tree-shaking work as expected.  It does work in production as the docs claim when you use named exports.
I tested this on my own production app but still have issues, so it must be something with my own configuration.  That's something I can figure out myself and likely won't affect others.
I went back and edited my comments to remove misleading claims.  Apologize for any misunderstanding.

What do you guys think of this header structure change? Given the current structure, I can very well understand why somebody that would skip-jump when reading could be confused!
diff --git a/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md b/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md
index d5ef2afe53..4d4ef0b994 100644
--- a/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md
+++ b/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md
@@ -9,7 +9,7 @@ on every commit for every package and critical parts of those packages ([view th
 Combined with [dangerJS](https://danger.systems/js/) we can inspect
 [detailed bundle size changes](https://github.com/mui-org/material-ui/pull/14638#issuecomment-466658459) on every Pull Request.

-## How to reduce the bundle size?
+## How to use tree-shaking?

 For convenience, Material-UI exposes its full API on the top-level `material-ui` import.
 If you're using ES6 modules and a bundler that supports tree-shaking ([`webpack` >= 2.x](https://webpack.js.org/guides/tree-shaking/), [`parcel` with a flag](https://en.parceljs.org/cli.html#enable-experimental-scope-hoisting/tree-shaking-support)) you can safely
@@ -19,7 +19,9 @@ use named imports and expect only a minimal set of Material-UI components in you
 import { Button, TextField } from '@material-ui/core';
 ```

-⚠ Be aware that tree-shaking is an optimization that is usually only applied to production
+## Development environment
+
+⚠ Be aware that tree-shaking is an optimization that is usually only applied to **production**
 bundles. Development bundles will contain the full library which can lead to **slower
 startup times**. This is especially noticeable if you import from `@material-ui/icons`.
 Startup times can be approximately 6x slower than without named imports from the top-level API.

@oliviertassinari FWIW I read the docs the other day and only after quite some time did I realise they were only for development environments and that my CRA setup already shook things as much as possible.
A slightly more radical change than the one above could have "saved" me (maybe?)
diff --git a/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md b/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md
index d5ef2afe5..34188a1ba 100644
--- a/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md
+++ b/docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md
@@ -9,20 +9,25 @@ on every commit for every package and critical parts of those packages ([view th
 Combined with [dangerJS](https://danger.systems/js/) we can inspect
 [detailed bundle size changes](https://github.com/mui-org/material-ui/pull/14638#issuecomment-466658459) on every Pull Request.

-## How to reduce the bundle size?
+## When and how to use tree-shaking?

-For convenience, Material-UI exposes its full API on the top-level `material-ui` import.
-If you're using ES6 modules and a bundler that supports tree-shaking ([`webpack` >= 2.x](https://webpack.js.org/guides/tree-shaking/), [`parcel` with a flag](https://en.parceljs.org/cli.html#enable-experimental-scope-hoisting/tree-shaking-support)) you can safely
-use named imports and expect only a minimal set of Material-UI components in your bundle:
+Your Material-UI bundle is most likely already tree-shaken in production. Material UI exposes its full API on the top-level
+`material-ui` import. If you're using ES6 modules and a bundler that supports tree-shaking
+([`webpack` >= 2.x](https://webpack.js.org/guides/tree-shaking/),
+[`parcel` with a flag](https://en.parceljs.org/cli.html#enable-experimental-scope-hoisting/tree-shaking-support)) you can safely
+use named imports and still get an optimised bundle size automatically:

 ```js
  import { Button, TextField } from '@material-ui/core';
 ```

-⚠ Be aware that tree-shaking is an optimization that is usually only applied to production
-bundles. Development bundles will contain the full library which can lead to **slower
-startup times**. This is especially noticeable if you import from `@material-ui/icons`.
-Startup times can be approximately 6x slower than without named imports from the top-level API.
+⚠ The following instructions are only needed if you want to optimize your development startup times or if you are using an older bundler
+that doesn't support tree-shaking.
+
+## Development environment
+
+Development bundles can contain the full library which can lead to **slower startup times**. This is especially noticeable if you
+import from `@material-ui/icons`. Startup times can be approximately 6x slower than without named imports from the top-level API.

 If this is an issue for you, you have various options:

@larsenwork Sounds great, do you want to open a pull request? :)

Sure, I'll draft something (also inspired by comments above).

The docs section on CRA looks correct. You'll need some like react-app-rewired on top of CRA in order to minimize bundle size at least right now. I don't think it needs to be updated.

Reading this thread leaves me puzzled... Is it still necessary (react-scripts v3.4.3) to use react-app-rewired to support tree shaking? Or it's it available in stock CRA?

@olelivalife Ignore this thread, https://material-ui.com/guides/minimizing-bundle-size/ is the source of thrust. You should find the answer to your question there.


Feature request: Sensors for cheapest hour, most expensive hour, median and so on

Hi,
thanks for this integration. In order to add automations it would be great to have sensors that show the most expensive hour(s), the cheapest hour(s) and also the average / median price of the day.
There is already a solution in the following discussion - but it would be great having that included in your integration.
https://community.home-assistant.io/t/problem-in-building-a-json-list-of-data/171736/32
Thanks.

Interesting request! Before I start implementing, I need some more information:
Do you want to have a sensor with the start time of the cheapest hour as value? For the current day, or from the beginning of the current day until the end of the available data, or from now till the end of the available data?
What do you think of this proposal: A sensor which provides the following value: The number of cheaper hours during the current day. So, if you are currently within the cheapest hour, it would return 0. If you are within the most expensive hour it would return 23. But always only for current day. So, from a automation point of view you just have to compare the value against your desired range:

If you want to have an indication for the 2 cheapest hours of the day, you want compare it as follows: value < 2
If you want to have an indication for the 5 most expensive hours, use value >= 19

In addition, I would provide the average and median price of the current day.

Thanks for the fast reply.
Regarding your question: current day or the whole period of available data. There is this discussion in the thread I linked already. I am a fan of taking 24h - so always taking a day from 0:00 to 23:59. This ensures that I really have - let's say a heating rod - running for x hours.  Also your (great) idea of ranking works better when having the fixed timeframe and if it does not change in the middle of the day.
Regarding the proposal: I really like the idea. Just 1 concern: It should be ensured that this really works as a trigger in homematic automations to turn on and turn off devices. I'n no expert in homematic - but I'm not sure how I would configure the trigger. Until now, I have even 2 sensors per hour:
cheapest_hour_starts_timestamp
cheapest_hour_ends_timestamp
as well as
mostexpensive_hour_starts_timestamp
mostexpensive_hour_ends_timestamp
If sth. similar would be possible with your approach, it would be more flexible.
Thanks.


QRCode is missing

Type of issue

[ ] Bug
[x] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement

Expected Behavior
It isn't supposed to give an error
Your Environment

Visual Studio 2017
Universal Windows Application

The QRCode renderer relies on classes which aren't available in the UWP environment. Please check the compatibility table in our wiki: https://github.com/codebude/QRCoder/wiki/Advanced-usage---QR-Code-renderers#2-overview-of-the-different-renderers
Use on of the renderers which aren't supported on "full .net framework" only. You'll find example code for alle renderers in the wiki also.

So please update README :)

yes. i must use version qrcoder 1.4.1 with fix miss namespace qrcode

The current stable version (1.4.3) has the error. I mean "QRCode" is missing. However, the previous version (1.4.2) has it. That's the one I used. The error needs to ne fixed on the current version.

Yes, i had the same error and your solution worked for me. Thanks.


fixes #24365 for facebook case study link(issue 24365)

@smandia remember to add the following
Fixes #24365
Thanks for doing this.

@Rick-Anderson  Just wondering how would this pull request go away . You have approved it but I still see it .

And it doesn't show up in https://github.com/dotnet/AspNetCore.Docs/pulls


Add flags for disk type and machine type; Update default values to im…

Add flags for disk type and machine type; Update default values to improve performance.
The time is improved from 12 mins to 8 mins (33% reduction) for a 6.39 GB container nvcr.io/nvidia/tritonserver:23.09-py3
$ time go run ./cli     --project-name=$PROJECT_NAME     --image-name=triton-2309-py3-n2     --zone=$ZONE     --gcs-path=gs://$GCS_PATH/     --container-image='nvcr.io/nvidia/tritonserver:23.09-py3'     --disk-size-gb=100
Wed Nov 22 07:15:20 PM UTC 2023: executing "go run ./cli --project-name=$PROJECT_NAME --image-name=triton-2309-py3-n2 --zone=$ZONE --gcs-path=gs://$GCS_PATH/ --container-image='nvcr.io/nvidia/tritonserver:23.09-py3' --disk-size-gb=100"
[secondary-disk-image]: 2023-11-22T19:15:22Z Validating workflow
[secondary-disk-image]: 2023-11-22T19:15:22Z Validating step "create-disk"
[secondary-disk-image]: 2023-11-22T19:15:22Z Validating step "create-instance"
[secondary-disk-image]: 2023-11-22T19:15:23Z Validating step "wait-on-image-creation"
[secondary-disk-image]: 2023-11-22T19:15:23Z Validating step "detach-disk"
[secondary-disk-image]: 2023-11-22T19:15:23Z Validating step "create-image"
[secondary-disk-image]: 2023-11-22T19:15:24Z Validation Complete
[secondary-disk-image]: 2023-11-22T19:15:24Z Workflow Project: xxx
[secondary-disk-image]: 2023-11-22T19:15:24Z Workflow Zone: us-west1-b
[secondary-disk-image]: 2023-11-22T19:15:24Z Workflow GCSPath: xxx
[secondary-disk-image]: 2023-11-22T19:15:24Z Daisy scratch path: xxx
[secondary-disk-image]: 2023-11-22T19:15:24Z Uploading sources
[secondary-disk-image]: 2023-11-22T19:15:24Z Running workflow
[secondary-disk-image]: 2023-11-22T19:15:24Z Running step "create-disk" (CreateDisks)
[secondary-disk-image.create-disk]: 2023-11-22T19:15:24Z CreateDisks: Creating disk "secondary-disk-image-disk".
[secondary-disk-image]: 2023-11-22T19:15:25Z Step "create-disk" (CreateDisks) successfully finished.
[secondary-disk-image]: 2023-11-22T19:15:25Z Running step "create-instance" (CreateInstances)
[secondary-disk-image.create-instance]: 2023-11-22T19:15:25Z CreateInstances: Creating instance "secondary-disk-image-instance".
...
[secondary-disk-image]: 2023-11-22T19:20:53Z Running step "detach-disk" (DetachDisks)
[secondary-disk-image.detach-disk]: 2023-11-22T19:20:53Z DetachDisks: Detaching disk "secondary-disk-image-disk" from instance "secondary-disk-image-instance".
[secondary-disk-image]: 2023-11-22T19:20:56Z Step "detach-disk" (DetachDisks) successfully finished.
[secondary-disk-image]: 2023-11-22T19:20:56Z Running step "create-image" (CreateImages)
[secondary-disk-image.create-image]: 2023-11-22T19:20:56Z CreateImages: Creating image "triton-2309-py3-n2".
[secondary-disk-image]: 2023-11-22T19:22:48Z Step "create-image" (CreateImages) successfully finished.
[secondary-disk-image]: 2023-11-22T19:22:48Z Workflow "secondary-disk-image" cleaning up (this may take up to 2 minutes).
[secondary-disk-image]: 2023-11-22T19:23:37Z Workflow "secondary-disk-image" finished cleanup.
Image has successfully been created at: xxx

real    8m16.860s
user    0m3.416s
sys     0m3.539s

/lgtm
Thanks for adding this Tao.


Updated docs, with experiment & inventory and use existing info

Descript
Checklist

[ ] documentation about having multiple sources for file node within data sheet
[x] documentation for all the new sheets added

@CVilla17 do you want to put in the Data html table an example of using multiple sources for users to easily understand?
I'm thinking we told them that they can use IDs but a user on their first attempt probably misses a lot of things and repetition could help

overall it is great, and we can merge it into docs branch as soon as we make a release of CRIPT Excel Uploader 2.0


checkbox can select only  ->  Template - For custom html of menu item

Is there any way to select any item only  when checkbox checked ? not by whole row .
@entr0pic @pickardjoe @Michael77 @bnicart @

not supported at the moment.


Rename cups-connector to cloud-print-connector

This covers:

imports
temp files
some config defaults
the app name in gcp-connector-util
identifiers in the wix file

Issue #241

Further pull requests are broken until this lands because of the repository rename.