Ordered comparison between pointer and zero ('char *' and 'int') error

Clang 4 produces this error in mmfile.cxx line 60.

The same error occurs here on macOS High Sierra.
mmfile.cxx:60:14: error: ordered comparison between pointer and zero ('char *' and 'int')

The line
if(m_beg > 0)
was changed to
if(m_beg > (char *)0)
and now it compiles.

i think checking for nullptr is nicer. i didn't bother creating a pull request, fix:
https://github.com/fake666/mimetic/commit/34c7e9563cbcab004d43d9a150361ca10715cc5a
merged in my fork

Thanks man!

gcc11 started to produce an error about that, too:
mmfile.cxx: In member function 'bool mimetic::MMFile::map()':
mmfile.cxx:60:14: error: ordered comparison of pointer with integer zero ('char*' and 'int')
   60 |     if(m_beg > 0)
      |        ~~~~~~^~~

After writing the comment above I realized that the problem is already fixed by bf84940f. So, sorry for the noise and I guess this issue can be closed.

yeah, thanks for looking into it anyway!


Add missing onPartnerAdImpression

IronSource fires a series of trackers at the beginning of the ad including adTracked. Without the ability to examine these network calls from the SDK, we cannot say with certainty when this is sent.

This was confirmed by ironSource to be the signal that their impression tracking had fired.


Working with limits

I've set limits on one of two rotors to prevent the panels from crashing my base. However, the script doesnt work very well with these limits and the optimal position is never found. It would be nice if the script respected limits and didn't try to break them. Instead it should check the other direction on that rotor.

Even without limits the script is not really working well. I'm aware of that and working on it.

The script did work very well for one day cycle. But my panel is not symmetric and on the second day it tried to use the backside of the solar panels (which do provide power, but also led to damage on the base, as the "arm" supposed to be up was now facing down). Now that I've set limits that cannot happen anymore, but the alignment is not good.
I've read through some other issues and I'd recommend to focus on one and two axis setups. You seem to try to create an unicorn script before the more practical setups are working well. (Just my opinion, feel free to ignore)


Why Drawer?

If not exposed nor in the docs nor used internally.
Why this https://github.com/GeekyAnts/NativeBase/blob/97fce0c6b82ca0ef4f1adb29d27156640207feee/index.js#L74 ?
It's breaking mocha and jest tests because transpiler don't go this deep. Also, it's a dependency outside of the npm registry. Therefore, duplicated in most of the cases. Why it's in vendor?
Too many questions.

Note: it's not breaking the jest tests. But the tests are failing. For some reason jest-babel is not transpiling NativeBase. All other libs are working nice but not this one. Any idea?

Here's a fork of the kitchen-sink-app showin the error: https://github.com/sospedra/NativeBase-KitchenSink
I just added jest and a very simple test. And it's failing miserably :)

@sospedra We will check it and update you soon.

Any response of this? I'm getting the same error on a fresh project.

Any update on this?

bump ^^

I have found a workaround, just mock the native-base classes in jest, like the react-native project does.
But a better solution is to provide npm prepublish script to build the project using Babel after install.

We've transpiled native-base to support es2015. It works but won't update :/
https://www.npmjs.com/package/native-base-es2015
We're probably dropping native-base in the following weeks. Doesn't feelk like worth it.

@sospedra Sorry you feel that way. We understand that test cases are important. We are soon going to add jest support in a new version which will be going live in 2-3 weeks.

how can I mock jest classes? I having the same problem:
npm test

><EMAIL_ADDRESS>test /path/to/myapp
> jest

 FAIL  __tests__/index.ios.js
  ● Test suite failed to run

    /path/to/myapp/node_modules/native-base/index.js:4
    import Drawer from './Components/vendor/react-native-drawer';
    ^^^^^^
    SyntaxError: Unexpected token import

      at transformAndBuildScript (node_modules/jest-runtime/build/transform.js:316:10)
      at Object.<anonymous> (jsx/SettingsPage.js:21:17)
      at Object.<anonymous> (index.ios.js:12:19)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        59.317s
Ran all test suites.
npm ERR! Test failed.  See above for more details.

We are soon going to add jest support in a new version which will be going live in 2-3 weeks.

@himanshu-satija, I see there have been 3 releases since this was posted, has this issue been fixed?

This is still a problem....any thoughts?

Nobody fix it. Therefore yes @shkfnly

Bump, I'm having this exact issue on a fresh project and will likely move on from nativebase without being able to write my tests with it.

Jest support has been added to 0.5.21. Please update and check.

Why not put react-native-drawer in package.json dependencies like react-native-vector-icons?

Fixed with 2.0.

Now we are exporting ES5 by default.
Added react-native-drawer as a dependency


Not Functional on M1 Mac

Not sure if this is a duplicate of #34, but the README currently clearly says that (for Lean 4), I should be able to just use elan
to install an ARM-64 Lean 4:

M1 Mac:
Lean 4 has native macOS/aarch64 releases (nightly only so far) that you can install as above.

Unfortunately, this doesn't actually work:
$ curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
elan: unknown CPU type: arm64

Thanks for the report. I don't currently have access to an M1 machine. Could you try changing the script accordingly? Should be sufficient to change aarch64) to arm64 | aarch64).

Ok, I did that, and the script now invokes the installer ok, but the installer can't find darwin_aarch64 on nightly:
$ bash elan-init.sh --default-toolchain nightly -v -y
info: downloading installer
verbose: installing toolchain 'nightly'
verbose: toolchain directory: '/Users/donaldpinckney/.elan/toolchains/nightly'
info: syncing channel updates for 'nightly'
info: latest update on nightly, lean version nightly-2020-04-28
info: downloading component 'lean'
verbose: creating temp file: /Users/donaldpinckney/.elan/tmp/75uien5tfc47tr_z_file
verbose: downloading file from: 'https://github.com/leanprover-community/lean-nightly/releases/tag/nightly-2020-04-28'
verbose: downloading with curl
verbose: deleted temp file: /Users/donaldpinckney/.elan/tmp/75uien5tfc47tr_z_file
verbose: removing toolchain directory: '/Users/donaldpinckney/.elan/toolchains/nightly'
error: binary package was not provided for 'darwin_aarch64'

I'm not sure why 2020-04-28 is appearing in there, that seems really old...?

Ah, I see, I have to specify leanprover/lean4:nightly rather than nightly. Seems to install fine now! Shall I submit a PR for the script fix?

Yes, please do! Also feel free to update the readme, "that you can install as above" is not quite right as you pointed out (however, it should just work when installing from inside VS Code after your fix).

Ok, great, the PR is #70. Thanks again for the help!


Update build badge

I forgot to update the build badge...

Thank you...

Well, I messed up the config, but I will work that out in the next minutes...


Remove hosting references

@JunTaoLuo @moozzyk

Hi @mikaelm12, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Oops


Join DataFrame on multiple columns

How to join two DataFrame objects on multiple common columns? I find leftJoin().on() can only take String arg but not String... arg. And the following code can only join on one column.
DataFrame df = df1.leftJoin().on("col_a", "col_a").with(df2);

Hi, you can provide on multiple times in the same join, each invocation defining separate join criterion.

Closing. I think the question is answered


Python ToC auto-generation metadata update

Changed services:
Legend:

OriginalService -- Service under which the package is currently listed in the reference ToC
NewService -- New service name using auto-generated ToC and metadata in python-packages.csv

Package                                          OriginalService                  NewService
-------                                          ---------------                  ----------
azure-cognitiveservices-knowledge-qnamaker       Cognitive Services               QnA Maker
azure-mgmt-synapse                               Synapse                          Synapse Analytics
azure-cognitiveservices-search-videosearch       Cognitive Services               Video Search
azure-mgmt-support                               Support                          Help + support
azure-mgmt-compute                               Virtual Machines                 Compute
azure-cognitiveservices-language-textanalytics   Cognitive Services               Text Analytics
azure-mgmt-containerinstance                     Container Instance               Container Instances
azure-cognitiveservices-vision-contentmoderator  Cognitive Services               Content Moderator
azure-identity                                   Azure Identity                   Identity
azure-mgmt-privatedns                            DNS                              Private DNS
azure-mgmt-security                              Security                         Security Center
azure-iot-device                                 IoT                              IoT Plug and Play
azure-mgmt-billing                               Billing                          Cost Management + Billing
azure-core-tracing-opencensus                    Azure Core                       Other
azure-graphrbac                                  Graph RBAC                       Microsoft Graph
azure-mgmt-recoveryservicesbackup                Recovery Services Backup         Site Recovery
azure-applicationinsights                        Application Insights             Monitor
azure-cognitiveservices-vision-face              Cognitive Services               Face
azure-mgmt-subscription                          Resources                        Subscriptions
azure-cognitiveservices-search-websearch         Cognitive Services               Web Search
azure-mgmt-msi                                   Active Directory                 Managed Service Identity
azure-mgmt-cdn                                   CDN                              Content Delivery Network
azure-mgmt-rdbms                                 PostgreSQL/MySQL                 Database for MySQL/PostgreSQL
azure-mgmt-applicationinsights                   Application Insights             Monitor
azure-cognitiveservices-vision-customvision      Cognitive Services               Custom Vision
azure-cognitiveservices-vision-computervision    Cognitive Services               Computer Vision
azure-mgmt-core                                  Azure Core                       Other
azure-cognitiveservices-language-spellcheck      Cognitive Services               Spell Check
azure-mgmt-iothub                                IoT                              IoT Hub
azure-cognitiveservices-search-visualsearch      Cognitive Services               Visual Search
azure-cognitiveservices-personalizer             Cognitive Services               Personalizer
azure-core-tracing-opentelemetry                 Azure Core                       Other
azure-digitaltwins-core                          Digital Twins                    IoT
azure-cognitiveservices-speech                   Cognitive Services               Speech
azure-mgmt-web                                   Web Apps                         App Service
azure-mgmt-hanaonazure                           Hana on Azure                    SAP HANA on Azure
azure-mgmt-policyinsights                        Policy                           Policy Insights
azure-mgmt-recoveryservices                      Recovery Services                Site Recovery
azure-iot-hub                                    IoT                              IoT Hub
azure-mgmt-agrifood                              AgriFood                         FarmBeats
azure-mgmt-edgegateway                           Data Box Edge / Data Box Gateway Stack Edge
azure-common                                     Other                            Core
azure-cognitiveservices-search-customimagesearch Cognitive Services               Custom Image Search
azure-mgmt-workloadmonitor                       Monitor                          Work Load Monitor
azure-cognitiveservices-language-luis            Cognitive Services               Language Understanding
azure-mgmt-netapp                                NetApp                           NetApp Files
azure-cognitiveservices-search-imagesearch       Cognitive Services               Image Search
azure-mgmt-kusto                                 Kusto                            Data Explorer
azure-loganalytics                               Log Analytics                    Monitor
azure-cognitiveservices-anomalydetector          Cognitive Services               Anomaly Detector
azure-cognitiveservices-search-entitysearch      Cognitive Services               Entity Search
azure-mgmt-automanage                            Auto Manage                      Automanage
azure-mgmt-redis                                 Redis                            Redis Cache
azure-cognitiveservices-search-newssearch        Cognitive Services               News Search
azure-cognitiveservices-search-customsearch      Cognitive Services               Custom Search
azure-mgmt-datalake-store                        Data Lake Store                  Data Lake Storage (Gen 1)
azure-core                                       Azure Core                       Other
azure-mgmt-azurestackhci                         Stack                            Stack HCI

