Question: What is the difference under removing packs

I have a question regarding the documentation section https://github.com/Open-CMSIS-Pack/cpackget/blob/main/README.md#removing-packs
What is the difference between

removing packs (the first 2 examples)
removing packs that were installed via PDSC file (the last 2 examples)

Is this just an artifact of the previous command versions or is there more to it?

@chaws you need to update the documentation for removing pack from the local_repository.pidx
a) removing a pdsc entry from the ./Local/local_repository.pidx requires to specify the pdsc file extension!
e.g.:
Remove pack Vendor.PackName from the local_repository.pidx:
    cpackget rm Vendor.PackName.pdsc

There is no way to specify a version in this context. If there is multiple pdsc files with the same name, the full path needs to be specified to remove them from the local_repository.pidx
b) don't call packs that are listed in the local_repository.pidx local packs, because local packs are regular read-only installed packs which are not listed in the public index.pidx. A copy of their pdsc file is stored in .Local directory.

Argh, I was sure I updated the README, but it was actually in the help:
$ cpackget rm --help

Remove a pack using the reference "Vendor.Pack[.x.y.z]"<EMAIL_ADDRESS>or "[path/to/]Vendor.Pack.pdsc".

  $ cpackget rm Vendor.Pack.1.2.3
  $ cpackget rm<EMAIL_ADDRESS>
  Use the syntax above to let cpackget determine
  the location of pack files prior to removing them.

  $ cpackget rm Vendor.LocalPackInstalledViaPdsc.pdsc
  $ cpackget rm path/to/Vendor.LocalPackInstalledViaPdsc.pdsc

  cpackget also identifies if the pack was installed via
  PDSC file. In this case, cpackget will remove its reference
  from ".Local/local_repository.pidx".

  In the first example, since just the basename of the PDSC file
  path was specified, cpackget will remove *ALL* references of the
  PDSC file it might find. Since it is possible to have many versions
  of the same pack installed via different PDSC file paths, one may
  wish to remove a specific one by specifying a more complete
  PDSC file path, as shown in the second example.

The version "x.y.z" is optional.
Cache files (i.e. under CMSIS_PACK_ROOT/.Download/)
are *NOT* removed. If cache files need to be actually removed,
please use "--purge".

I'll add that to docs too.


Respect CC?

It would be great to build using a custom C compiler. As far as I know, Crystal currently ignores the CC environment variable.

Sounds good. Right now we are using cc. I checked ENV["CC"] and it's empty in my case. Is the "CC" environment variable usually used for this?

@asterite Yes. Most builds will check the CC variable and fail to whatever they want the default to be (in this case, cc).

Note that our cc call is just for invoking the linker, we already compiled all object files at this stage.

@jhass Right, I totally forgot about that. So I think it doesn't matter what linker we use, right?

I'd say it does, you still may have it in a location that's not on your  $PATH, for whatever strange reason, or want to point it to a wrapper script that adds some flags in a generic way. It can't harm to respect the $CC convention.


tidying up an indent issue and updating package-lock

Signed-off-by: Brian Fitzpatrick<EMAIL_ADDRESS>

Sometimes package-lock doesn't get updated in commits. This updates it so that the checked-in code is all up to date. Also fixes an indent issue with src/test/list-generators.test.ts


HL controller does not run during unit test.

Hi,
I have been trying to integrate the HOUND platform and am currently stuck in the installation process. I am able to run the unit tests but the MPPI controller does not run during the test. I do not see the elevation map in RViz as well. I do not have the components integrated with the Orin NX while running these tests. I have attached the latest ros log.
latest.zip
Please let me know if I have made any integration errors.
Edit: Currently running this on an Orin NX 8GB.

Hi,
Thanks for trying this out!
I think the system needs a 16 GB Orin NX; you may be running into RAM limits.
Although one could bypass this issue with lots of swap space, it may be a lot slower.
Do you have a system with more RAM?
I may not be able to do this today, but I can potentially run a check on my side with a fresh install to see if there is a bug due to which it doesn't run even on the Orin NX 16 GB.
Thanks,
Regards,
Sidharth Talia.

Unfortunately, I do not have access to a 16 GB system at the moment (Awaiting delivery).
Adding additional detail on gridmap failure:

Other observed mapping error:

Additionally, No file was present in the drive folder content/levels but integration instructions were provided. Is this intended?
Thank you for your time.
Regards,
Srivatsank P

Hi,
Its a bit difficult to say why the inpainting fails without me testing on my end.
The Error about elevation_mapping/clear_map implies that the elevation mapping stack isn't up and running yet.
I'd ignore the mavros/set_stream_rate as that only works in
Let me get back to you after I test this on my end. It could just be a compute power issue, so it may be worth waiting for the 16 GB variant.
There is a variant of the mapping stack that doesn't use the learning-based approach and doesn't throw such errors, but it is currently a WIP (private). It effectively just uses opencv for inpainting.
Thanks,
Regards,
Sidharth

As for the no files being present in the content/levels folder but instructions being provided -- the readme needs to be updated.
There originally were files that were supposed to be in that folder, but we deemed that those files aren't useful (they already come with the simulator) and their primary purpose was to be used for map creation.
I can update the readme to reflect this at least.
Thanks for pointing this out!
Regards,
Sidharth Talia.

Hi,
I tested the HITL with a newly flashed jetson Orin NX 16GB. I can confirm that the unit test should work.
Possible reasons why it does not work for you:

The stack uses up ~13.1 GB of RAM to run, which is likely greater than the RAM + Swap combined on the 8 GB version
The Map folder link was outdated in BeamNGRL, but has now been updated. If you cloned the BeamNGRL repo after September 12th 2024, you may have to download the new map folder.

Thanks,
Regards,
Sidharth Talia.


Source should include file list describing files and directories

To help attract more contributors and readers of the source code, it would be helpful to create a FileList that gives brief descriptions of the directories and files involved in the project.   This gives short explanations to files outside the range of rustdoc.  Creating this list saves an effort repeated by each new potential contributor.
I propose a simple text file so that people can add constructive criticism to that level.  I expect it a couple days to field comments on this issue before putting in the first pull request.  A later issue will add a self-contained html page.
Thank you in advance for constructive comments.
I am proposing a text file that runs about six pages:
Project Directory Tree
+  .
+--+  .github
+--+--+  workflows                       Configuration files for automated tasks on github.com
+--+  docs                               Druid Book in mdBook format
+--+--+  book_examples
+--+--+--+  src                          Source of code examples included in book
+--+--+  src                             Chapters (or topics) of Druid Book
+--+  druid                              Implementation of druid
+--+  druid-derive                       Implementation of derive macros
+--+--+  src
+--+--+  tests
+--+--+--+  ui
+--+  druid-shell                        Common interface for elements across platforms
...
Directory .
    Files:
        .gitignore                       Patterns of files not to placed in git (source control)
        AUTHORS                          Partial list of copyright holders (contributors)
        Cargo.toml                       Config for Cargo (build system and package manager)
        CHANGELOG.md                     Generated changelog of latest release
        clippy.toml                      Documented config for clippy (lint) tool
...

Given the conclusion of #2271 I'll close this issue as well.


Latest version JSON

for some reason the library has it that latestVersion integer you put in JSON has to be: latestVersion - 1
"latestVersion": "2.14",
I.E.: the latest version right now is 2.15. For the pop up to not show up on version 2.15. You have to put latest version as 2.14
Json here: https://github.com/yofu1234/androidappupdate/blob/master/update-changelog.json

I don't see the problem here.
When I use 2.15 as the versionName and upload the next JSON to my server, I get "No updates available".
{
  "latestVersion": "2.15",
  "url": "https://play.google.com/store/apps/details?id=com.stackkedteam.feedshare",
  "releaseNotes": [
    "1. Added image compression so uploading images are now way faster.",
    "2. Moar Bug fixes"
  ]
}

What does your code look like?
I'm not using
.setContentOnUpdateNotAvailable("No update available. Check for updates again later!")
because I don't want a pop up when no code is available.
Here is my code
        AppUpdater appUpdater = new AppUpdater(this)                 .setTitleOnUpdateAvailable("Important: Must Update")                 .setButtonUpdate("Update now!")                 .setButtonDismiss("Later")                 .setButtonDoNotShowAgain(null)                 .setIcon(R.mipmap.ic_launcher) // Notification icon                 .setUpdateFrom(UpdateFrom.JSON)             .setUpdateJSON("https://raw.githubusercontent.com/yofu1234/androidappupdate/master/update-changelog.json");         appUpdater.start();

Is this issue fixed with the latest update and #85?

Yup, the new update fixed the issue! Thanks!


Document Vultr bare metal provider

Description
document it based on the virtual vultr provider
Use case
How are you going to use this new feature? Why do you need it?
Interface Changes
Describe any changed you'd like to see to current interfaces including Sunstone, CLI or/and API
Additional Context
Add any other context or screenshots about the feature request here. Or any other alternative you have considered to addressed this new feature.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

