Enable verbose flag when installing chainer in Jenkins

pip hides installation log for cmake/make etc. by default.

Let me trigger jenkins first to see the effect
Jenkins, test this please

Jenkins CI test (for commit ce207e46555a67b36927fbb663599d8d022db2dd, target branch master) succeeded!

Build info was shown correctly on Jenkins. LGTM


pluto: 5.10.5 -> 5.10.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/FairwindsOps/pluto/releases.
meta.description for pluto is: "Find deprecated Kubernetes apiVersions"
meta.homepage for pluto is: "https://github.com/FairwindsOps/pluto"
meta.changelog for pluto is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.10.6 with grep in /nix/store/imcgzang0p0rc3837acxspmi0b38h4f8-pluto-5.10.6
found 5.10.6 in filename of file in /nix/store/imcgzang0p0rc3837acxspmi0b38h4f8-pluto-5.10.6

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
pluto

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/imcgzang0p0rc3837acxspmi0b38h4f8-pluto-5.10.6 \
  --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 pluto https://github.com/r-ryantm/nixpkgs/archive/3897b361233c96f4ff267e598646f6d8f32c26ea.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/imcgzang0p0rc3837acxspmi0b38h4f8-pluto-5.10.6
ls -la /nix/store/imcgzang0p0rc3837acxspmi0b38h4f8-pluto-5.10.6/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

1 package built:

pluto

Maintainer pings
cc @peterromfeldhk for testing.

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

1 package built:

pluto


Video Classification issues

🐛 Bug
The example snippet in Readme seems to be broken
import os
from torch.utils.data.sampler import RandomSampler
import flash
from flash.core.data.utils import download_data
from flash.video import VideoClassificationData, VideoClassifier

# 1. Download a video clip dataset. Find more datasets at https://pytorchvideo.readthedocs.io/en/latest/data.html
download_data("https://pl-flash-data.s3.amazonaws.com/kinetics.zip")

# 2. Load the Data
datamodule = VideoClassificationData.from_folders(
    train_folder=os.path.join(flash.PROJECT_ROOT, "data/kinetics/train"),
    val_folder=os.path.join(flash.PROJECT_ROOT, "data/kinetics/val"),
    predict_folder=os.path.join(flash.PROJECT_ROOT, "data/kinetics/predict"),
    batch_size=8,
    clip_sampler="uniform",
    clip_duration=1,
    video_sampler=RandomSampler,
    decode_audio=False,
    num_workers=8,
)

# 3. Build the model
model = VideoClassifier(backbone="x3d_xs", num_classes=datamodule.num_classes, pretrained=False)

# 4. Create the trainer
trainer = flash.Trainer(max_epochs=3)

# 5. Finetune the model
trainer.finetune(model, datamodule=datamodule)

# 6. Save it!
trainer.save_checkpoint("video_classification.pt")

Bydefault dataset is downloaded to current directory however the snipped points it to PROJECT_ROOT directory i.e.,
os.path.join(flash.PROJECT_ROOT, "data/kinetics/train")

After updating the correct path, another issue that I am facing currently is
/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'pl-flash-data.s3.amazonaws.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
GPU available: True, used: False
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py:1294: UserWarning: GPU available but not used. Set the gpus flag in your trainer `Trainer(gpus=1)` or script `--gpus=1`.
  rank_zero_warn(
Uncaught exception
Traceback (most recent call last):
  File "main.py", line 30, in <module>
    trainer.finetune(model, datamodule=datamodule)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/flash/core/trainer.py", line 157, in finetune
    return super().fit(model, train_dataloader, val_dataloaders, datamodule)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 552, in fit
    self._run(model)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 911, in _run
    self._pre_dispatch()
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 940, in _pre_dispatch
    self._log_hyperparams()
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 969, in _log_hyperparams
    self.logger.save()
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/utilities/distributed.py", line 48, in wrapped_fn
    return fn(*args, **kwargs)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/loggers/tensorboard.py", line 250, in save
    save_hparams_to_yaml(hparams_file, self.hparams)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/pytorch_lightning/core/saving.py", line 405, in save_hparams_to_yaml
    yaml.dump(v)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/__init__.py", line 290, in dump
    return dump_all([data], stream, Dumper=Dumper, **kwds)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/__init__.py", line 278, in dump_all
    dumper.represent(data)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/representer.py", line 27, in represent
    node = self.represent_data(data)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/representer.py", line 52, in represent_data
    node = self.yaml_multi_representers[data_type](self, data)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/representer.py", line 342, in represent_object
    return self.represent_mapping(
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/representer.py", line 118, in represent_mapping
    node_value = self.represent_data(item_value)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/representer.py", line 52, in represent_data
    node = self.yaml_multi_representers[data_type](self, data)
  File "/home/nitin/github/video_classification/venv/lib/python3.8/site-packages/yaml/representer.py", line 330, in represent_object
    dictitems = dict(dictitems)
ValueError: dictionary update sequence element #0 has length 1; 2 is required

Environment
PyTorch Version (e.g., 1.0): 1.9.0
OS (e.g., Linux): Linux (Ubuntu 18.04)
How you installed PyTorch: pip
Python version: 3.8
CUDA/cuDNN version: 11.3
GPU models and configuration: GTX 1650
lightning-flash==0.4.0

Hi @imneonizer we've just started encountering this issue too, currently trying to debug :smiley: In the meantime it's possible you could fix it by installing an older version of PyTorch-Lightning

pytorch-lightning==1.3.0 is the latest one working for me

Hey @imneonizer after some debugging I've narrowed it down to the recent release of torchmetrics, so you should be able to get away with just installing torchmetrics<=0.5.0 to fix the error. I've opened PytorchLightning/metrics#492 to track it. On the flash side, I'll mark torchmetrics==0.5.1 as incompatible

Dear @imneonizer,
Any updates ?
Best,
T.C

@tchaton actually this issue can be closed, we now only support torchmetrics!=0.5.1 as that version has the error. @imneonizer please feel free to reopen this if you're issue isn't solved.

Dear @imneonizer,
Any updates ?
Best,
T.C

Yes changing the version did work out!


Updated homepage link in gemspec

Thanks for the gem, I'm using it in https://libraries.io 🍻

Thank you. Kind of hilarious this was still lurking here.


Add transformations that mimic weather changes

Some transformations from https://github.com/UjjwalSaxena/Automold--Road-Augmentation-Library
may be useful for street view problems, like self-driving. It would be nice to add some of them to the library.

[x] RandomShadow
[x] RandomSnow
[x] RandomRain
[x] RandomFog
[x] RandomSunFlare

Implemented in https://github.com/albu/albumentations/pull/235


Using topic message filter

I have deployed kafka-ui and able to a generic search by putting value, i wanted to use a bit advance filter by adding conditions
this is the message on the topic, and i wanted to search Id == TAG123 and Idx = 1400, however i cant make the add filter feature make it work. I am not sure about the syntax of this search. Could you please help me how can i add filters for TS and other fields in the message.
{
"Id": "TAG123",
"Idx": 1400,
"Val": 17.12,
"Qual": 1,
"TS": "2022-08-04T04:04:12.231Z"
}
appreciate any help

any help in this regards will be helpful

found this in the backlog https://github.com/provectus/kafka-ui/issues/2375


Deploying to Vercel

Any chance you could provide some guidance about deploying this to Vercel please?

Just in case anyone else needs it .. deployment to Vercel is actually very simple:

Add all the required ENVs

In settings:

Framework Preset: Other
Output Directory: dist
Root Directory: apps/storefront

You'll need to deploy each app, ie. storefront and studio, separately.


ci: add pr publish workflow

This PR to be able to publish a branch on demand by commenting a PR with /publish message. https://github.com/okp4/product/issues/590

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SplashScreen Issue (Force Close when call the webserivce)

Web service URL -  http://<IP_ADDRESS>/v1.2/4/shops
Issues is when returning the web service as  Error 500

I face the same problem !
Is it from the server ?


Fragment execution model required for derivative instructions

#996 covers cases: implicit Lod sampling, query Lod, OpKill

Done.


Add helm diff dependency version check

The helmfile diff command adds helm diff plugin detection.
fix #259
Signed-off-by: xiaomudk<EMAIL_ADDRESS>

@xiaomudk I will close this PR.


alluxio.user.file.readtype.default can not by set by user.

User can not set alluxio.user.file.readtype.default, it is CACHE by default.

@cenyuhai Please report any issue to the jira system https://alluxio.atlassian.net/secure/Dashboard.jspa.

@uronce-cc I can not create an account in that site.

@cenyuhai Can you post the question to the user mailing list  https://groups.google.com/forum/?fromgroups#!forum/alluxio-users ? Thanks.


Any plans for an update for 2.0?

Any plans for an update for 2.0?

Since there's 9000+ new items in the new 2.0 update, this will likely take some time.
I, personally, am looking to help update some content as well but I assume that Alexis will want to update everything all at once instead of just incrementally adding things to the API.
I mostly need villager updates :)


Disable Gradle Enterprise -> Develocity plugin deprecations - cherry-pick of #28909 to release

As requested by @wolfs
Original PR:

#28909

@bot-gradle merge


Update events.csv

brought in the added event via a quick cut and paste, since this pull request conflicted with another update to events.csv


How to run test case?

I hope to run test case after deploy.
Can you describe more about run test case.

+1

+1


Add info to the log file for artifact testing

We need to add the following info to the log in order to verify that the artifact was compiled correctly:
debug level
portable
version
compilation date
USE_RTTI

these two already exist in the LOG file:
version
compilation date


Extend BaseTables for MiqExpression

I am looking for a way to enable expression methods to query more objects in the vmdb database. By diging MangeIQ code, I found that MiqExpressions are configured via a file vmdb/condif/miq_expression.yaml
https://github.com/ManageIQ/manageiq/blob/master/lib/miq_expression.rb
I tried to add some BaseTables myself and they seem to work. The objects I am most interested in are

GenericObjects
GenericObjectDefinitons
CustomButtonEvents
CustomAttributes
Job

They all seem to work fine and I don't think adding those breaks any other part of the product. Is there a reasoning which objects go on that list and which ones don't? Would you accept a PR that adds those Objects (and maybe more) if they are tested?

@gtanzillo ?

@ThomasBuchinger If adding those classes is working fine for it would be great if you could push that up in a PR with some examples of how you're using it and we can take a look at it.

@gtanzillo
The only classes I need at the moment are GenericObjects. The others are just looks-like-they-would-be-nice-to-have 😃
However I noticed that not all classes work, mostnotablyy EventStreams, *Request and *Task (e.g. ServiceTemplateProvision, Automation) and I could not figure out why it fails. These classes raise a "No Method 'root' for true-class"-error.
The errors I am getting seem to be related to the class itself and not dependent on any particular query. Since you guys have to support it, once they are added I was wondering if the list is more or less arbitrary or if there is some reasoning behind it
Anyway, I am going to send a PR, but it is not very high on my todo-list, so it will probably take some time

@gtanzillo Has this been completed?  If not, can you unstale?

@Fryguy This has not been done as of yet, I'll unstale it

Because I was pinged by the bot, I am not working with ManageIQ anymore. So this can be closed from my side

Thank you.


fix(2494): Incidents: Add the ability to edit incident details

pr holder for incidents
Fixes #[replace brackets with the issue number that your pull request addresses].
Changes proposed in this pull request:

[list out summary of changes here]
[list out summary of changes here]
[list out summary of changes here]
[etc]

Newly added dependencies with Bundlephobia links:

[Link of the new dependency]
[Link of the new dependency]
[etc]

Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Provide tests for all code that you add/modify. If you add/modify any components update the storybook. Thanks! (you can delete this text)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @riiniii. Is this a WIP PR?

Hi @riiniii. Is this a WIP PR?

yes, it is. will add WIP next time!

@tehKapa some of the tests are not passing due to enzyme module not found on git... do you know how this error can be fixed? assuming this has to do w github and not mines as its a test running remotely

@riiniii I've tested locally and it doesn't work on my Mac either. Could you please show me a screenshot of the tests that run on your PC?

@riiniii Hi, can you sign the cla? Also, regarding the test failing, it might be that you are in a stale branch that hasn't completed the conversion to RTL. Perhaps you could run git merge and update this branch.

@riiniii Hi, can you sign the cla? Also, regarding the test failing, it might be that you are in a stale branch that hasn't completed the conversion to RTL. Perhaps you could run git merge and update this branch.

ok! shall try, ty!

@jameszheng405 closing this pr in favor of #2689 where i cherry picked the relevant commits from here + tests pass.


James/b/1657

#1657

Hi @IvanIlyichev, sorry it was a small oversight. I've fixed the unused imports

@IvanIlyichev  the changes have been implemented


Merge AuthRegister and AuthSignIn

Can be combined into one method to decrease Bloc surface area

This is obsolete.


Don't show the restart button on Android

Fixes #2672

This change is

This seems very fragile since we're checking something totally unrelated to the actual functionality.
Any way to use something like https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/#deviceplatform or add a property to the browser api for whether restart is supported on the platform?

There are some other changes being made for Android only, e.g. https://github.com/uProxy/uproxy/pull/2656/files to hide the cloud-deployment button on Android.  I think it would be good to have some consistent design here.  My suggestion is adding properties to the *_browser_api files like canRestart or canDeployCloud, etc.
@jpevarnek thoughts?

:thumbsup:
@dborkan seems like a good idea

Without being overly familiar with that code, +1 to extending BrowserAPI.


Scope required for scim2/Bulk for user creation are incomplete in documentation

Is your suggestion related to a missing or misleading document? Please describe.

In Identity server 5.11 scim2/Bulk api specification [1] includes required scopes as  internal_user_mgt_create
But it includes more scopes to create users in bulk using this endpoint.
Describe the improvement

Scope required:

internal_user_mgt_create
internal_user_mgt_list
internal_user_mgt_view
internal_user_mgt_delete

Optional Fields
Additional context

[1] - https://is.docs.wso2.com/en/5.11.0/develop/scim2-rest-apis/#/Bulk Endpoint/createBulkUsers
Related Issues:

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


json::serialization: intro services to easily serialize to and from Json

The services to_json_string and from_json_string should be useful for simple scripts. Both services report errors only on the console. This behavior is enough for simple scripts but more complex programs should still use Serializer and Deserializer services.
This methods may look a lot like to_json and to_plain_json. I plan to replace to_json with either to_plain_json to preserve the same behavior but with support for all serializable classes, or to_json_string to get JSON with metadata. Note that even if the output contains metadata, it is readable by external tools with a small overhead.
If you have a better idea for the names, please mention it. For my part, I consider these names temporary until we free the to_json names...

Rerolled with reviewed doc. The Serializer class does not offer a proper error API, so I removed the related doc on to_json_string. And from_json_string states how errors are displayed.

+1


[Bug Report] Select Component not work with latest Vue

Element UI version
1.2.9
OS/Browsers version
Window/Chrome
Vue version
2.3.2
Reproduction Link
https://jsfiddle.net/6s4bs9rj/
Steps to reproduce
Choose any select option
What is Expected?
Label is shown after choose any option
What is actually happening?
Label is not shown after choose any option

Slider component won't work either.

@dupeiduo  It seems a fixed version Vue is a better practice :)