cc @scottaddie

Closing as this somehow didn't start from a more contemporary view of main ... The new PR is here: https://github.com/Azure/azure-sdk/pull/4085


BUG:Login and register functionality is completely broken

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Right now registration and sign in is not possible on the website. As can be seen from the below video or you can try yourself:
https://github.com/anuragverma108/SwapReads/assets/32983571/34db2186-298a-44b7-a907-792600ae7981
I have worked on a fix that fixes this issue as seen below:
https://github.com/anuragverma108/SwapReads/assets/32983571/92df2016-5848-4613-a3ef-fd64ba222a2e
please assign me this issue as I have already solved it just need permission to PR.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

please assign it to me

@anuragverma108 this is still broken can you assign me?

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Right now registration and sign in is not possible on the website. As can be seen from the below video or you can try yourself:
https://github.com/anuragverma108/SwapReads/assets/32983571/34db2186-298a-44b7-a907-792600ae7981
I have worked on a fix that fixes this issue as seen below:
https://github.com/anuragverma108/SwapReads/assets/32983571/92df2016-5848-4613-a3ef-fd64ba222a2e
please assign me this issue as I have already solved it just need permission to PR.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

assigned!


Angular 2 RC6 - DynamicComponentLoader removed

RC.6 removes the DynamicComponentLoader. This is used in NgGrid.
Can we have an update to fix this?

Any status on an update?

+1

Version 0.10.0 with rc6 support now published


Very low speed when running projects/habitat_ovmm/eval_baselines_agent.py

Hi, in my machine, I use a P5000 with 16384MiB. I run the code of ovmm projects/habitat_ovmm/eval_baselines_agent.py, but is very slow. It takes 30 min per episode. Is it normal? Thanks.

You are sure it is running on the GPU?

On Aug 7, 2024, at 5:26 AM, Ran Ding @.***> wrote:
Hi, in my machine, I use a P5000 with 16384MiB. I run the code of ovmm projects/habitat_ovmm/eval_baselines_agent.py, but is very slow. It takes 10 min per episode. Is it normal? Thanks.
—
Reply to this email directly, view it on GitHub https://github.com/facebookresearch/home-robot/issues/513, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQKNRSCQGFBKUGJXO6DOSTZQIG65AVCNFSM6AAAAABMEJVFYSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TGMZVHA2DIMA.
You are receiving this because you are subscribed to this thread.

Yes, cuda is available, there are some additional warnings when I run this code, is it normal?
pybullet build time: Nov 28 2023 23:52:03
An exception occurred in telemetry logging.Disabling telemetry to prevent further exceptions.
Traceback (most recent call last):
File "/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/iopath/common/file_io.py", line 946, in __log_tmetry_keys
handler.log_event()
File "/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/iopath/common/event_logger.py", line 97, in log_event
del self._evt
AttributeError: _evt
Loading pretrained CLIP
/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1670525539683/work/aten/src/ATen/native/TensorShape.cpp:3190.)
return VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
2024-08-07 19:58:39,056 Initializing dataset OVMMDataset-v0
2024-08-07 19:58:39,591 initializing sim OVMMSim-v0
Renderer: Quadro P5000/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 535.183.01
Using optional features:
GL_ARB_vertex_array_object
GL_ARB_separate_shader_objects
GL_ARB_robustness
GL_ARB_texture_storage
GL_ARB_texture_view
GL_ARB_framebuffer_no_attachments
GL_ARB_invalidate_subdata
GL_ARB_texture_storage_multisample
GL_ARB_multi_bind
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_texture_filter_anisotropic
GL_KHR_debug
GL_KHR_parallel_shader_compile
GL_NV_depth_buffer_float
Using driver workarounds:
no-forward-compatible-core-context
nv-egl-incorrect-gl11-function-pointers
no-layout-qualifiers-on-old-glsl
nv-zero-context-profile-mask
nv-implementation-color-read-format-dsa-broken
nv-cubemap-inconsistent-compressed-image-size
nv-cubemap-broken-full-compressed-image-query
nv-compressed-block-size-in-bits
[19:58:46:474598]:[Warning]:[Sim] Simulator.cpp(508)::instanceStageForSceneAttributes : The active scene does not contain semantic annotations : activeSemanticSceneID = 0
2024-08-07 19:58:48,281 Initializing task OVMMNavToObjTask-v0
/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/gym/spaces/box.py:84: UserWarning: WARN: Box bound precision lowered by casting to float32
logger.warn(f"Box bound precision lowered by casting to {self.dtype}")
0%|                                                                              | 0/1199 [00:00<?, ?it/s]Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
[19:58:49:209893]:[Warning]:[Assets] ResourceManager.cpp(929)::createRenderAssetInstance : Instantiating render asset data/robots/hab_stretch/urdf/../meshes/link_gripper_fingertip_right.obj with incompatible light setup, instance will not be correctly lit. For objects, please ensure 'requires lighting' is enabled in object config file.
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
[19:58:49:213567]:[Warning]:[Assets] ResourceManager.cpp(929)::createRenderAssetInstance : Instantiating render asset data/robots/hab_stretch/urdf/../meshes/link_gripper_fingertip_left.obj with incompatible light setup, instance will not be correctly lit. For objects, please ensure 'requires lighting' is enabled in object config file.
 For objects, please ensure 'requires lighting' is enabled in object config file.
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::GltfImporter::material(): property fromMI is an object, skipping
Trade::GltfImporter::material(): property fromMI is an object, skipping
Trade::GltfImporter::material(): property fromMI is an object, skipping
Loading pretrained CLIP
Renderer: Quadro P5000/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 535.183.01
Using optional features:
GL_ARB_vertex_array_object
GL_ARB_separate_shader_objects
GL_ARB_robustness
GL_ARB_texture_storage
GL_ARB_texture_view
GL_ARB_framebuffer_no_attachments
GL_ARB_invalidate_subdata
GL_ARB_texture_storage_multisample
GL_ARB_multi_bind
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_texture_filter_anisotropic
GL_KHR_debug
GL_KHR_parallel_shader_compile
GL_NV_depth_buffer_float
Using driver workarounds:
nv-egl-incorrect-gl11-function-pointers
no-layout-qualifiers-on-old-glsl
nv-zero-context-profile-mask
nv-implementation-color-read-format-dsa-broken
nv-cubemap-inconsistent-compressed-image-size
nv-cubemap-broken-full-compressed-image-query
nv-compressed-block-size-in-bits

On Aug 7, 2024, at 11:00 AM, Ran Ding @.***> wrote:
Yes, cuda is available, there are some additional warnings when I run this code, is it normal?

Yes, I see the p5000.  But I don’t see any evidence of PyTorch using Coda.   All of the text below seems to be from OpenGL.    I am not saying what is happening, only that I don’t see evidence of it.  I could be using the GPU, but we can’t know from the text below.
It is the nature of debugging that something you think is true is not.   Finding it is hard and it is best to prove every assumption to yourself.
The simplest thing to do is put some print statements in the code.  Some along the line of this maybe.
print(torch.cuda.current_device(),
torch.cuda.device_count(),
torch.cuda.get_device_name(0))
BNut really you should loop through all devices to be 100% correct and general

pybullet build time: Nov 28 2023 23:52:03
An exception occurred in telemetry logging.Disabling telemetry to prevent further exceptions.
Traceback (most recent call last):
File "/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/iopath/common/file_io.py", line 946, in __log_tmetry_keys
handler.log_event()
File "/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/iopath/common/event_logger.py", line 97, in log_event
del self._evt
AttributeError: _evt
Loading pretrained CLIP
/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1670525539683/work/aten/src/ATen/native/TensorShape.cpp:3190.)
return VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
2024-08-07 19:58:39,056 Initializing dataset OVMMDataset-v0
2024-08-07 19:58:39,591 initializing sim OVMMSim-v0
Renderer: Quadro P5000/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 535.183.01
Using optional features:
GL_ARB_vertex_array_object
GL_ARB_separate_shader_objects
GL_ARB_robustness
GL_ARB_texture_storage
GL_ARB_texture_view
GL_ARB_framebuffer_no_attachments
GL_ARB_invalidate_subdata
GL_ARB_texture_storage_multisample
GL_ARB_multi_bind
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_texture_filter_anisotropic
GL_KHR_debug
GL_KHR_parallel_shader_compile
GL_NV_depth_buffer_float
Using driver workarounds:
no-forward-compatible-core-context
nv-egl-incorrect-gl11-function-pointers
no-layout-qualifiers-on-old-glsl
nv-zero-context-profile-mask
nv-implementation-color-read-format-dsa-broken
nv-cubemap-inconsistent-compressed-image-size
nv-cubemap-broken-full-compressed-image-query
nv-compressed-block-size-in-bits
[19:58:46:474598]:[Warning]:[Sim] Simulator.cpp(508)::instanceStageForSceneAttributes : The active scene does not contain semantic annotations : activeSemanticSceneID = 0
2024-08-07 19:58:48,281 Initializing task OVMMNavToObjTask-v0
/usr/stud/dira/miniconda3/envs/home-robot/lib/python3.9/site-packages/gym/spaces/box.py:84: UserWarning: WARN: Box bound precision lowered by casting to float32
logger.warn(f"Box bound precision lowered by casting to {self.dtype}")
0%| | 0/1199 [00:00<?, ?it/s]Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
[19:58:49:209893]:[Warning]:[Assets] ResourceManager.cpp(929)::createRenderAssetInstance : Instantiating render asset data/robots/hab_stretch/urdf/../meshes/link_gripper_fingertip_right.obj with incompatible light setup, instance will not be correctly lit. For objects, please ensure 'requires lighting' is enabled in object config file.
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
[19:58:49:213567]:[Warning]:[Assets] ResourceManager.cpp(929)::createRenderAssetInstance : Instantiating render asset data/robots/hab_stretch/urdf/../meshes/link_gripper_fingertip_left.obj with incompatible light setup, instance will not be correctly lit. For objects, please ensure 'requires lighting' is enabled in object config file.
 For objects, please ensure 'requires lighting' is enabled in object config file.
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::AssimpImporter::material(): white ambient detected, forcing back to black
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 2 pixels
Trade::BasisImporter::image2D(): Y-flipping a compressed image that's not whole blocks, the result will be shifted by 3 pixels
Trade::GltfImporter::material(): property fromMI is an object, skipping
Trade::GltfImporter::material(): property fromMI is an object, skipping
Trade::GltfImporter::material(): property fromMI is an object, skipping
Loading pretrained CLIP
Renderer: Quadro P5000/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 535.183.01
Using optional features:
GL_ARB_vertex_array_object
GL_ARB_separate_shader_objects
GL_ARB_robustness
GL_ARB_texture_storage
GL_ARB_texture_view
GL_ARB_framebuffer_no_attachments
GL_ARB_invalidate_subdata
GL_ARB_texture_storage_multisample
GL_ARB_multi_bind
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_texture_filter_anisotropic
GL_KHR_debug
GL_KHR_parallel_shader_compile
GL_NV_depth_buffer_float
Using driver workarounds:
nv-egl-incorrect-gl11-function-pointers
no-layout-qualifiers-on-old-glsl
nv-zero-context-profile-mask
nv-implementation-color-read-format-dsa-broken
nv-cubemap-inconsistent-compressed-image-size
nv-cubemap-broken-full-compressed-image-query
nv-compressed-block-size-in-bits
—
Reply to this email directly, view it on GitHub https://github.com/facebookresearch/home-robot/issues/513#issuecomment-2274029548, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQKNRTI2WZWCIPXPAPFJWTZQJOD7AVCNFSM6AAAAABMEJVFYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZUGAZDSNJUHA.
You are receiving this because you commented.