PRs to merge in 6.2 & master:

docs


Key of same block changes

Question - possible bug: Key of same block changes under certain circumstances.
Problem: Why does draftjs reuse the key of the deleted block1 for block2?
Reproduce with:

Load https://jsfiddle.net/m6z0xn4r/155/
Set focus on editor, state is logged to console and looks like:

Important:

key: "4njkf" -> text: "block1"
key:"9576h" -> text: "block2"

Remove block1 and the editors raw state looks like:

Important:

key: "4njkf" -> text: "block2"

What is the expected behavior?: I expect that draftjs keeps the key of block2 (9576h). Why gets the key changed? This is a problem in my specific use case because I need the keys to highlight added, deleted and changed blocks. In this case the key of the same and identical content block changes. This makes it difficult to compare content based on the keys.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
This behaviour is not browser specific.

This is how removing a range works (see here).
You could imagine a solution which removes blocks when they are completely selected but you still will hit edge cases. For example, suppose you selected all but the first character in the first block and only the first character in the second block and pressed backspace. The resulting block's text would be block2 but it is actually a combination of the text from blocks 1 and 2. Is it not reasonable to keep the first block's ID in this case? Would you want it to keep the ID of block 2 instead because the resulting text is the same?
Comparing content across changes is difficult and how different edge cases are handled depends on the requirements of the diff. That complexity shouldn't be included in the editor.

I see there are other scenarios I did not had in mind.
Thanks for your the feedback.


refactor(gas-oracle): move legacy logic

Purpose or design rationale of this PR
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

[x] refactor: A code change that doesn't fix a bug, or add a feature, or improves performance

Deployment tag versioning
Has tag in common/version.go been updated or have you added bump-version label to this PR?

[x] Yes

Breaking change label
Does this PR have the breaking-change label?

[x] No, this PR is not a breaking change

Summary by CodeRabbit

New Features

Updated version number to v4.4.73.
Introduced new parameters for layer 2 configuration, including limits for blob transactions.

Bug Fixes

Simplified gas price calculation by removing unnecessary parameters, enhancing the efficiency of the gas oracle.

Chores

Renamed utility package for consistency across the application.

Codecov Report
Attention: Patch coverage is 26.66667% with 11 lines in your changes missing coverage. Please review.

Project coverage is 52.53%. Comparing base (3ab5752) to head (6eabe56).

Files with missing lines
Patch %
Lines

rollup/internal/controller/relayer/l1_relayer.go
26.66%
11 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1560      +/-   ##
===========================================
- Coverage    52.78%   52.53%   -0.25%
===========================================
  Files          157      157
  Lines        12652    12628      -24
===========================================
- Hits          6678     6634      -44
- Misses        5392     5422      +30
+ Partials       582      572      -10

Flag
Coverage Δ

rollup
58.36% <26.66%> (-0.71%)
:arrow_down:

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

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


Middleware order

Hey all and thanks a lot for this great package.
One thing surprised me: when using the Middleware attribute with several middlewares, it seems that the middlewares are applied in reverse order.
#[Middleware([MiddlewareA::class, MiddlewareB::class, MiddlewareC::class ])]

In this case, the first middleware Laravel will hit is MiddlewareC, then MiddlewareB and finally MiddlewareA.
Is this a normal behavior that might be worth documenting or some kind of bug?
Tested on v1.20.1.

I guess this would count as a bug. I'd appreciate a PR that fixes this including a test 👍

Hey @freekmurze ,
Thanks for the fast answer.
I started a PR and started writing a unit test in spatie/laravel-route-attributes and realized it is behaving correctly.
Sorry to have bothered you.
I still reproduce the issue in my environment, but it does not seem related to spatie/laravel-route-attributes. I'll keep digging on my side. Closing this here. Thanks a lot!


Change docs execution code

Finds functions by using a try...catch so that it's a bit more lenient on code style.
I can make an equivalent PR in p5.js repository if this is acceptable.

Note also I had to edit some files to reference the local assets to test this but didn't include those edits because I wasn't sure the correct place to fix it.

awesome thanks


Improvements to README.md

Made directory names fixed-width/
Corrected spelling mistakes and grammatical errors

Ok, our REPO on github is a little strange.  I'm pulling these in and hopefully it will mark it as approved.

This commit is merged with master


Update Test-Proxy version

This should include multiple asset-sync integration bugfixes as well as the bugfix for @timovv 's issue.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Test thread

This is just a test thread, please ignore :)

test (default comment, close with comment selected)

test (click close with comment)

ohhhh


Could the search be more powerful?

now it only search for the title, could it also search on Markdown file?

Please try this theme
https://gethugothemes.com/products/godocs-hugo-documentation-theme/ .
It has advance search feature

hey @zfk513 ,
This search is also working for markdown file, And it has also a feature called search keyword, You can set a custom keyword for searching.

hey @zfk513 ,
This search is also working for markdown file, And it has also a feature called search keyword, You can set a custom keyword for searching.

is it support Chinese?
and i update the theme,try on my local ,i still find it can only search the title,though the code show it search the content,thx for reply

It supports multilingual. you just need to add the Chinese language. And search can search for everything, but it just shows the title for going to this inner page.

I've added my own custom search by overriding dot's search with my own:
global_search_script.hml:
<!-- JavaScript -->
<!--
This file overrides the default search of the dot theme.
Also gets imported in the head.html for more optimal performance.
-->
<script>
  $(function() {
    const projects = [
      {{ range $.Site.Pages }}
        {
          value: "{{ .Title }}",
          label: "{{ .Plain }}",
          url:"{{ .Permalink }}",
          description: "{{ .Description }}",
          keywords: "{{ .Keywords }}"
        },
      {{ end }}
    ];
    $( "#search" ).autocomplete({
        minLength: 3,
        // overrides the default search with our own
        source: (request, response) => {
            // the user input is in the term property. also remove special chars so that regex doesn't cry
            const sanitizedInput = request.term.replace(/[^\w\s]/gi, '');
            if (!sanitizedInput) {
              return response();
            }
            const substrRegex = new RegExp(sanitizedInput, 'i');
            return response(
              projects.filter(page => {
                // filter out contentless pages like _index.md's
                if (page.label) {
                  // match with either the pages title or keywords.
                  // Note that the keywords include "[]" at the start and end of them
                  return substrRegex.test(page.value) || substrRegex.test(page.keywords);
                }
            }));
        },
        select: function(event, ui) {
          // takes you to the url when you select it, also works with enter
          window.location.href = ui.item.url;
        },
    })
    .data( "ui-autocomplete" )._renderItem = function( ul, item ) {
      return $( "<li>" )
      .append(`<a href="${item.url}">${item.value}</a>`)
      .append(`<a href="${item.url}" style="font-size: 80%">${item.description}</a>`)
      .appendTo( ul );
    };
  });
</script>

It supports multilingual. you just need to add the Chinese language. And search can search for everything, but it just shows the title for going to this inner page.

thanks for reply ,it really works! ,but i have couple questions,

if we can search the whole content,why should we have keywords?
it is possible to add another line under the title when we searching ,like using the search engine,and yellow light out the search word in some context ?cause only see the title maybe not help,

Did you solve your problem? I am going to close this issue, if you need more help, don't hesitate to reopen this issue.


Recurring Event Championships

A recurring championship that consists of one recurring event. An event is run every x days/hours/whatever for x days/weeks/whatever. Drivers can enter multiple events and their score in the championship can be either cumulative or best result.

Up to 5 Races - Counts the best result (points including incidents);
More than 5 races - Average of all your races.
potentially allow this sort of algorithm

Up to 5 runs ... where 5 can be an X value ... for example 2 ... that is, X could be a data that the Admin can put..


displaying Building Emissions Performance Standard (BEPS) targets

Conduct preliminary research on design solutions for displaying Building Emissions Performance Standard (BEPS) targets in building reports for buildings; solution to be implemented in a subsequent scope of work

Here's what we do for the state standard:

Here's the writeup of the Seattle standard:
https://www.seattle.gov/environment/climate-change/buildings-and-energy/building-performance-standards
For the state, we have:

estimated compliance Date
estimated EUI target

Here's what the city targets look like:

https://www.seattle.gov/documents/Departments/OSE/Building Energy/BEPS-Proposed-Policy-Draft-Targets-June2023.pdf

Notes from https://www.seattle.gov/documents/Departments/OSE/Building Energy/BEPS-Proposed-Policy-Guide.pdf
How many buildings?

BEPS covers existing nonresidential & multifamily buildings greater than 20,000 square feet, excluding parking. In Seattle, this is about 1,650 nonresidential buildings, largely downtown and in dense neighborhoods, like high and mid-rise offices, hotels, schools, large warehouses, and retail, and about 1,885 multifamily buildings (typically those with about 20 units on average or more). About 600 large buildings on campuses like colleges or hospitals are also covered. This is consistent with buildings that already must comply with Seattle Energy Benchmarking & Reporting and the WA CBPS. Buildings used for industrial and manufacturing purposes are exempt.

