Error in training a Vietnamese voice model

Checks

[X] This template is only for usage issues encountered.
[X] I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
[X] I have searched for existing issues, including closed ones, and couldn't find a solution.
[X] I confirm that I am using English to submit this report in order to facilitate communication.

Environment Details
Win 11
GPU Stats
GPU 0 Name: NVIDIA GeForce RTX 3070 Ti
Total GPU memory (GPU 0): 8.00 GB
Allocated GPU memory (GPU 0): 0.00 MB
Reserved GPU memory (GPU 0): 0.00 MB
CPU Stats
CPU Usage: 3.10%
System Memory: 10103.20 MB used / 32527.68 MB total (31.1% used)
Process Priority (Nice value): 32
torch=2.3.0
python=3.12.7
Steps to Reproduce
Training data like usual with vocab check and extend. Prepare data. Then train data, i dont use auto settings. And when i click train data it returns this error
✔ Expected Behavior
I think it should work fine because i followed the instructions of Jarod Mica on youtube, installation instructions
❌ Actual Behavior
Traceback (most recent call last):
File "C:\F5-TTS\src\f5_tts\train\finetune_cli.py", line 174, in
main()
File "C:\F5-TTS\src\f5_tts\train\finetune_cli.py", line 167, in main
trainer.train(
File "C:\F5-TTS\src\f5_tts\model\trainer.py", line 257, in train
start_step = self.load_checkpoint()
File "C:\F5-TTS\src\f5_tts\model\trainer.py", line 172, in load_checkpoint
self.ema_model.load_state_dict(checkpoint["ema_model_state_dict"])
File "D:\conda\envs\f5-tts\lib\site-packages\torch\nn\modules\module.py", line 2189, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for EMA:
size mismatch for ema_model.transformer.text_embed.text_embed.weight: copying a param with shape torch.Size([2546, 512]) from checkpoint, the shape in current model is torch.Size([2565, 512]).
Traceback (most recent call last):
File "D:\conda\envs\f5-tts\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\conda\envs\f5-tts\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "D:\conda\envs\f5-tts\Scripts\accelerate.exe_main.py", line 7, in
File "D:\conda\envs\f5-tts\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main
args.func(args)
File "D:\conda\envs\f5-tts\lib\site-packages\accelerate\commands\launch.py", line 1168, in launch_command
simple_launcher(args)
File "D:\conda\envs\f5-tts\lib\site-packages\accelerate\commands\launch.py", line 763, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['D:\conda\envs\f5-tts\python.exe', 'src/f5_tts/train/finetune_cli.py', '--exp_name', 'F5TTS_Base', '--learning_rate', '1e-05', '--batch_size_per_gpu', '1000', '--batch_size_type', 'frame', '--max_samples', '64', '--grad_accumulation_steps', '1', '--max_grad_norm', '1', '--epochs', '100', '--num_warmup_updates', '2', '--save_per_updates', '300', '--last_per_steps', '100', '--dataset_name', 'vivoice', '--finetune', 'True', '--tokenizer', 'char', '--log_samples', 'True', '--logger', 'tensorboard']' returned non-zero exit status 1.

You must extend emb size of pretrained ckpt (Finetune gradio can do it easily). Ensure vocab size equal to emb size of pretrained ckpt

Hmmm as i follow this tutorial on ytb: https://www.youtube.com/watch?v=GmketyZW2c4&t=347s  im doing a brand new model so i dont use a pretrained one. Also please leave contact infoso we can exchange further

hmm i think it is something wrong with the vocab.txt i have extend it with vietnamese missing words but it returns a mismatch here:
size mismatch for ema_model.transformer.text_embed.text_embed.weight: copying a param with shape torch.Size([2546, 512]) from checkpoint, the shape in current model is torch.Size([2565, 512]).
as the emelia file is only 2545 vocabs but my finetuned vietnamese voice model vocabs is 2565. Can someone help me with this?

I think your problem came from what you are trying to do here is training from scratch but you are using finetune script. In finetune script it try to load pretrained model weight so this lead to mismatch issue. To overcome this maybe you can try train.py script which using to train from scratch or can modify finetune script not to load pretrained model instead directly training a model with extended emb size equal to your vocab size from scratch.

I think your problem came from what you are trying to do here is training from scratch but you are using finetune script. In finetune script it try to load pretrained model weight so this lead to mismatch issue. To overcome this maybe you can try train.py script which using to train from scratch or can modify finetune script not to load pretrained model instead directly training a model with extended emb size equal to your vocab size from scratch.

tks haha silly me

I'm currently training with my data for about 10 hours on Colab (I don't have strong GPU) with 3k4 steps. However, during the training process, System RAM takes up 90% (11.7/12.7GB) while GPU RAM takes up 50%. Is it true that during the training process, Device is set to = cpu?


Keeps suggesting use of leading underscore despite it existing

Diagnostics:
1. I came across an unused variable: __own_mint.
    [aiken::check::unused::variable]
2. No big deal, but you might want to remove it or use a discard ___own_mint to get rid of that warning.

nixos. aiken 1.0.20 + unknown

Oh interesting, so like multiple underscores causes this problem?

I was asked to add the first cos it wasn't used. And then it just stayed asking me to add another, and another ...

@waalge ok understood, I'll look into it. Thanks for reporting

I found the problem

oh well actually this is expected behavior but the wording could be changed to be a little less confusing


LQIP Images in docs

Should only happen for prod build
Images should be cached so when I revisit the page I don't seen LQIP
Maybe use https://plaiceholder.co

suspense image?


Publish to powershell gallery

It would be great to have this published to powershell gallery.

It's on my todo list :)
On Thu, 20 May 2021 at 13:57, Chris Widhelm @.***>
wrote:

It would be great to have this published to powershell gallery.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FSLogix/Invoke-FslShrinkDisk/issues/41, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE365OZC4M4ESUAGHMT5LA3TOUBLTANCNFSM45G6SPQQ
.


No information for support of encryptionAtHost by Dv4

Dv3 is mentioned, Dsv4 is mentioned. However Dv4 is not.

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

ID: ed4de54e-f544-0e42-5b0e-afe148b38667
Version Independent ID: 4220c38a-28ee-87bb-c270-b7fd3e97043b
Content: Enable end-to-end encryption using encryption at host - Azure portal - managed disks - Azure Virtual Machines
Content Source: articles/virtual-machines/disks-enable-host-based-encryption-portal.md
Service: storage
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

Thanks for reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

@roygara, ping please.

@roygara, @FuzziWumpus ping please.

Hello, @abatishchev . Thanks for reaching out. I pinged the product team a while ago and have heard back. Instead of maintaining this table, we will direct users to the finding supported VM sizes section in the Azure PowerShell and CLI articles.
Dsv4 isn't listed. But, the table may not be up to date. We recommend using either of those articles to determine the current supported VM list.
This change will be live later today. So I'll go ahead and close this out.
Thanks for helping improve our docs, we appreciate it!
#please-close


Package updates 2024 08

Also remove handwritten bits-of-lens and use microlens-pro to get prisms and isos with minimal footprint.

Technically this is a breaking change because we're removing modules, but it's a .Internal module that's going away.


HTMLPurifier cache folder 777

Just installed the demo application using the symfony installer, set up the permissions for logs/cache folder got this error:
An exception has been thrown during the rendering of a template ("User Warning: Directory /home/user/Sites/symfony/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 777") in blog/index.html.twig at line 14.
500 Internal Server Error - Twig_Error_Runtime
1 linked Exception:

    ContextErrorException »

This @sergiu-popa thanks for reporting this error. I haven't seen this error before and nobody has reported it before, so I'll try to investigate if we can do anything from the Symfony Demo app or if this is something out of our control because it depends on the operating system permissions.

I'm using LUbuntu (lsb_release -irc returns Ubuntu 14.04 trusty)

I think this is the same as issue #281.

Closing it as fixed by #28. It will be available when the next stable version is released.


Support Store (UWP) variant

I initially added support for the store variant, but going to take it out for now since we don't really target it and it's only a tier 3 target for Rust anyhow.

Thankfully no one cares about UWP, not even Microsoft. https://www.thurrott.com/dev/258377/microsoft-officially-deprecates-uwp


Cask Request: Speechify

Cask details
Name: Speechify
Homepage: https://getspeechify.com
Download URL: https://www.getspeechify.com/SpeechifyInstaller.dmg
Description: Text to speech converter

https://github.com/caskroom/homebrew-cask/pull/38675


Cqm validators

Cypress now uses cqm-validators gem to validate QRDA cat 3 files. The best way to test this is to start on master create a product and get known good results edit the QRDA 3 file and remove some entry relationships and then upload the file. Note the errors that you see on master and then switch to this branch and upload the same file and make sure that the error are the same.
Submitter:

[x] This pull request describes why these changes were made.
[x] Internal ticket for this PR:
[x] Internal ticket links to this PR https://jira.mitre.org/browse/CYPRESS-281
[x] Code diff has been done and been reviewed
[ ] Tests are included and test edge cases
[ ] Tests have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Probably worth a rebase on master while you're at it to fix the Gemfile.lock conflicts.


Add example on how to clone a simple repo using a PAT without credential manager

This is totally missing.

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

ID: 2bfea574-db69-a5fd-37fe-64ecfdac502a
Version Independent ID: 4037d475-f194-2ac9-ffd6-70530fc3140a
Content: Authenticate access with personal access tokens
Content Source: docs/organizations/accounts/use-personal-access-tokens-to-authenticate.md
Product: devops
GitHub Login: @chcomley
Microsoft Alias: chcomley

@JoseFMP Is this the approach that you are talking about? Including the PAT on the command line when cloning?
https://blogs.msdn.microsoft.com/uk_faculty_connection/2016/10/26/using-git-cmd-prompt-with-visual-studio-team-services/
If so we can add an example, and sorry that you ran into trouble.