Thanks Chris for very detailed answer. It seems that I have already used cuda, but still very very slow.
print(torch.cuda.current_device(),
torch.cuda.device_count(),
torch.cuda.get_device_name(0))
0 2 Quadro P5000

Hi Chris, do you know what is the normal speed of running the eval baseline per episode? Thanks!


fix(hierarchylist): changed scrollto to scrollintoview

Closes #947
Summary

Fixed scrollTo defaultSelectedId bug and horizontal scrollbar appearing when listItem's are longer than the list content
Fixed multiple expanded parents for a single defaultSelectedId
Fixed search function when there is only 1 column of values (no secondaryValue)

Change List (commits, features, bugs, etc)

Updated search function to only search the secondaryValue if it is not nil
Updated search for defaultSelectedId to only look for exact matches, not includes()
Updated scrollTo function to use scrollIntoView as measurements were not working correctly
Updated 1 HierarchyList story to have 1 very long player name, added 1 of the player names to another team (to test multiple id , for further testing of the above issues
Added overflow-x: hidden to the list content container
Added keys to a few stories to remove warnings

Acceptance Test (how to verify the PR)

Check both HierarchyList stories and ensure that searching works for both
Check the defaultSelectedId to ensure the element is scrolled to properly
Check that the horizontal scroll bar does not appear on either story

Hey Stephen, I just pulled your branch. For the search bar, what is the expected behavior when you put space in it?  For now, one of the child item was selected. I think it might be the same problem in SimpleList too.

Hey Stephen, I just pulled your branch. For the search bar, what is the expected behavior when you put space in it? For now, one of the child item was selected. I think it might be the same problem in SimpleList too.

If its a single space, it will match any list item that contains a space, which would be all of the players

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Identify stakeholders

Description
Stakeholders are individuals or groups interested in the project or will be affected by its outcome. Identifying stakeholders helps to understand their needs, expectations, and potential influence on the project. Stakeholders may include internal team members, clients, end-users, and regulatory bodies.
Acceptance criteria
List the all stakeholders for the project.

As updated on documentation, the supervisors will act as the stakeholders


encrypt

does this encrypt only C:\Users\(username)\testfolder
what if all drives are encrypted all

Add the folder you want to encrypt in main.cpp#L148
For example: SearchFiles("C:\", key); will encrypt all the drive C, including: SearchFiles("C:\Windows\System32", key);
Remove this line if you aren't using Windows 10

@TTFH  thanks for reply..
does this infect the windows system,
i tried complier g ++ -Wall -Werror -O3 main.cpp aes.cpp base64.cpp random.cpp DRM.cpp -o fsocietyM -Wno-unused-result -fconcepts
yes I see it's output for linux ,
I tried the output to be fsociety.exe and it was run on a virtual machine that could not be started and had no effect

@jordan12121 To compile for windows (.exe file) you need windows, install msys2-x86_64-20180531 and install the compiler from the msys2 terminal, i.e. Open C:\msys64\msys2.exe and type: pacman -S mingw-w64-x86_64-toolchain

is this correct for encrypting files C:

error to complier

@jordan12121 Just copy msys-2.0.dll from C:\msys64\usr\bin to the folder when you have fsocietyM.exe
If it say you're still missing some other .dll file, do the same.

@TTFH  no file effect to encryption

I made a folder in C: \ Users \ (admin) \ testfolder in the testfolder there are several files then I complier with the command g ++ -Wall -Werror -O3 main.cpp aes.cpp base64.cpp random.cpp DRM.cpp -o fsocietyM -Wno-unused-result -fconcepts there is no error when the program starts and there are no file effects to the encryption

@jordan12121 The file fsocietyM.exe (and the .dll) needs to be outside the folder.
mainfolder\fsocietyM.exe
mainfolder\testfolder\example-file1.txt
mainfolder\testfolder\example-file2.png
Make sure to remove this line if you aren't using Windows 10

I deleted the line https://github.com/TTFH/fsocietyM/blob/master/main.cpp#L122

I tried to drive infection D: \

@jordan12121
The code to encript D:\ is:
SearchFiles("D:\\", key)
Note the two slashes (Sorry, github change my other comment)

@TTFH  if the console is removed, how do I know the generalized key id to decrypt the file
and how to decrypt one file ?

if there are too many encryption process files like this

@jordan12121 Good question, I'll try to fix that later, for now you can:

Download HxD
Use HxD to open the file key.bin located in the same folder as fsocietyM.exe
Copy the decryption key (64 characters), it will looks like this:

01 23 45 67 89 0A BC DF 67 72 61 6D 20 63 61 6E 6E 6F 74 20 62 65 20 72 75 6E 20 69 6E 20 44 4F

Compile the decrypter with: g++ -Wall -Werror -O3 decrypter.cpp aes.cpp -o decrypter
Open decrypter.exe, paste or type the key, type "Y" (y uppercase)

I will wait for the repair sir,
you are really great

some are not good
when I copy the fsocietyM.exe file to the virtual machine then run fsocietyM.exe with an error like this,
is this problem the same as yesterday

@TTFH  if the cryptowall file is not on the victim's PC, the full screen message will not appear

@jordan12121 Right, for now that's expected behavior. Someone made a modification of my code to add the message into the code, i'll try to implement that in the future. DailyAllowance

it only infects Linux DailyAllowance

@TTFH  it would be better if ID.txt follows the folder that was infected

Hello @TTFH new problem
I tried to put the fsocietyM file in D: / with the jpg file php html bmp etc.
Then why is fsocietyM also encrypted too, so the process of encrypting the file stops

hello sir
help me please, error complier

this is error

e

make
g++ -Wall -Werror -Iheaders -Wno-unused-result -fconcepts -c main.cpp -o obj/main.o
Assembler messages:
Fatal error: can't create obj/main.o: No such file or directory
make: *** [makefile:22: obj/main.o] Error 1

make
g++ -Wall -Werror -Iheaders -Wno-unused-result -fconcepts -c main.cpp -o obj/main.o
Assembler messages:
Fatal error: can't create obj/main.o: No such file or directory
make: *** [makefile:22: obj/main.o] Error 1

@TTFH a little difficult if the cryptowall file must be sent to the victim,
if the cryptowall file added to% tmp% is perfect


Allow utilizing multiple buckets as backend storage endpoints

What would you like to be added:
Allow utilizing multiple buckets as backend storage.
#=============
Why is this needed:

Workaround rate limits for many providers which is applied on the bucket level which will massively enhance I/O performance on the juicefs mount points.
Enhancing high-availability with possibility of replicating a single block to one or more bucket which ends up increasing uptime and reliability.
Allow using multiple providers which increases end-users service reliability and credibility.

#=============

According to this S3 document,

your application can achieve at least 3,500 PUT/COPY/POST/DELETE or 5,500 GET/HEAD requests per second per prefix in a bucket.

if you create 10 prefixes in an Amazon S3 bucket to parallelize reads, you could scale your read performance to 55,000 read requests per second. Similarly, you can scale write operations by writing to multiple prefixes.

Reading and writing can be scaled by creating multiple prefixes in a bucket.

Well, assuming that's for AWS S3, it's not the case for the majority of other providers.
Also the other points in subject.

Sounds good, we can have raid 1( replicated across multiple bucket/provider), and raid 0 (hash to multiple buckets).
The difficulty is to define a interface that's backward compatible and easy to understand, both on user interface and implementation (this is easy).

Yes totally agree.
RAID 0/1 like would give endless possibilities and mark juicefs for a new era of software defined file systems.
Also it would allow people to create outstanding ideas like layering a RAID 1 setup over a RAID 0 setup or vice versa to solve real-life problems in a smart easy way.

RAID 0 is implemented in #349

We can use format command to update the DNS/IP, once we can make sure that the number and order of DNS/IP are the same as before.

Does it means if it updates the original single DNS/IP to the load bacanle DNS/IP which points at the same bucket cluster, it will work?

Does it means if it updates the original single DNS/IP to the load balance DNS/IP which points at the same bucket cluster, it will work?

yes

Is it possible to utilise multiple endpoints in the famous RAID0?
e.g. different providers

@davies if there's a way to achieve that it would be great.


Automatic module setup via nuxi cli

Describe the feature
It would be great if nuxi gets the functionality similar to Astro Integrations (astro-add) for setting up external integrations/modules. Svelte Ecosystem has its own version as well (svelte-add).
The module system in Nuxt is pretty straightforward as it currently stands, but it would be a great addition if it automatically installed the module, added it to the nuxt.config, and set up required config options and files, straight from the CLI, using nuxi add.
It should show a preview of what's about to be added, and require a confirmation for every step (as Astro does it), as well as offer a flag to automatically accept all prompts.
Example:
npx nuxi add module unocss
Astro-add functionality:

Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

Related: https://github.com/nuxt/nuxt/issues/13552, https://github.com/nuxt/nuxt/issues/13550

Also, related to https://github.com/nuxt/framework/pull/4001

I very much agree and this is on our roadmap - let's track in the issues @manniL linked.


fix: update to latest @nuxt/module-builder

Previous versions of @nuxt/module-builder produced incorrect types for files in the runtime/ directory. Specifically, a .d.ts declaration paired with a .mjs file. This isn't correct - it should be either .d.mts  and .mjs or .d.ts and .js.
For maximum compatibility, @nuxt/module-builder v0.8 switched to .js extension for files in runtime/ directory.
With the latest Nuxt, this is now an error that removes correct plugin injection types.
Related PRs: https://github.com/nuxt/nuxt/pull/28480, https://github.com/nuxt/nuxt/pull/28593
See also https://github.com/nuxt/nuxt/issues/28672.

Thank you, new version just released.


[bug]: Unable to install

Describe the bug
Tried installing with the command, "npx shadcn-ui@latest init". But it keeps throwing the following error.
FetchError: request to https://ui.shadcn.com/registry/styles/index.json failed, reason: connect ECONNREFUSED <IP_ADDRESS>:443
    at ClientRequest.<anonymous> (file:///Users/equallyai/.npm/_npx/125ee17d583c4e03/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:526:28)
    at TLSSocket.socketErrorListener (node:_http_client:442:9)
    at TLSSocket.emit (node:events:526:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  erroredSysCall: 'connect'
}
Failed to fetch styles from registry.

Affected component/components
Installation
How to reproduce
Just run "npx shadcn-ui@latest init" on your project.
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
MacOS

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

Hey Joe,

Try installing with VPN from any other countries.
Try with some other network provider or internet or sim provider.

Thanks

Hey Joe,

Try installing with VPN from any other countries.
Try with some other network provider or internet or sim provider.

Thanks

Thank you. Just tried that.

Works now with vpn

it doesn't work with vpn !!!!

The issue was resolved by the system administrator, who granted me full access and added the necessary certificate. After that, the issue was resolved.


[axis] Automatically adjusting axis

I was thinking about implementing an automatically adjusting axis that also automagically selects a good scale. I am still thinking about how to implement in the most intuitive way:
#let graph_plot_test() = {
    let data = ((0, 0), (2, 2), (3, 0), (4, 4), (5, 7), (6, 6), (7, 9), (8, 5), (9, 9), (10, 1))

    let x_axis = axis(min: auto, max: auto, step: auto, location: "bottom") // this should scale the x axis automatically
    let y_axis = axis(min: 0, max: 10, step: 2, location: "left", helper_lines: false)
    let pl = plot(data: data, axes: (x_axis, y_axis))
    graph_plot(pl, (100%, 25%))
    graph_plot(pl, (100%, 25%), rounding: 30%, caption: "Graph Plot with caption and rounding", markings: [#emoji.rocket])
}

So if the min, max and steps are not set, we could calculate this based on the data in the scatter_plot function for instance. I could try to implement this I just want to be on the same page API wise
It would be also nice if min and max are set to give the option to cut of data that is outside of this interval. Maybe introducing another parameter min_max_cutoff: true

You have some further suggestions?

Can be done in prepare_plot to allow for all plots. The algorithm from chartist doesn't seem too bad. But what to do when not all parameters are auto? If one min/max is missing, just calculate the other in a similar fashion. And the step maybe misuse step a bit and just go for each x000 number or keep the min number precisely.

Can even be done by setting the plot box's clip: true. No calculations needed. Just don't render everything outside.

The algorithm will determine the min/max only for those that are not provided (none), otherwise it will just assume the provided min/max/steps as given. It should not make a big difference for the algorithm.
I just recall that once I used the algorithm from d3js this one might be more flexible. Depending what makes most of sense it uses either a $10^n$, $2^n$ or $5^n$ scale...

clip: true still poses some problems for me... But by giving the option of min: auto etc. this problem should be fixed

Are we on the same page or you have some further ideas? then I would write this and create a pull request when I am done.


Web Push based sync

I've got a wild idea, let's see if it will work.
Add an optional configuration for web push to the server (or an extension? idk?)
Calling code can trigger a library sync via push to all known replicas (how will replicas know to register subscriptions?)
This sync could be similar to the standard sync. IDK if the push can provide a meaningful payload, but the service worker would then do a basic HTTP sync request.
TODO:

[x] Can the service worker access IDB?
[ ] How do replicas register their web push subscription?

The end goal is to have an architecture where you can run a lo-fi server on a Raspberry Pi on your local network, use your app while about your day, then have it do a scheduled background sync every night. Using lo-fi for private, custom, easy apps!

I'm thinking maybe this is a case for building a pluggable structure for server/client versus including this in the main library


Empty Zip

Empty Zip
no source just empty

Hi.
This repository can only be downloaded with "git" because it's composed by submodules for all of my projects.
The ZIP is empty because except than .gitignore or .gitmodule there is nothing in it.

Downloaded with git still empty


Add Russian localization

Here is a list of proposed changes:

[x] Add Russian localization
[x] Fix some mistypes and grammar
[x] Add description for ASCII & Unicode character escapes

Thank you so much for your careful work!


Sometimes a the HGNC_symbol is missing from the overview

But exists in the variant entry

Ok that looks wierd, I'll have a look


cell 类型无法运行

my code
cell MyCell
{
int A;
List Structs;
}
struct MyStruct
{
int B;
}
but at Program

@shyleoking It looks like you're missing a using statement; can you show your complete program code?


The icon bar icon is faded out

As reported in issue #18

It happens to a lot of other extensions too. Google drive, JSONView, etc.
Going to close as it is not worth the time to figure out what this means...


Add MLCube mount options support (Singularity and Docker)

Singularity read only volumes
When defining the mounts there is the need to define if these volumes are going be used with read-only permissions, to allow users to define this, here is a new definition for the inputs and outputs in the mlcube.yaml file:
opts: ro
By default singularity will use rw (read-write) permissions. Users can use the option "ro" to define a read-only volume.
Singularity docs
Docker read only volumes
After checking the official documentation from Docker, we can see that there is a slightly differnece in how Docker describes how to define read-only volumes, but after some testing, we discovered that it supports the same format, here is an example:

So at the end we can use the same structure for both runners.
MLCube YAML example:
tasks:
  train:
    parameters:
      inputs:
        data_dir: { type: directory, default: data/, opts: ro }
        embeddings_dir: { type: directory, default: embeddings/, opts: ro }
        input_model_dir: { type: directory, default: model/, opts: ro }
      outputs:
        output_model: { type: directory, default: output/ }

Read only access feature for input data in containers (docker, podman, singularity) for mlcubes requested by MedPerf WG.


Is Uart's time out function not complete yet?

I try to use setTimeout of javascript function on nodejs,
setTimeout(0, 0, 5);
and
readStr(200);
it not work for time out function.
I found the function of mraa_uart_set_timeout(...int write, int interchar) which the parameter, write &  interchar is not use in code, so... am i right?

As far as I can see in the code, only the read timeout is implemented (in commit 63604ef5cc8a2f4da44f75d39a6b2363dd10eff8), before that this functionality was not implemented at all, so write and inter-char are still not implemented.

Thanks for your response, so.. if we want to use write and inter-char timeout function, we must create by self?

Yes  pretty much. Or add thin functionality to mraa and a pull request ;-)

If someone would like to do this, they're more than welcome to, otherwise I'll take a stab at it later this week. Apoligies this isn't documented better, to be perfectly honest I'd completely forgotten about this feature and the lack of full implementation.


Extend zesFabricPortGetThroughput() to allow collecting data from multiple ports in a single call

To optimize performance and avoid multiple expensive system calls while collecting throughput it would be much beneficial to allow the API collect throughput on a list of ports in a single call. During application runtime, live throughput collection is the most time sensitive operation during which performance tools will pursue the least overhead. With the current API signature, there is no room for improvement and the tool must call once per port. Allowing multiple ports data to be collected in a single call would allow implementations to optimize the number of calls through the entire stack.
Proposed API:
 ze_result_t ZE_APICALL zesFabricPortGetThroughput(uint16_t numPorts, zes_fabric_port_handle_t *hPort, zes_fabric_port_throughput_t *pThroughput)

where the ports handles and throughput data become pointers to arrays allocated by the user.

@wdamon-intel  @jandres742   please assign this spec issue to Sanil and we would like to have this change ready in SPEC 1.7

@sanilkumar0 please see above.

Problem is zes_fabric_port_handle_t  is enumerated per port. We may need change -zesDeviceEnumFabricPorts to enumerate all ports instead of one.

Hi @sanilkumar0, zesDeviceEnumFabricPorts() does effectively enumerate multiple ports in a single call. Would you please elaborate on your comment?
Besides the enumeration, the request for optimization in zesFabricPortGetThroughput() is independent of how ports are enumerated. Expectation is that ports are enumerated once, but querying throughput will be done repeatedly at fast intervals by monitoring and/or perf optimization tools. Therefore, this optimization is independent of enumeration.

Thanks.. I have created a PR to address this for 1.7 release -
https://github.com/oneapi-src/level-zero-spec/pull/134

Closed with PR #134


[BUG] 关于微调来达到语音克隆的一些测试与问题

你好，我是一名人工智能行业的爱好者，首先非常感谢你们做出了fish-speech这么优秀的开源项目！但是我在自己尝试微调fish-speech模型来达到语音克隆的效果时，遇到了一些问题，想向你们请教一下微调的细节问题，不知你们能否为我解答一下。
首先，我这里有一份30min的模特语音数据，在此基础上我进行了如下的微调与测试：

测试1

训练数据输入：30min的音频，使用audio-preprocess库进行了自动切片、响度匹配、打标等处理。

超参数设置：训练1000个epoch

克隆结果：

测试文本：'''它的宽大的叶子也是片片向上。就像这白杨树一样傲然挺立的守卫他们家乡的哨兵。难道你又不更远一点。想到这样枝枝叶叶靠紧团结。而那个叫布鲁诺的小伙子却仍在原地踏步。老板一边耐心地听着他的抱怨。'''

测试结果：使用了10s中的参考音频来作为fake.npy，结果如附件里的“测试1-1000epoch”和“测试1-600epoch所示。

存在问题：生成的音频中有含糊不清、错误的部分，且语速节奏很奇怪。

测试2

训练数据输入：5min的音频，使用audio-preprocess库进行了自动切片、响度匹配、打标等处理。

超参数设置：训练1000个epoch

克隆结果：

测试文本：'''它的宽大的叶子也是片片向上。就像这白杨树一样傲然挺立的守卫他们家乡的哨兵。难道你又不更远一点。想到这样枝枝叶叶靠紧团结。而那个叫布鲁诺的小伙子却仍在原地踏步。老板一边耐心地听着他的抱怨。'''

测试结果：使用了10s中的参考音频来作为fake.npy，结果如附件里的“测试2-1000epoch”所示。

存在问题：生成的音频中有含糊不清、错误以及非常长的无意义的部分。

测试3

训练数据输入：5min的音频，使用audio-preprocess库进行了自动切片、响度匹配、打标等处理。

超参数设置：训练100个epoch

克隆结果：

测试文本：'''它的宽大的叶子也是片片向上。就像这白杨树一样傲然挺立的守卫他们家乡的哨兵。难道你又不更远一点。想到这样枝枝叶叶靠紧团结。而那个叫布鲁诺的小伙子却仍在原地踏步。老板一边耐心地听着他的抱怨。'''

测试结果：使用了10s中的参考音频来作为fake.npy，结果如附件里的“测试3”所示。

存在问题：生成的音频中会出现多余的句子。

对于我上面的这些实验，我分别尝试了比较长和比较短的训练音频、多的epoch和少的epoch，但是总是达不到理想的效果。对于我出现的这些问题，请问你们那边有什么建议吗？或者你们对于语音克隆微调的时候，有没有什么比较稳定好用的setting？
再次感谢你们做出了如此优秀的项目，同时也期待你们的解答～
（由于github issue不能添加音频文件为附件，以上提到的附件放到了此onedrive链接里面：https://1drv.ms/f/s!Anj5aIRFC0FNhFPcqUbNXm1EDv8m?e=RdLLjQ）

2024年7月20日10:19:33 Update
通过翻阅仓库的issue，我看到作者说微调的训练数据要在30min-1h，对此 我又使用了45min的另一位模特的声音进行微调测试。
我分别尝试了500epoch和1000epoch的权重，并且在推理的时候也都使用了5s左右音频的fake.npy来作为参考。
但是也是存在“生成的音频中会出现多余的句子”的问题。

audio (22).zip

可以试试这个参数

100 个 epoch 有一些过拟合的风险, 结尾多于句子建议使用 webui 自动重抽, 我们在模型层面还在做一些优化.

audio (22).zip  可以试试这个参数

当我在使用微调好的模型进行推理的时候，如果带上"--max-new-tokens 1024" 总会导致生成过程中报错，同时如果使用fish-speech原始模型进行推理的时候能够正常生成但是生成效果并未提升。
不知道是不是我对"每批最大令牌数"这个参数理解错误导致的。
另附我的生成命令、测试结果、以及报错详情：

命令：'''python tools/llama/generate.py
--text "它的宽大的叶子也是片片向上。就像这白杨树一样傲然挺立的守卫他们家乡的哨兵。难道你又不更远一点。想到这样枝枝叶叶靠紧团结。而那个叫布鲁诺的小伙子却
仍在原地踏步。老板一边耐心地听着他的抱怨。"
--prompt-text "杭州体育与你同行大家好,欢迎收看今天的杭州体育家,我是马谦。"
--prompt-tokens ./idr_test_data/MaQian/fake.npy
--checkpoint-path ./checkpoints/maqian_100
--num-samples 8
--compile
--max-new-tokens 1024'''
测试结果：https://1drv.ms/f/s!Anj5aIRFC0FNhFhO32JqvTV87CGu?e=loGut9
报错详情：> python tools/llama/generate.py \   --text "它的宽大的叶子也是片片向上。就像这白杨树一样傲然挺立的守卫他们家乡的哨兵。难道你又不更远一点。想到这样枝枝叶叶靠紧团结。而那个叫布鲁诺的小伙子却 仍在原地踏步。老板一边耐心地听着他的抱怨。" \   --prompt-text "杭州体育与你同行大家好,欢迎收看今天的杭州体育家,我是马谦。" \   --prompt-tokens ./idr_test_data/MaQian/fake.npy \   --checkpoint-path ./checkpoints/maqian_100 \   --num-samples 8 \   --compile \ --max-new-tokens 1024 2024-07-21 13:04:47.783 | INFO     | __main__:main:639 - Loading model ... 2024-07-21 13:04:53.314 | INFO     | __main__:load_model:347 - Restored model from checkpoint 2024-07-21 13:04:53.314 | INFO     | __main__:load_model:351 - Using DualARTransformer 2024-07-21 13:04:53.314 | INFO     | __main__:load_model:357 - Compiling function... 2024-07-21 13:04:53.319 | INFO     | __main__:main:648 - Time to load model: 5.54 seconds 2024-07-21 13:04:53.336 | INFO     | __main__:generate_long:432 - Encoded text: 它的宽大的叶子也是片片向上. 2024-07-21 13:04:53.337 | INFO     | __main__:generate_long:432 - Encoded text: 就像这白杨树一样傲然挺立的守卫他们家乡的哨兵.难道你又不更远一点. 2024-07-21 13:04:53.337 | INFO     | __main__:generate_long:432 - Encoded text: 想到这样枝枝叶叶靠紧团结.而那个叫布鲁诺的小伙子却.仍在原地踏步. 2024-07-21 13:04:53.337 | INFO     | __main__:generate_long:432 - Encoded text: 老板一边耐心地听着他的抱怨. 2024-07-21 13:04:53.338 | INFO     | __main__:generate_long:450 - Generating sentence 1/4 of sample 1/8 0%|                                                                                | 0/1023 [00:00<?, ?it/s]/data-disk/users/users/miniconda3/envs/fish-speech/lib/python3.10/site-packages/torch/backends/cuda/__init__.py:342: FutureWarning: torch.backends.cuda.sdp_kernel() is deprecated. In the future, this context manager will be removed. Please see, torch.nn.attention.sdpa_kernel() for the new context manager, with updated signature. warnings.warn( 0%|                                                                                | 1/1023 [00:17<5:02:04, 17.73s/it]/data-disk/users/users/miniconda3/envs/fish-speech/lib/python3.10/site-packages/torch/backends/cuda/__init__.py:342: FutureWarning: torch.backends.cuda.sdp_kernel() is deprecated. In the future, this context manager will be removed. Please see, torch.nn.attention.sdpa_kernel() for the new context manager, with updated signature. warnings.warn( 0%|▏                                                                                | 2/1023 [00:17<2:06:02,  7.41s/it]/data-disk/users/users/miniconda3/envs/fish-speech/lib/python3.10/site-packages/torch/backends/cuda/__init__.py:342: FutureWarning: torch.backends.cuda.sdp_kernel() is deprecated. In the future, this context manager will be removed.  For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile withTORCH_USE_CUDA_DSA to enable device-side assertions.

不知道你那边是否有遇到类似的情况以及相关的建议？

100 个 epoch 有一些过拟合的风险, 结尾多于句子建议使用 webui 自动重抽, 我们在模型层面还在做一些优化.

嗯，我分别尝试微调100epoch与1000epoch，发现确实少点epoch的模型效果更好。
但是小短句里面会生成额外的语音这个问题确实还是比较严重，大约生成8次结果里面只有2次效果比较好。不知道你那边还有没有什么trick或者建议？
另附我的测试结果：https://1drv.ms/f/s!Anj5aIRFC0FNhFhO32JqvTV87CGu?e=loGut9

说明一下你的硬件情况

说明一下你的硬件情况

说明一下你的硬件情况

@EnochYe 请问下你这边解决这个问题了吗？我是在推理的过程中遇到同样的问题。

说明一下你的硬件情况

@EnochYe 请问下你这边解决这个问题了吗？我是在推理的过程中遇到同样的问题。

没有，最后放弃了微调换成f5tts了


Make errors public

Background
Hi there!! Thank you for the great work!!
I am starting to use the crate and run into the following problem:
Implementing ArgminOp, the method apply, I would like to correctly handle errors. Then, I need to return an argmin::core::Error, but it is private. I even tried with the suitable variant of argmin::core::ArgminError, but it is also private.
Request
Make errors public and easy to construct. And add the corresponding indications in the documentation when implementing the ArgminOp trait.
Example
I would like for something like this to work.
use argmin::prelude::*;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Serialize, Deserialize)]
pub struct MyProblem;

impl ArgminOp for MyProblem {
    type Param = ();
    type Output = ();
    type Hessian = ();
    type Jacobian = ();
    type Float = ();

    /// Apply the cost function to a parameter `p`
    fn apply(&self, _p: &Self::Param) -> Result<Self::Output, Error> {
        argmin::core::ArgminError::InvalidParameter{text: String::from("MyProblem does not take this parameters")}
        // or better
        //  argmin::error::ArgminError::InvalidParameter::new("Error message")
    }
}

Hi!
Error and ArgminError should be public. I just tried the following, which works for me:
use argmin::prelude::*;

impl ArgminOp for MyProblem {
    type Param = f64;
    type Output = f64;
    type Hessian = ();
    type Jacobian = ();
    type Float = f64;

    fn apply(&self, p: &Self::Param) -> Result<Self::Output, Error> {
        Err(ArgminError::InvalidParameter {
            text: String::from("bla"),
        }
        .into())
    }
}

However, the ergonomics are far from ideal, I agree. I will think about this.
Alternatively, you should be able to implement your own errors if you want to.
Could you show me the compile error, please?

Which version are you using? The current master branch or 0.2.6? Your snippet suggests the master branch, but your problem suggests 0.2.6 ;)
I would suggest to use the current master branch, as the current release is quite old and outdated. I'm planning to publish a new release soon.

Perfect!!
I am so sorry, I got mixed the two versions (working on 0.2.6). Working on the master branch works as you say :)
So, case solved.
Happy to hear about the new release! :D
By the way, did you notice that the documentation is "broken"? I mean, from crates.io, the documentation link is broken. Is it a problem with docs.rs?
(I can open other issue for this if you want)

Glad I could help! I'm very sorry about the confusion!
Thanks for informing me about the broken documentation, I will investigate it ;)