So that sounds like about 4,135 buildings, 1650+1885+600.
interesting in that currently, the 2021 data has 3600 buildings. They are adding more now, but in general it sounds like 100% of buildings in the map will have this section.
There's a complex rollout schedule:

Still, we could sidestep some of that complexity if the upstream data can boil it down similarly to the statewide targets:

compliance date for 5-year target
compliance date for net zero
5 year greenhouse gas intensity target (GHGIT)
Net-zero greenhouse gas intensity target (GHGIT) -- or is this literally just ZERO?

We currently symbolize the map by GHG Intensity:

Is that the same as GHGIT?
The field is total_ghg_emissions_intensity

Focus on 2031 targets for this, not the later net zero targets.
It does apply to all buildings in the system
Once the law is passed, that table of GHGs will settle down and be final

Since the 2031 compliance date is the same for everyone, they only new data we need is:

5 year greenhouse gas intensity target (GHGIT)

Concept

Reuse as much of statewide as possible, for easier comprehension
Include copy to explain difference between EUI and GHGI

Questions

Place targets next to each other or next to the relevant EUI and GHG charts?
Should this "New" be replaced by a new message about the city requirement?

Here's a Figma of the new GHGI target:
https://www.figma.com/file/s7MBd0TzlKiuyMVurkQCuP/Seattle-Buildings?type=design&node-id=1%3A2&mode=design&t=32JGBpJ2k0vFtYjk-1
This seems pretty straightforward and works fine. Easyish to do, easy to understand.

Important note here:
"solution to be implemented in a subsequent scope of work"
So if they accept this, maybe this whole task is done!

HI Mike,
Here's a mockup of what we propose for the BEPS section of the report:https://www.figma.com/file/s7MBd0TzlKiuyMVurkQCuP/Seattle-Buildings?type=design&node-id=0-1&mode=design&t=32JGBpJ2k0vFtYjk-0
Notes in the margin highlight what is added/changed.
One thing I just reminded myself of is the note "solution to be implemented in a subsequent scope of work."
Our proposal here is to reuse and adapt the statewide energy performance standard. And that's not just because it's easier to implement. We also think it's easier for users, since they can see, in similar presentations, how close they are to meeting each of two standards.
Note that, as we understand it, every building would have the city BEPS section but we would continue to show statewide by existing logic that applies only to certain larger buildings.
Best,Dan


I've tried everywhere to find the mute option for the notification sound. where is it? The super loud sound hurts my ears when ever it goes off and I have my headphones on.
Thanks!

Hi @cgibson08201989, you can turn off the notification sound here:
Main (hamburger) menu > Account Settings > Notifications > Desktop Notifications > Edit
You should be able to select Off under the Notification Sound setting there.
Hope that helps!

I'll close this issue off here for now as there hasn't been any feedback.  Please feel free to open a new issue if you still experience a problem

could show image as to where to turn off the notification sounds?


No custom tree views seem to work?

I've tried the examples from https://github.com/Microsoft/vscode-extension-samples, the zip viewer plugin from the marketplace and I've been trying to write my own.
They expand and collapse a bit, but there is nothing in them?

This seems to be the same in the latest Insiders, 1.17 and 1.18.

There are bunch of extensions contributing custom views and they seems to work. Please check your implementation.

When you say the seem to work, have you actually tried them? It's not just my implementation that doesn't work.
When I try the node dependencies example from the samples, the view appears in the explorer, but it is empty.
The JSON outline sample becomes visible when I open a json file, but the contents are empty.
The zip file explorer from the marketplace does the same.

I found the code outline viewer which does work. Maybe the sample extensions and the zip extension are out of date?


Add sutpc company in user list

Tips:

Maybe add you organization to USERS.md.
Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.
If changes were requested, and you've made them, then dismis the review to get it looked at again.
You can ask for help!

Should I need to apply DCO? I just edited simply via github web ui.


[ToggleGroup] Improve orientation prop description to clarify function

[x] Use a meaningful title for the pull request. Include the name of the package modified.
[x] Test the change in your own code.
[x] Include the URL where we can test the change in the body of your PR.

This pull request:
Closes #463

[ ] Fixes a bug
[ ] Adds additional features/functionality
[x] Updates documentation or example code
[ ] Other

Before

After

Thanks for your contribution @ItzaMi!

Glad to help. Thank you!

Is this the same case for all orientations? E.g. The navigation-menu?

how to switch arrow navigation from right to left? e.g. if the menu is on the right

when menu is on the right arrow navigation direction should be to the right instead of left. How to fix?
I setted orientation as 'rtl' but it doesn't work

is there a way to fix arrow navigation direction for bottom menu too? from bottom to up


docs: add caution when using preset with transform

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
N.A.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
4055

Relevant Lines:
4154

💛  - Coveralls


feat: port Probability.Variance

12 errors left
I stopped working on this

@int-y1 Is this ready to review in your opinion?