@JoseFMP Since this is not a common case, nor something we want to encourage users to use, we won't be updating the documentation. However, if you need to do it, Open Issue #1474 has a good thread on this. In summary, here's what's needed: -c http.extraheader={base64(":" + token)}
Where token is the PAT. Thank you!

The method provided by @steved0x seems to work for me. I will try on the other machine later.


Strange behavior when connected on 4G (React Native)

We are noticing some strange behavior in mobile app testing while on 4G. I’m attaching a screenshot below. We had 6 participants in this meeting and out that 3 are with video. We are continuously getting Add and Remove VideoTile events from web sockets. These participants are not even touching their phones or web portal. We have no clue why we are getting  these events in aws websocket. Based on these events video is automatically getting turned ON and OFF in our mobile app.
We tested the same case connecting to wifi and we have no issues ( test ran for 45 min ). We were able to duplicate it when we switch back to 4G.
If the below React Native bridges can be implemented, I believe this should fix the issue.
override fun onConnectionBecamePoor() {
        // Not implemented for demo purposes
    }

    override fun onConnectionRecovered() {
        // Not implemented for demo purposes
    }

Thanks,

@PaulGobin Thanks for reporting. When these events happened, what is the content of these video tiles? Did the camera automatically turn on for these 3 attendees?

Out of those 3 participants, one is a publisher and other 2 are subscribers. Publisher's camera is turning on and off automatically. Subscribers video is missing in the view and appear after some time automatically.


[vioserial] Update MSI interrupt limit

Resolves: https://issues.redhat.com/browse/RHEL-21792

Just to add some comment - maybe if CI is still not running, even in the commit message: up until now when several ports were used only one MSI interrupt would be used.


Update the way the store catches and throws provider errors

This didn't work anymore. Because the error gets "rethrown" the code gets moved into the stack. So now we have to get error from the message.
Originally posted by @piersss in https://github.com/airswap/airswap-web/pull/505#discussion_r835950286

In SwapWidget line 617 there's a catch where errors get processed. These errors are thrown from ordersSlice. The problem is that ordersSlice receives an error from MetaMask and then throws it again.
Solution: get the error from the store, the last error already gets stored in ordersSlice as error. But then you'll have to rewrite a bunch of code in SwapWidget which will could introduce other bugs.
I will try to fix it this week, but anyone is welcome to try.

I think I have a solution, we should rewrite all the try...catch clauses in ordersSlice to Promise resolve reject clauses. That would make the code a lot cleaner.

Ok forget the last comment. The problem was that takeBestOption had too much logic and all ended up in the same try...catch, so you had all the different errors all ending up there, which made it hard to debug.  I fixed it by splitting takeBestOption into two separate functions: swapWithRequestForQuote and swapWithLastLook with their own try...catch clauses so the errors can be acted on accordingly.
At a later point I would like some of the logic swapWithRequestForQuote and swapWithLastLook out of the SwapWidget component and into the features/orders store functions because there's too much logic going on in the component.

Included in #527


FluentWindow makes stack unbalanced

Describe the bug
When turning a window into a FluentWindow, the function Wpf.Ui!Wpf.Ui.Interop.User32::SetWindowLong makes the stack unbalanced. This function is called form UnsafeNativeMethods.RemoveWindowTitlebarContents(IntPtr handle).

Exception:
Managed Debugging Assistant 'PInvokeStackImbalance'
Message=Managed Debugging Assistant 'PInvokeStackImbalance' : 'A call to PInvoke function 'Wpf.Ui!Wpf.Ui.Interop.User32::SetWindowLong' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.'
Call Stack (Partial)

Wpf.Ui.dll!Wpf.Ui.Interop.UnsafeNativeMethods.RemoveWindowTitlebarContents(System.IntPtr handle) Line 130	C#
Wpf.Ui.dll!Wpf.Ui.Interop.UnsafeNativeMethods.RemoveWindowTitlebarContents(System.Windows.Window window) Line 115	C#
Wpf.Ui.dll!Wpf.Ui.Controls.FluentWindow.OnExtendsContentIntoTitleBarChanged(bool oldValue, bool newValue) Line 146	C#
Wpf.Ui.dll!Wpf.Ui.Controls.FluentWindow.OnSourceInitialized(System.EventArgs e) Line 72	C#
PresentationFramework.dll!System.Windows.Window.CreateSourceWindow(bool duringShow)	Unknown
PresentationFramework.dll!System.Windows.Window.CreateSourceWindowDuringShow()	Unknown
PresentationFramework.dll!System.Windows.Window.SafeCreateWindowDuringShow()	Unknown
PresentationFramework.dll!System.Windows.Window.ShowHelper(object booleanBox)	Unknown

until the problem is solved, does anyone have an idea of what to use instead of FluentWindow so that NavigationView can stile be used (because UiWindow is no longer exsists)?
To Reproduce

Open a new Wpf .net framework 4.8 project with Visual Studio
Using the package manager console install WpfUi 3.0.0-preview.8
Follow the steps in https://wpfui.lepo.co/documentation/getting-started.html
Change main window type to ui:FluentWinow
Run the app

Expected behavior
The app should not crach.
Screenshots
Running With Debugging

Running Without Debugging

OS version
Win10 Pro N, Version 22H2, build 19045.3570
.NET version
.Net Framework 4.8, work's fine in .Net 6
WPF-UI NuGet version
WPF-UI.3.0.0-preview.8 and WPF-UI.3.0.0-preview.9
Additional context
No response

I stumbled across the same problem and it's preventing me from using the lib in our project.
Also the repo need a sample project targeting .net framework 4.8

is there any fix?

is there any fix?

Not any that I know of. Today I checked the new preview.9 version and the problem is stile there.
because of this bug and another one in 2.0.1 that prevents me from using the FluentWindow and NavigationView/CompactNavigationView respectivly, my UI is not working for the past 3 weeks and I turly dont know what to do, I hope this is fixed soon.

is there any fix?

Not any that I know of. Today I checked the new preview.9 version and the problem is stile there.
because of this bug and another one in 2.0.1 that prevents me from using the FluentWindow and NavigationView/CompactNavigationView respectivly, my UI is not working for the past 3 weeks and I turly dont know what to do, I hope this is fixed soon.

I removed pinvoke that caused issue and i wrote new pinvoke and issue fixed, however there is a lot of issues something related to accent color exception 😑 and i removed it. I switched to another wpf fluent https://github.com/InkoreStudios/UI.WPF.Modern which is more stable.

I removed pinvoke that caused issue and i wrote new pinvoke and issue fixed

can you please make a PR with that?

I removed pinvoke that caused issue and i wrote new pinvoke and issue fixed

can you please make a PR with that?

#825


Designing Login, Signup page and User Profile page in Figma #21

Description
A clear and concise description of what the PR does.

This PR does the following:

Adds ...
Login, SignUp page designing in figma

Related Issues
Link any related issues using the format Fixes #issue_number.
This helps to automatically close related issues when the PR is merged.

Placeholder: "Fixes #21"

Changes
List the detailed changes made in this PR.

Added a new designs in figma

Testing Instructions
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

Pull this branch.
Run npm install to install dependencies.
Run npm test to execute the test suite.
Verify that ...

Screenshots (if applicable)

Additional Context
Any additional context or information that reviewers should be aware of.

This PR is based on the following...

Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I am working on this issue under GSSOC

@Satyam1923 as you know I worked on initial  Figma File...done login, SignUp pages and Home screen..now new design came we know..as a part of my previous assigned work made this PR..
let me know It was okay
and any other design I can add in new figma file

??

??
@Satyam1923
I asked what else should i work?

just remove the file change and I'll accept this PR>.

@Satyam1923 could you check once now


Unable to install on Windows

trying to install on Windows 11 with a fresh install of Python. Kopia is in the path and has been confirmed...
c:\KOPIA-MON>pip install -r requirements.txt
Collecting dataclasses-json==0.5.7 (from -r requirements.txt (line 1))
  Using cached dataclasses_json-0.5.7-py3-none-any.whl.metadata (22 kB)
Collecting Jinja2==3.1.2 (from -r requirements.txt (line 2))
  Using cached Jinja2-3.1.2-py3-none-any.whl.metadata (3.5 kB)
Collecting python-dateutil==2.8.2 (from -r requirements.txt (line 3))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl.metadata (8.2 kB)
Collecting PyYAML==6.0 (from -r requirements.txt (line 4))
  Using cached PyYAML-6.0.tar.gz (124 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [54 lines of output]
      running egg_info
      writing lib\PyYAML.egg-info\PKG-INFO
      writing dependency_links to lib\PyYAML.egg-info\dependency_links.txt
      writing top-level names to lib\PyYAML.egg-info\top_level.txt
      Traceback (most recent call last):
        File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 288, in <module>
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\__init__.py", line 104, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
          dist.run_commands()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
          super().run_command(command)
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 321, in run
          self.find_sources()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 329, in find_sources
          mm.run()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 550, in run
          self.add_defaults()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 588, in add_defaults
          sdist.add_defaults(self)
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\command\sdist.py", line 102, in add_defaults
          super().add_defaults()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\_distutils\command\sdist.py", line 250, in add_defaults
          self._add_defaults_ext()
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\_distutils\command\sdist.py", line 335, in _add_defaults_ext
          self.filelist.extend(build_ext.get_source_files())
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<string>", line 204, in get_source_files
        File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-32p26efu\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 107, in __getattr__
          raise AttributeError(attr)
      AttributeError: cython_sources
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

The solution for me was :
pip install "cython<3.0.0" && pip install --no-build-isolation pyyaml==6.0
and then
python setup.py bdist_wheel

As I guess you already figured out, it's a python problem, unrelated to tool itself. pip is unable to build the dependencies. Since I'm using Windows 11 and never had such an issue, I'm guessing there was something wrong with your python installation. Did you install the standard version from python.org and used the default options?

from what i've googled it's to do with the release of cython 3.0 recently..
thanks for getting back to me either way..
I've been looking for something like this for a while now.. i've not quite figured out how to get it to execute as an after folder action but i've got it running in task scheduler and it executes half an hour after the jobs have run

For anyone else looking.... this is my bat file that i finally got to work.. task scheduler is one of those dark arts that you an master one day and then completely forget the next :)
cd c:\kopia-mon
C:\Users\Administrator\AppData\Local\Programs\Python\Python312\python.exe c:\KOPIA-MON\kopia-mon.py -c c:\KOPIA-MON\config.yaml