Thanks to you!!


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
b3e214a -> 22ebbcb

github.com/gruntwork-io/terratest
require
patch
v0.43.9 -> v0.43.11

Release Notes

gruntwork-io/terratest (github.com/gruntwork-io/terratest)
v0.43.11
Compare Source
Modules affected

terraform

Description

Added function AssertTgPlanAllExitCode to validate output of terragrunt run-all plan

Special thanks

Special thanks to the following users for their contribution!

@bt-macole

Related links

https://github.com/gruntwork-io/terratest/pull/1323

v0.43.10
Compare Source
Modules affected

k8s

Description

Added support for passing custom logger when running kubectl

Special thanks

Special thanks to the following users for their contribution!

@retpolanne

Related links

https://github.com/gruntwork-io/terratest/pull/1325

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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

GitHub release
v1.2.0

Your semantic-release bot :package::rocket:


Internal traffic policy

Internal traffic policy = Local means that internal (East-West)
connections to the service should be handled by node-local backends
only. When external and internal traffic policies are different, the
existing implementation is extended to support filtering out non-local
backends for the internal scope. When both policies are both Local, only
the external scope is used (the same already happens when both policies
are Cluster), and it contains local backends only.
Fixes: #16071
Support Kubernetes v1.21 new field internalTrafficPolicy=Local.