Otherwise seems fine to me. Please merge either if you change the evariance name`, are confident it is better this way, or put in a note to reconsider these names for consistency later. :-)
bors d+

bors r+


Update byteorder to 1.0

Tests pass, good to update to 1.0 releases where possible.

Thanks. Merged: 70fed562eb20b981ccf5c071cb1d6eeb28c46bfe


同学  我在对你的SSD的代码做了一些改进的基础上（主要是改成Textboxes），训练synthtext数据集，现在报了一个错

Traceback (most recent call last):  60   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1322, in _do_call  61     return fn(*args)  62   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1307, in _run_fn  63     options, feed_dict, fetch_list, target_list, run_metadata)  64   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun  65     run_metadata)  66 tensorflow.python.framework.errors_impl.InvalidArgumentError: flat indices[7, :] = [7, -1] does not index into param (shape: [16,27160]).  67      [[Node: post_forward/GatherNd = GatherNd[Tindices=DT_INT32, Tparams=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](post_forward/TopKV2, post_forward/stack)]]  69   70 During handling of the above exception, another exception occurred:  71   72 Traceback (most recent call last):  73   File "train_textboxes.py", line 547, in <module>  74     tf.app.run()  75   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/platform/app.py", line 125, in run  76     _sys.exit(main(argv))  77   File "train_textboxes.py", line 542, in main  78     hooks=[logging_hook], max_steps=FLAGS.max_number_of_steps)  79   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 366, in train  80     loss = self._train_model(input_fn, hooks, saving_listeners)  81   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1119, in _train_model  82     return self._train_model_default(input_fn, hooks, saving_listeners)  83   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1135, in _train_model_default  84     saving_listeners)  85   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1336, in _train_with_estimator_spec  86     _, loss = mon_sess.run([estimator_spec.train_op, estimator_spec.loss])  87   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 577, in run  88     run_metadata=run_metadata)  89   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 1053, in run  90     run_metadata=run_metadata)  91   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 1144, in run  92     raise six.reraise(*original_exc_info)  93   File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise  94     raise value  95   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 1129, in run  96     return self._sess.run(*args, **kwargs)  97   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 1201, in run  98     run_metadata=run_metadata)  99   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/monitored_session.py", line 981, in run 100     return self._sess.run(*args, **kwargs) 101   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 900, in run 102     run_metadata_ptr) 105   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1316, in _do_run 106     run_metadata) 107   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1335, in _do_call 108     raise type(e)(node_def, op, message) 109 tensorflow.python.framework.errors_impl.InvalidArgumentError: flat indices[7, :] = [7, -1] does not index into param (shape: [16,27160]). 110      [[Node: post_forward/GatherNd = GatherNd[Tindices=DT_INT32, Tparams=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](post_forward/TopKV2, post_forward/stack)]] 111      [[Node: post_forward/boolean_mask/GatherV2/_1081 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0",      send_device_incarnation=1, tensor_name="edge_1008_post_forward/boolean_mask/GatherV2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]] 112  113 Caused by op 'post_forward/GatherNd', defined at: 114   File "train_textboxes.py", line 547, in <module> 115     tf.app.run() 116   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/platform/app.py", line 125, in run 117     _sys.exit(main(argv)) 118   File "train_textboxes.py", line 542, in main 119     hooks=[logging_hook], max_steps=FLAGS.max_number_of_steps) 120   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 366, in train 121     loss = self._train_model(input_fn, hooks, saving_listeners) 122   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1119, in _train_model 123     return self._train_model_default(input_fn, hooks, saving_listeners) 124   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1132, in _train_model_default 125     features, labels, model_fn_lib.ModeKeys.TRAIN, self.config) 126   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 1107, in _call_model_fn 127     model_fn_results = self._model_fn(features=features, **kwargs) 128   File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/estimator/python/estimator/replicate_model_fn.py", line 225, in single_device_model_fn 129     local_ps_devices=ps_devices)[0]  # One device, so one spec is out. 130   File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/estimator/python/estimator/replicate_model_fn.py", line 566, in _get_loss_towers 131     **optional_params) 132   File "train_textboxes.py", line 390, in textboxes_model_fn 133     tf.stack([tf.range(batch), batch_n_neg_select - 1], axis=-1)) 134   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 3051, in gather_nd 135     "GatherNd", params=params, indices=indices, name=name) 136   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper 137     op_def=op_def) 138   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 3414, in create_op 139     op_def=op_def) 140   File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 1740, in __init__ 141     self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access 142  143 InvalidArgumentError (see above for traceback): flat indices[7, :] = [7, -1] does not index into param (shape: [16,27160]). 144      [[Node: post_forward/GatherNd = GatherNd[Tindices=DT_INT32, Tparams=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](post_forward/TopKV2, post_forward/stack)]] 145      [[Node: post_forward/boolean_mask/GatherV2/_1081 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0",     send_device_incarnation=1, tensor_name="edge_1008_post_forward/boolean_mask/GatherV2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]

synthtext数据集的质量应该是很高的，是我在处理数据集的过程中出错了吗？原始的数据集中每张图片应该是都有GT的


Added Support for A100 ( TF 2.4  - NGC TF 21:05) and fixed bugs

The following changes were made :

The Notebooks were updated to use the latest TF NGC Container including support for A100.  ( #19 )
Seed set is now set to TensorFlow ( #21 )
Updated with the new locations of the data files.

The notebooks were tested on V100 to check for reproducibility and was found to be stable.

Closed after checking the stability.


Add a column for Azure Stack in the Supported IaaS features section

Shouldn't there be a column for Azure Stack in the Supported IaaS and PaaS features section?
It is important to see what features are available in ASC as it relates to Azure Stack. Since it is supported for onboarding in to ASC.
Azure Stack https://docs.microsoft.com/en-us/azure/security-center/quick-onboard-azure-stack.

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

ID: 525c1c48-3355-bc91-b8d0-6104c1f5f098
Version Independent ID: 0d1c6361-aeac-b0c9-016d-38d21f483396
Content: Features and platforms supported by Azure Security Center
Content Source: articles/security-center/security-center-os-coverage.md
Service: security-center
GitHub Login: @monhaber
Microsoft Alias: monhaber

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

Thanks for the suggestion, @SHANE0MAC
We've added a sentence under the PaaS list.
If you have any further comments, please feel free to be in touch.
#please-close


bun install が確率的に失敗する

bun install時に次のようなエラーが発生し、CIが確率的に失敗している
Run bun install --frozen-lockfile
bun install v1.1.34 (5e5e7c60)
Resolving dependencies
Resolved, downloaded and extracted [46]
Error: ENOENT: no such file or directory, stat<EMAIL_ADDRESS>error: "prisma" exited with code 1
12 | export default "unknown";
                    ^
ShellError: Failed with exit code 1
 info: {
  "exitCode": 1,
  "stderr": "Error: ENOENT: no such file or directory, stat<EMAIL_ADDRESS>\"prisma\" exited with code 1\n",
  "stdout": ""
}

      at new ShellError (unknown:12:16)
      at new ShellPromise (unknown:72:16)
      at BunShell (unknown:1[8](https://github.com/shuiro-dev/shuiro/actions/runs/11641207622/job/32419439551#step:4:9)7:35)
      at /home/runner/work/shuiro/shuiro/backend/src/bin/postinstall.ts:35:[9](https://github.com/shuiro-dev/shuiro/actions/runs/11641207622/job/32419439551#step:4:10)
      at generatePrismaClient (/home/runner/work/shuiro/shuiro/backend/src/bin/postinstall.ts:34:30)
      at module code (/home/runner/work/shuiro/shuiro/backend/src/bin/postinstall.ts:40:7)
      at unknown:2:1

Bun v1.1.34 (Linux x64 baseline)

error: postinstall script from "backend" exited with 1
Error: Process completed with exit code 1.

エラーログ（全体）
2024-11-02T08:17:26.8210240Z Current runner version: '2.320.0'
2024-11-02T08:17:26.8337665Z ##[group]Operating System
2024-11-02T08:17:26.8338745Z Ubuntu
2024-11-02T08:17:26.8339063Z 24.04.1
2024-11-02T08:17:26.8339299Z LTS
2024-11-02T08:17:26.8339545Z ##[endgroup]
2024-11-02T08:17:26.8339834Z ##[group]Runner Image
2024-11-02T08:17:26.8340174Z Image: ubuntu-24.04
2024-11-02T08:17:26.8340484Z Version: 20241016.1.0
2024-11-02T08:17:26.8341390Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20241016.1/images/ubuntu/Ubuntu2404-Readme.md
2024-11-02T08:17:26.8342724Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20241016.1
2024-11-02T08:17:26.8343493Z ##[endgroup]
2024-11-02T08:17:26.8343790Z ##[group]Runner Image Provisioner
2024-11-02T08:17:26.8344174Z 2.0.384.1
2024-11-02T08:17:26.8344416Z ##[endgroup]
2024-11-02T08:17:26.8360120Z ##[group]GITHUB_TOKEN Permissions
2024-11-02T08:17:26.8361591Z Contents: read
2024-11-02T08:17:26.8361911Z Metadata: read
2024-11-02T08:17:26.8362322Z Packages: read
2024-11-02T08:17:26.8362623Z ##[endgroup]
2024-11-02T08:17:26.8365511Z Secret source: Actions
2024-11-02T08:17:26.8365983Z Prepare workflow directory
2024-11-02T08:17:26.9128278Z Prepare all required actions
2024-11-02T08:17:26.9289309Z Getting action download info
2024-11-02T08:17:27.1593203Z Download action repository 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
2024-11-02T08:17:27.7454016Z Download action repository 'jdx/mise-action@a4cfebde9ceb9b49b54db1d148fa86a52e1b7fab' (SHA:a4cfebde9ceb9b49b54db1d148fa86a52e1b7fab)
2024-11-02T08:17:28.3745967Z Complete job name: Lint
2024-11-02T08:17:28.4619581Z ##[group]Run actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2024-11-02T08:17:28.4620299Z with:
2024-11-02T08:17:28.4620599Z   repository: shuiro-dev/shuiro
2024-11-02T08:17:28.4621203Z   token: ***
2024-11-02T08:17:28.4621492Z   ssh-strict: true
2024-11-02T08:17:28.4621785Z   ssh-user: git
2024-11-02T08:17:28.4622105Z   persist-credentials: true
2024-11-02T08:17:28.4622490Z   clean: true
2024-11-02T08:17:28.4622914Z   sparse-checkout-cone-mode: true
2024-11-02T08:17:28.4623349Z   fetch-depth: 1
2024-11-02T08:17:28.4623645Z   fetch-tags: false
2024-11-02T08:17:28.4623959Z   show-progress: true
2024-11-02T08:17:28.4624273Z   lfs: false
2024-11-02T08:17:28.4624562Z   submodules: false
2024-11-02T08:17:28.4624874Z   set-safe-directory: true
2024-11-02T08:17:28.4625229Z ##[endgroup]
2024-11-02T08:17:28.7151265Z Syncing repository: shuiro-dev/shuiro
2024-11-02T08:17:28.7153502Z ##[group]Getting Git version info
2024-11-02T08:17:28.7154567Z Working directory is '/home/runner/work/shuiro/shuiro'
2024-11-02T08:17:28.7155428Z [command]/usr/bin/git version
2024-11-02T08:17:28.7214003Z git version 2.47.0
2024-11-02T08:17:28.7239337Z ##[endgroup]
2024-11-02T08:17:28.7253571Z Temporarily overriding HOME='/home/runner/work/_temp/e56157d3-6e98-41a5-94ce-361d933e2b7e' before making global git config changes
2024-11-02T08:17:28.7254788Z Adding repository directory to the temporary git global config as a safe directory
2024-11-02T08:17:28.7258915Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/shuiro/shuiro
2024-11-02T08:17:28.7294067Z Deleting the contents of '/home/runner/work/shuiro/shuiro'
2024-11-02T08:17:28.7297531Z ##[group]Initializing the repository
2024-11-02T08:17:28.7301917Z [command]/usr/bin/git init /home/runner/work/shuiro/shuiro
2024-11-02T08:17:28.7386557Z hint: Using 'master' as the name for the initial branch. This default branch name
2024-11-02T08:17:28.7387386Z hint: is subject to change. To configure the initial branch name to use in all
2024-11-02T08:17:28.7388248Z hint: of your new repositories, which will suppress this warning, call:
2024-11-02T08:17:28.7389296Z hint:
2024-11-02T08:17:28.7389730Z hint: 	git config --global init.defaultBranch <name>
2024-11-02T08:17:28.7390272Z hint:
2024-11-02T08:17:28.7390796Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2024-11-02T08:17:28.7391789Z hint: 'development'.  You can look around, make experimental
2024-11-02T08:17:29.2693463Z changes and commit them, and you can discard any commits you make in this
2024-11-02T08:17:29.2694515Z state without impacting any branches by switching back to a branch.
2024-11-02T08:17:29.2695132Z
2024-11-02T08:17:29.2695495Z If you want to create a new branch to retain commits you create, you may
2024-11-02T08:17:29.2696583Z do so (now or later) by using -c with the switch command. Example:
2024-11-02T08:17:29.2697289Z
2024-11-02T08:17:29.2697623Z   git switch -c <new-branch-name>
2024-11-02T08:17:29.2698070Z
2024-11-02T08:17:29.2698298Z Or undo this operation with:
2024-11-02T08:17:29.2698891Z
2024-11-02T08:17:29.2699078Z   git switch -
2024-11-02T08:17:29.2699369Z
2024-11-02T08:17:29.2699886Z Turn off this advice by setting config variable advice.detachedHead to false
2024-11-02T08:17:29.2700665Z
2024-11-02T08:17:29.2701455Z HEAD is now at 9b77935 Merge cb3c373299f851caa189387cb5c60f7ff7c3a420 into 40a1afc49d9ac82c2785fd0151bf1dcee8a3d412
2024-11-02T08:17:29.2703698Z ##[endgroup]
2024-11-02T08:17:29.2739686Z [command]/usr/bin/git log -1 --format=%H
2024-11-02T08:17:29.2761841Z 9b77935d1e8e0484ead70b9385307c51690c6f5f
2024-11-02T08:17:29.3039854Z ##[group]Run jdx/mise-action@a4cfebde9ceb9b49b54db1d148fa86a52e1b7fab
2024-11-02T08:17:29.3040341Z with:
2024-11-02T08:17:29.3040561Z   install: true
2024-11-02T08:17:29.3040977Z   cache: true
2024-11-02T08:17:29.3041197Z   cache_save: true
2024-11-02T08:17:29.3041443Z   cache_key_prefix: mise-v0
2024-11-02T08:17:29.3041731Z   experimental: false
2024-11-02T08:17:29.3041976Z   log_level: info
2024-11-02T08:17:29.3042216Z ##[endgroup]
2024-11-02T08:17:29.4290830Z ##[group]Restoring mise cache
2024-11-02T08:17:31.1376767Z Received 0 of 88227043 (0.0%), 0.0 MBs/sec
2024-11-02T08:17:32.1290251Z Cache Size: ~84 MB (88227043 B)
2024-11-02T08:17:32.1327337Z [command]/usr/bin/tar -xf /home/runner/work/_temp/51916a63-05f5-440f-8ca7-3769851c95a3/cache.tzst -P -C /home/runner/work/shuiro/shuiro --use-compress-program unzstd
2024-11-02T08:17:32.1374099Z Received 88227043 of 88227043 (100.0%), 42.1 MBs/sec
2024-11-02T08:17:32.8009125Z Cache restored successfully
2024-11-02T08:17:32.8202183Z mise cache restored from key: mise-v0-linux-x64-4cf0828ab7e4d3276810d38ac7cda0e22bcf3c4f0cfd50aa5179d2f3166e02b8
2024-11-02T08:17:32.8207585Z ##[group]Setting env vars
2024-11-02T08:17:32.8208155Z Setting MISE_LOG_LEVEL=info
2024-11-02T08:17:32.8209766Z Setting MISE_TRUSTED_CONFIG_PATHS=/home/runner/work/shuiro/shuiro
2024-11-02T08:17:32.8210590Z Setting MISE_YES=1
2024-11-02T08:17:32.8211163Z Adding /home/runner/.local/share/mise/shims to PATH
2024-11-02T08:17:32.8214462Z ##[group]Running mise --version
2024-11-02T08:17:32.8231154Z [command]/home/runner/.local/share/mise/bin/mise --version
2024-11-02T08:17:32.8293756Z 2024.11.0 linux-x64 (eae29db 2024-11-01)
2024-11-02T08:17:32.8303868Z ##[endgroup]
2024-11-02T08:17:32.8304603Z ##[group]Running mise install
2024-11-02T08:17:32.8316417Z [command]/home/runner/.local/share/mise/bin/mise install
2024-11-02T08:17:32.8415824Z mise all runtimes are installed
2024-11-02T08:17:32.8426081Z ##[endgroup]
2024-11-02T08:17:32.8641509Z ##[group]Run bun install --frozen-lockfile
2024-11-02T08:17:32.8641983Z bun install --frozen-lockfile
2024-11-02T08:17:32.8677514Z shell: /usr/bin/bash -e {0}
2024-11-02T08:17:32.8677836Z env:
2024-11-02T08:17:32.8678074Z   MISE_LOG_LEVEL: info
2024-11-02T08:17:32.8678642Z   MISE_TRUSTED_CONFIG_PATHS: /home/runner/work/shuiro/shuiro
2024-11-02T08:17:32.8679055Z   MISE_YES: 1
2024-11-02T08:17:32.8679291Z ##[endgroup]
2024-11-02T08:17:32.8927599Z bun install v1.1.34 (5e5e7c60)
2024-11-02T08:17:32.8956181Z Resolving dependencies
2024-11-02T08:17:33.6762805Z Resolved, downloaded and extracted [46]
2024-11-02T08:17:37.8627265Z Error: ENOENT: no such file or directory, stat<EMAIL_ADDRESS>2024-11-02T08:17:37.8630213Z error: "prisma" exited with code 1
2024-11-02T08:17:37.8630904Z 12 | export default "unknown";
2024-11-02T08:17:37.8631489Z                     ^
2024-11-02T08:17:37.8632207Z ShellError: Failed with exit code 1
2024-11-02T08:17:37.8638889Z  info: {
2024-11-02T08:17:37.8639563Z   "exitCode": 1,
2024-11-02T08:17:37.8641755Z   "stderr": "Error: ENOENT: no such file or directory, stat<EMAIL_ADDRESS>\"prisma\" exited with code 1\n",
2024-11-02T08:17:37.8643679Z   "stdout": ""
2024-11-02T08:17:37.8644045Z }
2024-11-02T08:17:37.8645040Z
2024-11-02T08:17:37.8645668Z       at new ShellError (unknown:12:16)
2024-11-02T08:17:37.8649313Z       at new ShellPromise (unknown:72:16)
2024-11-02T08:17:37.8649982Z       at BunShell (unknown:187:35)
2024-11-02T08:17:37.8650844Z       at /home/runner/work/shuiro/shuiro/backend/src/bin/postinstall.ts:35:9
2024-11-02T08:17:37.8652224Z       at generatePrismaClient (/home/runner/work/shuiro/shuiro/backend/src/bin/postinstall.ts:34:30)
2024-11-02T08:17:37.8656583Z       at module code (/home/runner/work/shuiro/shuiro/backend/src/bin/postinstall.ts:40:7)
2024-11-02T08:17:37.8657594Z       at unknown:2:1
2024-11-02T08:17:37.8657886Z
2024-11-02T08:17:37.8658073Z Bun v1.1.34 (Linux x64 baseline)
2024-11-02T08:17:37.8658588Z
2024-11-02T08:17:37.8658977Z error: postinstall script from "backend" exited with 1
2024-11-02T08:17:37.9260685Z ##[error]Process completed with exit code 1.
2024-11-02T08:17:37.9388668Z Post job cleanup.
2024-11-02T08:17:38.0344556Z [command]/usr/bin/git version
2024-11-02T08:17:38.0388864Z git version 2.47.0
2024-11-02T08:17:38.0430766Z Temporarily overriding HOME='/home/runner/work/_temp/5ffab0e7-8ce3-4256-8bd8-c6bef6549e26' before making global git config changes
2024-11-02T08:17:38.0435686Z Adding repository directory to the temporary git global config as a safe directory
2024-11-02T08:17:38.0437224Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/shuiro/shuiro
2024-11-02T08:17:38.0470599Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2024-11-02T08:17:38.0502178Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-11-02T08:17:38.0733553Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-11-02T08:17:38.0754512Z http.https://github.com/.extraheader
2024-11-02T08:17:38.0767765Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2024-11-02T08:17:38.0799883Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-11-02T08:17:38.1225906Z Cleaning up orphan processes

最近失敗しないので閉じます


New alerts button experiment

Ships new alerts button to 100% of mobile users. Adds a new experiment-- variation A: email field auto-focused (the baseline, currently on prod), variation B: email field unfocused

 Ship new alerts button to 100% of users with a new experiment: auto focusing vs. not auto focusing email field


Fix checkstyle issues and temporarily override config to point to latest WSO2 checkstyle file

Purpose
This PR fixes issues against the latest WSO2 checkstyle config and temporarily overrides the checkstyle config in the POM file until #342 is resolved.
Related to https://github.com/ballerina-platform/ballerina-message-broker/issues/214
Related PRs
#216
#334

Can we host the checkstyle config locally in the repo?


Pin the Django requirements

Currently unpinned and I got a report its not working for latest Django.
Need to pin per one of the strategies in http://blog.pamelafox.org/2023/10/strategies-for-managing-dependencies.html

I'm a fan of piptools and pinning all the versions I vote for that one

I do wonder how pip-tools would work with the jinja templates

@pamelafox bringing this back up as we're closer to Django 5.0 and haven't tested against it (and haven't decided if we should pin our version to  <=5.0.0.


ReplacecheckMax with process.resourceLimits

The latest version of Nextflow now has a number of improvements. One of these is native support for resource limits, as described in https://nextflow.io/blog/2024/nextflow-2404-highlights.html#resource-limits. We should implement this to simplify some of the configurations to make them easier to update in the future.
We will need to be sure to set the current minimum version of Nextflow to match.

closed by #50


Adding Turbo Download Manager to Built on Electron section

Turbo Download Manager is now available for Windows and Mac operation systems;
https://sourceforge.net/projects/turbo-download-manager/files/

Thanks!


Fix: Allow long sms in PromoSMS

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Fixes #2544
In notification settings, You can now enable long messages to be sent. It will cost extra (for additional SMS).
It allows to sent messages up to 4 SMS instead of 1 (160 chars).
By default, this option is disabled.
Type of change
Please delete any options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

I think the message should also need to be trimmed out, otherwise #2544 will still happen if the message is longer than 4 SMSs.
* Long message = false: substring(0, 159)

* Long message = true: substring(0, 639)

Good point, I'll add this later today to this PR.


Remove unnecessary RPC boxing

Was upgrading my node and noticed this strange pattern, doesn't seem to be necessary

bot merge


Deprecated selector in method-separator/styles/method-separator.less

In method-separator/styles/method-separator.less:
Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor .meta.function:not(.c)::before, atom-text-editor::shadow .meta.function:not(.c)::before => atom-text-editor .meta.function:not(.c)::before, atom-text-editor.editor .syntax--meta.syntax--function:not(.c)::before

atom-text-editor .name.function::before, atom-text-editor::shadow .name.function::before => atom-text-editor .name.function::before, atom-text-editor.editor .syntax--name.syntax--function::before

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

@kluvi are you on v. 0.2.0 of this package?


Handle capitalisation in linked accounts

The email used during linking of accounts seems to be case sensitive; a player sent his email for linking and it had a Capitalised first letter, which led to a 'not found' error as that’s not the exact email he used. while the spec for email allows capitalisation, most large email providers don't respect capitalisation, so this can lead to some confusion. i don't have a much of an answer for addressing this one though as there are likely other users who have created emails with capitalisation and it would need some kind of migration action

While we at it, we should also disallow/trim white spaces.

One way of dealing with it would be to migrate all usernames and linked users lists in database to to non-capitalised values. We would then have the api to remove all capitalisation on every submission. We would still allow capitalisation in frontend (because existing users would still use capitalised values).


Docker compose file does not exist at given URL

I was trying to run airflow locally (https://datahubproject.io/docs/docker/airflow/local_airflow/#step-1-set-up-your-airflow-area) and downloading the docker compose file (https://raw.githubusercontent.com/acryldata/datahub-fork/airflow-local-docker/docker/airflow/docker-compose.yaml?token=AAG5J3NA2ZJRVLS3XB3C3RTBG7BAM). But the file cannot be found at the given URL.

Looks like an error in our documentation.
Please use the docker compose file here


Add yarn support

auto-install --yarn

Done in https://github.com/siddharthkp/auto-install/pull/75


Revert "feat: Snapshot Download Tool"

Reverts OHIF/Viewers#840

Using revert to confirm that the Download tool changes broke the MIP functionality:


Handle Observer(s) in topicFrom (and others?)

[x] dismiss Intersection Observer API - Web APIs | MDN

[x] other observers?: Object.getPrototypeOf(MutationObserver) === Object.getPrototypeOf(IntersectionObserver)

[ ] Events/CustomEvents?

Observers are too distinct to each others and you typically need middle steps (e.g. filter mutation type). So, it will be better to do it yourself as you know what exactly you want, see example for inspiration:
const observe= (()=> {
	const onchildlist= topic();
	const onattribute= topic();

	const config= { attributes: true, childList: true, subtree: true };
	const observer= new MutationObserver(function(mutationList, observer){
	  for(const mutation of mutationList) {
	    if (mutation.type === 'childList') {
	      publish(onchildlist, 'A child node has been added or removed.');
	    } else if (mutation.type === 'attributes') {
	      publish(onattribute, `The ${mutation.attributeName} attribute was modified.`);
	    }
	  }
	});
	return {
		onchildlist, onattribute,
		observe(targetNode){ return observer.observe(targetNode, config); },
		disconnect(){ return observer.disconnect(); },
		erase(){
			observer.disconnect();
			this.onchildlist= erase(onchildlist);
			this.onattribute= erase(onattribute);
		}
	};
})();

For events, it can be helpful to work with them, like with topics(?).
elem.addEventListener('click', (e) => { /* … */ }, false);
elem.dispatchEvent(new Event('click'));

const onclick= topicFromIdea({ element: elem, events: [ "click" ] });
subscribe(onclick, (e) => { /* … */ });
publish(onclick);

elem.addEventListener('customevent', (e) => { /* … */ });
elem.dispatchEvent(new CustomEvent('customevent', { bubbles: true, detail: "tada" }));

const customevent= topicFromIdea({ element: elem, events: [ "customevent" ], bubbles: true });
subscribe(customevent, (e) => { /* … */ });
publish(customevent, "tada");


Add Kapiti College

@ItsYeTii I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host kc.school.nz.domains.lib.file.nz not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


User data content size validation with actual length only, and some code improvements

Description
This PR validate user data with actual length only, and has some code improvements.
Partially fixes #8415

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8164

@sureshanaparti can you review the outstanding comments?
@blueorangutan package

@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8189

@sureshanaparti, along with these changes is it better to call the registerUserData API using POST from UI ?

changes done

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8199

@blueorangutan test

@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8224

@blueorangutan test

@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@sureshanaparti can you rebase with 4.18.2? As the related issue is also aimed at 4.18.2

[SF] Trillian test result (tid-8750)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 48273 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8418-t8750-kvm-centos7.zip
Smoke tests completed. 118 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_list_cpvm_vm
Failure
0.03
test_ssvm.py

test_04_cpvm_internals
Failure
0.04
test_ssvm.py

test_08_upgrade_kubernetes_ha_cluster
Failure
614.36
test_kubernetes_clusters.py

test_08_migrate_vm
Error
0.06
test_vm_life_cycle.py

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✖ el9 ✔ debian ✖ suse15.  It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8662

Codecov Report
Attention: Patch coverage is 50.00000% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 30.80%. Comparing base (6d916ca) to head (c95f2ce).
Report is 151 commits behind head on 4.19.

Files
Patch %
Lines

...pache/cloudstack/userdata/UserDataManagerImpl.java
40.00%
7 Missing and 5 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #8418      +/-   ##
============================================
- Coverage     30.85%   30.80%   -0.05%
+ Complexity    34048    33979      -69
============================================
  Files          5341     5341
  Lines        374861   374888      +27
  Branches      54518    54520       +2
============================================
- Hits         115659   115491     -168
- Misses       243973   244127     +154
- Partials      15229    15270      +41

Flag
Coverage Δ

simulator-marvin-tests
24.72% <33.33%> (-0.04%)
:arrow_down:

uitests
4.39% <ø> (ø)

unit-tests
16.46% <41.66%> (+<0.01%)
:arrow_up:

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

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

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9819

@blueorangutan test keepEnv

@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el7 ✔ el8 ✔ el9 ✖ debian ✔ suse15. SL-JID 9866

@JoaoJandre can you check the changes on your remarks?

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9903

@JoaoJandre can you check the changes on your remarks?

@JoaoJandre pls check your remarks. thanks.

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9915

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9930

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@sureshanaparti
As discussed, the registerUserdata api call Is failing with 400 error , if the userdata size is of 916kb

@kiranchavala Allowed size is for the userdata after base64 encoding. Updated descriptions for the cmd param and config  vm.userdata.max.length.
MaxSizeInBytesAfterEncoding = (SizeInBytesBeforeEncoding / 3 * 4) + 4

So, it seems 786432 bytes / 768 KB actual user data supported

Packaging result [SF]: ✔ el7 ✖ el8 ✖ el9 ✔ debian ✖ suse15. SL-JID 9951

@blueorangutan package

@kiranchavala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9953

@blueorangutan test

@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-10455)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43955 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8418-t10455-kvm-centos7.zip
Smoke tests completed. 131 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@kiranchavala all good now?


Make Text accept both borrowed and owned strings

I took a crack at fixing issue #70 and here's what it looks like. The slightly annoying thing is having to add .into() when building a Text. If that's too annoying we can maybe add some helper methods like Text::data() and Text::styled_data() that would do the conversion for you.

I added some helper methods Text::data() and Text::styled_data() to make building Text instances a bit easier (i.e without having to call into()). Let me know what you think!
Note that if we go with this, it might be worth changing Item the same way for consistency (right now it takes an owned string, and reference to a style, which is the exact opposite of Text...)

Hi, thanks for taking the time to look into this. I agree with most of the changes.
Item currently requires its data to implements Display. It thus works for both owned or borrowed strings but all items should be of the same type. So Cow might also be a better idea there, especially when items are created "manually".  As of the Style, I think that we should go for an owned version.
An unified definition of Text and Item could be:
pub enum Text<'b> {
    Raw(Cow<'b, str>),
    Styled(Cow<'b, str>, Style),
}

dropping Data in names which appears unnecessary the more I read it.
Let me know what you think...

Yes, I think that makes sense. I've implemented this so you can see what it looks like.

Great work :+1: Let me know if you have more feedback on the upcoming release.


Another one for the list

https://github.com/SecurityFTW/cs-suite

Thanks @hawkesnc, I've just added that one. I knew it and I met its developers at BlackHat this year. I didn't add it before because it uses obsolete code from Prowler and Scout2. Anyway, better to have it on the list.


Make ant work with javac8 and JDK7

This generalizes some classloading infrastructure that could be shared
with maven.

This also fixes the less interesting part of #287

LGTM aside from the nits.  Go ahead and merge when you're done.


fix(recognizer): handle case when exclude is not specified.

It should have been covered here: https://github.com/runspired/ember-gestures/blob/master/addon/services/-gestures.js#L68


Remove incorrect containerized extra_var

This commit removes incorrect extra_var
containerized=True.

@stevekuznetsov FYI, I have already pushed this change to Jenkins.

How did this sneak in? Thanks for catching this.


Publish on jCenter

I've build the latest develop branch and submitted it to jCenter, which replaced Maven as the default repo for new Android projects.
Within the next few hours it should become available under:
compile 'org.piwik.sdk:piwik-sdk:0.0.2'

This PR updates gradle and adds scripts used for uploading to bintray.com which hosts jCenter.
The package is uploaded under my jCenter account, so I have to update the package when it's necessary, but I don't think this will be an issue.
And the README has also been updated to reflect the new (easier) install instructions.
@dotsbb
After merging this we can close #17, and also #31 because it is then obsolete. Then you could merge your PR #56 then close #55 and everything is tidy again :smile:

Nice job, Matthias :+1: Merging


ignore celery results

Fixes #472

I think only one function in tasks.py returns anything and it's not used. The stuff where useful things are returned, like getting the emails, is in sync_tasks.py
I removed the return on that one function for clarity and add some typing for the rest.
Empirically, sheet creation is still working for me locally.


Error when file contains keyframe animations

When using concat on a a file with @keyframes my build fails.
This is the error:
stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
TypeError: Cannot call method 'forEach' of undefined

I have reproduced this on a css file containing just:
@keyframes NAME-YOUR-ANIMATION {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

I run a test and apparently I cannot reproduce. Could you please send some code which would help me reproduce? Also, what's exactly the error?

I have tried reproducing it on a blank project and failed. I then went back to where I had the problem initially and couldn't reproduce it either.
The only Thing that changed on my side is that I updated node.js (which was quite old) and then updated my NPM packages. I think this issue must have been caused by my outdated setup.
Apologies for the false alarm.


It's not possible to flip flexbox designs

Shouldn't a class that goes like this:
.class { display: flex; flex-direction: row; justify-content: flex-start; }
be translated into:
.class { display: flex; flex-direction: row-reverse; justify-content: flex-start; }
As of the web demo, this doesn't happen.

Flipping row to row-reverse is not needed IMO, because if there is an ancestor with dir="rtl", then flex-direction: row; justify-content: flex-start; already lays things out from right to left. The meanings of start and end, and of row and row-reverse, are already correctly inverted by the browser when in an RTL context.

For a demonstration of this, see: https://jsfiddle.net/pf8r8c7o/


fix(Autocad): MText height property shows 0

Description & motivation

Use TextHeight property instead of height property of MText object when converting to Speckle obj
https://help.autodesk.com/view/OARX/2023/ENU/?guid=OARX-ManagedRefGuide-Autodesk_AutoCAD_DatabaseServices_MText_TextHeight

Changes:

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

[ ] My pull request follows the guidelines in the Contributing guide?
[ ] My pull request does not duplicate any other open Pull Requests for the same update/change?
[ ] My commits are related to the pull request and do not amend unrelated code or documentation.
[ ] My code follows a similar style to existing code.
[ ] I have added appropriate tests.
[ ] I have updated or added relevant documentation.

References

Hi @phliberato , what's the reasoning behind using TextHeight instead of Height for multiline text? Full height information is still useful for other connectors, but if the textheight property is needed it would be better to add that as a dynamic property

I'd add TextHeight as a dynamic prop instead of replacing Height, since Height is still a useful prop (TextHeight is the height of the text per line, Height is the total height of the Mtext object including all lines of text and spacing between lines). Not sure why some MText Height props return 0, in this case it may be stored in the ActualHeight prop and you could add a check for that instead.

@clairekuang  I've attached an example that shows the different behaviors between DBText and MText. In MText I think it's better to use the Text property instead of Content. Take a look at the results.

TextsIssue.zip


Admission Webhook not working

I tried following the instructions to test admission webhooks, but with step testing-the-admission-webhook, nginx pod was created without the expected error [The  "" is invalid: : No matched signatures for container image: nginx:1.13].
I further looked at the logs of image-signature-webhook pod and found the exception 2019/01/24 16:17:26 http: TLS handshake error from <IP_ADDRESS>:44394: remote error: tls: bad certificate.
I am trying on minikube instance.
kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.2", GitCommit:"bb9ffb1654d4a729bb4cec18ff088eacc153c239", GitTreeState:"clean", BuildDate:"2018-08-07T23:17:28Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:25:46Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

- Arvind

You need to generate a new cert by using ./gen-certs.sh in pki folder.

In addition to that, you need to base64 encode the pki/ca.pem file generated above and replace the caBundle field in kubernetes/validating-webhook-configuration.yaml. I also recommend you change the failurePolicy to Fail for easier debugging.


Utterly Amazing, Perfect Presentation!

How long till this is merged into RN? ;)

Thanks @faceyspacey :)
Well, who knows ...

I think that we didn't nail the declarative API yet. Let's give it a while until people actually use this in production and once they do, we'll have some suggestions on how to improve the API. Once we're happy with the API it will be pretty easy to add it to RN itself. The impact on the binary size is negligible.


[airmozilla] Add new extractor

Air Mozilla is where Mozilla's live videos are saved. This extractor doesn't attempt to grab the live streams yet, just the archived videos.

Thank you very much! Merged.

Great! Thanks for cleaning up the patch, I learned lots from your changes.


Bug-Fix: Unhide doesn't report any warnings when build configuration is not Debug.

I found this issue when a Xcode project's default build configuration was set to Release by someone. As a result, I got a crash after code injection because unhide.sh didn't work. The bug-fix will prompt user that he should use Debug build configuration if he wants to do code injection properly.

Hi, Thanks for this. Won’t it print this warning when ever the user does a release build to actually release? Would that be desirable?

Hi,
If build configuration is not Debug, unhide.sh won't work and developers can't tell why injection doesn't work unless they dig into unhide.sh. I believe that developers use Debug more than Release.
BTW, your project saves me a lot time to debug since I used it. Many thanks!

Sorry but I’d rather not have a messaage that distracts people when they ar doing their final builds. It’s true that injection doesn’t work outside a debug build but people should know that if they are using it.

Never mind, I just don't expect people should know what I think they should know.


Two escaped variables by ` can't be compiled when it is used with scalatest's