You actually don't have to use a batch file.
When you create the task in Windows Task Scheduler you add a "Start program action", set the program to your python.exe (if you are using a venv then use the python.exe file which resides under the venv's "Script" folder), set "kopia-mon.py" as the argument and set "Start in" to the folder where kopia-mon resides.
This is my setup:

The solution for me was :
pip install "cython<3.0.0" && pip install --no-build-isolation pyyaml==6.0
and then
python setup.py bdist_wheel

Hello, I had the same problem ("error: subprocess-exited-with-error"),
maybe someone else can be helped by the solution suggested in this tutorial:
https://www.youtube.com/watch?v=SpLidAgQuHQ
For me it worked.
In few words, I executed:
pip install --upgrade setuptools wheel
then:
pip cache purge
then:
pip install --no-build-isolation -r requirements.txt

You actually don't have to use a batch file. When you create the task in Windows Task Scheduler you add a "Start program action", set the program to your python.exe (if you are using a venv then use the python.exe file which resides under the venv's "Script" folder), set "kopia-mon.py" as the argument and set "Start in" to the folder where kopia-mon resides. This is my setup:

Hi, I've tried to execute that first from a DOS window (CMD), but it doesn't work for me... here what I got:

Can you help me?

Well, it says it can't find the config.yaml file... It should be in the same folder as the script itself or specify the location with the -c parameter.