Looks great to me, @gentoo-root ! I'd also still extend the doc in Documentation/network/kubernetes/kubeproxy-free.rst to reflect that we support both internalTrafficPolicy={Local,Cluster} and externalTrafficPolicy={Local,Cluster} . It would also make sense to describe the user facing behavior there (meaning, which backends are considered depending from where the traffic originated).

/test

/test-1.25-net-next

/test-1.25-net-next

/test-1.24-5.4

/test-1.25-4.19

/test-1.25-net-next

/test

/mlh new-flake Cilium-PR-K8s-1.25-kernel-4.19

/test-1.25-4.19

Sync from community meeting: There's some significant issues in the PR, we may need to re-evaluate whether this can land in v1.13 or not.

/test

/test

Nice work @gentoo-root 💯

Do we need backports for the following?
https://github.com/cilium/cilium/pull/21871/commits/3d2861f163fcf265ca3bd7bdddb41c8f541448e9
https://github.com/cilium/cilium/pull/21871/commits/8bfcd3d0d76a420b39f0c00936b6abe525a1966a
They sound like fixes for existing code.

@aditighag FYI https://github.com/cilium/cilium/pull/21871/commits/d33fb8fc1eabc1b3dc9fe7a025854383e29e86d8


the version of the mleap Python package does not match the version of the mleap jars.