Compiler version
This test reproduces with scalatest-3.2.10.
Compilers and results:

✅ 2.11.12
✅ 2.12.15
✅ 2.13.7
❌ 3.0.0
❌ 3.0.1
❌ 3.0.2
❌ 3.1.0
❌ 3.1.1-RC2

Minimized code
import org.scalatest._
import org.scalatest.matchers._

class BugTest extends wordspec.AnyWordSpec with should.Matchers {
  "can't compile" in {
    val `n1` = 42
    val `n2` = 44

    `n1` shouldBe `n1`
    `n2` shouldBe `n2`
  }

  "can compile 1" in {
    val `n1` = 42

    `n1` shouldBe `n1`
  }

  "can compile 2" in {
    val n1 = 42
    val n2 = 44

    n1 shouldBe n1
    n2 shouldBe n2
  }
}

Output
[error] -- Error: .../src/test/scala/BugTest.scala:10:4
[error] 9 |    `n1` shouldBe `n1`
[error] 10 |    `n2` shouldBe `n2`
[error]    |    ^
[error]    |postfix operator `n2` needs to be enabled
[error]    |by making the implicit value scala.language.postfixOps visible.
[error]    |----
[error]    |This can be achieved by adding the import clause 'import scala.language.postfixOps'
[error]    |or by setting the compiler option -language:postfixOps.
[error]    |See the Scaladoc for value scala.language.postfixOps for a discussion
[error]    |why the feature needs to be explicitly enabled.