Tested<EMAIL_ADDRESS>is the last success build for Select Component.

+1  Element UI 1.2.8 have same problems

Now you can upgrade to Element 1.3.x


I use require in  Image tag，but it does not work。

<Image source={require('image!back_button')} style={Styles.backButton} />

run without any error , but the image did not show ？
how can i resolve it?
thanks!

now , it has been resolved . but , i think you should make a demo for this。otherwise, someone maybe do not konw how to use！

you will set width and height

need Images.xcassets folder and  xx.imageset

@imochen The problem here is obviously not like this，If the picture is not in Images.xcassets which then displays an error, instead of not displaying an error


Error getting local group members when at least one has an orphaned SID

Bug description
Members of a Local Group are not enumerated and left blank if that group contains an entry with an orphaned SID.
When Get-LocalGroupMember is run (eg: Get-LocalGroupMember -Name 'Administrators')
This errors in the background with:
Get-LocalGroupMember : Failed to compare two elements in the array.
It seems this is a known bug with Get-LocalGroupMember in powershell 5.x
These errors can be seen from line 113 and 114 of AsBuiltReport.Microsoft.Windows\Src\Public\Invoke-AsBuiltReport.Microsoft.Windows.ps1:
$LocalGroups = Invoke-Command -Session $TempPssSession { Get-LocalGroup | Where-Object {$_.PrincipalSource -ne "ActiveDirectory" } | ForEach-Object { [PSCustomObject]@{ GroupName = $_.Name;  Description = $_.Description; Members = (Get-LocalGroupMember -Group $_.Name).Name } }}
$LocalAdmins = Invoke-Command -Session $TempPssSession { Get-LocalGroupMember -Name 'Administrators' -ErrorAction SilentlyContinue }