EnsureSingleSpaceBeforeTokenChecker false positives for { and string interpolation

It's usually good practice to ensure a space before {, like in map { .. }. However, the token checker will fire errors for string interpolation s"blah ${foo._1}".

Also in e.g. import scala.{Foo, Bar}

EnsureSingleSpaceBeforeTokenChecker is a generic checker which covers all use of the token. If there is a specific rule required for braces, then we need to write a specific rule for it.


Memory and Page Objects won't work in VSC

Illegal return statement error is returned
qava packages:
"@cucumber/cucumber": "^9.1.2",
    "@qavajs/cli": "^0.27.0",
    "@qavajs/console-formatter": "^0.2.1",
    "@qavajs/format-report-portal": "^0.9.2",
    "@qavajs/html-formatter": "^0.0.11",
    "@qavajs/memory": "^1.6.0",
    "@qavajs/po": "^1.4.0",
    "@qavajs/steps-files": "^0.0.6",
    "@qavajs/steps-memory": "^0.0.11",
    "@qavajs/steps-wdio": "^0.33.0",
    "@qavajs/template": "^0.8.2",
    "@qavajs/validation": "^0.0.5",
    "@qavajs/xunit-formatter": "^0.0.4",

index.js for PO and Memory:

Fixed in 0.7.1


feat: align analysis context

What does this PR do?
in code_api, analysis context is a completely different object. The
change will make sure that we are passing the right parameters from CLI
or IDE
Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

Screenshots

Additional questions

[stepsize] tests are flaky as they actually make network calls

:tada: This PR is included in version 4.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[feature] allow wrapping lines in spans

it would be great if individual lines could be wrapped in <span>s, to make adding line highlights and line numbers easier (although i'm not sure if this is intentionally not done to stay close to what prettylights does?)

There is a little note about the possibility of that here: https://github.com/wooorm/starry-night#syntax-tree.
This is indeed not done, to stay close.
Given that you could split on text nodes directly in tree.children, an implementation should be rather simple.
It would be cool to have an example of it in the Examples section!

thanks, i'll have a look at that note and try to come up with an example! for now i had just used patch-package with this which seems like it works

Added an example in the readme: https://github.com/wooorm/starry-night#example-adding-line-numbers


translate: reacting-to-input-with-state

Can any maintainer help me out a bit by reviewing what I have done so far so that I can know how to proceed/if i have translated it properly and should proceed in the same way?
Thank you

Done with the requested changes


feat: Pin dependencies and unify tsconfig

This PR unifies the tsconfig to all import from the core config as the root of their own tsconfig, as opposed to the tsconfig in monorepo root.
This is recommended by turbo to unify the tsc versions between the package versions and locally installed.

Does it make sense to pump the versions in the package.json definitions directly to "version": "0.1.4-alpha.4", instead of alpha.3?

lgtm, good catch /w config @cygaar


Add Github actions to run build/test for PRs and prevent merge upon fail

Also run the linter and check prettier!


Repo sync for protected CLA branch

The pull request is created from main638055163050940576sync_temp to main to fix git push error for protected CLA branch

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


Glint does not support gts imports with the extension

This is more a tracking issue, as I think Glint would need to solve this.
But I have a repro here: https://github.com/universal-ember/ember-primitives/pull/114
error looks like this:
[js] created dist in 738ms
[js] npm run build:js exited with code 0
[types] src/components/portal.gts:4:49 - error TS2307: Cannot find module './portal-targets.gts' or its corresponding type declarations.
[types]
[types] 4 import { findNearestTarget, type TARGETS } from './portal-targets.gts';
[types]                                                   ~~~~~~~~~~~~~~~~~~~~~~
[types]

Note that gts extensions were used in the import path to avoid needing @rollup/plugin-node-resolve
We already have:
allowImportingTsExtensions: true
```,
so I guess I'd expect it to also work for `gts` extensions?

I wonder why this is not failing CI for us?
We run linting on the typescript scenario here, and the fixtures have this .gts import, so shouldn't that have failed Glint and thus the linting script?

lint:fix doesn' run glint. I suspect if we run lint after lint:fix, we'll have errors

Also this probably? https://github.com/embroider-build/addon-blueprint/issues/196

yup

Also this probably? https://github.com/embroider-build/addon-blueprint/issues/196

Indeed: #199

this issue is resolved now, but we now have: https://github.com/embroider-build/addon-blueprint/issues/215


⚠ Samsung has degraded performance

In 9a08477, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2446 ms

Resolved: Samsung performance has improved in b418483.


Add function API documentation

Currently the 'API' page on readthedocs doesn't actually contain any of the API, only a high-level description. This should be fixed so people can view the API without having to look at the underlying source.

Done, added here: https://edmundsj.github.io/rcwa/api.html


Use CustomEvent instead of document.createEvent

What problem does this feature solve?
Document.createEvent has been deprecated, it is recommended to use CustomEvent instead.
https://developer.mozilla.org/zh-CN/docs/Web/API/Document/createEvent
https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/directives/model.js#L141

It's not supported by IE


⚠ Bofrost.fr has degraded performance

In ad70880, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1082 ms

Resolved: Bofrost.fr performance has improved in 3aa65b8 after 14 hours, 51 minutes.


⚡ Update clan image in overview

Replaced the clan image with a new link in the overview section.
Summary by Sourcery
Update the clan image link in the overview section of the documentation to a new URL.
Documentation:

Update the clan image link in the overview section of the documentation.

@CodiumAI-Agent /improve

PR Code Suggestions ✨

CategorySuggestion                                                                                ScoreBest practice

Improve the reliability and control of the hosted clan image by using a dedicated asset directory or controlled CDN

Consider using a more stable and controlled URL for the clan image.  Using a dedicated asset directory within your project or a controlled CDN can ensure the image remains available and is not changed without your consent.
contents/docs/getting-started/overview.mdx [18]
-![clans](https://preview.redd.it/7lo0jeycrce61.png?width=640&crop=smart&auto=webp&s=cb6cea7c6819f8da5979ab5c0a5f8c7a85d2ada4)
+![clans](https://yourcdn.com/path/to/clans.png)

Suggestion importance[1-10]: 8
Why: The suggestion addresses a potential issue with image hosting reliability by recommending a more stable and controlled URL. This change can prevent future problems with image availability, making it a valuable improvement for maintaining the documentation's integrity.
8


#1757 change get connection in dataprep

Description

/api/extensions/connection API is used to fetch database list in create database type dataset
Related Issue :

#1757
How Has This Been Tested?

Go to dataset list -> click create new database type dataset ->

Only results from /api/extensions/connection are shown as database options
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Additional Context

run build
deploy to 2


Test modified Mar 17

Modified scripts
TC-CC-2.1
TC-CC-9.1
TC-MC-9.1
Attached execution log for reference:
exe_log.txt

Fast tracking test changes.


USHIFT-332: Cleanup TopoLVM webhook labels

Signed-off-by: Ricardo Noriega<EMAIL_ADDRESS>
Which issue(s) this PR addresses:

Closes #USHIFT-332

/assign @copejon

/lgtm


Foundation type definitions do not match the latest version of JQuery

What should happen?
Able to run a project with the latest jQuery version and Foundation 6.
What happens instead?
Running into build issues with the type definitions because they are not up to date with the latest jQuery version.

Possible Solution

Update the type definitions to match the latest JQuery type definitions.

How to reproduce:

Create a project with latest foundation 6 branch and any jQuery 3.0+
a. I have tested it other jQuery versions it the issue happened as soon as the I hit 3.0
Project will not be built.

Context

Run into build errors. I've created a custom foundation-site to match the jQuery type in order for foundation to run properly with my solution.
I have my solution here:
https://github.com/tszutu/foundation-sites/commit/96f6d256723e82472e4a30986eab45666bc16660
Your Environment

Foundation version(s) used: 6.5.1
~ @types/jquery: 3.3.29

Checklist

[ x] I have read and follow the CONTRIBUTING.md document.
[ x] There are no other issues similar to this one.
[x ] The issue title and template are correctly filled.

Hi, this is probably a problem with @types/jquery in combination with your TypeScript version.
https://www.google.com/search?q=ts2314+typescript+jquery
Please provide a reproducible test case as repo.
The described steps are not sufficient.
Let me know when you have updated the issue description.
Labeling the issue as invalid (missing details) and closing it for now. We will reopen it when we have the required details.


Merge rev and srev functions without requiring the user to write more type application

I tried that on branch
https://github.com/Mikolaj/horde-ad/tree/failed-rev-scalar-codomain
via type classes and failed. This may or may not be possible for deep or shallow reasons. My hunch is that it's not a GHC limitation, but either my brain's limitation or unavoidable ambiguity.
Function rev computes a gradient, assuming a tensor codomain, while srev assumes scalar (Double or Float) codomain.

I think we gave up on supporting scalars at this point and instead we will try to optimize rank 0 tensors at some point. Closing.


Delete scatter gather code

A question in the form of a PR. What is this scatter gather logic? Seems like something left over from rediscover? Seems unrelated to Redis protocol so I'm deleting it.
@DanSimon @jlbelmonte @amotamed @aliyakamercan

Yeah it can be removed.  It is completely generic but I don't think serves any real purpose anymore.


Add prerender pipeline hooks for better extensibility

This need some design, so i address it to @SteveSandersonMS, if you good with such approach i could implement this.
So for better extensability it will be realy nice to have some pipeline injects to manage some additional variables passing from asp.net server directly to server JS (like some auth info beside cookie, or may be initial state of Redux store, so we don't have to grab it from web api via additional http requests).
For example there is could be some PrerenderOptions class which could be extended via calling AddPrerender method in ConfigureServices method of application startup class. This method just register some hepler interface to run prerender manually and setup prerender opions.
This options could be something like
 public class PrerenderOptions
 {
        public Action<Request, NodeInvocationInfo> BeforeRenderModule{ get; set; }

        public NodeServicesOptions() {
            this.HostingModel = _ => { };
        }
 }

Inside on NodeInvocationInfo options already Args[] property which passing directly to the JS Module invocation, so we could push anything to our JS code from server via this hook.
This is kinda realted to issue #66 (both require prerry much same refactoring, to establish clearer pipeline for prerendering process).

it will be realy nice to have some pipeline injects to manage some additional variables passing from asp.net server directly to server JS (like some auth info beside cookie, or may be initial state of Redux store, so we don't have to grab it from web api via additional http requests)

Totally agree. It seems to me that your asp-prerender-model proposal would cover this requirement. You could use that to pass any information you wanted into your server-side boot function.
Would that be sufficient? I'm hoping we don't need to introduce anything more complex than that, because there are already a lot of unfamiliar wiring concepts that developers have to deal with here.

Well, hooks very usefull to push data to every SPA you have (like user info or claims list or may be roles).
Model is usefull to populate initial state.

I mean "model" in the general sense. It can contain any information - for example a combination of user info, claims list, initial data, etc.

From your comment it sounds like #107 can be generalised enough to cover this requirement, so closing this issue in favour of #107. Please reopen if you disagree!

@SteveSandersonMS general information is still very usefull. If you need to pass to every SPA you have something, you need to create somekind of decorator to modify your model. And this is extra action you need to do. Like for same scenario with auth:
We have model passed to our View with some Data field.
<app asp-prerender-mode="Model"/>

And you pass just this data, and if you wanna to push User infor with this data, you have to create addtional ViewModel, and populate it some how.
@{
var decoratedModel = new DecoratedViewModel(Model, UserInfo);
}

<app asp-prerender-mode="decoratedModel "/>

What if you have 20 modules, each of them have different view model? You need to create some sort of abstraction around it. This scenario easily handled by such hook.


i18n(fr): update integrations-guide/mdx.mdx

Description (required)

Apply changes from #9027 to French translation of integrations-guide/mdx.mdx

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/integrations-guide/mdx.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


add subscriptions widget

RHCLOUD-31202

Create subscriptions widget for use in widgetized landing page

Is there a ticket associated with this PR? Or a description describing why its needed or who requested it?

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

Project coverage is 92.32%.  Consider uploading reports for the commit 30509ea to get more accurate results

Files
Patch %
Lines

src/components/Widgets/SubscriptionsWidget.tsx
0.00%
7 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   93.72%   92.32%   -1.40%
==========================================
  Files          36       37       +1
  Lines         462      469       +7
  Branches       96       96
==========================================
  Hits          433      433
- Misses         26       33       +7
  Partials        3        3

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

Is there a ticket associated with this PR? Or a description describing why its needed or who requested it?

Hello! I'm adding this as part of the widgetized landing page for the PlatEx UI team. RHCLOUD-31202
I also noticed this repo is using the old webpack config instead of the new fec.config.js. You might want to create a ticket to update this to the new config. There is some guidance around that here: https://console.dev.redhat.com/platform-docs/platform-experience/ui-onboarding

Hmm...ok.  I may have a lack of understanding of how this all works, but why do these components need to live in our repo? Wouldn't they be better placed in the "default-dashboard" and just use the APIs for the data within them?
What I'm getting at is that my team will then have to maintain this over time (add IQE tests / unit tests for it, make sure packages get updated, etc). And since it's not being used in our app/UI that seems out of place.
If we need to get together and discuss this further we certainly can.  I'm just trying to understand all the reasoning here.

Is there a ticket associated with this PR? Or a description describing why its needed or who requested it?

Hello! I'm adding this as part of the widgetized landing page for the PlatEx UI team. RHCLOUD-31202
I also noticed this repo is using the old webpack config instead of the new fec.config.js. You might want to create a ticket to update this to the new config. There is some guidance around that here: https://console.dev.redhat.com/platform-docs/platform-experience/ui-onboarding

Hmm...ok. I may have a lack of understanding of how this all works, but why do these components need to live in our repo? Wouldn't they be better placed in the "default-dashboard" and just use the APIs for the data within them?
What I'm getting at is that my team will then have to maintain this over time (add IQE tests / unit tests for it, make sure packages get updated, etc). And since it's not being used in our app/UI that seems out of place.
If we need to get together and discuss this further we certainly can. I'm just trying to understand all the reasoning here.

https://issues.redhat.com/browse/RHCLOUD-31881 The new landing page is being used to expose some of the curated functionality from different platform tenants on the user's home page. The PlatEx-UI team is currently working on adding the initial widgets, UX designs, and working with QE for coverage, etc, but we will likely need to involve your team in the future for the maintenance you mentioned.
Since the functionality we're "curating" is typically linked to functionality that tenants are exposing already, it made more sense to keep the widgets with the tenant applications, even though the widget itself may not be consumed or surfaced when viewing the tenant application. It's essentially just another mechanism for the tenant application to expose functionality to the user in a more customizable and summarized way to the user.

Since the functionality we're "curating" is typically linked to functionality that tenants are exposing already, it made more sense to keep the widgets with the tenant applications, even though the widget itself may not be consumed or surfaced when viewing the tenant application. It's essentially just another mechanism for the tenant application to expose functionality to the user in a more customizable and summarized way to the user.

Surely wish I could make this quoted conversation into one threaded comment...but anyway.
I'm going to set up a meeting with Kat Dixon to talk about all of this and further discuss requirements and timelines. As Luke alluded to it seems like everything you all want this widget to do might not even be possible without further feature developement in our application.  All of that is fine and I just want to make sure we're on the same page before I can commit my team to doing any of this. This is all news to me and we'd be happy to do it, we just need a more details.
I appreciate your responses here and the effort you've put in to get the widgets started for us.
I also want to apoligize in case I came across as rude or dismissive in any way.

Since the functionality we're "curating" is typically linked to functionality that tenants are exposing already, it made more sense to keep the widgets with the tenant applications, even though the widget itself may not be consumed or surfaced when viewing the tenant application. It's essentially just another mechanism for the tenant application to expose functionality to the user in a more customizable and summarized way to the user.

Surely wish I could make this quoted conversation into one threaded comment...but anyway.
I'm going to set up a meeting with Kat Dixon to talk about all of this and further discuss requirements and timelines. As Luke alluded to it seems like everything you all want this widget to do might not even be possible without further feature developement in our application. All of that is fine and I just want to make sure we're on the same page before I can commit my team to doing any of this. This is all news to me and we'd be happy to do it, we just need a more details.
I appreciate your responses here and the effort you've put in to get the widgets started for us.
I also want to apoligize in case I came across as rude or dismissive in any way.

Not at all! No problem, and apologies on our end for the sudden notice on this.

It looks like in the mock up there is a button in the empty state to manage subscriptions. Is that going to be added?

It looks like in the mock up there is a button in the empty state to manage subscriptions. Is that going to be added?

We're ditching that button in the empty state so that the sizing can be consistent in both cases. The user can still be directed there by clicking the link in the header.

It looks like in the mock up there is a button in the empty state to manage subscriptions. Is that going to be added?

@jlgre We're ditching that button in the empty state so that the sizing can be consistent in both cases. The user can still be directed there by clicking the link in the header.

Ack - then as far as I'm concerned this is good to go on to stage where we can verify it. I'll let @jmbuscemi confirm


Gem rack attack

Summary
Adds gem rack-attack to prevent DoS attack

@erikankodelia  @Dinuuu @epintos @mishuagopian can we move forward with this?

@erikankodelia would you fix conflicts, please?

@erikankodelia thanks!


Revert reserved immediate word shifts with imm[5]!=0

Description

Tests

Additional context

Metadata

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

Project coverage is 61.74%. Comparing base (8ff9318) to head (f25e041).

Files with missing lines
Patch %
Lines

rvgo/fast/vm.go
25.00%
4 Missing and 2 partials :warning:

rvgo/slow/vm.go
25.00%
4 Missing and 2 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
- Coverage   61.89%   61.74%   -0.15%
==========================================
  Files          27       27
  Lines        4091     4107      +16
==========================================
+ Hits         2532     2536       +4
- Misses       1427     1435       +8
- Partials      132      136       +4

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


Create kansascityMO.md

addresses #490

closes #490

@milesalex what error do you see? This is building for me, and I can load the email locally.

Updated content in #490


Change the dotnet-version to 6.0.x in build-and-test action once .NET 6 is released

Fixed in 2c581b0b2052ce34c8671489a012912a211d54ba


Mount host directory

I tried to mount volume like "-v /data:/tmp/registry-dev". Registry 2.0 started successfully, but when I try to push the image I am getting the following error:
Image push failed
FATA[0000] Error pushing to registry: Put ?digest=tarsum.v1%2Bsha256%3A1ecebf641f3e137af894012093c2f1a414fd6419dfacb538f775964179089aea: unsupported protocol scheme ""

Do you get the same error when you run the registry without the volume mount?

There is no error without volume mount.

@ssljivic Could you please provide registry and daemon logs from the failed PUT?

digest=tarsum.v1 means docker 1.5, which is not supported.
Can you test pushing with docker 1.6?
Thanks.

It's working fine for me here, docker info below, BUT, the docs are absurdly convoluted as of now, can this info be added to the registry hub page ? It's a bit useless to use a local registry that doesn't persist the images it receives...
====================
sudo docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

@zanella attempt at making the docs better goes on here: https://github.com/docker/distribution/pull/553 - let me know if you feel this is better.
Now, the registry DOES PERSIST images.
If it's not working for you, please provide at least the registry logs.
Something like this should just work out of the box:
mkdir `pwd`/registry-data
docker run -d -p 5000:5000 \
        -v `pwd`/registry-data:/tmp/registry-dev \
        --name registry registry:2

@ssljivic can you confirm what version of docker you are using?
Thanks.

@dmp42 Does the mounting works for the Python image as well? Realized now that on the docs PR above I forgot to specify ":2" on the command example

@zanella depends on the configuration flavor you choose (see storage_path in https://github.com/docker/docker-registry/blob/master/config/config_sample.yml)
@ssljivic your last comment is from Apr 28 - I'm going to close this ticket for now, but if you have some additional feedback or still experiencing this problem, please say so and I'll reopen.


Basic Obstacle Avoidance is modified

##########################################################
Basic Obstacle Avoidance
##########################################################
type
Assignment
git tags
Assignment
changes
Solution for basic obstacle avodiance
notes

I believe my colleague has pushed the assignment with the necessary changes!.

I don't know what you are referring to but there are no new changes. Not in this pull request at least.

Also avoid creating a fork of the repo and then creating a pull request from there. You all have access to create your own branches here.
If you really want to work on forked repos, then please make CI run on pull_request too.

Also avoid creating a fork of the repo and then creating a pull request from there. You all have access to create your own branches here.
If you really want to work on forked repos, then please make CI run on pull_request too.

OK, will do thanks. Could you help me to resolve this merge request? (we don't need this pull request though since colleague of mine used another branch for the assignment!)

Also avoid creating a fork of the repo and then creating a pull request from there. You all have access to create your own branches here.
If you really want to work on forked repos, then please make CI run on pull_request too.

OK, will do thanks. Could you help me to resolve this merge request? (we don't need this pull request though since colleague of mine used another branch for the assignment!)

If you don't need it I guess you can close it? Or did I misunderstand something?

Also avoid creating a fork of the repo and then creating a pull request from there. You all have access to create your own branches here.
If you really want to work on forked repos, then please make CI run on pull_request too.

OK, will do thanks. Could you help me to resolve this merge request? (we don't need this pull request though since colleague of mine used another branch for the assignment!)

If you don't need it I guess you can close it? Or did I misunderstand something?

This was the initial assignment pull request, but a colleague of mine used today another bench to complete the assignment. I figured this pull request is not needed anymore, am I right?

Yeap, it should be closed 👍

!!!This was the initial pull request for the assignment but used another branch later on.


Don't parse svn ls output; it may change

https://github.com/apache/www-site/blob/9f860a8bcd6e5b0172857f6587e4a5ecb82a62eb/theme/plugins/asfdata.py#L382
The format of svn ls output may change.
If details of file dates etc are needed, use --xml instead of -v.
The xml format has standardised timestamps

This code was copied from the incubator clutch code which is over a decade old. Please move this issue to either template-site or infrastructure-pelican.
This code in www-site is not used.

If the code is not used, why not remove it?

The asfdata plugin is intended for use by multiple sites. Theoretically, incubator could make a custom plugin. Today, its needed code resides in asfdata.
The output of svn is intended to be part of it's API and generally does not change in a breaking way. XML is a lot harder to deal with, and we do not have to spend engineering time to deal with hypothetical changes.


feature: cursor-like auto-completion/AI suggestions

Hello,
This is not completely related to monaco-languageclient but Windmill uses monaco through monaco-languageclient and we're interested to create a project and contribute open-source to give a cursor-like experience in the Editor. We already handle well the prompt/api part of the getting the auto-completion but we need to have a better UX in monaco to have something that ressemble the ability to see the multiple suggestions all at once as inline-diff and approval/deny them one by one.
Before we go too deep in the rabbithole, I was wondering if there were any shared interest in the broader community for this feature as an extension of monaco/monaco-languageclient/vscode

Hi @rubenfiszel we don't have any plans on this level right now.
@CGNonofr I assume the Chat and AI service overrides can be utilized to connect an implementation. Do you know of any real implementations apart from your dummy in the demo?
Theia released Theia AI (https://theia-ide.org/docs/theia_ai/) not to long ago, but I don't know if or how usable/portable this is outside Theia.

The Chat and AI services are exposed indeed, but honestly I've never tried to play with it really


About FFI failure: Failed to destroy GPU Graph

Description
I'm using the latest Nvidia driver 560 and try to work using libcuda_e2e in the jax_ffi_example folder.
 I guess this is related to the driver version? How can I resolve this?
System info (python version, jaxlib version, accelerator, etc.)

jax version 0.4.35

Pinging @ezhulenev in case he has advice. (Of note: that example uses the command buffer.)

Do you see any other errors in the logs? I think we need @nouiz here. The error looks like you tried to capture something that is not supported (i.e. device to host memory copy or stream synchronization), but I wonder why it works with older driver.
Can you try to run with env variable TF_CPP_VMODULE=gpu_command_buffer=100,command_buffer_cmd=100,command_buffer_thunk=100

Which version of JAX do you use?
Do you use external extension?

The latest Jax commit and I'm using the external ffi with cuda extension.


Add TTA mode in waifu2x.udp.jp?

In waifu2x caffe there is option called TTA where TTA is increasing PSNR by 0.15 times but 8 times slower conversion. Can this be added? or is it too much to handle TTA?

waifu2x.lua supports TTA.
waifu2x.udp.jp won't support TTA because TTA is very slow and  costly.


Updated rancher chart to mitigate cert-manager issue #2533

Fix issue #26505

@cbron , updated ingress_test.yaml to pass ci


Unable to Load Images to train model on Custom Datasets

Hello, I have just stuck with Image Instance Segmentation for a while. I am trying to train the Yolact model for my custom data. Here is some brief information about what I have done so far

I have annotated the image using labelme annotation tool
I have converted annotation file for each (train & validation data) using labelme2coco -> train.json & test.json
I made changes in the cofig.py file as needed and expected by yolact
As I was following this repository I encountered an error Argument 'bb' has incorrect type to which I have solved with the approach stated in this closed issue

After completing the above task I am stuck here with below-stated issue.
`Scaling parameters by 0.12 to account for a batch size of 1.
Per-GPU batch size is less than the recommended limit for batch norm. Disabling batch norm.
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
/usr/local/lib/python3.6/dist-packages/torch/jit/_recursive.py:165: UserWarning: 'lat_layers' was found in ScriptModule constants,  but it is a non-constant submodule. Consider removing it.
" but it is a non-constant {}. Consider removing it.".format(name, hint))
/usr/local/lib/python3.6/dist-packages/torch/jit/_recursive.py:165: UserWarning: 'pred_layers' was found in ScriptModule constants,  but it is a non-constant submodule. Consider removing it.
" but it is a non-constant {}. Consider removing it.".format(name, hint))
/usr/local/lib/python3.6/dist-packages/torch/jit/_recursive.py:165: UserWarning: 'downsample_layers' was found in ScriptModule constants,  but it is a non-constant submodule. Consider removing it.
" but it is a non-constant {}. Consider removing it.".format(name, hint))
Initializing weights...
Begin training!
Traceback (most recent call last):
File "train.py", line 504, in
train()
File "train.py", line 270, in train
for datum in data_loader:
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 363, in next
data = self._next_data()
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 989, in _next_data
return self._process_data(data)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 1014, in _process_data
data.reraise()
File "/usr/local/lib/python3.6/dist-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
AssertionError: Caught AssertionError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 185, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/content/yolact/data/coco.py", line 94, in getitem
im, gt, masks, h, w, num_crowds = self.pull_item(index)
File "/content/yolact/data/coco.py", line 141, in pull_item
assert osp.exists(path), 'Image path does not exist: {}'.format(path)
AssertionError: Image path does not exist: data/YolaDataset/train/6.JPG`
NOTE:I have moved my test & train data to yolact/data/YolactDataset ( also CWD is /yolact/ )
Here is the Log file
Yolact Leather Defect Config.log
Here is the content of config.py
yolact_leather_defect_dataset = Config({
    'name': 'Yolact Leather Defect',

    # Training images and annotations
    'train_images': './data/YolaDataset/train/',
    'train_info':   './data/train.json',

    # Validation images and annotations.
    'valid_images': './data/YolaDataset/test/',
    'valid_info':   './data/test.json',

    # Whether or not to load GT. If this is False, eval.py quantitative evaluation won't work.
    'has_gt': True,

    # A list of names for each of you classes.
    'class_names': ("FC", "LF", "OC", "PM"),

    # COCO class ids aren't sequential, so this is a bandage fix. If your ids aren't sequential,
    # provide a map from category_id -> index in class_names + 1 (the +1 is there because it's 1-indexed).
    # If not specified, this just assumes category ids start at 1 and increase sequentially.
    'label_map': {
        1:1, 2:2, 3:3, 4:4,
    }
})

yolact_leather_defect_config = coco_base_config.copy({
    'name': 'Yolact Leather Defect Config',

    # Dataset stuff
    'dataset': yolact_leather_defect_dataset,
    'num_classes': len(yolact_leather_defect_dataset.class_names) + 1,

    # Image Size
    'max_size': 550,

    # Training params
    'lr_steps': (280000, 600000, 700000, 750000),
    'max_iter': 800000,

    # Backbone Settings
    'backbone': resnet101_backbone.copy({
        'selected_layers': list(range(1, 4)),
        'use_pixel_scales': True,
        'preapply_sqrt': False,
        'use_square_anchors': True, # This is for backward compatability with a bug

        'pred_aspect_ratios': [ [[1, 1/2, 2]] ]*5,
        'pred_scales': [[24], [48], [96], [192], [384]],
    }),

    # FPN Settings
    'fpn': fpn_base.copy({
        'use_conv_downsample': True,
        'num_downsample': 2,
    }),

    # Mask Settings
    'mask_type': mask_type.lincomb,
    'mask_alpha': 6.125,
    'mask_proto_src': 0,
    'mask_proto_net': [(256, 3, {'padding': 1})] * 3 + [(None, -2, {}), (256, 3, {'padding': 1})] + [(32, 1, {})],
    'mask_proto_normalize_emulate_roi_pooling': True,

    # Other stuff
    'share_prediction_module': True,
    'extra_head_net': [(256, 3, {'padding': 1})],

    'positive_iou_threshold': 0.5,
    'negative_iou_threshold': 0.4,

    'crowd_iou_threshold': 0.7,

    'use_semantic_segmentation_loss': True,
})

I have tried to resolve the issue to the best can help myself. Any help would be appreciated.
Thank You!

I have miss-spelled the YolactDataset to YolaDataset in the configuration file.

I also have this problem with you, my reason is that there is a problem with the path of the picture, you are checking it well


fix: display label instead of value in select column of table widget

Fixed issue 26188
This pull request adds a new feature called "Display as" for the select column type in the table widget.

Whenever a column is set to select, by default we show labels and not values.

For existing tables, since we have created this problem we ensure we don't break their apps. We will give an option called "Display As" as suggested in the original issue and for new select columns, it will be Label and for existing columns, it will be Value.

We make it clear that the computed value here refers to the default value/display value. Displaying this as the helper text below the computed value property only for select column type.

Added a helper text below the computed value field that indicates that the computed value here is a default value/display value

Validation:When computed value is not present in the select option then we throw an error in select option. This is irrespective of displayAs property.

-For new row select options, there is no validation of computed value. Since are adding new data into the table and it has to adhere to the select options that we provide.

For displaying value in cell,
When display as is set to label, we show empty values for missing labels in the widget

When display as is set to value, we show the computed value as it is even if labels are missing

When computed value is not present in the select options, we still make the select options available. We do this because its not the select options that has issue but its computed value.

Summary by CodeRabbit

New Features

Enhanced table widget with new selectDisplayAs property to display options as label or value.
Updated PropertyControl component to support enhanced helperText functionality.

Improvements

Added helper text COMPUTED_VALUE_SELECT_HELPER_TEXT for clearer display of computed values in the table widget.

Bug Fixes

Fixed dropdown selection functionality in the AggregateHelper class.

Tests

Introduced comprehensive tests for new selectDisplayAs property and related functionalities in the table widget.

HI @ApekshaBhosale @marks0351 can you please review this PR?

Let me check this today.

@SaiCharanChetpelly31 I tried the PR on my local and couldn't get it working. For some reason, the select options always shows failed to validate for me

@jsartisan can you try giving options in this way?

Hey @SaiCharanChetpelly31 I am closing the PR as it does not work as intended. Also please check our contribution guidelines.

@jsartisan can you please try to give array of objects?

I tried the same. Passed an array of objects. It still does not work. 😕

Anyway, I would suggest you to pick something from the good first issue. By the way, I am really impressed that you understood the code of the table widget without any help. Great job on it but really sorry, we won't be accepting table widget contribution PR for now. It really consumes a lot of time for us and we are tight on bandwidth right now 🥲 Really sorry for this.

I tried the same. Passed an array of objects. It still does not work. 😕
Anyway, I would suggest you to pick something from the good first issue. By the way, I am really impressed that you understood the code of the table widget without any help. Great job on it but really sorry, we won't be accepting table widget contribution PR for now. It really consumes a lot of time for us and we are tight on bandwidth right now 🥲 Really sorry for this.

@jsartisan Sure i will pick good first issues.
It is giving error for you because it can accept only string or number for value property. But you gave boolean.
If it is working as intended, can you please add a comment for the same?
Thanks in advance.

Tried that too


docs: add example for failing responses on api specs

What this PR changes/adds
Adds example on ApiErrorDetail on api specs
Why it does that
documentation
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes #3393
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Patch coverage has no change and project coverage change: -0.01% :warning:

Comparison is base (2fa8022) 72.10% compared to head (57b3a76) 72.09%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3426      +/-   ##
==========================================
- Coverage   72.10%   72.09%   -0.01%
==========================================
  Files         830      830
  Lines       16816    16818       +2
  Branches      954      954
==========================================
  Hits        12125    12125
- Misses       4280     4282       +2
  Partials      411      411

Files Changed
Coverage Δ

.../java/org/eclipse/edc/api/model/ApiCoreSchema.java
0.00% <0.00%> (ø)

...dc/connector/api/management/asset/v3/AssetApi.java
0.00% <0.00%> (ø)

...ment/contractdefinition/ContractDefinitionApi.java
0.00% <ø> (ø)

...nt/contractnegotiation/ContractNegotiationApi.java
0.00% <ø> (ø)

...tor/api/management/policy/PolicyDefinitionApi.java
0.00% <ø> (ø)

...management/transferprocess/TransferProcessApi.java
0.00% <ø> (ø)

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


Istio Ingress gateway ends up broken when SDS fails

Bug description
Sometimes an ingress gateway pod fails while getting SDS secrets and ends up broken responding with 503 to all requests.
This seems to happen randomly so it is not easily reproducible.
After finding a broken pod and enabling debug logs this pops up:
2021-03-04T16:54:55.043313Z	debug	envoy wasm	expr_evaluate value error: No value with name "upstream_peer" found in Activation
2021-03-04T16:54:55.043326Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=12
2021-03-04T16:54:55.043330Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=6
2021-03-04T16:54:55.043332Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=10
2021-03-04T16:54:55.043335Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=14
2021-03-04T16:54:55.046567Z	debug	envoy router	[C15292569][S3750510621003656557] performing retry
2021-03-04T16:54:55.046587Z	debug	envoy pool	queueing request due to no available connections
2021-03-04T16:54:55.046590Z	debug	envoy pool	creating a new connection
2021-03-04T16:54:55.046594Z	debug	envoy config	Create NotReadySslSocket
2021-03-04T16:54:55.046615Z	debug	envoy client	[C15292848] connecting
2021-03-04T16:54:55.046619Z	debug	envoy connection	[C15292848] connecting to <IP_ADDRESS>:8000
2021-03-04T16:54:55.046706Z	debug	envoy connection	[C15292848] connection in progress
2021-03-04T16:54:55.046915Z	debug	envoy connection	[C15292848] connected
2021-03-04T16:54:55.046919Z	debug	envoy connection	[C15292848] closing socket: 0
2021-03-04T16:54:55.046942Z	debug	envoy client	[C15292848] disconnect. resetting 0 pending requests
2021-03-04T16:54:55.046946Z	debug	envoy pool	[C15292848] client disconnected, failure reason: TLS error: Secret is not supplied by SDS
2021-03-04T16:54:55.046952Z	debug	envoy router	[C15292569][S3750510621003656557] upstream reset: reset reason connection failure
2021-03-04T16:54:55.046968Z	debug	envoy http	[C15292569][S3750510621003656557] Sending local reply with details upstream_reset_before_response_started{connection failure,TLS error: Secret is not supplied by SDS}
2021-03-04T16:54:55.046988Z	debug	envoy http	[C15292569][S3750510621003656557] encoding headers via codec (end_stream=false):
':status', '503'
'content-length', '91'
'content-type', 'text/plain'
'date', 'Thu, 04 Mar 2021 16:54:54 GMT'
'server', 'istio-envoy'

We noticed issues appearing in relatively small clusters but with high service and pod density during rolling redeployments.
Also we did not see this issue with normal workload pods.
This issue seems related to https://github.com/istio/istio/issues/22443
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[X] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
I expected the pod to retry fetching SDS secrets after a failure or get not ready.
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
1.7.7
How was Istio installed?
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

When you do see this, if you do istioctl pc secret do you see ROOTCA warming? If so, its probably the same as https://github.com/istio/istio/issues/22443 which is fixed in 1.8

This is a known issue in 1.7 which is no longer supported https://istio.io/latest/news/support/announcing-1.7-eol-final/. Please upgrade! Thanks


Maya: Remove context prompt.

Changelog Description
More of a plea than a PR, but could we please remove the context prompt in Maya when switching tasks?
Testing notes:

Switch task in Maya.
Validate no prompt appears about which context you are entering.

Haha, yes please - we've done that originally too. We've now replaced it however with a pop-up about what settings the user wants to reset on the context change but ONLY if the user is saving somewhere else - not when opening.


Show max 20 canvases

The final output of above commits:
1 - On old view I added "Open Peers" tab that opens the PeerList
2 - The PeerList view
3- Filtering functionality

this is awesome @mkamonMdt !!! testing now

@mkamonMdt I think clippy is angry:
error: this expression creates a reference which is immediately dereferenced by the compiler
  --> videocall-client/src/decode/hash_map_with_ordered_keys.rs:93:29
   |
93 |             self.map.remove(&key);
   |                             ^^^^ help: change this to: `key`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
   = note: `-D clippy::needless-borrow` implied by `-D warnings`

error: unneeded `return` statement
   --> videocall-client/src/decode/peer_decode_manager.rs:168:9
    |
168 |         return false;
    |         ^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `-D clippy::needless-return` implied by `-D warnings`
help: remove `return`
    |
168 -         return false;
168 +         false
    |

error: could not compile `videocall-client` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:24: check] Error 101

fixed linter on main, I would just remove the footer placeholder and call it a day

Thanks for fixing it.


Convert our integration test config from solo to raft

Description
Currently our integration tests (as well as docker-compose setup) relies on solo, yet solo (and kafka) are deprecated in Fabric v2, so we should upgrade to a (single-node) raft orderer.   Supposedly also should be faster ...
See PR #307 for some discussion some changes (e.g., replacing SampleDevModeSolo by SampleDevModeEtcdRaft in common_ledger.sh) , also will require adding tls certs for orderer (and peer/client?) See also raft configuration docu
Link to dependent issues
Depends on #254 to be done; also related to #256

BTW: while TLS is mandatory between orderer nodes, it is seems it is not necessary to communication with clients iff the client config is separatedly defined from the server config in configtx.yaml (see comments in https://github.com/APGGroeiFabriek/PIVT#scaled-up-raft-network-without-tls found via a post in the Fabric ML.   Given that here we anyway want to have only one orderer node, we might get away with any client certificates which should simplify the setup.
BTW(2): for the test setup we could potentially also create certs and keys once and for all and check them into git? Condition of course would be that life-time of certificate is long enough ....

am having a problem on polices, after switching ordertype to etcdraft in configtx.yaml and enabling tls in the orderer.yaml file, am getting an error related to policy of which I have not figured out a way to solve it.
The following is the error am getting
Error: got unexpected status: BAD_REQUEST -- error validating channel creation transaction for new channel 'mychannel', could not successfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied

implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied

Could you paste here the configtx and crypto-config yamls?

I guess I got a break through on the policy issue. What I did is to shutdown the docker container and then restarted it, once that was done it now was able to pass the policy stuff...
Now am hitting a timeout...
If up to this level I could just create a pr and push my changes so that you can see the all the files I have changed and others that are generated..

I have it working for now without enabling tls

As mentioned on Thursday's call, raft requires TLS only between raft nodes not necessarily between raft nodes (orderer) and the clients of the ordering service.  To make it work it requires separating the communication settings (port etc ...) of these two services which are by default co-alesce. See above link i gave 5 days ago for some background ...

Addressed by PR #324


Switched distSquared() to proper units.

Switched distSquared() in  controller.cpp to proper units.

Closing this PR. Boost units changes can still be seen here: https://github.com/nobleo/path_tracking_pid/compare/cleanup/boost-units-4


Cancelling a row addition should delete the row

As per the SO question http://stackoverflow.com/questions/21336943/customize-the-cancel-code-button-of-the-x-editable-angularjs and demonstrated at http://vitalets.github.io/angular-xeditable/#editable-row
I believe that the correct behaviour on clicking cancel after adding a new row should delete the newly-added row. I have worked around this with a custom function.

The editable-table example shows on to use an on-cancel event to do this.

@eugef I think this can be closed.


M2 install issues

ImportError: dlopen(/Users/user/python-virtual-environments/project_env/lib/python3.9/site-packages/gdstk.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace '__ZN5gdstk12error_loggerE'
@thomaslima
@lukasc-ubc
@lucas-flexcompute

I tried today on an macbook M1 and seems to work fine
Can you try to use the latest release where the MacOS built finished correctly?https://github.com/gdsfactory/gdsfactory/releases/tag/v6.72.7
then pip install gdsfactory --upgrade

If you run
mamba install gdstk -ypip install gdstk
it should work

I updated the install instructions


ghostElement availability onStart with forceFallback

I want to have access to the ghost element on the onStart method when i have forceFallback set to true.
For example I need to change some props on the ghost element just before this is appended to the document.
As of now I am unable to do that from onStart, e.g. http://jsbin.com/ranipododu/1/edit?html,js,output

For example I need to change some props on the ghost element just before this is appended to the document.

Please give an example of such properties, and for what purpose they might need?


Missing null check after OPENSSL_zalloc

Here're places that null pointer check is missing after OPENSSL_zalloc.

The pointer exchange is used directly in line 23 without being null checked.

https://github.com/openssl/openssl/blob/3c957bcd54d097167e53660fa100aa1ba85d63b5/crypto/evp/exchange.c#L21-L23

The pointer signature is also used directly in line 23. Similar to the first one

https://github.com/openssl/openssl/blob/3c957bcd54d097167e53660fa100aa1ba85d63b5/crypto/evp/pmeth_fn.c#L21-L23

In the function OPENSSL_buf2hexstr, the result of OPENSSL_zalloc is directly returned without null check. The dependents of OPENSSL_buf2hexstr are not checking null-pointers too.

https://github.com/openssl/openssl/blob/3c957bcd54d097167e53660fa100aa1ba85d63b5/crypto/o_str.c#L242

cc @mattcaswell

@Liby99 thank you for your report. Note that I edited your description and converted your code links to permalinks. There is an easy trick to do this: if you follow your original link, you can press the 'y' key and GitHub will convert branch references into permalinks (by replacing branch names by commit hashes), thus making them 'unmovable'. Also, it has the nice side effect that GitHub markdown renders these fancy permalink boxes instead of just links.

I was indeed having trouble creating links. Thanks for your help!

You're welcome. BTW, you can press the '?' key on any GitHub page, for example here at pmeth_fn.c and you'll see more useful keyboard shortcuts.

One of my favourites is the "code tree warp" sequence: press g c ("goto code") to jump to the source tree and then press t (f"tree") to quickly jump to any file you like.

 Really useful tips! Thank you!

Fix in #10526.


[SP-2644] - Backport of PDI-14910 - UDJC Cannot Read fields from Tabl…

…e Input Info Step (6.1 Suite)
Backport of https://github.com/pentaho/pentaho-kettle/commit/8109f7d9f8ddb0fca3a0db5e541749cf1c0dbe7b.

@mbatchelor Could you please take a look?

Build Commands:
Build:

ant -Dtestreports.dir=bin/reports/unit-test -Djunit.jvmargs=-XX:PermSize=256m -f engine/build.xml clean-all resolve jacoco && ant -Dpentaho.coding.standards.version=1.0.4 -Dtestreports.dir=bin/reports/integration-test -Djunit.jvmargs=-XX:PermSize=256m -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup:
rm -r ~/.ivy2/local || echo no publish local to remove
Changed files:
engine/src/org/pentaho/di/trans/TransMeta.java
engine/test-src/org/pentaho/di/trans/TransMetaTest.java
Unit test coverage change:
org.pentaho.di.core.auth.core.impl.DefaultAuthenticationConsumerFactory:

Branch Change :  + 7.14%
Complexity Change :  + 7.69%

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper:

Branch Change :  + 1.64%
Complexity Change :  + .69%
Instruction Change :  + 2.43%
Line Change :  + 2.95%

org.pentaho.di.trans.step.BaseStepMeta:

Branch Change :  + 2.50%
Complexity Change :  + 2.70%
Instruction Change :  + 3.18%
Line Change :  + 2.72%
Method Change :  + 3.30%

org.pentaho.di.trans.step.StepIOMeta:

Branch Change :  + 7.14%
Complexity Change :  + 4.88%
Instruction Change :  + 7.23%
Line Change :  + 5.62%
Method Change :  + 3.70%

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta:

Instruction Change :  + .18%

org.pentaho.di.trans.steps.userdefinedjavaclass.TransformClassBase:

Branch Change :  + 5.00%
Complexity Change :  + 2.08%
Instruction Change :  + 4.38%
Line Change :  + 2.78%
Method Change :  + 1.77%

org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassDef:

Branch Change :  + 50.00%
Complexity Change :  + 46.67%
Instruction Change :  + 71.95%
Line Change :  + 60.00%
Method Change :  + 53.85%

org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassDef.ClassType:

Complexity Change :  + 50.00%
Instruction Change :  + 76.32%
Line Change :  + 100.00%
Method Change :  + 50.00%

org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassMeta:

Branch Change :  + 13.39%
Complexity Change :  + 14.61%
Instruction Change :  + 10.41%
Line Change :  + 15.56%
Method Change :  + 30.30%

org.pentaho.di.trans.TransMeta:

Branch Change :  + 2.09%
Complexity Change :  + 1.30%
Instruction Change :  + 1.53%
Line Change :  + 1.73%
Method Change :  + 1.86%

Integration test coverage change:
org.pentaho.di.trans.TransMeta:

Instruction Change :  + .01%
Line Change :  + .03%

Checkstyle violations:
See: https://github.com/pentaho/pentaho-coding-standards
File /home/buildguy/project/engine/src/org/pentaho/di/trans/TransMeta.java

Message: '{' at column 7 should be on the previous line. at Line: 1,123 Column: 7
Message: '{' at column 7 should be on the previous line. at Line: 1,190 Column: 7
Message: '{' at column 5 should be on the previous line. at Line: 1,666 Column: 5
Message: '{' at column 7 should be on the previous line. at Line: 1,669 Column: 7
Message: '{' at column 13 should be on the previous line. at Line: 2,958 Column: 13

@andrei-viaryshka please review code style on this pull request.

Build Commands:
Build:

ant -Dtestreports.dir=bin/reports/unit-test -Djunit.jvmargs=-XX:PermSize=256m -f engine/build.xml clean-all resolve jacoco && ant -Dpentaho.coding.standards.version=1.0.4 -Dtestreports.dir=bin/reports/integration-test -Djunit.jvmargs=-XX:PermSize=256m -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup:
rm -r ~/.ivy2/local || echo no publish local to remove
Changed files:
engine/src/org/pentaho/di/trans/TransMeta.java
engine/test-src/org/pentaho/di/trans/TransMetaTest.java
Unit test coverage change:
org.pentaho.di.core.auth.core.impl.DefaultAuthenticationConsumerFactory:

Branch Change : -7.14%
Complexity Change : -7.69%

org.pentaho.di.core.lifecycle.KettleLifecycleSupport:

Branch Change :  + 8.33%
Complexity Change :  + 9.09%

org.pentaho.di.job.entries.sql.JobEntrySQL:

Instruction Change : -1.64%
Line Change : -1.97%

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper:

Branch Change : -1.64%
Complexity Change : -.69%
Instruction Change : -2.43%
Line Change : -2.95%

org.pentaho.di.trans.step.BaseStepMeta:

Branch Change :  + 2.50%
Complexity Change :  + 2.70%
Instruction Change :  + 3.18%
Line Change :  + 2.72%
Method Change :  + 3.30%

org.pentaho.di.trans.step.StepIOMeta:

Branch Change :  + 7.14%
Complexity Change :  + 4.88%
Instruction Change :  + 7.23%
Line Change :  + 5.62%
Method Change :  + 3.70%

org.pentaho.di.trans.step.StepMeta:

Instruction Change :  + .19%
Line Change :  + .27%

org.pentaho.di.trans.steps.excelwriter.ExcelWriterStepMeta:

Instruction Change : -.08%

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta:

Instruction Change :  + .07%

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta:

Instruction Change :  + .18%

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta:

Branch Change : -.53%

org.pentaho.di.trans.steps.userdefinedjavaclass.TransformClassBase:

Branch Change :  + 5.00%
Complexity Change :  + 2.08%
Instruction Change :  + 4.38%
Line Change :  + 2.78%
Method Change :  + 1.77%

org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassDef:

Branch Change :  + 50.00%
Complexity Change :  + 46.67%
Instruction Change :  + 71.95%
Line Change :  + 60.00%
Method Change :  + 53.85%

org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassDef.ClassType:

Complexity Change :  + 50.00%
Instruction Change :  + 76.32%
Line Change :  + 100.00%
Method Change :  + 50.00%

org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassMeta:

Branch Change :  + 13.39%
Complexity Change :  + 14.61%
Instruction Change :  + 10.41%
Line Change :  + 15.56%
Method Change :  + 30.30%

org.pentaho.di.trans.TransMeta:

Branch Change :  + 2.09%
Complexity Change :  + 1.30%
Instruction Change :  + 1.53%
Line Change :  + 1.73%
Method Change :  + 1.86%

Integration test coverage change:
org.pentaho.di.trans.TransMeta:

Instruction Change :  + .01%
Line Change :  + .03%

@pamval updated


Ability to include custom restriction variable value and add the error message to base

Until now, the validates_timeliness gem can only use the default restriction value which is calculated from the variable that is specified in the :on_or_before, :on_or_after, :before and :after option. Now we can specify our own restriction_value which can be interpolated in the error message.
This PR also adds the option of adding the error message to the base.

@adzap any word on this?

@adzap any word on this?


Add close functionality to the "New Region" view

when selecting Regions  in settings and pressing Add Region  the interface doesn’t carry the Cancel button, so the user can close the form and get back to the regions list.

Hello @FuzzyReason, since I am starting with React, would be great if I can have a look into it. Let me know if this can be assigned to me, would be happy to help 🙂. Thanks!!


Cannot set a DataFrame with multiple columns to the single column miRNA_cbind

miRge is abruptly stopping after alignment and shows an error for summarizing and tabulating results
below is the code i ran and the response i got, i tried the code with several modification but still getting the same error
miRge3.0 -s dht_treated_1.fastq.gz,dht_treated_2.fastq.gz,dht_treated_3.fastq.gz,etoh_treated_1.fastq.gz,etoh_treated_2.fastq.gz,etoh_treated_3.fastq.gz  -lib mirgelib/ -on human -db mirgenedb -gff -nmir -trf -ai -cpu 12 -a illumina
/home/imran/anaconda3/envs/mirge3/lib/python3.8/site-packages/Bio/pairwise2.py:278: BiopythonDeprecationWarning: Bio.pairwise2 has been deprecated, and we intend to remove it in a future release of Biopython. As an alternative, please consider using Bio.Align.PairwiseAligner as a replacement, and contact the Biopython developers if you still need the Bio.pairwise2 module.
warnings.warn(
bowtie version: 1.3.1
cutadapt version: 4.4
Samtools version: 1.6
RNAfold version: 2.6.2
Collecting and validating input files...
miRge3.0 will process 6 out of 6 input file(s).
Cutadapt finished for file dht_treated_1 in 3.4548 second(s)
Collapsing finished for file dht_treated_1 in 0.0951 second(s)
Cutadapt finished for file dht_treated_2 in 3.6683 second(s)
Collapsing finished for file dht_treated_2 in 0.9491 second(s)
Cutadapt finished for file dht_treated_3 in 3.8739 second(s)
Collapsing finished for file dht_treated_3 in 1.2447 second(s)
Cutadapt finished for file etoh_treated_1 in 4.0007 second(s)
Collapsing finished for file etoh_treated_1 in 1.5158 second(s)
Cutadapt finished for file etoh_treated_2 in 3.5539 second(s)
Collapsing finished for file etoh_treated_2 in 1.7891 second(s)
Cutadapt finished for file etoh_treated_3 in 3.8438 second(s)
Collapsing finished for file etoh_treated_3 in 2.0471 second(s)
Matrix creation finished in 0.4205 second(s)
Data pre-processing completed in 31.1077 second(s)
Alignment in progress ...
Alignment completed in 16.2217 second(s)
Summarizing and tabulating results...
Traceback (most recent call last):
File "/home/imran/anaconda3/envs/mirge3/bin/miRge3.0", line 10, in
sys.exit(main())
File "/home/imran/anaconda3/envs/mirge3/lib/python3.8/site-packages/mirge/main.py", line 166, in main
summarize(args, workDir, ref_db, base_names, pdMapped, sampleReadCounts, trimmedReadCounts, trimmedReadCountsUnique)
File "/home/imran/anaconda3/envs/mirge3/lib/python3.8/site-packages/mirge/libs/summary.py", line 744, in summarize
subpdMapped['miRNA_cbind'] = subpdMapped[['exact miRNA', 'isomiR miRNA']].apply(lambda x: ''.join(x), axis = 1)
File "/home/imran/anaconda3/envs/mirge3/lib/python3.8/site-packages/pandas/core/frame.py", line 3940, in setitem
self._set_item_frame_value(key, value)
File "/home/imran/anaconda3/envs/mirge3/lib/python3.8/site-packages/pandas/core/frame.py", line 4094, in _set_item_frame_value
raise ValueError(
ValueError: Cannot set a DataFrame with multiple columns to the single column miRNA_cbind

Hi @imranjesar,
It seems like the adapter sequence is incorrect. You can check the FAQ on how to detect adapters in your sample here. Alternatively, if you can share the subset of data, I can have a look.
Let me know if this works out.
Thank you,
Arun.

Hi @arunhpatil
Thank you for pointing out the problem, I removed the adapters using fastp, and then miRge3.0 ran successfully for my data
I appreciate your help
Thanks
Imran

Hi @imranjesar
I am glad it worked. Also note that, miRge3.0 can trim adapters, and use of correct adapter sequences determines the precise small-RNA annotations and quantifications.
Thank you,
Arun.


Automated Package Upgrade

:tada: This PR is included in version 10.0.21 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Assigning type interface to an instance of a class implementing interface with added properties

Bug Report

🔎 Search Terms
Assigning interface type to a class instance implementing interface

🕗 Version & Regression Information
Using version 4.7.4. First noticed 8/8/22

This is the behavior in every version I tried, and I reviewed the FAQ for entries about implementing an interface

⏯ Playground Link

Playground link with relevant code
💻 Code

interface MyInterface {
  myProp1: string;
}

class MyClass implements MyInterface {
  myProp2 = '2';
  constructor(public myProp1: string) {}
}

let instance: MyInterface = new MyClass('1'); // no type error
console.log(instance.myProp2); // 'myProp2' does not exist on type 'MyInterface'. Did you mean 'myProp1'?

🙁 Actual behavior
If a class implements interface and has added properties/methods (in addition to those required by the implementation), attempting to assign type interface to instance of that class would not result in an error. Instead, the error only comes up when trying to access an added property/method on instance.

🙂 Expected behavior
If a class implements interface and has added properties/methods (in addition to those required), attempting to assign type interface to instance of that class would result in a type error.

Is this the intended behavior here?

This is how interfaces work in pretty much all languages that have them.  You've said that instance is typed as MyInterface, so there's no requirement that any object assigned to it has a .myProp2.  Therefore the compiler doesn't let you access it.
Also, if the assignment was a type error, that would be too restrictive since then you wouldn't be able to implement multiple interfaces.


⚠ ClamAV has degraded performance

In 100ce57, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 242 ms

Resolved: ClamAV performance has improved in 8d46a02.


Make section on IO

Both file IO (saving and loading, currently a seperate section), file-transfer data streaming.
A related term is data aquisiton, for which there is at least https://github.com/JaneliaSciComp/NIDAQ.jl. More DAQ packages available at https://juliapackages.com/packages?search=daq.

Closed by commit 735b793