Suggested by compiler approach with adding postfixOps leads to this:
error] -- [E008] Not Found Error: .../src/test/scala/BugTest.scala:12:4
[error] 11 |    `n1` shouldBe `n1`
[error] 12 |    `n2` shouldBe `n2`
[error]    |    ^
[error]    |    value n2 is not a member of org.scalatest.Assertion.
[error]    |    Note that `n2` is treated as an infix operator in Scala 3.
[error]    |    If you do not want that, insert a `;` or empty line in front
[error]    |    or drop any spaces behind the operator.
[error] -- [E051] Reference Error: .../src/test/scala/BugTest.scala:12:9
[error] 12 |    `n2` shouldBe `n2`
[error]    |         ^^^^^^^^
[error]    |Ambiguous overload. The overloaded alternatives of method shouldBe in trait Matchers with types
[error]    | [T, U >: T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (resultOfAnWordApplication:
[error]    |        org.scalatest.matchers.dsl.ResultOfAnWordToBePropertyMatcherApplication[
[error]    |          U
[error]    |        ]
[error]    |      )(implicit ev: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T, U >: T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (resultOfAWordApplication:
[error]    |        org.scalatest.matchers.dsl.ResultOfAWordToBePropertyMatcherApplication[U
[error]    |          ]
[error]    |      )(implicit ev: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (bePropertyMatcher: org.scalatest.matchers.BePropertyMatcher[T])
[error]    |        (implicit ev: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (resultOfAnWordApplication:
[error]    |        org.scalatest.matchers.dsl.ResultOfAnWordToSymbolApplication
[error]    |      )(implicit toAnyRef: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (resultOfAWordApplication:
[error]    |        org.scalatest.matchers.dsl.ResultOfAWordToSymbolApplication
[error]    |      )(implicit toAnyRef: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )(symbol: Symbol)(implicit toAnyRef: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (resultOfSameInstanceAsApplication:
[error]    |        org.scalatest.matchers.dsl.ResultOfTheSameInstanceAsApplication
[error]    |      )(implicit toAnyRef: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )(right: Null)(implicit ev: T <:< AnyRef): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (right: org.scalatest.matchers.dsl.DefinedWord)
[error]    |        (implicit definition: org.scalatest.enablers.Definition[T]):
[error]    |          org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (right: org.scalatest.matchers.dsl.EmptyWord)
[error]    |        (implicit emptiness: org.scalatest.enablers.Emptiness[T]):
[error]    |          org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (right: org.scalatest.matchers.dsl.WritableWord)
[error]    |        (implicit writability: org.scalatest.enablers.Writability[T]):
[error]    |          org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (right: org.scalatest.matchers.dsl.ReadableWord)
[error]    |        (implicit readability: org.scalatest.enablers.Readability[T]):
[error]    |          org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (anType: org.scalatest.matchers.dsl.ResultOfAnTypeInvocation[?]):
[error]    |        org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (aType: org.scalatest.matchers.dsl.ResultOfATypeInvocation[?]):
[error]    |        org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (right: org.scalatest.matchers.dsl.SortedWord)
[error]    |        (implicit sortable: org.scalatest.enablers.Sortable[T]):
[error]    |          org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (spread: org.scalactic.TripleEqualsSupport.Spread[T]):
[error]    |        org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )(beMatcher: org.scalatest.matchers.BeMatcher[T]): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (comparison:
[error]    |        org.scalatest.matchers.dsl.ResultOfGreaterThanOrEqualToComparison[T]
[error]    |      ): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (comparison:
[error]    |        org.scalatest.matchers.dsl.ResultOfLessThanOrEqualToComparison[T]
[error]    |      ): org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (comparison: org.scalatest.matchers.dsl.ResultOfGreaterThanComparison[T]
[error]    |        ):
[error]    |      org.scalatest.Assertion
[error]    | [T]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )
[error]    |      (comparison: org.scalatest.matchers.dsl.ResultOfLessThanComparison[T]):
[error]    |        org.scalatest.Assertion
[error]    | [T, R]
[error]    |  (leftSideValue: T)
[error]    |    (using pos: org.scalactic.source.Position, prettifier:
[error]    |      org.scalactic.Prettifier
[error]    |    )(right: R)(implicit caneq: CanEqual[T, R]): org.scalatest.Assertion
[error]    |all match expected type <?>

Expectation
Should work on all tested compilers.

This looks like "leading infix" syntax, where the leading operator is in backticks.
Putting myop in backticks is special in Scala 3 because members are deemed "eligible for infix" syntax.
The syntax is supported in Scala 2.13 with -Xsource:3 but the behavior may diverge a bit.
The advice in the message is to make it not look like infix. (Add ; or remove a space, etc.)
I wonder if it could emit a better message when the operator name also designates a definition in scope, as in this example. Alternatively, change the feature so that it is actually ambiguous if there is both a member myop and a definition in scope; or, less likely, actually pick the intended meaning and use the definition in a new statement, but then leading infix is not just syntax.

@som-snytt anyway, I do not understand why is using one such variable works fine.

I was going to make a clever example, but I was done in by unary ops:
scala> {
     | val + = 42
     | 1 + 2
     | + + 1
     | }
val +: Int = 42
val res0: Int = 4

where I intended
scala> {
     | val + = 42
     | 1 + 2
     | +.+(1)
     | }
val +: Int = 42
val res6: Int = 3
val res7: Int = 43

I tried it out with the scalatest dependency -- I still have to create an sbt project instead of using ammonite or other quickie tools -- and I wanted to register that I was also confused by the first error, about postfix.
I tried it out with scala 2 -Xsource;3 with similar results.
Parser says
[info]     "can\'t compile" in
[info]       {
[info]         val n1 = 42
[info]         val n2 = 44
[info]         `n1` shouldBe `n1` `n2` shouldBe `n2`
[info]       }

so infix line continuation says only "join the lines".
Sorry I didn't have a quick answer.
can't compile inspired the notion can't complain where the compiler is really a complainer, so thanks for that inspiration.

@som-snytt anyway, workaround is simple: just rename variable to something without ` :)

or for improved funkiness
`n2`shouldBe `n2`

-Xsource:3 says value n2 is not a member of org.scalatest.Assertion, not found: value shouldBe, postfix operator n2 needs to be enabled, meaning the second n2 is postfix.

@som-snytt
In order to do some quick test, you may want to use scala-cli. Having it in version 0.0.9, you just create file:
// using scala "3.1.2-RC1-bin-20220106-0b4c6e7-NIGHTLY"
// using lib "org.scalatest::scalatest:3.2.10"

import org.scalatest._
import org.scalatest.matchers._

class BugTest extends wordspec.AnyWordSpec with should.Matchers {
  "can't compile" in {
    val `n1` = 42
    val `n2` = 44

    `n1` shouldBe `n1`
    `n2` shouldBe `n2`
  }

  "can compile 1" in {
    val `n1` = 42

    `n1` shouldBe `n1`
  }

  "can compile 2" in {
    val n1 = 42
    val n2 = 44

    n1 shouldBe n1
    n2 shouldBe n2
  }
}

and run scala-cli test Bar.scala

@pikinier20 thanks! Sorry to bump the thread just for "thanks!", but that is an especially good feature. I've meant to try scala-cli since I learned about it.

The message is slightly less provoking in 3.4.2 or at least more direct:
[error] 11 |    `n2` shouldBe `n2`
[error]    |                  ^^
[error]    |                  end of statement expected but identifier found

My previous comment did not go far enough. I propose the progressive elimination of all space in favor of backticks, a style I call spaceticks:
    `n1` shouldBe `n1`
    `n2` shouldBe `n2`

    `n1`shouldBe`n1`
    `n2`shouldBe`n2`

    n1`shouldBe`n1
    n2`shouldBe`n2


The latest 10.13 system brew is not available

The latest version of the 10.13 official system was installed, and a brew was installed
brew install homebrew/nginx/openresty
Updating Homebrew...
==> Tapping homebrew/nginx
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-nginx'...
remote: Counting objects: 71, done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 71 (delta 1), reused 44 (delta 0), pack-reused 0
Unpacking objects: 100% (71/71), done.

Update them from Software Update in the App Store.
But the brew cask usage is normal and the other command Line Tools must be up to date
Xcode9.0 is normally used

I recommend that you fill out the issue template that shows when you create a new issue as it said the following:
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.


Add initial scaffolding for Badge Documentation

Adds a docs/ed-fi-badges directory to serve as a baseline for other documentation sorces. This provides the following features:

The Ed-fi badge documentatiaon source is treated as its own doc plugin
URL slug and routing rules, and sidebar can be controlled at the doc product level
Versioning (if we should choose to add later) can be controlled on a per doc product level.
Use of category.json to control label and ordering of folders in the sidebar.
Using Frontmatter to prefix md files and add metadata lik title and sidebar_position to control how the page is displayed.

The goal of this PR is to review and develop the structure and reach a consensus. Pages that are added are WIP - static assets and QA process still need to be detailed

@roberthunterjr @chrisgocode please coordinate in Slack / Jira as you might accidentally be working on the same area of the site.

This PR is no longer needed.