On one of my sample Windows Server 2019 servers, the local Administrators group had a member that was orphaned.
So the Administrators group members showed as blank in the "Local Groups" section, and "Local Administrators" was completely missing, as the members would have evaluated to null.
I've managed to find a way around this.
I created a custom powershell module that uses Get-CIMInstance to evaluate the group members (and output in the same format as Get-LocalGroupMember, then updated the lines 113 and 114 above to run my custom Get-LocalGroupMembers function.
Would you like me to provide this function and the updated code?
If so, where should i keep that function? A custom PS module, or just a function within Invoke-AsBuiltReport.Microsoft.Windows.ps1?
Command-line input
New-AsBuiltReport -Report Microsoft.Windows -Target $Computername -Format Html,Word -Credential $Creds -ReportConfigFilePath 'C:\tmp\AsBuiltReport.Microsoft.Windows.json' -AsBuiltConfigFilePath 'C:\tmp\G\AsBuiltreport.json' -OutputFolderPath C:\Tmp\Output -Verbose
Steps to reproduce
Create a temporary user in AD
On a Windows Member Server, add that AD user as a member of the Local Administrators Group
Delete that user within AD (you may have to purge the AD recycle bin for this to show as orphaned, i'm unsure exactly how to force this)
Run the Microsoft.Windows AsBuilt Report against the server, ensuring that Infolevel.Account is set to at least 1 (default)
If you also run Get-LocalGroupMember -Name 'Administrators' will will give an error:
Get-LocalGroupMember : Failed to compare two elements in the array.
Expected behaviour
When Get-LocalGroupMember is run (eg: Get-LocalGroupMember -Name 'Administrators')
This errors in the background with:
Get-LocalGroupMember : Failed to compare two elements in the array.
In the AsBuilt report, the Administrators group members will be blank in the "Local Groups" section, and "Local Administrators" will be completely missing.
Screenshots
No response
Operating System
My main test host was Windows Server 2019 Standard
Confirmed the workaround works against Windows Server 2012 R2, Server 2016 and Server 2019
PowerShell Version
Name                           Value

PSVersion                      5.1.17763.5933
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.5933
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
PowerShell Modules
Name                            Version

AsBuiltReport.Core              1.4.0
AsBuiltReport.Microsoft.Windows 0.5.4
PScribo                         0.10.0
Additional Context
No response
Before submitting

[X] I have read and followed the bug reporting guidelines.
[X] I have read the documentation, and referred to the known issues before submitting this bug report.
[X] I have checked for previously opened & closed issues before submitting this bug report.

I'm able to reproduce the bug
PS C:\Users\administrator> Get-LocalGroupMember -Group Administrators
Get-LocalGroupMember : Failed to compare two elements in the array.
At line:1 char:1
+ Get-LocalGroupMember -Group Administrators
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-LocalGroupMember], InvalidOperationException
    + FullyQualifiedErrorId : An unspecified error occurred.,Microsoft.PowerShell.Commands.GetLocalGroupMemberCommand

Would you like me to provide this function and the updated code?

Yes.

If so, where should i keep that function? A custom PS module, or just a function within Invoke-AsBuiltReport.Microsoft.Windows.ps1?

You can add the custom function to the SharedUtilsFunctions.ps1 file.

Thanks.

This turned out to be a much more difficult issue to resolve than I thought.
I ended up finding some code that got the local administrators that was created years back by another author
Is it ok that we use this?
I've tested it, it seems to work well and I have a version ready for a pull request
The function to get the members of the local groups is from here:
https://github.com/proxb/PowerShell_Scripts/blob/master/Get-LocalGroupMembership.ps1
I've had to make changes to Invoke-AsBuiltReport.Microsoft.Windows.ps1 so that it uses the new function also.

I've tried a pull request but i'm getting an error.
I have no idea why.
Are you able to see the error in the pull request and advise please?:  https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Windows/pull/32

I've tried a pull request but i'm getting an error. I have no idea why. Are you able to see the error in the pull request and advise please?: https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Windows/pull/32

The error is related to github permission and not related to your commit. Done merging the Pull Request.
Thanks!


{'loss': 0.0, 'learning_rate': 1.6877637130801689e-07, 'epoch': 0.0}

{'loss': 2.1559, 'learning_rate': 8.438818565400844e-08, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 1.6877637130801689e-07, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 2.5316455696202533e-07, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 3.3755274261603377e-07, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 4.219409282700422e-07, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 5.063291139240507e-07, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 5.907172995780591e-07, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 6.751054852320675e-07, 'epoch': 0.0}
{'loss': 0.0, 'learning_rate': 7.59493670886076e-07, 'epoch': 0.0}

During the pre-training phase, I can obtain the correct loss convergence. However, in the finetuning stage, except for the first iteration, the rest of the losses are all 0.0. Could you please tell me where the problem might be?

I would like to know what version of transformers you use and what's your run command?

I would like to know what version of transformers you use and what's your run command? Any warnings during the run?

transformer-engine            1.2.0+c9f2b5e
transformers                  4.37.1
transformers-stream-generator 0.0.4

command
bash scripts/v1_5/phi2/finetune.sh
or
bash scripts/v1_5/qwen/finetune.sh

No warnings except
[2024-01-30 09:49:32,552] [WARNING] [runner.py:202:fetch_hostfile] Unable to find hostfile, will proceed with training with local resources only.

I'm sorry we weren't able to reproduce your error. By the way when did you pull your code. We did have some minor bug fixes in the last few days. can you pull the latest code and try it?

Inactive, close it. Feel free to open.

I'm sorry we weren't able to reproduce your error. By the way when did you pull your code. We did have some minor bug fixes in the last few days. can you pull the latest code and try it?

The problem is resolved after the deepspeed and accelerate versions are corrected. The previous deepspeed version is the latest version

I got error like this:
AssertionError: The model has moe layers, but None of the param groups are marked as MoE. Create a param group with 'moe' key set to True before creating optimizer

Should I do anything before running stage3, such as convert the model

Can not zero3 with MoE. https://github.com/microsoft/DeepSpeed/issues/2870
You can use zero2_offload.json to support bigger batch size.

Can not zero3 with MoE. microsoft/DeepSpeed#2870 You can use zero2_offload.json to support bigger batch size.

but Im using this config scripts/zero2.json

Can you check whether the model goes into this if branch?
It should be executed when moe is turned on.
https://github.com/PKU-YuanGroup/MoE-LLaVA/blob/main/moellava/train/llava_trainer.py#L221

Can you check whether the model goes into this if branch?
It should be executed when moe is turned on.
https://github.com/PKU-YuanGroup/MoE-LLaVA/blob/main/moellava/train/llava_trainer.py#L221

I think it's in the right line

Sorry, this issue has already finished. Could you raise a new issue and post your command & transformers version & deepspeed version & torch version. Thanks.

It's okay. I'll check my codes first. Happy Friday

Sorry, this issue has already finished. Could you raise a new issue and post your command & transformers version & deepspeed version & torch version. Thanks.

It's okay. I'll check my codes first. Happy Friday

That's our mistake. Checking out this issue.
https://github.com/PKU-YuanGroup/MoE-LLaVA/issues/17#issuecomment-1925237894


Error while trying to run Persistent Mode

docker run --rm -it -p "8000:8000" -v "/Users:/opt/stellar" --name stellar stellar/quickstart --testnet
running `/start --testnet'
pids are [5]
Starting Stellar Quickstart
mode: persistent
network: testnet (Test SDF Network ; September 2015)
rsync: mkdir "/opt/stellar/postgresql" failed: Permission denied (13)
rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1]
exited 5

Do we need to use  Persistent Mode to work with supervisord?

@ekryski do you happen to remember how you solved init-horizon-db: failed! ?
I am currently getting a similar but different error:
running `/start'
pids are [7]

Starting Stellar Quickstart

mode: persistent
network: testnet (Test SDF Network ; September 2015)
postgres: config directory exists, skipping copy
supervisor: config directory exists, skipping copy
stellar-core: config directory exists, skipping copy
horizon: config directory exists, skipping copy
postgres: already initialized
core: already initialized
chown-horizon: ok
Waiting for postgres to be available...
postgres: up
init-horizon-db: failed!

2019/06/20 15:23:51 connect failed: pq: password authentication failed for user "stellar"
exited 7

I'm also having issues here although not with postgres. Ran with:
docker run --rm -it --name stellar-node -p 8000:8000 -p 11625:11625 -v /mnt/media/blockchain/stellar:/opt/stellar stellar/quickstart --pubnet

Resulted in
running `/start --pubnet'
pids are [7]

Starting Stellar Quickstart

mode: persistent
network: pubnet (Public Global Stellar Network ; September 2015)
postgres: config directory exists, skipping copy
supervisor: config directory exists, skipping copy
stellar-core: config directory exists, skipping copy
horizon: config directory exists, skipping copy
postgres user: stellar
Enter New Postgresql Password:
Confirm:
finalize-pgpass: ok
init-postgres: ok
Waiting for postgres to be available...
postgres: up
create-horizon-db: ok
create-core-db: ok
stellar-postgres-user: ok
chown-core: ok
finalize-core-config: ok
init-core-db: ok
chown-horizon: ok
init-horizon-db: failed!

sudo: unable to execute ./bin/horizon: Permission denied
exited 7

Any help here would be awesome.
Also, the Docker container totally hangs when the init script errors and you have to force remove. IMHO there is too much happening inside the single docker container. Should be better split up using Docker Compose like in #22.

I also have the same issue like you on Azure Kubernetes Service, but locally it works normally...


ArgumentError: Invalid Int64: "18446744073709551615" when parsing lcov file

What was wrong?
I switched from the 1.0.6 version of the Coveralls CircleCI Orb to the latest 2.1.1 version and started getting the above in my CI jobs.  The new orb uses this project instead of the old node-coveralls project.
It appears that because the parsing of the file uses an Int64 for something (not sure what tbh), it fails to parse some number.
Logs
coveralls-linux.tar.gz: OK
Parsing args
Dry run - 0
Reporting coverage
+ ./coveralls --file /root/repo/lcov-app.info --format lcov

⠀⠀⠀⠀⠀⠀⣿
⠀⠀⠀⠀⠀⣼⣿⣧⠀⠀⠀⠀⠀⠀⠀ ⣠⣶⣾⣿⡇⢀⣴⣾⣿⣷⣆ ⣿⣿⠀⣰⣿⡟⢸⣿⣿⣿⡇ ⣿⣿⣿⣷⣦⠀⠀⢠⣿⣿⣿⠀⠀⣿⣿⠁⠀⣼⣿⡇⠀⢀⣴⣾⣿⡷
⠶⣶⣶⣶⣾⣿⣿⣿⣷⣶⣶⣶⠶  ⣸⣿⡟ ⠀⢠⣿⣿⠃⠈⣿⣿⠀⣿⣿⢠⣿⡿⠀⣿⣿⣧⣤⠀⢸⣿⡇⣠⣿⡿⠀⢠⣿⡟⣿⣿⠀⢸⣿⡿⠀⠀⣿⣿⠃⠀⢸⣿⣧⣄
⠀⠀⠙⢻⣿⣿⣿⣿⣿⡟⠋⠁⠀⠀ ⣿⣿⡇⠀ ⢸⣿⣿⠀⣸⣿⡟⠀⣿⣿⣾⡿⠁ ⣿⣿⠛⠛⠀⣿⣿⢿⣿⣏⠀⢀⣿⣿⣁⣿⣿⠀⣾⣿⡇⠀⢸⣿⡿⠀⠀⡀⠙⣿⣿⡆
⠀⠀⢠⣿⣿⣿⠿⣿⣿⣿⡄⠀⠀⠀ ⠙⢿⣿⣿⠇⠈⠿⣿⣿⡿⠋⠀⠀⢿⣿⡿⠁⠀⢸⣿⣿⣿⡇⢸⣿⣿⠀⣿⣿⣄⣾⣿⠛⠛⣿⣿⢠⣿⣿⣿ ⣼⣿⣿⣿ ⣿⣿⡿⠋
⠀⢀⣾⠟⠋⠀⠀⠀⠙⠻⣷⡀

  v0.3.9

✏ Forced coverage format: lcov
📄 Using coverage file: /root/repo/lcov-app.info
Could not process tracefile: /root/repo/lcov-app.info
ArgumentError: Invalid Int64: "18446744073709551615"

Hey! Could you send the lcov-app.info, please, so I could check what is being parsed? There might be an edge case I haven't taken into account.

Hey @josegonzalez, can you share your lcov-app.info, please?

Yes I can! Is there some way I can send it to you securely? I don't know if this will include code information from the codebase and it's from a private repository.

For sure, my email is<EMAIL_ADDRESS>

I sent a Gdrive attachment from<EMAIL_ADDRESS>

Thank you! Your report helped me to figure out the issue. Please check v0.4.6 version!


Bondsmith Honorblade

The Bondsmith Honorblade now has a model and texture
Changes proposed in this pull request:

I'll remove the shardplate changes after merging :)


Modification due to Labi

There is a list of documentation error you need to fix before merging this PullRequest :

Sparkle/src/design_pattern/spk_event_manager.hpp:9
Compound spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:12
Member Callback (typedef) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:13
Member Contract (typedef) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:24
Member subscribe(const TEventType &p_event, const Callback &p_callback) (function) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:35
Member notify(const TEventType &p_event) (function) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_notifier.hpp:150
Member Notifier(const Notifier &p_other) (function) of class spk::Notifier is not documented.

Sparkle/src/design_pattern/spk_notifier.hpp:152
Member operator=(const Notifier &p_other) (function) of class spk::Notifier is not documented.

Sparkle/src/design_pattern/spk_singleton.hpp:51
Member _instance (variable) of class spk::Singleton is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:118
Member type() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:126
Member nearPlane() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:134
Member farPlane() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:144
Member fov() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:154
Member aspectRatio() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:164
Member orthographicSize() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/spk_game_object.hpp:77
Member GameObject(const GameObject &p_other) (function) of class spk::GameObject is not documented.

Sparkle/src/game_engine/spk_game_object.hpp:78
Member operator=(const GameObject &p_other) (function) of class spk::GameObject is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:207
Member clear() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:236
Member clearPoints() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:265
Member clearUVs() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:294
Member clearNormals() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:325
Member clearIndexes() (function) of class spk::Mesh is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/math/spk_vector3.hpp:428
Member xy() (function) of interface spk::IVector3 is not documented.

Sparkle/src/math/spk_vector3.hpp:433
Member xz() (function) of interface spk::IVector3 is not documented.

Sparkle/src/math/spk_vector3.hpp:438
Member yz() (function) of interface spk::IVector3 is not documented.

There is a list of documentation error you need to fix before merging this PullRequest :

Sparkle/src/design_pattern/spk_event_manager.hpp:9
Compound spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:12
Member Callback (typedef) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:13
Member Contract (typedef) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:24
Member subscribe(const TEventType &p_event, const Callback &p_callback) (function) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:35
Member notify(const TEventType &p_event) (function) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_notifier.hpp:150
Member Notifier(const Notifier &p_other) (function) of class spk::Notifier is not documented.

Sparkle/src/design_pattern/spk_notifier.hpp:152
Member operator=(const Notifier &p_other) (function) of class spk::Notifier is not documented.

Sparkle/src/design_pattern/spk_singleton.hpp:51
Member _instance (variable) of class spk::Singleton is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:118
Member type() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:126
Member nearPlane() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:134
Member farPlane() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:144
Member fov() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:154
Member aspectRatio() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/component/spk_camera_component.hpp:164
Member orthographicSize() const (function) of class spk::Camera is not documented.

Sparkle/src/game_engine/spk_game_object.hpp:77
Member GameObject(const GameObject &p_other) (function) of class spk::GameObject is not documented.

Sparkle/src/game_engine/spk_game_object.hpp:78
Member operator=(const GameObject &p_other) (function) of class spk::GameObject is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:207
Member clear() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:236
Member clearPoints() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:265
Member clearUVs() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:294
Member clearNormals() (function) of class spk::Mesh is not documented.

Sparkle/src/game_engine/spk_mesh.hpp:325
Member clearIndexes() (function) of class spk::Mesh is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/math/spk_vector3.hpp:428
Member xy() (function) of interface spk::IVector3 is not documented.

Sparkle/src/math/spk_vector3.hpp:433
Member xz() (function) of interface spk::IVector3 is not documented.

Sparkle/src/math/spk_vector3.hpp:438
Member yz() (function) of interface spk::IVector3 is not documented.

There is a list of documentation error you need to fix before merging this PullRequest :

Sparkle/src/design_pattern/spk_event_manager.hpp:31
Member Callback (typedef) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_event_manager.hpp:32
Member Contract (typedef) of class spk::EventManager is not documented.

Sparkle/src/design_pattern/spk_notifier.hpp:150
Member Notifier(const Notifier &p_other) (function) of class spk::Notifier is not documented.

Sparkle/src/design_pattern/spk_notifier.hpp:152
Member operator=(const Notifier &p_other) (function) of class spk::Notifier is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:157
Member Texture(Texture &&p_other) (function) of class spk::Texture is not documented.

Sparkle/src/graphics/texture/spk_texture.hpp:158
Member operator=(Texture &&p_other) (function) of class spk::Texture is not documented.

There is a list of documentation error you need to fix before merging this PullRequest :

Sparkle/src/data_structure/spk_pool.hpp:41
Member Allocator (typedef) of class spk::Pool is not documented.

Sparkle/src/data_structure/spk_pool.hpp:80
Member editAllocator(const Allocator &p_allocator) (function) of class spk::Pool is not documented.

Sparkle/src/data_structure/spk_pool.hpp:85
Member allocate() (function) of class spk::Pool is not documented.

Sparkle/src/data_structure/spk_pool.hpp:69
argument 'p_poolSize' of command @param is not found in the argument list of spk::Pool< TType >::Pool(const Allocator &p_allocator={return(new TType());})

Sparkle/src/data_structure/spk_pool.hpp:74
The following parameter of spk::Pool::Pool(const Allocator &p_allocator={return(new TType());}) is not documented:
parameter 'p_allocator'

Sparkle/src/game_engine/spk_game_object.hpp:185
Member components() const (function) of class spk::GameObject is not documented.

Sparkle/src/data_structure/spk_pool.hpp:69
argument 'p_poolSize' of command @param is not found in the argument list of spk::Pool< TType >::Pool(const Allocator &p_allocator={return(new TType());})

Sparkle/src/data_structure/spk_pool.hpp:74
The following parameter of spk::Pool::Pool(const Allocator &p_allocator={return(new TType());}) is not documented:
parameter 'p_allocator'

There is a list of documentation error you need to fix before merging this PullRequest :

Sparkle/src/data_structure/spk_pool.hpp:41
Member Allocator (typedef) of class spk::Pool is not documented.

Sparkle/src/data_structure/spk_pool.hpp:80
Member editAllocator(const Allocator &p_allocator) (function) of class spk::Pool is not documented.

Sparkle/src/data_structure/spk_pool.hpp:85
Member allocate() (function) of class spk::Pool is not documented.

Sparkle/src/data_structure/spk_pool.hpp:69
argument 'p_poolSize' of command @param is not found in the argument list of spk::Pool< TType >::Pool(const Allocator &p_allocator={return(new TType());})

Sparkle/src/data_structure/spk_pool.hpp:74
The following parameter of spk::Pool::Pool(const Allocator &p_allocator={return(new TType());}) is not documented:
parameter 'p_allocator'

Sparkle/src/game_engine/spk_game_object.hpp:185
Member components() const (function) of class spk::GameObject is not documented.

Sparkle/src/widget/spk_widget.hpp:82
Member _onGeometryChange() (function) of class spk::IWidget is not documented.

Sparkle/src/widget/spk_widget.hpp:84
Member _onRender() (function) of class spk::IWidget is not documented.

Sparkle/src/widget/spk_widget.hpp:86
Member _onUpdate() (function) of class spk::IWidget is not documented.

Sparkle/src/data_structure/spk_pool.hpp:69
argument 'p_poolSize' of command @param is not found in the argument list of spk::Pool< TType >::Pool(const Allocator &p_allocator={return(new TType());})

Sparkle/src/data_structure/spk_pool.hpp:74
The following parameter of spk::Pool::Pool(const Allocator &p_allocator={return(new TType());}) is not documented:
parameter 'p_allocator'


Remove All keyword from documentation expectations

The actual assertion no longer uses the All keyword when asserting that a method or property is documented, this just fixes the docs to be in line with the src/Expectation.php class.
Direct link to the methods:

#toHaveMethodsDocumented
#toHavePropertiesDocumented

Thanks!


[enhancement]: NSFW Checker: Unblur button

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
discord: bakusho_tentei
What should this feature add?
Basically instead of the NSFW checker permanently saving blurred and attention-marked images in the output folder, it could instead also apply the blur on the browser and offer a switch to unblur, so people can selectively see NSFW images rather than just an all or nothing. platforms like pixai or civitai have been doing this and it's pretty useful.
Alternatives
No response
Aditional Content
No response

It is a safety issue. StableDiffusion can easily (and sometimes unrequested) generate images which are highly illegal to own in some jurisdictions. Simply having such images in some technical folder that a user does not know about can (and did in the past) grant the PC owner a lengthy jail time.
With NSF checker on the "bad" images should not be saved to disk, and this is a requirement to produce the feature you ask. So I'd vote against it.

it shouldnt be a "highly technical" folder, also it might be possible to have both options, basically having a method to completely ax the image and one that allows to save them.
alternatively one could keep freshly generated nsfw images in ram, allow unblur from there where one can decide to save or not to save,


Added the ability to connect to a pre-defined HCS topic from the .env.

Added a .env.sample file and changed the inquirer to default to creating a new topic.
Also added the ability to connect to a pre-existing topic defined either in the .env, or during the startup configuration.
The README was also update to reflect these changes.

I removed the PUBLIC_KEY from .env as it seemed redundant.


pip install incompleted

After trying to start  python3 -m mbtiles_s3_server
I got
FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>osm-bright-gl-style is missing
ubuntu@osm:~$ sudo find /usr/local/lib/python3.10/ -name style.json
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

using python 3.10 on ubuntu 22.04

Can reproduce the issue - investigating

Fixed in v0.0.12 (Feel free to re-open if it's still an issue)


Scrollable Window Contents Overflow.

Hello.
I was hacking around and put a bunch of widgets in a container::Window, mostly in vertical arrangement.
The content is overflowing the Window, where the Window frame itself is correct, but some of the context is still visible (separators, images). Other content, like text is clipped properly.
I checked the EGUI demo and the Window's and scrollable content was clipped well enough, so this could very well be pilot error on my part but I'm not 100% sure.

What integration are you using? It seems likely that the bug is there, as this works in the egui online demo, as you mentioned.

What integration are you using? It seems likely that the bug is there, as this works in the egui online demo, as you mentioned.

I'm using the WGPU integration (egui @ v0.8.0, wgpu @ v0.6.0).

I'm using the WGPU integration (egui @ v0.8.0, wgpu @ v0.6.0).

Found issue in backend as suspected (scissor rect not quite right).
Closing.

Found issue in backend as suspected (scissor rect not quite right).
Closing.


Fix a C++11/14 compatibility issue. [phab:D88]

Created by fromberger at 2015-02-24 14:25:51:

jdennett accepted this revision at 2015-02-24 18:07:13

fromberger closed via commit f06deb7f3bdea7e00132ae253d5aec184146f608 at 2015-02-24 18:09:55

fromberger closed via commit 3dbfcda9d773a3400358551c3456a8a7a6aca323 at 2015-02-24 18:09:55


added sinmatic menu and some comments. Adjust PID bar sizes

Needs to be reformatted and have better alignment of added buttons.
Destroys functionality of already defined tabs especially log tab.
Badly conditioned for small devices.

[ ] change from sm-4 to md-4 or it will be have strange behavior on VOF card
[ ] test to include side by side the options card with info card.
[ ] add clear ID names. What is "sin"
[ ] Buttons should be inside bootstrap columns div to be responsive and visual appealing. Use col-8 and col-4 to separate buttons from text, with text aligned left and button centered.


feat: balance chart data

Description

fixes price charts
adds balance charts
fixes tx history for erc20s
adds usePortfolioAssets hook
adds useCAIP19Balances hook for sanity and backwards compatibility.

Notice
Before submitting a pull request, please make sure you have answered the following:

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] Do all new and existing tests pass? Does the linter pass?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
closes #3
Testing
Please outline all testing steps

test your portfolio against a known good source
make a PR to fix any bugs in my code

Screenshots (if applicable)

merging as reviewed in person with @kaladinlight and @natven


help: Document mobile app long-press actions "Copy link to stream" and "Cop…

…y link to topic".
Hyphenate "long-press" in star-a-message.md.

Fixes: #22197

Thanks for submitting the PR! Could you please update your commit message according to https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages, including adding a "help:" prefix to the commit title?

Could you explain why you decide to add a hyphen to "long press"? Some light googling suggests that writing with a space is common -- is there a reference you're using?

Could you also clarify what you had in mind for the "Streams" view? It's likely not to be clear to a user, since the app doesn't have a view with such a name explicitly written out, so we probably need a more specific explanation.

The words "long-press" combined describe an action similar to "right-click"; the two words are a compound verb describing a singular action; the hyphenated form is used more frequently in Zulip topics; and is more common than "long press" in publishing.
The compound verb argument I believe most strongly argues the case, and I believe that for less-experienced users and for those with English as a second language, is more easily understood.
https://chat.zulip.org/#narrow/streams/public/search/long.20press
https://books.google.com/ngrams/graph?content=(long-press)%2Clong+press&year_start=1800&year_end=2000&corpus=15

Regarding "Streams view," React Native refers to these pages/screens/views as "views." I have no particular opinion as to which is the most appropriate term, but note that "view" is very commonly used throughout the project.
This view is labelled in the mobile UI, and is located on the view selector at the bottom of every view.
I should have used bold face for the word "Streams," as that is the standard when referencing UI elements. Easily corrected.

I see in drrosa's #22158 the language "Press and hold the topic bar to access the long-press menu." I very much like that wording, and would like to see it used throughout the documentation.
I chose my wording ("Long-press on the topic title.") to mirror the phrasing that is used in the desktop/web descriptions for my assigned help topic. I think mobile users will intuitively understand it, but I prefer drrosa's explicit instruction.
I would prefer "topic title" over "topic bar," though; although the almost entire width of the "bar" is active, I think "title" is more easily understood. The "bar" includes several icons that, when long-pressed, do not open the long-press menu.

I see in drrosa's #22158 the language "Press and hold the topic bar to access the long-press menu." I very much like that wording, and would like to see it used throughout the documentation.
I chose my wording ("Long-press on the topic title.") to mirror the phrasing that is used in the desktop/web descriptions for my assigned help topic. I think mobile users will intuitively understand it, but I prefer drrosa's explicit instruction.
I would prefer "topic title" over "topic bar," though; although the almost entire width of the "bar" is active, I think "title" is more easily understood. The "bar" includes several icons that, when long-pressed, do not open the long-press menu.

#22158 has just been merged, so we should update this PR to just address https://github.com/zulip/zulip/issues/22197 (the stream part).
Similarly to #22158 and as described in the issue, let's split out the instructions for how to access the long-press streams menu into a file we can include, so that we're not copy-pasting it everywhere:

Instructions for accessing the long-press menu should be added using macros in templates/zerver/help/include for reusability.

This view is labelled in the mobile UI, and is located on the view selector at the bottom of every view.

Sorry, can you clarify where you see a label? We have the # button on the bottom, but no title bar for the Streams view, so I was thinking we may need to describe the button explicitly.

On my device (iPadOS) the Streams view is labelled "# Streams".

It seems to me that this particular help file is miscategorized. On the help sidebar it is under "Reading Messages" but it deals with Streams and Topics as well. To me, it makes sense to reduce this help file to address only messages; and to add a new help file under "Streams and Topics" that contains the relevant content.
This branch of my repo is so borked that I think I'd best delete it and start again after #22197 is updated. If you agree that the subject should be split between the "Reading Messages" and "Streams and Topics" sidebar headings, I'm prepared to implement that change.

On my device (iPadOS) the Streams view is labelled "# Streams".

Ah, that explains it! I think we do that on tablets; on phones (the vast majority of our mobile app users), it's just the #.

It seems to me that this particular help file is miscategorized. On the help sidebar it is under "Reading Messages" but it deals with Streams and Topics as well. To me, it makes sense to reduce this help file to address only messages; and to add a new help file under "Streams and Topics" that contains the relevant content.

Hmm, that's a good point -- I can see splitting this into two articles as you suggest, probably titled "Link to a message" and "Link to a stream or topic".
The placement of the message article in the index is a bit awkward regardless, because linking to a message is not exactly a reading messages activity. But since links can be used outside of Zulip, it's not a sending messages activity either, so I'm not sure what's best.
@timabbott @laurynmm what do you think?

I did not expect my checkin to automagically start a merge. You may need to roll back my changes (sigh.)

No need to worry about causing problems -- since you don't have permissions to merge code into the main branch of zulip/zulip, any changes you make only affect your personal branch. If it ends up being easiest to start a new branch from the upstream code rather than resolving conflicts, that's totally fine.

Ah! I'll install Zulip on a phone, then. It makes sense that the more limited screen width would require adaptation.
I have the changes for splitting out the help into two separate items. Set me up with a new issue # after you get Tim & Lauryn's feedback and I'll submit the PR.
Another task I'd like to tackle is to write a style (grammar) guide. It'll make it easier to have consistent phrasing throughout the documentation. I'll be wanting to address issues like the use of "select" instead of "tap" and "click": the latter are not always accurate. For instance, my laptop has a touchscreen, so where the desktop docs say "click" I'd actually be tapping; and if I were using assistive technologies, I wouldn't be tapping or clicking.

Lacking feedback, I'm going to go for it. Closing this PR; will split the help doc and submit new PR.


Fixing IDENTITY-3489

Could you please create a Carbon jira for this.

Reviewed. Can merge.

Hi @IsuraD,
This PR is being held until we release 4.4.2 (until release-4.4.2 branch is being merged with the 4.4.x branch). This is to avoid any possible merge conflicts.

This PR is merged to release-4.4.2 with https://github.com/wso2/carbon-kernel/commit/13830e731af7161fcf926d62c4bd38d35f16eed3
release-4.4.2 will be merged to 4.4.x branch once 4.4.2 is released. Hence closing this PR.


Improve playlist-size-error message

Show error which users can understand when playlist is too large.

Thanks for that!


Dist refresh workflow does not trigger tests after pushing

On https://github.com/web-platform-dx/web-features/pull/1304, after the push and the label was removed, the checks don't start. This is almost certainly because a push by GitHub Actions cannot trigger another GitHub Actions workflow.
The workaround is to close and reopen the PR.
@ddbeck FYI

@tidoust and I faced the same problem in https://github.com/web-platform-dx/web-features-explorer/pull/14

Yeah, I've been banging my head against this problem. Maybe y'all would have a look at https://github.com/web-platform-dx/web-features/issues/1158 and give your thoughts on approaches there?


python310Packages.pex: 2.1.153 -> 2.1.156

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pex is: Python library and tool for generating .pex (Python EXecutable) files
meta.homepage for python310Packages.pex is: https://github.com/pantsbuild/pex
meta.changelog for python310Packages.pex is: https://github.com/pantsbuild/pex/releases/tag/v2.1.156
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.1.156 with grep in /nix/store/9dck54wxyyyaihx29ck0sv2zznvgdm9a-python3.10-pex-2.1.156
found 2.1.156 in filename of file in /nix/store/9dck54wxyyyaihx29ck0sv2zznvgdm9a-python3.10-pex-2.1.156

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pex
python311Packages.pex

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9dck54wxyyyaihx29ck0sv2zznvgdm9a-python3.10-pex-2.1.156 \
  --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.pex https://github.com/r-ryantm/nixpkgs/archive/9a524cafe130cce465519cce10c3c095c53af607.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9a524cafe130cce465519cce10c3c095c53af607#python310Packages.pex

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9dck54wxyyyaihx29ck0sv2zznvgdm9a-python3.10-pex-2.1.156
ls -la /nix/store/9dck54wxyyyaihx29ck0sv2zznvgdm9a-python3.10-pex-2.1.156/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.pex
python311Packages.pex

Maintainer pings
cc @copumpkin @phaer for testing.

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

4 packages built:

python310Packages.pex
python310Packages.pex.dist
python311Packages.pex
python311Packages.pex.dist

Result of nixpkgs-review pr 279755 run on aarch64-darwin 1

4 packages built:

python310Packages.pex
python310Packages.pex.dist
python311Packages.pex
python311Packages.pex.dist


Service Connections: Required Template across Organizations

When it talks about using Required Template to require pipelines to extend from a template when they use a service connection, it does not show how to reference an Azure DevOps git repository which lives in a different organization, or even a different tenant (I need answers for both). It is unclear whether this is possible at all. Please clarify.

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

ID: b067a175-f640-7503-9c1e-f0130c6dbeda
Version Independent ID: ff743c7b-a103-eae6-4478-62ba995a4b36
Content: Pipeline deployment approvals - Azure Pipelines
Content Source: docs/pipelines/process/approvals.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @shashban
Microsoft Alias: shashban

It's not possible. I can think of very little in Azure DevOps which does allow crossing org/tenant boundaries, so it would be unusual to explicitly document that it's not possible here.

It's not possible. I can think of very little in Azure DevOps which does allow crossing org/tenant boundaries, so it would be unusual to explicitly document that it's not possible here.

Ok. It seems odd that this will support getting a required template from an entirely different system like GitHub or BitBucket (going outside of the organization and, if necessary, the tenant), but for going to Azure Repos it must be within the the same organization and tenant. It seems reasonable to expect this. By seeing connections to "GitHub" and "BitBucket" I think it defies the "least astonishment" principle that you must stay within your own org for Azure Repos, but that's just my opinion. It would be a good feature request.

Ok. It seems odd that this will support getting a required template from an entirely different system like GitHub or BitBucket (going outside of the organization and, if necessary, the tenant), but for going to Azure Repos it must be within the the same organization and tenant. It seems reasonable to expect this. By seeing connections to "GitHub" and "BitBucket" I think it defies the "least astonishment" principle that you must stay within your own org for Azure Repos, but that's just my opinion. It would be a good feature request.


fix: fixed bad svg prop names

Pull Request Checklist

[x] Did you add new tests and confirm existing tests pass? (yarn test)
[x] Did you update relevant docs? (docs are found in the site folder, and guidelines for updating/adding docs can be found in the contribution guide)
[x] Do your commits follow the Conventional Commits standard?
[x] Does your PR title also follow the Conventional Commits standard?
[x] If you have a breaking change, is it correctly reflected in your commit message? (e.g. feat!: breaking change)
[x] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:write)
[x] Did you follow the contribution guidelines?

This fix removes the warnings and errors from react rendering SVGs

PR-Codex overview
This PR updates SVG attributes in various files for consistency and adherence to JSX standards.
Detailed summary

Updated stroke-linecap to strokeLinecap and stroke-linejoin to strokeLinejoin attributes in SVG elements for JSX compatibility.
Replaced attributes like stroke-width, color-interpolation-filters, and color-interpolation-filters with camelCase versions for JSX.
Corrected attribute names like stop-color to stopColor and stop-opacity to stopOpacity for JSX compatibility.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Generally looks good to me please add a test plan to ensure that there aren't any breaks and makes it easier for reviewers to understand what is going on.


Is it possible to get it to work with Restify

I tried using this with Restify (Node, restify.com). While .install() works fine and reports startup errors, if any.
Using Raven.errorHandler() causes requests to the app hang and eventually timeout. Does not happen when I use only Raven.requestHandler() but in that case no errors are reported to the Sentry server.

This is roughly a duplicate of #287; for now, I'd follow the recommendation given there. The errorHandler and requestHandler middleware are made for express and express-like middleware stacks, but restify is a bit different. I'll move restify up the todo list considering the interest.

Thanks @LewisJEllis. For now, I am calling the error handling middleware from raven manually in Restify's own error handler.
Also, do you know of any memory leak issues caused by Raven (node v0.10.x)? Since after we deployed raven our instance memory is going over the roof every few hours. Seems like it could be linked to TLS leak issue. I am still investigating and not sure if I should open a new issue at this stage.

@maheshoml I'm not aware of any; relevant question in #286, but not an issue as far as I can tell. We've done some memory usage testing for functionality that might be prone to leaking memory, but I don't have much long-running real-world memory usage data to compare to. If you have any detailed info on any potential memory leaks, please let me know so I can investigate.

@LewisJEllis I'm also interested in using Raven with Restify. Is there any way we can tell where Restify is on said todo list?

@arvalaan i have done by this.
restify 6.0.1
var Raven = require("raven");
Raven.config("--yourdsnofraven--").install();
when server created add this handleUncaughtExceptions.
global.server = restify.createServer({
handleUncaughtExceptions: true
});
// capture error here
server.on("uncaughtException", function (req, res, route, err)  {
"use strict";
console.log("i caught it!");
Raven.captureException(err, {req: req});
res.send(new httpErrors.InternalServerError(CONFIG.error_message.INTERNAL_SERVER_ERROR));
});


Tweak railscast colorscheme to better reflect the original it was based on

Before:

After:

Yearly bumb

Sorry for being unresponsive. Please do ping me when that happens. I should probably put that advice in the readme too...


MAINT: Remove traces of Xenial base

I don't think we're ever hitting the else block, but fallback to focal base now that the Dockerfile has been updated.

Can we do this after #2456 and #2457 are merged?

This is pretty low priority since the registry is usually used, but just to note this is not to be backported


Feature Request: Bot Recommendation System

Description:
I propose adding a bot recommendation system to suggest bots based on user preferences and usage patterns. This feature would enhance the user experience by displaying relevant bots on the platform's dashboard.
Details:

Algorithm: Implement a hybrid recommendation system (content-based + collaborative filtering).
User Data: Use factors such as bot interactions, user activity, and chatbot categories.
Expected Outcome: Increased user engagement and more relevant bot discovery.

Please assign this issue to me; I would love to work on it.

Fill the issue template properly!

Also we dont need this feature rn


3mfEditor reports warnings when only one property in triangle.

When triangles only define one property in P1, the 3mfEditor reports the warning:
WR_015: Triangle: with pid=2 in file: /3D/3dmodel.model has not defined p2.
Since this is a valid case, and extensively used in many 3MF, this would cause to stop checking the 3MF after the maximum. Even if we increase the maximum, the log would be filled up with warnings.
I think better to just ignore this case, and do not report a warning.

Warnings are now suppressed if only a P1 is specified on the triangle. Will close this  issue once an updated 3MF Editor jar and source are posted to the github site.

Jar Updated

Jar updated

Jar updated


Image Resizer and format

Description of the new feature / enhancement
Hi,
My suggestion today is with the "Image resizer". Love everything in it. would just add the possibility to change the format too.
Would change the name to Image format and Resize
Thank you to all the team for the great work
Kind regards,
Mike
Scenario when this would be used?
I for example received images from people to put in an app that only accepts not only to have a specific size, but only accept GIF.  I which I could do both steps at the same time.  Right now I have to use 2 extensions.
Since you already have the emergency encoding, that would be easy just to add selectbox which by default is set to be "Stay the Same Encoding" then, we could have the list of other types you can do.  Not much programming to do. Just add a select box.
:-)
Supporting information
n/a

There's a balance between "quick & simple" and more extended functionality. Originally, Image Resizer was all about quick & simple. The more functionality is put into this (remember it takes effort to build it) the more it becomes the same as countless of existing image editing software.

Hi,
I kinda disagree with you. It still simple and the programming is already in it.  You only need to add the select box in the same screen.  it's still very quick and simple.

Thanks for the suggestion @mtdallaire! @Jay-o-Way is correct in that we intend for the interface to remain minimalistic. I do believe this feature could prove useful, so we'll reference it on issue #1053 as we continue planning the UI update for Image Resizer as a whole.


[New game]:  Want to add the wordel game

🎮 Game Request
Game logic and basic description
I want to add the wordel game
This game is about every word has its meaning and whenever user enters a word that has meaning it will make it coloured
https://github.com/user-attachments/assets/21242d5e-bd91-4e08-a1d3-ce4be6524cf6
Point down the features
Game points

Its a word game
User have to make words with 5 rows

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @Ayushmaanagarwal1211 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#4796

Hey @Ayushmaanagarwal1211 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @Ayushmaanagarwal1211 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹


Hyperostosis affecting older adult scans

Hi, thanks for creating such an amazing tool!
I've used the FreeSurfer implementation & am running into issues when attempting to use the HyperFine algorithm with older adult MRIs. In many older adults, the inner table of the skull starts to grow & this affects the intensity of the image. In many cases, the algorithm grabs extra "brain" from these (largely frontal) regions thinking that this high-intensity region must be white matter since there is another skull layer beyond this.
Using the T1-only algorithm doesn't produce this error (though detail is lost in the rest of the brain - see attached).
In the past, I've had difficulty skull stripping older adult brains because of this, but I've found that HD-BET https://github.com/MIC-DKFZ/HD-BET seems to handle this well - so if there's an issue of deciding what is/isn't brain, this might be a workaround.
In the meantime, I'll use base SynthSR since that still produces better results than anything I've seen, but at some stage, if there is an update that allows HyperFine to run with older adults I'd be over the moon (I realize this is an edge case & might not be a priority).
All of which is to say, cheers & thanks!
John

sorry for the late answer, I don't look at GitHub comments very often...
Thanks a lot for the kind words.
As you said, I'm not sure this is high priority right now, but I will keep this in my mind and add it to the long todo list for SynthSR/SynthSeg !
Thanks again,
Benjamin


M3-5607: Update stories for loading states

Description

Remove unused props or props that have no visible UI changes
Convert to MDX
Add copy
Clean up examples
Removed a couple components that are no longer in use (ie. InlineTextLoader and LoadingText)

How to test

Run yarn storybook
Go to http://localhost:6006/?path=/docs/ui-elements-loading-states-bar-percent--bar-percent
Check the app for any regressions

@DevDW nope, I got a little carried away with cleaning it up but it should be fixed now haha


Can i do this on windows?

If so, would you please provide links to download the necessary files?

I've been able to follow along on windows. You will need the nasm assembler and the qemu hardware emulator.You should be able to follow along just fine using those.

I tried to follow this, on Windows,and did pretty well. The big problem is compiling GCC. Cygwin is able to help, but be ready for dependency hell...

I tried to follow this, on Windows, and did pretty well. The big problem is compiling GCC. Cygwin is able to help, but be ready for dependency hell...

You may try WSL (Windows Subsystem for Linux ), gcc alreay included

I tried to follow this, on Windows, and did pretty well. The big problem is compiling GCC. Cygwin is able to help, but be ready for dependency hell...

You may try WSL (Windows Subsystem for Linux ), gcc alreay included

That was on Win 7, but yes, WSL is the likely solution...

+1


Add Intros for Documentation Chapters

Chapter landing pages (e.g. https://docs.kubermatic.com/kubecarrier/master/architecture/) should not be blank, but contain an introductory description + links to child pages.


Rotation invariant representation for 2D shapes

I have been tinkering around to find a rotation invariant representation for the shapes, and so far it seems that I have found one for at least 2D. I am now trying to extend this to 3D.
My idea was inspired by Local Binary Patterns (LBP). It is used in machine vision to extract features from an image.
The idea

See my repository for more details

To represent a shape in a rotation invariant way, the encoding should be based on relating all the cubes to all the other cubes in the shape, instead of some reference frame around the shape (because we have no way of fixing that reference frame). This makes it so that it doesn't matter in which order we compute and we still get the same result.
We first figure out a way to represent all distinct Moore neighborhoods of a cell. In 2D, there are 2^9 = 512 possible distinct Moore neighborhoods (the central cell plus all the 8-neighbors).
Then we calculate the distinct cell values for all the cells in the shape (including the empty cells) to get a feature matrix. That matrix should be unique for all shapes, but it is the same for rotated variants of that same shape.
Example in 2D
Say, we have a shape like this:

1. Add zero padding for calculation
We start by adding 2 levels of zero padding around the shape. One level is needed because the feature matrix is always larger than the shape (since all neighbors affect the cell value), and one level is needed to make sure we don't try reading outside the matrix when calculating the cell values.

2. Calculate the cell values using modified LBP
Then we can start calculating the feature matrix. We start from cell (1, 1), the second cell of the second row (so that there are not edges next to it).
To understand how the cell value is calculated, see the figure. The cell (1, 1) is highlighted in orange and its Moore neighborhood is enumerated from 1 to 9 (starting from top-left, spiraling into the center):

Since there are 512 distinct Moore neighborhoods, 9 bits is sufficient to represent all of them. We start setting the bits one by one, starting from the MSB:

Start from the top-left neighbor. If there is a block (=green), set the first bit (MSB) of the cell value to 1, otherwise 0.
Then proceed to the top-mid neighbor. Again, if there is a block, set the second bit of the cell value to 1.
Repeat for the top-right neighbor and set bit position 3 accordingly.
Repeat for the mid-right neighbor and set bit position 4 accordingly.
Repeat for the bottom-right neighbor and set bit position 5 accordingly.
Repeat for the bottom-mid neighbor and set bit position 6 accordingly.
Repeat for the bottom-left neighbor and set bit position 7 accordingly.
Repeat for the mid-left neighbor and set bit position 8 accordingly.
Repeat for the center cell (the cell itself) and set bit position 9 (LSB) accordingly.

Now we have a 9-bit cell value for the first cell: 00001_0000, which is 16 in decimal. We can then move to the next cell. This is repeated for all cells except cells that are on the edge (so skipping the first and last columns as well as the first and last rows; they would be zeros anyway).
Here are all the cell values for the example shape:

Then, the feature vector of this shape is:
[[ 16  24  28  12   4   0]
 [ 32  33  51  27  14   4]
 [ 64 192 496 425 263   2]
 [  0   0 112 201 390 256]
 [  0   0  96 129 258   0]
 [  0   0  64 128 256   0]]

3. Calculate the sum of the matrix values
Finally, we sum all the cell values in the feature matrix to get the fingerprint of that shape. This fingerprint is the same for all rotations of the same shape.
Comparing the variants
Here are all the variants of the example shape, along with their feature matrices and their sums (the fingerprints).

Matrix:
[[ 16  24  28  12   4   0]
 [ 32  33  51  27  14   4]
 [ 64 192 496 425 263   2]
 [  0   0 112 201 390 256]
 [  0   0  96 129 258   0]
 [  0   0  64 128 256   0]]

Sum: 3577

Matrix:
[[  0  16   8   4   0   0]
 [ 16  56  29  30  12   4]
 [ 48 105 167 291   3   2]
 [112 201 454 448 384 256]
 [ 96 129 258   0   0   0]
 [ 64 128 256   0   0   0]]

Sum: 3577

Matrix:
[[  0  16   8   4   0   0]
 [  0  48   9   6   0   0]
 [ 16 120 141 262   0   0]
 [ 32 113 155 286  12   4]
 [ 64 224 417 291   3   2]
 [  0  64 192 448 384 256]]

Sum: 3577

Matrix:
[[  0   0   0  16   8   4]
 [  0   0   0  48   9   6]
 [ 16  24  28 124 141 262]
 [ 32  33  51 107 135 258]
 [ 64 192 480 449 386 256]
 [  0   0  64 128 256   0]]

Sum: 3577

As you see, all variants have the same fingerprint 3577!
Final words
As of yet, I have not been able to prove or disprove this method, but so far it seems very promising. I have tested it on tens of various shapes in 2D, as you can see in my repository.
I want to prove that this method actually works and never gives the same fingerprint to 2 different shapes, then proceed to applying this to 3D, if possible.

Ah, you are right, damn! The sum is basically counting the set blocks in the shape... I was a bit suspicious about using the sum as the fingerprint, but it seemed to work 🙃
I wonder if we could use some other property to match the feature matrices.

it would certainly be useful. there might even be a lot of value in just a rotation invariant hash but im not 100% clear on how to use one if we had one to save wasting time performing a bunch of rotations when we can be quickly sure theyre different.
Maybe taking the mask of 3x3s from above or 2x2x2 for 3d as 27bits is quite a big key, converting each to a canonical rotation through a table, then counting how many of what patterns there are and generating a hash from that but I havent put that much thought into it


Fixed 'report an issue' button UI for firefox and firefox based browsers.

Fixes #1879
Describe the changes you have made in this PR -

fixed 'report an issue' button UI for firefox and other firefox based browsers (Tor, Pale Moon, etc.)

Screenshots of the changes (If any) -
firefox (Before)

firefox (After)

Chrome (Before)

Chrome (After)

Coverage remained the same at 87.962% when pulling ac13ef473aa1583579e1203795554c33b2eb5bf3 on dipanshparmar:fix/report-a-bug-button into 7b3ecb4e6141c681cebf0c1533176fc2bb7e2ce9 on CircuitVerse:new_UI.

@abstrekt can you check this? Why would it look different on firefox?

@satu0king I was checking it out then this weird browser behaviour occurs on chrome but not in firefox

@abstrekt can you check this? Why would it look different on firefox?

I checked it out on beta, can't seem to notice any difference, but I did found a new bug #1899


How can clean up prometheus datas

prometheus datas have use 61% presistent disk ,How can I clean up data.

when I set prometheus.storage.local.retention In manifest/prometheus.yml ,is not work.

@leolzbing521 For Prometheus2 the local retention config changed
https://github.com/bosh-prometheus/prometheus-boshrelease/blob/8ddbbf39b97f088e5bdb806fad0ad3a326b1112b/jobs/prometheus2/spec#L63

I use prometheus ,no prometheus2.
prometheus.storage.local.retention  use yaml style wrong.  It is has  work.


Best practices integration

Description
Move new best practices documentation format into main branch
Questions

[ ]  Going forward, what's the best way to make changes to the documentation?  I have been editing the .rst files directly on github, but if there's a better way of doing it (that also doesn't create so many commits) I'm open to it

Status

[ ] Ready to go!

Looks good to me! I don't know if we want to develop this a bit further in this branch before merging fully into master?

what's the best way to make changes to the documentation

I normally edit files in PyCharm and then just commit / push them to github in larger batches to avoid lots of small changes.
If you want we can chat about building the docs locally as well so you can instantly see changes rather than waiting for read the docs to build!

Looks good to me! I don't know if we want to develop this a bit further in this branch before merging fully into master?

That was my thought, too - but the consensus on Thursday's call was for me to create a PR, so I did.  Can you preview markdown files in PyCharmm?

Sounds good!
It has semi-decent support for previewing the files although it doesn't always 100% match what will show on RTD, but it offers a good idea of what things will look like.
I added a basic guide on how to build the docs on your local machine here, which will look identical to those that will be generated on RTD for easier preview without waiting for RTD to build.
Once you have have the env setup, you just need to run
rm -rf api && make clean && make html
In the docs directory and it will update the docs and a few seconds!

@SimonBoothroyd docs builds are failing:

Looks like the environment installation is either failing or timing out.


Fixes a DI oversight in sous query artifacts

When the DryRunOption was added, sous query artifacts got missed. I found a
test that had been commented out from before that time, which is probably why
we had this issue.
DryRunOption became an input to the (docker) Registry injection - in certain
circumstances, a dummy registry gets injected. Because s q a doesn't update
the registry, I'm simply injecting a fixed "DryRunNeither" so that a live
registry client becomes available.
Along with this change, I ran across a couple of other places where local git
configuration impacted testing. Tried a different approach to addressing that.
Not sure which I like better.

Current coverage is 57.58% (diff: 100%)

Merging #257 into master will increase coverage by 0.06%

@@             master       #257   diff @@
==========================================
  Files           139        139
  Lines          7184       7186     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           4132       4138     +6
+ Misses         2688       2684     -4
  Partials        364        364

Powered by Codecov. Last update 524d5a8...2f1c4c6


remove TTS from !echo command

bonus function rename.

In the future, you typically want to keep each PR related to one set of changes :)

In the future, you typically want to keep each PR related to one set of changes :)


Add Unified End Repair Python Script

Unify, Bug Fix, and improve end repair by having it implemented as a python script. This work is currently happening on: https://github.com/jmtsuji/rotary/tree/end_repair

The updated repair.py (called from the command line as rotary-repair) is now working in the rotary pipeline! I ran an end-to-end test that seems to have run fine through the assembly section of the workflow (although see notes at the bottom).
I had to add four assembly-related tools to the environment.yaml file to be able to run rotary-repair. One of these, circlator, is no longer being actively maintained and has a huge number of dependencies that aren't needed by this project. My long-term hope is to replace circlator with in-house code as discussed in #26 -- this should simplify the rotary install substantially. However, the other three tools will need to remain in the environment.yaml.
I think that this end_repair branch is tentatively OK to merge into develop, so I will make a PR for you to review.
Note: When I ran the end-to-end test, I tested commit 9a4678b, which is one commit before what is currently the latest commit, fe7481f. Commit 9a4678b did not yet have the rotary-repair dependencies as part of environment.yaml, and I instead manually installed rotary-repair in the conda env that was made for the end repair step. In fe7481f, I got rid of the conda env for the end repair step and moved the dependencies to environment.yaml. Because I had to head home at that point and didn't have access to a linux server, I haven't been able to test fe7481f yet to confirm everything is working, although the couple tests I have run locally on my Mac seem to work fine.

Closing this now that #63 is merged.


Spanish

Sorry, I can't add multiple language support for now 😅. We can do it after v1.0
Thanks anyways.

I get it. Now that I read your answer in the Issues, I understand everything
And I added Spanish as a separate text document. If it is possible to add it, it might be ... if not, I can remove the pull

But please stay in contact, I'll find a way to add support for multiple languages within the next month.

#17


Please use C#'s ‘Latest’ version for parity with Cake's runtime behavior

If you use a C# 7.1+ feature, such as readonly struct, Bakery reports this error:

Feature 'readonly structs' is not available in C# 7.0. Please use language version 7.2 or greater.

When Cake runs the script however, it must use LanguageVersion.Latest because it compiles and runs without error. Is there a good way to ensure that Bakery's compilation options stay in sync with Cake's?

PR: https://github.com/OmniSharp/omnisharp-roslyn/pull/1200


Undetected infinite macro causes compiler crash

I found an issue with the code below:
macro m1(a, b)
  m1({{a}}, {{b}})
end

m1(a, b)

that is invalid, as the macro has an infinite loop. However, the compiler doesn't seem to be detecting it and crashes due to stack overflow:
Stack overflow (e.g., infinite or very deep recursion)
[0x109aa8357] *Exception::CallStack::print_backtrace:Nil +39 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x109aa82e4] ~procProc(Int32, Pointer(LibC::SiginfoT), Pointer(Void), Nil)@src/signal.cr:127 +532 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x7ff813f3fc1d] _sigtramp +29 in /usr/lib/system/libsystem_platform.dylib
[0x109f3cb44] GC_clear_stack_inner +47 in /usr/local/Cellar/bdw-gc/8.2.2/lib/libgc.1.dylib
[0x109f3cb5d] GC_clear_stack_inner +72 in /usr/local/Cellar/bdw-gc/8.2.2/lib/libgc.1.dylib (8 times)
[0x109f3cbcc] GC_clear_stack +63 in /usr/local/Cellar/bdw-gc/8.2.2/lib/libgc.1.dylib
[0x109f3a33e] GC_generic_malloc_many +1032 in /usr/local/Cellar/bdw-gc/8.2.2/lib/libgc.1.dylib
[0x109f43af8] GC_malloc_kind +212 in /usr/local/Cellar/bdw-gc/8.2.2/lib/libgc.1.dylib
[0x109266b54] *Crystal::Parser#parse_call_args<Bool, Bool, Bool>:(Crystal::Parser::CallArgs | Nil) +132 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x109264cb6] *Crystal::Parser#parse_var_or_call<Bool, Bool>:Crystal::ASTNode+ +2102 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923d545] *Crystal::Parser#parse_atomic_without_location:Crystal::ASTNode+ +5909 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923b955] *Crystal::Parser#parse_prefix:Crystal::ASTNode+ +901 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923b35c] *Crystal::Parser#parse_pow:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923b08c] *Crystal::Parser#parse_mul_or_div:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923ab9c] *Crystal::Parser#parse_add_or_sub:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923a8cc] *Crystal::Parser#parse_shift:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923a5dc] *Crystal::Parser#parse_logical_and:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923a30c] *Crystal::Parser#parse_logical_or:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923a02c] *Crystal::Parser#parse_cmp:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x109239d5c] *Crystal::Parser#parse_equality:Crystal::ASTNode+ +92 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092399a4] *Crystal::Parser#parse_and:Crystal::ASTNode+ +84 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092395f4] *Crystal::Parser#parse_or:Crystal::ASTNode+ +84 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10923926c] *Crystal::Parser#parse_question_colon:Crystal::ASTNode+ +220 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x109237be2] *Crystal::Parser#parse_op_assign<Bool, Bool>:Crystal::ASTNode+ +162 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x10926201b] *Crystal::Parser#parse_multi_assign:Crystal::ASTNode+ +331 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x109261b62] *Crystal::Parser#parse_expressions_internal:Crystal::ASTNode+ +114 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093aaad6] *Crystal::Program#parse_macro_source<String, (Hash(Int32, Array(Crystal::Lexer::LocPopPragma | Crystal::Lexer::LocPushPragma | Crystal::Lexer::LocSetPragma)) | Nil), Crystal::Macro, Crystal::Call, Set(String), (Crystal::Def+ | Nil), Bool, Bool, Crystal::Parser::ParseMode, Crystal::Visibility>:Crystal::ASTNode+ +438 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a940b] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2075 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1093a9448] *Crystal::TopLevelVisitor@Crystal::SemanticVisitor#expand_macro<Crystal::Call, Bool, Bool, Bool>:Bool +2136 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
[0x1092d0611] *Crystal::ASTNode+@Crystal::ASTNode#accept<Crystal::TopLevelVisitor>:Nil +3921 in /usr/local/Cellar/crystal/1.6.2/libexec/crystal
.
.
.

It would be nice if the compiler could detect it and raise a proper error.
My original code was more like this:
macro m1(a, b)
  C.m1({{a}}, {{b}})
end

class C
end

m1 1, 2

That is essentially the same case, since I forgot to define C#m1(). However, the reproduction above throws this error:
There was a problem expanding macro 'm1'

Code in test.cr:9:1

 9 | m1 1, 2
     ^
Called macro defined in test.cr:1:1

 1 | macro m1(a, b)

Which expanded to:

 > 1 | C.m1(1, 2)
         ^-
Error: wrong number of arguments for macro 'm1' (given 2, expected 2)

That doesn't seem to have much sense.
To be clear: in this second example I expected an error like the first one.
$ crystal -v
Crystal 1.6.2 (2022-11-03)

LLVM: 14.0.6
Default target: x86_64-apple-macosx

Duplicate of #9413


Bone feature

https://github.com/GuilhermeGSousa/godot-motion-matching/issues/56
https://github.com/GuilhermeGSousa/godot-motion-matching/issues/11

I think this is good to go. There are still some kinks with the motion matching editor, but imo that deserves its own PR and is unrelated to this.