I noticed that the version of the mleap Python package does not match the version of the mleap jars
https://github.com/combust/mleap/blob/30c1ce2c7e5ca81492514e1eadd79a8ec1b10a7a/python/mleap/version.py#L19
https://github.com/combust/mleap/blob/30c1ce2c7e5ca81492514e1eadd79a8ec1b10a7a/version.sbt#L1
Is this intentional?  Would it be easier for user to deal with those two separate pieces if their versions match?

@lgongmsft I am planning on releasing a new version of the scikit-learn package, once I do that, I will update the versions to match.

I've release the python mleap version 0.15.0 just today, fyi https://pypi.org/project/mleap/#history, please let me know if you see any issues.


API not online

From @ergofobe on July 13, 2016 14:20
Calls to /api/stats and other public API commands are not working.
Copied from original issue: 1btcxe/wlox#46

This is a problem with the upstream Docker images not including the API in the apache config. Moving to gfts/wlox.


Switch from Breeze Vectors to Spark MLlib Vectors in statistical

functionality
Involved some cleaning up of the lag code so it would be easier to fix
bugs that popped up in the refactoring

I'm a new follower of this repo. Could we explain a bit how does Breeze compare vs MLlib? I'm currently working on some project involving Breeze thus it'd be nice to know. Thanks,

Hi @jli05,
MLlibs implementation actually wraps Breeze.  Breeze in general has much richer capabilities than MLlib, including support for a lot of Scala syntactic sugar. The reasons I went with MLlib vectors here were that it offers better harmony with the Spark API, and they have better support for Java API users.


Update reset-environment-on-cloud.md

adjust file names

Hi Erik,
Thank you so much for submitting this issue. I have created a Jira here for this edit which will be assigned on intake to a writer https://jira.corp.adobe.com/browse/MSKB-2675

@eriksilvand Thank you Erik for your contribution. Change made to the published article here https://experienceleague.adobe.com/en/docs/commerce-knowledge-base/kb/how-to/reset-environment-on-cloud Closing this PR


chore: release 1.1.4

:robot: I have created a release *beep* *boop*
1.1.4 (2019-08-02)
Bug Fixes

allow calls with no request, add JSON proto (0030bcd)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/nodejs-web-risk/releases/tag/v1.1.4

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


multi-language support

This PR attempts to support multiple languages by implementing grapheme cluster inputs and comparison using the unicode-segmentation crate. I've tested it with Finnish prompts (which can contain letters with diacritical marks, such as ä and ö), and they seem to work fine (under fish-shell on tmux, anyways).

Super excited about this work – thanks for taking interest in the project! I apologize for not getting around to this until now.
First of all – so awesome that this actually works and doesn't cause the app to crash. Kudos! I do have a few hesitations, that I'd be curious to hear your thoughts on. I'm not sure the best way to handle the "just added a diacritic, waiting on next char" input. Currently, it places the placeholder on the next char, or strangely (perhaps char byte size related) on two chars over. I think this screen recording will help conceptualize the problem. Curious if you have any thoughts here. As a native English speaker, I'm not entirely sure how the rest of the world physically types diacritics – I think some keyboards have native characters even. Were you also seeing this behavior?
https://user-images.githubusercontent.com/21346716/200143642-d399c988-189a-42f4-b876-8a2d6cdbe6d1.mov

Hm, that's certainly strange. At least on the Finnish keyboard layout, characters with diacritical marks are directly accessible, as they have dedicated keys. I think some particularly complicated grapheme clusters are written using combining characters (Standard Arabic, some grapheme clusters in Japanese kana, maybe?). They might be problematic here.
That being said, the rendering of combining diacriticals seems to be dependent on the terminal emulator and desktop environment, in which case there's not much that we can do to fix things in thokr. I've attached a table that roughly describes the current state of the rendering of diacritical marks in various different desktop environments, operating systems and terminal emulators (combining your results with my own testing):

Terminal Emulator
Desktop Environment
Operating System
Result

GNOME Terminal
GNOME 43
Pop_OS!
Rendered correctly, combining diacriticals on top of next grapheme cluster.

GNOME Terminal
GNOME 43
Devuan
Not rendered at all.

Alacritty
GNOME 43
Devuan
Rendered as a GNOME-style speech bubble on top of the terminal window.

iTerm2
Aqua
macOS
Rendered incorrectly, combining diacriticals on top of wrong grapheme cluster.

Changes relative to previous row are in bold.

@bluelhf I'm going to close this ticket since I'm not sure there's a great way to solve this issue given the seemingly impossible task of supporting different emulators. If I have time I'll see about re-opening this and seeing what can be done. For anyone who may be reading this, feel free to chime in! I'm certainly interested in getting multi-language support added!


RE 8 Rainbow colors

re2_framework_log.zip with OpenXR
reframework_crash.zip with OpenVR
Hello @praydog. I have the rainbow colors with RE8 Village. I am using OpenXR. Can you help me?
With RE7 I managed to remove rainbow colors  stopping Virtual Desktop. However this solution it doesn't work today. This worked some days ago.
I use YCbCr422 8 bits and HDR disabled. My GPU is AMD RADEON 6700 XT
Thank you very much

Duplicate issue https://github.com/praydog/REFramework/issues/307


fix(frontend): npm localhost3000 not found

Closes #
📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed
[x] Branch name follows type/descript (e.g. feature/add-llm-agents)
[x] Ready for code review

ℹ Additional Information

@YuanhuanO
(base) haofeiyu@haofeis-mbp gpu-bartender % npm start
npm error code ENOENT
npm error syscall open
npm error path /Users/haofeiyu/Desktop/gpu-bartender/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/haofeiyu/Desktop/gpu-bartender/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent

npm error A complete log of this run can be found in: /Users/haofeiyu/.npm/_logs/2024-08-01T02_16_07_918Z-debug-0.log

how to solve this error?

I think it is due to the removal of package.json?

let me test on this branch before mering

I failed to run npm when running npm start in the root folder. The error is included in the conversation. Looks like it is related to a path error.

Please try to run under the frontend file because of the structure changes

let me test on this branch before mering

I failed to run npm when running npm start in the root folder. The error is included in the conversation. Looks like it is related to a path error.

Please try to run under the frontend file because of the structure changes

README.md was also modified as:

Clone the repository:
git clone git@github.com:lwaekfjlk/gpu-bartender.git

Navigate to the root directory:
cd frontend

Install dependencies:
npm install

Build the project:
npm run build

Start the application:
cd gpu-bartender
npm start

yeah, but the npm start is still at the root folder?

yeah, but the npm start is still at the root folder?

yes


HD-6000 too

Hi, the MS Lifecam HD-6000 has the same issue.  It is fully named "Microsoft® LifeCam HD-6000 for Notebooks", so maybe it would be nice to change
d.Name == "Microsoft® LifeCam HD-5000"
to something like
d => d.Name.StartsWith("Microsoft® LifeCam HD-"
Or just explicitly test for both?

Fixed with @cainhopwood's PR


change half_life of 1 to epsilon_timesteps/10

If you plot this is has a half life of 1, independent of epsilon_timesteps. If you plot it you see exploration drop to epsilon_final in ~20 steps.
This changes it to have a configurable amount of half lives per epsilon_timesteps. Plots of before and after here

Thanks for the PR! Just to let you know that it might take a few days until we integrate it, since we're working towards getting out a major update in these days.

No problems, thanks for all your work on the project


Code release

When do you intend to make your code available? I'm intrigued by your project and would like to explore it further.

Thanks for the interest. Very soon – likely in the coming week!

Any update on this?


Shipped game crash when using "UEffect_DistructiveInteraction" types

it is due to the new condition , since it needs to define a type to interact with , if that type is not defined it will interact with all
but there is a filter function that needs this type to be valid , so i just put simple null check


shallowEqual need to be enhanced

shallowEqual always return false, cause angular.js create $$hashkey for each vm

   var keysA = Object.keys(objA);
   var keysB = Object.keys(objB);

   if (keysA.length !== keysB.length) {
     return false;
   }

Hey,
This is not on every vm, only on vm inside a ng-repeat.
But you are right that it should be handled by ngRedux.
In the mean time, if you have performance issues because of that, you can use track by which will remove the need for angular to add a $$hashKey.
e.g:
<div ng-repeat="employee in vm.employees track by employee.id">
    [...]
</div>


When first field has a name that is number, registeredFields array explodes.

Subject of the issue
When mounting, if the first field in a form has a name that is also a valid integer, instead of registering the field, the registeredField array itself is expanded to a length corresponding to the name of the field. For instance - if the field's name is string '123456789', the registeredFields array is a length of 123456789. Because this can accidentally create massive arrays, this can lock up tabs and crash applications.
Your environment

OS: MacOS 10.14.6
Packages:

{
    "redux": "^4.0.4",
    "redux-actions": "^2.6.5",
    "redux-form": "^8.2.4",
    "redux-form-input-masks": "^2.0.1",
    "redux-raven-middleware": "^1.2.0",
    "redux-thunk": "^2.3.0"
}

Env:
Node v10.16.3
npm 6.13.1

This issue was only found in FireFox V71. It cannot be reproduced in Chrome.
Steps to reproduce
Name the first Field in a form a large number.
Expected behaviour
The form should load.
Actual behaviour
The tab crashes because of a giant array that is not iterable in a timely manner.
Other information
I will add an example to this later today after I'm out of work, and will try to reproduce in master. If I can, and this is indeed deemed an issue, I'll see if I can make a pull-request to fix tonight.

@jcordial thanks for report. I could reproduce it also in Chrome.

I've also faced the same issue. When using a form with initial values like
{
 books: {
   5000501: {
     description: 'Book 5000501 descr'
   },
   992825721: {
     description: 'Book 992825721 descr'
   }
  }
}

<FormSection name="books" component={...}>
  ...map(({id}) => <Field name={`${id}.description />
</FormSection>

You'll notice how bad performance is even while switching between 2 inputs on the form (blur/focus)
I found that the root cause is: https://github.com/redux-form/redux-form/blob/master/src/structure/plain/setIn.js#L19-L24
When the path segment in numeric, this field will be added to the array with that index (hence creates a huge array).
Just out of curiosity I've removed that isNaN check and all the statements below that condition and all seemed to be working fine (I've checked many complicated forms in our project), so curious what is the need of using array here? Also cloned a redux-form and applied that change and just a couple of snapshots failed that expected array instead of obj with this change, nothing else..


Refactoring handlers

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (491c1d0) 100.00% compared to head (ba27705) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #371   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           57        58    +1
  Lines         2037      2044    +7
  Branches       369       369
=========================================
+ Hits          2037      2044    +7

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


Fix a leak in the CreateOffer callback (PM-2095)

The calling convention is that you own the memory (it should be passed as a std::unique_ptr), respect that.
Tested with valgrind.

Codecov Report

Merging #75 into develop will increase coverage by -5.73%.

@@             Coverage Diff             @@
##           develop      #75      +/-   ##
===========================================
- Coverage    55.29%   49.56%   -5.73%
===========================================
  Files           23       23
  Lines         1964     1973       +9
  Branches       242      244       +2
===========================================
- Hits          1086      978     -108
- Misses         723      847     +124
+ Partials       155      148       -7

Impacted Files
Coverage Δ

src/cpp/peer_connection.cpp
64.12% <100%> (-1.7%)
:x:

src/cpp/main.cpp
60.81% <25%> (-5.86%)
:x:

src/cpp/data_channel.cpp
35.18% <ø> (-59.26%)
:x:

src/cpp/renderer.h
50% <ø> (-50%)
:x:

src/cpp/renderer.cpp
28.14% <ø> (-37.04%)
:x:

src/cpp/host.h
80% <ø> (-20%)
:x:

src/cpp/util.cpp
73.07% <ø> (-11.54%)
:x:

src/cpp/host.cpp
53.54% <ø> (-3.21%)
:x:

Continue to review full report at Codecov.

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

OK Pete, all the tests pass now (and I didn't even disable any of them). TIme to do your thing.
I think this belongs in develop and not RC 0.64? It's a toss up, since we DO see the OOM in demos and stuff. Let me know if I should re-base.


Run Travis tasks in parallell

Speed up builds by splitting up tasks that can be run in parallell.

Codecov Report

Merging #49 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #49   +/-   ##
==========================================
  Coverage      49.48%   49.48%
  Complexity       343      343
==========================================
  Files             95       95
  Lines           1455     1455
  Branches          91       91
==========================================
  Hits             720      720
  Misses           693      693
  Partials          42       42

Continue to review full report at Codecov.

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


Add external IP flag to daisy export workflows

Citrix Machine Creation Services (MCS) uses Daisy Export workflows during VM image preparation. Customers have complained that the export instance launches with an external IP. This pull request adds new workflow vars allowing client to optionally disable external IP address for initial launch of export VM. New flag defaults to "false" to preserve previous behavior.

/assign @adjackura

/ok-to-test

Ideally, we'd want customers to use cli_tools/gce_vm_image_export instead of using Daisy export workflow directly. This because gce_vm_image_export has additional logic to make export more reliable. This PR modifies only the native Daisy export path, while the users of gce_vm_image_export (gcloud, UI) will not have the ability to use this new feature.

Additionally, the RetryWhenExternalIPDenied flag (which is set to true by default) should already handle the scenario when external IPs are dissabled, by re-trying instance create step with no external IP. Is this not working for Citrix Machine Creation Services?

Additionally, the RetryWhenExternalIPDenied flag (which is set to true by default) should already handle the scenario when external IPs are dissabled, by re-trying instance create step with no external IP. Is this not working for Citrix Machine Creation Services?

Yes, RetryWhenExternalIPDenied should retry to handle the case when external IP's are denied by org policy. The intent here, by doing initial VM launch without external IP, is to avoid the necessity for retry and also handle the case that external IP's are not desired but also not explicitly denied by org policy.

Additionally, the RetryWhenExternalIPDenied flag (which is set to true by default) should already handle the scenario when external IPs are dissabled, by re-trying instance create step with no external IP. Is this not working for Citrix Machine Creation Services?

Ideally, we'd want customers to use cli_tools/gce_vm_image_export instead of using Daisy export workflow directly. This because gce_vm_image_export has additional logic to make export more reliable. This PR modifies only the native Daisy export path, while the users of gce_vm_image_export (gcloud, UI) will not have the ability to use this new feature.

Thanks for the feedback.
Citrix is invoking these workflows directly using cloudbuild and the daisy container image, so this covers their requirements.
If you recommend also adding the new flag to gce_vm_image_export for other users, I'll be happy to look into including those additional changes to this PR.

Additionally, the RetryWhenExternalIPDenied flag (which is set to true by default) should already handle the scenario when external IPs are dissabled, by re-trying instance create step with no external IP. Is this not working for Citrix Machine Creation Services?

Ideally, we'd want customers to use cli_tools/gce_vm_image_export instead of using Daisy export workflow directly. This because gce_vm_image_export has additional logic to make export more reliable. This PR modifies only the native Daisy export path, while the users of gce_vm_image_export (gcloud, UI) will not have the ability to use this new feature.

Thanks for the feedback.
Citrix is invoking these workflows directly using cloudbuild and the daisy container image, so this covers their requirements.
If you recommend also adding the new flag to gce_vm_image_export for other users, I'll be happy to look into including those additional changes to this PR.

Ideally, we don't want to add flags to Daisy for specific use cases that can be handled via custom workflow files. Fore example, no external IP can be achieved by using a modified export workflow file where AccessConfig on the instance is set to empty. Any custom logic should go in gce_vm_image_export to keep Daisy less complex.
I see two approaches here:

Citrix switches to using gce_vm_image_export and we add a NoExternalIP flag there, or
they start using a custom export workflow with AccessConfig set to empty

Closed by mistake.

I see two approaches here:

Citrix switches to using gce_vm_image_export and we add a NoExternalIP flag there, or
they start using a custom export workflow with AccessConfig set to empty

I'll explore a custom export workflow first. If that doesn't pan out, we'll look into moving the flag out to gce_vm_image_export. Thanks for the guidance!


Feature request: do not have one team as main team

At this moment, when logging in to matterircd on a mattermost server, you need to provide your username/password and your teamname
The channels for that team become #channelname while the channels of other teams become  #teamname/channelname.
I'd like to request to (optionally) drop the teamname, and have all channels named #teamname/channelname, so you are very clear on which team you are talking.

Fixed in master, set PrefixMainTeam = true in matterircd.toml under [mattermost] settings


Add xcode-select --install to freshbrew?

I get this every so often:
==> Upgrading python3
Warning: Building python3 from source:
  The bottle needs the Apple Command Line Tools to be installed.
  You can install them, if desired, with:
    xcode-select --install

Put before any brew stuff?
Will it just skip if no upgrade is needed?

Basically, put xcode-select --install in WIKI deps list

Done: https://github.com/mhulse/dotfizzles/wiki/Required-dependencies


Build: CentOS proxy build container depends on getenvoy-package (archived project)

CentOS build image depends on getenvoy-package's clang tool chain: https://github.com/istio/tools/blob/master/docker/build-tools/Dockerfile.centos#L34
The project is archived and that means that there won't be newer versions of LLVM/clang toolchain available. Given that there's no official LLVM toolchain for CentOS, we can go 1) build the toolchain from the source, 2) install from the third party (non-llvm) package manager.
cc @lizan @codefromthecrypt

maybe we can copy this approach if istio admins can create a misc (or istio-misc) repo the same way https://github.com/envoyproxy/envoy/pull/17497


Deprecated configuration key: 'iso_checksum_type'

Operating System Version: Ubuntu 20.04
Deploying via VirtualBox (headless)
Vagrant Version (if applicable): Vagrant 2.2.9

Please verify that you are building from an updated Master branch before filing an issue.
Description of the issue:
moloch@atlas ~/g/DetectionLab (master) [1]> ./build.sh virtualbox
Using Packer to build the windows_2016 Box. This can take 90-180 minutes depending on bandwidth and hardware.
Error: Failed to prepare build: "virtualbox-iso"

1 error occurred:
        * Deprecated configuration key: 'iso_checksum_type'. Please call `packer fix`
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.

==> Builds finished but no artifacts were created.
Something went wrong while attempting to build the windows_2016 box.
To file an issue, please visit https://github.com/clong/DetectionLab/issues/

Link to Gist Containing Build Logs:
No logs present, the error occurs within ~30 seconds of running the build script.

Thanks for the report! Will take a look.

Looks like the fix is to integrate the checksum type into this field: https://github.com/geerlingguy/packer-boxes/commit/f0ede0d9b0e9806bb50ed4e355f0fa3da637f9e2

Still getting the same error even with the updates ...
moloch@atlas ~/g/DetectionLab (master)> git log HEAD -1
commit bddd7dd9974f612274f33c73242ce45e06d679a3 (HEAD -> master, origin/master, origin/HEAD)
Merge: 0a2f179 9106b7c
Author: Chris Long<EMAIL_ADDRESS>Date:   Fri Jun 26 00:54:08 2020 -0700

    Merge pull request #474 from clong/linter_errors

    Fix lint errors, update packer files
moloch@atlas ~/g/DetectionLab (master)> ./build.sh virtualbox
Using Packer to build the windows_2016 Box. This can take 90-180 minutes depending on bandwidth and hardware.
Error: Failed to prepare build: "virtualbox-iso"

1 error occurred:
        * Deprecated configuration key: 'iso_checksum_type'. Please call `packer fix`
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.

==> Builds finished but no artifacts were created.
Something went wrong while attempting to build the windows_2016 box.
To file an issue, please visit https://github.com/clong/DetectionLab/issues/

Okay I just had to delete the line:
@@ -44,9 +44,8 @@
       "type": "virtualbox-iso",
       "communicator": "winrm",
       "iso_url": "{{user `iso_url`}}",
-      "iso_checksum_type": "{{user `iso_checksum_type`}}",
       "iso_checksum": "{{user `iso_checksum`}}",
-      "headless": false,
+      "headless": true,
       "boot_wait": "2m",
       "winrm_username": "vagrant",
       "winrm_password": "vagrant",

Should be fixed for real this time: https://github.com/clong/DetectionLab/commit/37911b150a3481527d211145566179964e767ad7

I'm facing the same issue with a build I downloaded yesterday.
`dluser@detectionlab:~/DetectionLab$ ./build.sh virtualbox
Using Packer to build the windows_2016 Box. This can take 90-180 minutes depending on bandwith and hardware.
virtualbox-iso output will be in this color.
1 error(s) occured:

the iso_checksum_type must be specified.
Something went wrong while attempting to build the windows_2016 box.
To file an issue, please visit https://github.com/clong/DetectionLab/issues/`

There are no checksums in the files and I even tried to add / remove the "iso_checksum_type" section, with the same result.

What version of Packer are you using?

@clong Its version 1.3.4 for packer and version 2.2.9 for vagrant.

I know this is late for past posts, but for future references here you go:
The issue is that the packer version you're using requires slightly different json format than what is provided. Solution is:

run the packer fix command for the json file you're building, (example: packer fix application.json )
copy the json output
paste to replace it with json file you're building
save & try the build process again.


[Release] sdk/resourcemanager/netapp/armnetapp/2.0.0

https://github.com/Azure/sdk-release-request/issues/2896

Hold for codegen update.

/check-enforcer override


Very slow queries

Bug description
Hello! I am currently upgrading my prisma layer to prisma 2, and my queries are taking very long to execute (around 10 seconds), which didn’t happen in prisma 1. My current table only has 16 records.
I am using a free PostgreSQL database in Heroku.
How to reproduce

Schema
schema.graphql.zip

Resolver:

bills: (parent, { workDayId }, context) => {
    return context.prisma.bill.findMany({
      where: {
        workDay: {
          id: workDayId
        }
      }
    })
  }

Query:

query($workDayId: ID!) {
  bills(workDayId: $workDayId) {
    id
    createdAt
    closedAt
    status
    registered
    tableData {
      id
      table {
        id
        tableNumber
      }
    }
    orders {
      id
    }
    payments {
      id
      bill {
        id
      }
    }
    value
    discount
    discountReason
    wasReopen
    reopenBills {
      id
    }
  }
}

Expected behavior
The query should be faster.

What does your Prisma Schema look like?
What tool are you using for GraphQL - this seems to create multiple Prisma Client queries in this case.

@janpio Thank you for responding! The log I posted is the Prisma Client log. I am using graphql-yoga, and this is my schema:
schema.prisma.zip

The log only contains the SQL queries generated by the Engines, it is missing the Prisma Client queries for example.
I am also unclear what really is "slow" here. The total of all these queries? Do you have a comparison between Prisma 1 and Prisma 2 somewhere? Did you change anything else besides just upgrading from P1 to P2?

I’m a bit confused. I changed all of my query resolvers so that they use Prisma Client.
This log is after I’ve called my graphQL query. Doesn’t this mean I’m also calling the Prisma Client query?
The only change I’ve made is upgraded Prisma (and the application code), following all of the steps in the docs. In my other development server I had 34 records and the query took 2 seconds, while this one is taking 10 seconds and only has 16 records.
I tried running a Prisma Client Query directly in my code, and the result was much faster. Does this mean my problem is with graphQL?

This log is after I’ve called my graphQL query. Doesn’t this mean I’m also calling the Prisma Client query?

Yes it does, but you are not logging the Prisma Client queries. You can do so via https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/logging#log-to-stdout

In my other development server I had 34 records and the query took 2 seconds, while this one is taking 10 seconds and only has 16 records.

A difference between 16 and 34 seconds should lead to no change in response time at all really. So something is indeed not good in your project.

I tried running a Prisma Client Query directly in my code, and the result was much faster. Does this mean my problem is with graphQL?

The logs posted above are definitely doing a lot more queries. If those are not all run in parallel, it adds up. The individual query you posted is not fast, but fundamentally does not look to bad.
Can you isolate the problem in 1 resolver/Endpoint and put both versions, Prisma 1 and Prisma 2 into a Github project?

Thank you!
Here is the project link: https://github.com/juliaaleixo/prisma-update
If there is anything that isn’t clear please let me know.

Hello @pantharshit00, any updates on this issue?

Hey @juliaaleixo, looking back at this issue for bookkeeping purposes. Recent Prisma versions have heavily improved the overall query performance.
Would you like to try again with the recently released<EMAIL_ADDRESS>version, and report here any concerning performance results? We believe this issue is already solved now. Thanks!

Hi @juliaaleixo, I understand some time has passed, I'm just wondering whether this comment solves the issue for you, and if not, whether you have other information / reproductions for us to take a look at, in order to solve the problem. Thanks!

Hi @juliaaleixo, as we were not able to get a response, we're closing this issue. Feel free to leave a comment asking to re-open it, should you have more info to share with us as per the comments above. Thanks!


Add Linux support for the Stride Game Studio

This is the top-level Feature Issue, which tracks all work related to adding Linux support to the Stride Game Studio.
Any issues or sub-projects (i.e., migration to Avalonia.NET) that must be finished before Linux support for Stride Game Studio can be completed should be linked to this project, and a task should be added. Additionally, anyone interested in contributing to Linux Stride Game Studio support should be directed to this issue for alignment on the remaining work.
Finally, this issue is reserved for discussing what issues must be resolved to make a Linux Stride Game Studio possible. Additional discussion on how those issues need to be fixed should be directed to individual issues created to track those work items and linked here.
At a high level, the work involved in getting a Linux Game Studio includes the following (note: this list will be expanded upon and sub-tasks created as more tasks are identified):

[ ] Get the runtime/player building on Windows and playing on Linux

[ ] Verify the Linux runtime & player can be built on Windows using Visual Studio
[ ] Verify the Linux runtime & player can be built on Windows using Rider
[ ] Verify the Linux runtime & player can be built on Windows using the dotnet CLI

[ ] Get the runtime/player compiling on Linux and running on Linux

[ ]  Remove any dependencies on Visual Studio

[ ]  Remove all references to $(SolutionDir) from build artifacts

[ ] Get the SDK & Game Studio compiling on Linux
[ ] Get the SDK & Game Studio running on Linux

[ ]  Migrate to Avalonia.NET

If you identify any work that needs to be done, please post a comment below for discussion and inclusion in the list.

We can also enable GitHub projects for this. It is easier to track issues in a Kanban than as checkboxes that need a text edit.

We can also enable GitHub projects for this. It is easier to track issues in a Kanban than as checkboxes that need a text edit.

Sounds good. I just don't have the ability to create or manage a project, but I can manage the checkboxes. :smile:

This Issue https://github.com/stride3d/stride/issues/1394
Lists out a ton of c++ dependancies. while I dont think the all need to be replaced for linux support I think getting them replaced would make everything lots easier

After some consideration, I also think there is no need but it would be welcome. I've recently checked MonoGame and turns out we have many  of the same dependencies (https://github.com/MonoGame/MonoGame.Dependencies):
Freeimage.NET, ffmpeg, CppNet, PVRTexLib.
So its only matter of compiling these dlls for linux and macOS.

Out of curiousity, I dont see any VHACD dlls at all. is there a linux version of this? I know Digitalrune implemented their own decomposition classes if it doesnt have its own linux version for whatever reason.https://github.com/rds1983/DigitalRise/blob/d1a26dc89655b876ebe6ead246acab829afecf93/Source/DigitalRise.Geometry/Meshes/Convex Decomposition/ConvexDecomposition.cs#L37


Investigate further as to whether we should be using nested fields for anything

This could be for current requirements or explore what we might be able to surface and research if useful with the experience team.

Closing as stale; we've pretty extensively reworked the index structure recently and nothing from that needed nested fields.


General Whitelist/Blacklist handling

Hi,
When an address is white-/blacklisted via the button in log details It would be more convenient if this is a toggle.
In the Whitelist and Blacklist it would be helpful to have a full text search.
Thanks,
Hyper

I think it's not a good idea to add there a toggle, because that's not something that you can enable or disable. The search on lists I think it's a good idea.

Search added on v3.8.0.

I sometimes enable an address just for one time, this is why this toggle would help. If blocked I just whitelist for a brief moment and could block it again in no time with the same button.

Search added on v3.8.0.

Dude, you are fast!! :D Thanks so much.

I sometimes enable an address just for one time, this is why this toggle would help. If blocked I just whitelist for a brief moment and could block it again in no time with the same button.

The problem is that the add to whitelist / remove from whitelist endpoint it's not intended to be used to block a domain momentarily. It would be useful to block a domain just for some time but that's a feature that has to be added on Pi-hole itself. I could change that button that it's on the log details screen to say "Remove from whitelist" instead of "Add to blacklist" when a domain is already on a list.

Yeah that sounds good 👍

I sometimes enable an address just for one time, this is why this toggle would help. If blocked I just whitelist for a brief moment and could block it again in no time with the same button.

The problem is that the add to whitelist / remove from whitelist endpoint it's not intended to be used to block a domain momentarily. It would be useful to block a domain just for some time but that's a feature that has to be added on Pi-hole itself. I could change that button that it's on the log details screen to say "Remove from whitelist" instead of "Add to blacklist" when a domain is already on a list.

Also it would be possible if the app handles it itself just with a simple timer.


Typed Builder implementation Part 7: Finite sets

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[ ] Documentation added for any new functionality
[ ] Entries added to ./unreleased/ for any new functionality

Codecov Report

Merging #1899 (267ece9) into unstable (141429b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 267ece9 differs from pull request most recent head 1535998. Consider uploading reports for the commit 1535998 to get more accurate results

@@            Coverage Diff            @@
##           unstable    #1899   +/-   ##
=========================================
  Coverage     76.93%   76.94%
=========================================
  Files           402      405    +3
  Lines         12522    12530    +8
  Branches        597      601    +4
=========================================
+ Hits           9634     9641    +7
- Misses         2888     2889    +1

Impacted Files
Coverage Δ

.../forsyte/apalache/tla/typecomp/ScopedBuilder.scala
72.88% <ø> (ø)

...apalache/tla/typecomp/TypeComputationFactory.scala
92.30% <100.00%> (+0.64%)
:arrow_up:

.../typecomp/signatures/FiniteSetOperSignatures.scala
100.00% <100.00%> (ø)

...che/tla/typecomp/subbuilder/FiniteSetBuilder.scala
100.00% <100.00%> (ø)

...e/tla/typecomp/unsafe/UnsafeFiniteSetBuilder.scala
100.00% <100.00%> (ø)

...he/io/annotations/parser/CommentPreprocessor.scala
96.70% <0.00%> (-1.10%)
:arrow_down:

Continue to review full report at Codecov.

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