model produces faster rate of speech for longer sentences.

Hello,
Below are a few examples of my output as well as a few issues I've run into. Hopefully, this post can also help others.
So I've trained tacotron using the LocationSensitiveAttention found in tacotron2 branch, on a custom dataset. The issue is, during evaluation the model seems to decode speech to a max of 50 decoding time steps, even when the utterance requires more timesteps. This causes the speech rate to speed up during evaluation inference.
all hyperparameters are of default value found here except max_iters is set to 300 during training instead of 200, and 320 during eval to evaluate longer utterances (doing 300 during eval makes no difference for this issue).
Below you can see the evaluation alignment of two sentences. One is much longer than the other, but they still decode to about the same decoding timestep.

wav file for above alignment. Note that the long horizontal line is just silence, and that got trimmed out.

wav file for above alignment. Note that the long horizontal line is just silence, and that got trimmed out.
Below is an example of alignment and voice samples for training data. You can see that the speech rate is normal and it can decode past 60 time steps.

wav file for above alignment
The model can decode anything in shorter timesteps fine

wav file for above alignment. Note that the long horizontal line is just silence, and that got trimmed out.
Also, for reference, here is the distribution of my dataset. The x-axis is the character length per sample and the Y-axis is the frequency of samples with that character length.

Any ideas on why the model seems to try to fit speech in 50 decoding timesteps?

I'm super new to Python, TensorFlow, Tacotron, and neural networks in general. I'm finding it REALLY difficult to get started.
I was very excited to follow the instructions at https://github.com/keithito/tacotron and (after hours of debugging) get the browser demo to work.
However, like I think you're saying, it seems to handle only 1 or 2 short sentences at a time.
If I try to synthesize this text, it totally freaks out and sounds weird:

Little Bo-Peep has lost her sheep,
And can't tell where to find them;
Leave them alone, and they'll come home,
And bring their tails behind them.
Little Bo-Peep fell fast asleep,
And dreamt she heard them bleating;
But when she awoke, she found it a joke,
For still they all were fleeting.
Then up she took her little crook,
Determined for to find them;
She found them indeed, but it made her heart bleed,
For they'd left all their tails behind 'em!
It happened one day, as Bo-peep did stray
Unto a meadow hard by--
There she espied their tails, side by side,
All hung on a tree to dry.
She heaved a sigh and wiped her eye,
And over the hillocks she raced;
And tried what she could, as a shepherdess should,
That each tail should be properly placed.

I wonder how we can fix this (and if someone already has)? I will definitely try to find a workaround because I want to synthesize ~1 page of text at a time.
@LearnedVector I would LOVE any advice you have, also, on how I can use my own audio recordings to retrain this system to speak in my own voice.  If I have a long YouTube clip of me speaking, and the clip has SRT or VTT subtitles / captions, and I export the video and the captions, can I use that? If not, what is the process for providing audio and transcriptions to feed into the system somehow? Thanks so much.

@ryancwalsh sorry for late reply. I haven't tried it but If you want to generate longer sentences you need to increase the max_iters hyperparameter in your demo server. It's currently set at a max of 12.5 seconds I believe and will choke up on any sentence that is longer than that. Also, you can try the youtube video's, not sure how well it'll turn out. For me, I had a colleague record 16 hours of clear and quality audio samples from a corpus we came up with.

@LearnedVector Thanks for your response. I've gotten around the challenge of the short clips by just splitting my page of text into sentences and processing them each separately and then concatenating the wav files later.
However, I've been really struggling otherwise. I have 99 minutes of audio clips (max 10 seconds each) with transcriptions. I'm trying to start with Linda Johnson as a basis and then get it to ultimately sound like the voice of my recordings.
I've tried all of these:

https://github.com/keithito/tacotron
https://github.com/r9y9/deepvoice3_pytorch
https://github.com/Kyubyong/dc_tts
https://github.com/GSByeon/multi-speaker-tacotron-tensorflow
https://github.com/carpedm20/multi-speaker-tacotron-tensorflow
https://github.com/facebookresearch/loop

But none of my results are intelligible enough.
And https://github.com/Kyubyong/speaker_adapted_tts claims that only 1 minute of sample recordings are required.
Baidu claims that only 3 seconds of samples are required!
My main question is: what is the best documented approach to creating a TTS in a certain voice?
And also, as I'm completely new to machine learning, what do your graphs above mean?
And when I read my graphs, how am I supposed to adjust something based on what I see?
Where can I learn more about  how to train a system to adapt a voice from Linda Johnson to another voice?
Thank you so much :-)

@ryancwalsh those are different techniques and does not apply to this tacotron repo specifically.

Found the source of the issue. this was due to my dataset being heavily unbalanced in character lengths. You can see more details here. closing


Added Luxord into Enemy List and changed 00battle.bin into decimals

Is there any reasoning for changing them to decimal?

For consistency (and because you wrote that it's recommended to put everything in decimal here )

Well, that is a little bit odd. Didn't we all agree to stay hexadecimal?
That guide linked contradicts what was discussed, doesn't it?

That's not an official guideline. It's just a proposal I made. Change offsets back to hex if you want this to be merged.

What about the Enemy IDs? Are those better in hex or dec?

I'd say right now use the one it originally had. We're currently defining how documentation should be laid out.

The offset has now been changed to hexadecimal. Only for KH2's 00batle.bin though.


RuntimeException in compiled.php line 7051:

No supported encrypter found. The cipher and / or key length are invalid.
in compiled.php line 7051
at EncryptionServiceProvider->Illuminate\Encryption\{closure}(object(Application), array()) in compiled.php line 1289
at Container->build(object(Closure), array()) in compiled.php line 1242
at Container->make('encrypter', array()) in compiled.php line 1780
at Application->make('Illuminate\Contracts\Encryption\Encrypter') in compiled.php line 1334
at Container->resolveClass(object(ReflectionParameter)) in compiled.php line 1318
at Container->getDependencies(array(object(ReflectionParameter)), array()) in compiled.php line 1304
at Container->build('Illuminate\Cookie\Middleware\EncryptCookies', array()) in compiled.php line 1242
at Container->make('Illuminate\Cookie\Middleware\EncryptCookies', array()) in compiled.php line 1780
at Application->make('Illuminate\Cookie\Middleware\EncryptCookies') in compiled.php line 9614
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2982
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9614
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9604
at Pipeline->then(object(Closure)) in compiled.php line 2254
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2237
at Kernel->handle(object(Request)) in index.php line 53

I should add that I am new at this like started yesterday new.....

I chnaged the cipher value and now the error is. file_get_contents(/var/www/html/laravel/starter-laravel-angular/public/build/rev-manifest.json): failed to open stream
where do you have this file located?

Two possible solutions:

https://github.com/Zemke/starter-laravel-angular/issues/27#issuecomment-127145266
https://github.com/Zemke/starter-laravel-angular/issues/23#issuecomment-125245170

Closing due to no further response—assuming it’s been resolved.


Don't create a superuser if already exists

This PR allows to run ./manage.py populatedb --createsuperuser several times in a row.

Current coverage is 48.18%

Merging #383 into master will decrease coverage by -0.07% as of faa8239

@@            master    #383   diff @@
======================================
  Files           85      85
  Stmts         3384    3389     +5
  Branches       320     320
  Methods          0       0
======================================
  Hit           1633    1633
  Partial         29      29
- Missed        1722    1727     +5

Review entire Coverage Diff as of faa8239

Powered by Codecov. Updated on successful CI builds.

You can't catch integrity errors without creating a transaction save point and doing a rollback as otherwise you invalidate the entire connection. See how get_or_create works.

@patrys Please review and merge.


Move diff page to the new design

Move Compare with previous version page to GOV.UK Design System, using diffy gem for styling.
Trello card
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.
Before:

After:

Code looks good to me outside of Daniels questions on the CSS 👍


Update simple_adder_test.cc

Close #185

This change is

The failure in ci / macos catalina 10.15 (pull_request) has nothing to do with this PR. See https://github.com/RobotLocomotion/drake/pull/14046.

+@EricCousineau-TRI for reviews, please.


feat(providers): provide Tokens in a Type Safe way

Feature Description
Syntax Sugarcoat Providers
The Angular Framework moved and is still moving to the new provider syntax approach, latest example is the provideAppInitializer() feature which comes with angular@19.
In Angular Material we have the provideNativeAdapter() but besides that we don't have many providers. E.g. LOCALE_ID ist frequently used and provided but has no such provider and must be done with the old syntax.
const appConfig = [
   ...,
   // existing new Syntax
   provideNativeDateAdapter(),

   // existing old Syntax
   {
    provide: LOCALE_ID,
    useValue:'de-AT',
  },
];

The Benefit
You have auto-complete and type safety out of the Box, so in this case you don't have to check which Properties the provider expects.
Implementation Example
There would be no breaking Change introduced by this change.
// Type Safety included
export function provideMatPaginatorDefaultOptions(options: MatPaginatorDefaultOptions,): ValueProvider {
  return {
    provide: MAT_PAGINATOR_DEFAULT_OPTIONS,
    useValue: options,
  };
}

Potential Providers

Token
Provider

LOCALE_ID
provideLocaleId

MAT_DIALOG_DEFAULT_OPTIONS
provideMatDialogDefaultOptions

DATE_PIPE_DEFAULT_OPTIONS
provideDatePipeDefaultOptions

MAT_FORM_FIELD_DEFAULT_OPTIONS
provideMatFormFieldDefaultOptions

MAT_PAGINATOR_DEFAULT_OPTIONS
provideMatPaginatorDefaultOptions

MAT_DATE_LOCALE
provideMatDateLocale

MAT_PROGRESS_BAR_DEFAULT_OPTIONS
provideMatProgressBarDefaultOptions

Use Case
It would be easier to provide Angular Material specific Tokens in a Type Safe way without having to check in the Source Code which Options the Token expects.
  // Current Syntax
  {
    provide: MAT_PAGINATOR_DEFAULT_OPTIONS,
    useValue: {
      pageSizeOptions: [5, 10, 20, 50, 100],
      showFirstLastButtons: true,
    } as MatPaginatorDefaultOptions,
  },

  // Proposed Syntax
  provideMatPaginatorDefaultsOptions({
    pageSizeOptions: [5, 10, 20, 50, 100],
    showFirstLastButtons: true,
  }),

Hi @enesyalcin  can i take this up and work on it ?

We talked through it with the framework part of the team which initially introduced the provide* pattern. It's not meant to replace the {provide: TOKEN, useValue: ...}, but rather help with bundling multiple providers together and when there's only one way to configure a set of providers. In our case the providers can be added in multiple ways (useFactory). There's an item in the backlog to make the providers array type safe which would help for this specific case.


Fix deletion behavior around atomic blocks

There is currently a selection state bug for deletion behavior around atomic blocks. Namely, removing an atomic block from a neighboring block will remove the atomic block but leave the cursor in an invalid state.
Make it so that atomic blocks will be removed during:

Forward deletion from the last offset of a preceding block
Backward deletion from the zero offset of a following block

@tasti and I discussed whether there should be some special behavior for forward deletion from an empty preceding block, i.e. removing the current block and moving the cursor upward, but this seemed magical.
We can try this out and adjust the behavior as needed.
Test Plan:
View media.html. Add text and an image block. Put cursor in block above image, forward delete. Verify that atomic block is removed. Repeat with cursor in block below image and backspace, verify same.
Fixes #326.

This should be reconciled with #266 (cc @remko) to determine the most consistent behavior.

@remko, I'm going to go ahead with this PR to fix the existing deletion issues and the selection issues that go along with them -- it's a bad error and needs to go away. :(
I'm happy to continue discussion to define the best long-term approach.

@hellendag Sure. I'll revisit #266 afterwards.

@facebook-github-bot import

Thanks for importing. If you are an FB employee go to Phabricator to review.


[Tags Input] Doc improvements and additional features/fixes

Improves the docs dramatically
Adds support for on:blur -> do nothing, add tag, clear input
Adds support for on:paste -> do nothing, add tag
Adds data-invalid attribute to $root and $input when the tag to add is deemed invalid (not unique if unique === true, not in allowed list, in denied list, etc)
Adds support for allowed/denied lists
Support for add and remove functions
Fixes small issues

I have made all those changes @TGlide Hopefully it's cleaner now

Changes made 😄

Awesome!! Thank you for the amazing contribution, and your patience during the PR review. 🎉


Need to exclude a file path from babel, similar to excluding node_modules, in webpack

I see in webpack.base.bable.js there is:
loaders: [{       test: /\.js$/, // Transform all .js files required somewhere with Babel       loader: 'babel',       exclude: /node_modules/,       query: options.babelQuery,     }
I would like to add a directory (which sits in the root of the project next to node_modules folder) to that exclude. However, when I do the following:
loaders: [{       test: /\.js$/, // Transform all .js files required somewhere with Babel       loader: 'babel',       exclude: /(node_modules|rawjs)/,       query: options.babelQuery,     }
babel does not ignore the rawjs file and the component using the js code within rawjs throws an error on my website.
Where do I need to tell this boilerplate to have babel ignore certain js files?
Thank you.

FYI - still an issue. Can't configure webpack like usual to exclude this folder path.

Closing due to inactivity, but if this is still an issue feel free to open a new one and post your webpack configs.


Enable network monitor event subscription.

This PR is still a work-in-progress to complete feature #2.  Remaining items currently under development include:

[ ] Do not call new_addr callback when explicitly populating the network address list at mptcpd start.  It should only be called when a new address is added dynamically, i.e. when a RTM_NEWADDR rtnetlink event occurs.
[x] Make path manager (in src directory) subscribe to network monitoring events through the newly added mptcpd_nm_register_ops() function.  Note: mptcpd_nm_register_ops() may be renamed.  The mptcpd_nm_ops callback functions implemented by the path manager should propagate the events to the registered path manager plugins.
[x] Add callbacks to the mptcpd plugin API corresponding to the five mptcpd network monitor event tracking operations: new_interface, update_interface, delete_interface, new_address, delete_address.
[ ] Implement the at least the new_address and delete_address callbacks in the single-sublflow-per-interface (sspi) reference plugin to trigger MPTCP ADD_ADDR and REMOVE_ADDR operations through the MPTCP path management netlink command API.

No changes to suggest right now - looks good so far!

Commit history was a bit botched when correcting commit email addresses.

Nevermind about the commit history.  The commits will be squashed during the merge so need to worry about the history.

Network monitoring support in the sspi plugin will be moved to a separate pull request.


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3287

Questions ?
Please refer to the Backport tool documentation


packages(vulkansdk) not found - on M2 MacOS

Xmake Version
2.8.5
Operating System Version and Architecture
macOS Sonoma 14.0
Describe Bug
Either running xrepo install vulkansdk or using add_requires("imgui v1.89.9-docking", {configs = {glfw_vulkan = true}}) in my xmake.lua cannot find the vulkansdk package:

error: The packages(vulkansdk) not found, please run xrepo update-repo first!
error: execv(xmake require -j 10 --extra={system=false} vulkansdk) failed(255)

I tried running xrepo update-repo and updating xmake with xmake update to no avail. Is this package legacy? I can see it exists in the GitHub repo.
Expected Behavior
To be able to download and install vulkansdk package as it's in the Github repo.
Project Configuration
add_rules("plugin.vsxmake.autoupdate")
add_rules("plugin.compile_commands.autoupdate")

add_rules("mode.debug", "mode.release")

add_requires("glm 0.9.9+8", {alias = "glm"})
add_requires("glfw", "glad", "fmt", "glslang", "vulkan-headers", "volk")
add_requires("imgui v1.89.9-docking", {configs = {glfw_opengl3 = true, glfw_vulkan = true}})

target("MyProject-0.0.1")
    set_kind("binary")
    add_packages("glm", "imgui", "glfw", "glad", "fmt",
                 "glslang", "vulkan-headers", "volk")

    add_includedirs("src")

    add_headerfiles("src/**.h")

    add_files("src/**.cpp", "src/**.c*")

    set_languages("c++20")

    add_defines("USE_STL_LIB")
    -- add_defines("USE_EASTL_LIB");

    if is_mode("debug") then
	    set_targetdir("bin/Debug/")
    elseif is_mode("release") then
	    set_targetdir("bin/Release/")
    end
target_end()

Additional Information and Error Logs
No more information needed.

Have you install the vulkan sdk on your system? vulkansdk requires a manual installation with environment variable VULKAN_SDK set. check find_vulkansdk.lua

Yes! I have it installed and tried adding the SDK to the path. It doesn't look like find_vulkansdk.lua is doing proper checks for Apple... I will study it a little more during the week and might propose some adjustments.

I built xmake from source and I am trying to add a breakpoint following the debugging instructions but emmylua_debugger package is trying to hookup the x86_64 dsym...
xrepo env --arch=x86_64 -b emmylua_debugger xrepo install vulkansdk
checking for platform ... macosx
checking for architecture ... arm64
checking for Xcode directory ... /Applications/Xcode.app
checking for Codesign Identity of Xcode ... no
checking for SDK version of Xcode for macosx (arm64) ... 13.3
checking for Minimal target version of Xcode for macosx (arm64) ... 13.3
error: dlopen(/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib, 0x0006): tried: '/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib' (no such file), '/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
error: execv(xrepo install) failed(255)
``

Any idea on how to get it working so I can get more debug info? Or perhaps other commands? I reckon that there is a specific folder inside the Vulkan SDK called macOS. In that folder I can find the folders `bin`, `include`, `lib`, `source`, etc. I tried pointing the SDK path to that folder but it still didn't work.

To be honest, I don't see why imgui would need vulkansdk, the vulkan-headers should suffice... I will try to work around this issue by creating a local repo and overriding imgui behavior to depend on the headers instead. If this works I imagine I can open a PR to submit the changes. Regardless of that, the vulkansdk is still complicated to get working.

To be honest, I don't see why imgui would need vulkansdk, the vulkan-headers should suffice... I will try to work around this issue by creating a local repo and overriding imgui behavior to depend on the headers instead. If this works I imagine I can open a PR to submit the changes. Regardless of that, the vulkansdk is still complicated to get working.

you enabled vulkan config, {configs = {glfw_vulkan = true}}

Either running xrepo install vulkansdk or using add_requires("imgui v1.89.9-docking", {configs = {glfw_vulkan = true}}) in my xmake.lua cannot find the vulkansdk package:

https://github.com/xmake-io/xmake-repo/blob/2881c7612ffad5de53057938ee5bf6c7a84b6df7/packages/i/imgui/xmake.lua#L81
https://github.com/xmake-io/xmake-repo/blob/2881c7612ffad5de53057938ee5bf6c7a84b6df7/packages/i/imgui/port/xmake.lua#L36

I built xmake from source and I am trying to add a breakpoint following the debugging instructions but emmylua_debugger package is trying to hookup the x86_64 dsym...
xrepo env -b emmylua_debugger xrepo install vulkansdk
checking for platform ... macosx
checking for architecture ... arm64
checking for Xcode directory ... /Applications/Xcode.app
checking for Codesign Identity of Xcode ... no
checking for SDK version of Xcode for macosx (arm64) ... 13.3
checking for Minimal target version of Xcode for macosx (arm64) ... 13.3
error: dlopen(/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib, 0x0006): tried: '/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib' (no such file), '/Users/gkann/.xmake/packages/e/emmylua_debugger/1.6.3/99ef8b20e2c04f679c155dae63e8429e/bin/emmy_core.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
error: execv(xrepo install) failed(255)

Any idea on how to get it working so I can get more debug info? Or perhaps other commands? I tried copying the x86_64 symbol from the vscode extension to the package folder but the error was another one then (I can't recall which one).
I reckon that there is a specific folder inside the Vulkan SDK called macOS. In that folder I can find the folders bin, include, lib, source, etc. I tried pointing the SDK path to that folder but it still didn't work.

you can add print logs to debug here.
https://github.com/xmake-io/xmake-repo/blob/2881c7612ffad5de53057938ee5bf6c7a84b6df7/packages/v/vulkansdk/xmake.lua#L22
https://github.com/xmake-io/xmake/blob/master/xmake/modules/detect/sdks/find_vulkansdk.lua

To be honest, I don't see why imgui would need vulkansdk, the vulkan-headers should suffice... I will try to work around this issue by creating a local repo and overriding imgui behavior to depend on the headers instead. If this works I imagine I can open a PR to submit the changes. Regardless of that, the vulkansdk is still complicated to get working.

you enabled vulkan config, {configs = {glfw_vulkan = true}}

Either running xrepo install vulkansdk or using add_requires("imgui v1.89.9-docking", {configs = {glfw_vulkan = true}}) in my xmake.lua cannot find the vulkansdk package:

https://github.com/xmake-io/xmake-repo/blob/2881c7612ffad5de53057938ee5bf6c7a84b6df7/packages/i/imgui/xmake.lua#L81
https://github.com/xmake-io/xmake-repo/blob/2881c7612ffad5de53057938ee5bf6c7a84b6df7/packages/i/imgui/port/xmake.lua#L36

Should we make imgui and cimgui depend on vulkan-headers instead of vulkansdk?

Thanks! What I mean by "I don't see why imgui would need vulkansdk" is that internally it doesn't seem to depend on anything that is not provided by vulkan-headers. So if the xmake.lua file for the imgui package would be changed to add_requires("vulkan-headers") instead of add_requires("vulkansdk") the dependencies would be less bloated.

Thanks! What I mean by "I don't see why imgui would need vulkansdk" is that internally it doesn't seem to depend on anything that is not provided by vulkan-headers. So if the xmake.lua file for the imgui package would be changed to add_requires("vulkan-headers") instead of add_requires("vulkansdk") the dependencies would be less bloated.

You can try.
And idea? @AidanSun05 @Qudix

I tried installing a version of imgui that depended on vulkan-headers instead of vulkansdk. I could get it to install successfully, but when I tried to compile the example code with GLFW+Vulkan, I ran into "unresolved external symbol" linker errors because vulkan-headers only provides the Vulkan functions but not the SDK and the definitions (which vulkansdk does). While you can certainly remove the dependency on vulkansdk for imgui, you can't get rid of it completely in your project as it still provides libraries which you should link into.

Ah yes. I guess that makes sense... If you have your existing Vulkan application and you want to integrate ImGUI you wouldn't use their implementation. But that sort of defeated the purpose of having a fully functional package. Sorry for the misleading suggestion. I didn't have the time to debug MacOS further yet... I ended up copy-pasting the ImGui files instead.

Maybe you could try adding this line of code before all add_requires:
add_requires("vulkansdk")
Then try recompiling it.
If that doesn't work, change the name of the current project (e.g. Project to Project1), then create a new project called Project, then copy the original code and the modified xmake.lua and recompile it.
I couldn't find vulkansdk on Windows and ubuntu 20.04 before. it's because I added this line in xmake.lua:
add_requires("vulkansdk", {configs = {shared = true}})
When I saw add_require("vulkansdk") don't take any parameter in other issues, I changed xmake.lua and still couldn't find vulkansdk.
but I created a new project and suddenly I found that the new project could find vulkansdk. That's what solved the problem.
I hope my previous manager and method can help you.


Added source code for 'Distinct Subsequences II' problem in Python

Related Issue
Closes: #1035
Describe the changes you've made
Added source code for 'Distinct Subsequences II' problem in Python
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
Python
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Please review my code.

@abhinav5481 Your folder name should be "Distinct Subsequences II"

I have updated the folder name. Please review it.


Fix: Onboard HRRR processes in NOAA ETL

Description
Notes:

If you are adding or editing a dataset, please specify the dataset folder involved, e.g. datasets/google_trends.
If you are an external contributor, please contact the Google Cloud Datasets team for your proposed dataset or feature.
If you are adding or editing a dataset, please do it one dataset at a time. Have all the code changes inside a single  datasets/noaa folder.

No longer required - covered in PR to migrate pipelines to v2-2024.


add consul client

LGTM : included=false should be the default indeed for stack.json.
did you check the docs are generated in the folder ?

Yes, docs is OK

thanks!


Correction for raw affiliation Sciences Pour l'Oenologie; University College Cork

Correction needed for raw affiliation Sciences Pour l'Oenologie; University College Cork
raw_affiliation_name: Sciences Pour l'Oenologie; University College Cork
new_rors: 03265fv13;04w07sc25
previous_rors: 03265fv13;04w07sc25;05fe7ax82
works_examples: W4206860746;W4293678083
contact: 876919beeaea4363bff64a0e30750ea7:07a4e51d19144d992113c21504995abebfdb @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


[PT2.6] INT8 quantization (PT2E) feature on Linux

🚀 The feature, motivation and pitch
Request INT8 quantization (PT2E) feature on Linux. It requires, implement PT2E infrastructure for Intel GPU path, complete essential oneDNN, Triton quantized INT8 ops, pass benchmark models quantization testing.
And complete essential docs changes
Alternatives
No response
Additional context
No response

func done in PyTorch main branch.


improve compiler error messages

Improve compiler error messages

try and filter out dart2js hints, as well as errors/warnings on files that are not the user's source
when printing locations for errors, only include line numbers for the user's source (line numbers in sdk errors don't help the user)

@lukechurch

lgtm - could you fix up the build failure before merge?

fixed -


Test coverage: writer

Add tests that write out various values and then verify the emitted bits (some overlap with round-tripping)

#48


Is torus only designed to be a block storage? Is there any plan to build a torus filesystem

Is torus only designed to be a block storage? Is there any plan to build a torus filesystem

+1

https://github.com/ipdcode/containerfs
My repo


[Colab] Doesn't save checkpoints nor generate

When I train the RNN, checkpoints can't be saved, It also can't generate audio after epochs, even though I set checkpoint_every by 1 and generate to True. It only saves Tenderboard statistics.

@TheAsterix Hi, it should do all of those things. Which version are you using? Also are you using the Colab notebook? I would advise making a new copy of the latter, as there have been some changes to it, and also of course pulling the latest version of the code. Or just do a fresh clone to be absolutely sure. Thanks!

I pulled the latest version of colab and git. Even checked git to be sure. I tried other settings for training. Still only logs

OK, thanks. I'm not seeing any problems with this myself... What do you have under logdir? You should have a folder related to each training id. There is a default folder there. Under each id-labelled folder you should have one time-stamped folder for each training run under the gven id. The checkpoints and tensorboard logs (train and validation) should be there too.
Using the default id (no id specified) I see this right now:

Only have default. Inside theres timestamped folders with only logs in them

OK, do you have multiple time-stamped folders under default? If so are they all empty of checkpojnts?
What happens if you use an id other than the default?

Yes. All of them are logs. Ill try to use the other ID now. Gonna reinstall the rnn. See how it goes

No checkpoint and model, after generating an epoch

This is my settings for training

Ah, I can see what's happening now. It's the --checkpoint_policy param set to Best. This seems to not be working properly, I'm running a training on the notebook again now and with that set to Best indeed no checkpoint is saved. Apologies, I missed this, will fix.

Trying "always" I'll see how it goes

Now it has checkpoints. Thanks for help

No problem. I'll look into that and fix it ASAP.


C++ modules

Experimental but want a project that uses modules

xmake doesn't play nice with nix packages, and tooling still really isn't there


[BUG] ogg-molpcba has 2-D labels

As titled.
To Reproduce
from dgl.dataloading import GraphDataLoader
from gli.utils import to_dense
import gli
data = gli.dataloading.get_gli_dataset("ogbg-molpcba", "GraphClassification")
train_data = data[0]
train_loader = GraphDataLoader(train_data, batch_size=128)
for batch, (batched_graph, labels) in enumerate(train_loader):
    print(labels)
    print(labels.shape)
    break

results:
Processing graphs: 100%|██████████████████████████████████████████████████████████████████████████████████████████| 437929/437929 [01:19<00:00, 5511.20it/s]
tensor([[0., 0., nan,  ..., nan, nan, nan],
        [0., 0., nan,  ..., nan, nan, nan],
        [nan, 0., nan,  ..., nan, nan, nan],
        ...,
        [0., 0., 0.,  ..., nan, nan, nan],
        [0., 0., nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan]], dtype=torch.float64)
torch.Size([128, 128])

Expected behavior
The label is 1-D

This issue may have something to do with https://github.com/Graph-Learning-Benchmarks/gli/issues/271

This issue may have something to do with #271

I think this behavior has nothing to do with gli. The graph_class attribute in ogbg-molpbca is already 2-d rather than 1-d. @tu-yiwen

Got it! I'll check that today.

The labels have no problem. It will be dealt in benchmarking.


Rename the jerry_value_has_abort_flag function.

Rename the function to represent it's real functionality.
JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos<EMAIL_ADDRESS>

Also moved the function after the jerry_value_is_undefined, like in the #2290 PR.


Add os_distro and os_version in OpenStack images #1981

Add os_distro and os_version in OpenStack images
Description
Implements: #1981
Status
Replace this: describe the PR status. Examples:

done, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[ ] Documentation
[x] Tests
[x] ICLA (required for bigger changes)

Codecov Report

Merging #1982 (0ee184a) into trunk (6e39117) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk    #1982   +/-   ##
=======================================
  Coverage   83.20%   83.20%
=======================================
  Files         353      353
  Lines       81433    81435    +2
  Branches     8593     8593
=======================================
+ Hits        67751    67753    +2
  Misses      10874    10874
  Partials     2808     2808

Files
Coverage Δ

libcloud/compute/drivers/openstack.py
84.93% <ø> (ø)

libcloud/test/compute/test_openstack.py
94.54% <100.00%> (+0.01%)
:arrow_up:


fix typo 'arbitraty' => 'arbitrary' in README

typo is also present in the main 'About' section.

@jack-davidson thanks a lot! 🙂


Unbound: disabling the first DNS override entry results in invalid configuration file

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[ x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[ x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
We use Unbound domain overrides to redirect requests matching our DNS domains to our own servers. Each domain name has several override entries. When the first of entry is disabled in the OPNsense Web UI, the resulting config file (/var/unbound/etc/domainoverrides.conf) becomes invalid: zone headers and names are not included.
For instance, we have three overrides for domain intranet.pep06.fr. When all override entries are enabled, the config file includes the following forward zone:
forward-zone:
  name: "intranet.pep06.fr"
  forward-addr: <IP_ADDRESS>
  forward-addr: <IP_ADDRESS>
  forward-addr: <IP_ADDRESS>

Disabling entry <IP_ADDRESS> in the Web UI makes the zone header disappear:
  forward-addr: <IP_ADDRESS>
  forward-addr: <IP_ADDRESS>

To Reproduce
Steps to reproduce the behavior:

Create several DNS override entries related to a single domain
Disable the first override entry
Save configuration
The resulting config file is invalid

Expected behavior
The forward zone header and name should appear as long as a single override entry is enabled.
Describe alternatives you considered
None
Screenshots
None
Relevant log files
None
Additional context
AFAIK, the bug was already present in 22.1.7.
Environment
Irrelevant

@marinbernard-pep06 can you try https://github.com/opnsense/core/commit/cdcf22e80dc0ff5a6eff1b019941d7ff48cede74 ?

@AdSchellevis  I confirm the patch fixes the issue. Many thanks!

I just noticed this issue after upgrading to 23.7. It looks like this got reverted in commit a556df4

What is a556df4? Doesn’t exist.

It is this commit:
https://github.com/opnsense/core/commit/a556df4a85df41db80b4b4ec22e9f9bfc79f2925
If you look at the current version of the file at
https://github.com/opnsense/core/blob/master/src/opnsense/service/templates/OPNsense/Unbound/core/domainoverrides.conf
you can see that the change made to fix this issue ( #5798 ) which is https://github.com/opnsense/core/commit/cdcf22e80dc0ff5a6eff1b019941d7ff48cede74 has accidentally been reverted by a later update.

@tinus-github looks like a regression indeed, should be fixed in https://github.com/opnsense/core/commit/8de0986673bf80131a5af269c0e969e0fb835c0a


#5 Remove PolyData applications

Removing applications which are part of the PolyData package from this release. Refactored versions or more up-to-date source files from my own IRTK fork may be added back later.
Closes #5.

Same comment as #42.
Please consider opening a standing issue with regards to the upcoming integration of the refactored PolyData. This PR could have referenced it as a first step towards resolution, instead of closing yet another issue with the exact same name of the PR. Thanks.


Add resolveAllDependencies Gradle task

Gradle build itself has a resolveAllDependencies task that is helpful for validating that all the dependencies resolve correctly and for bootstrapping dependency verification without running the full build. It would be great to see this task be built into Gradle.
Expected Behavior
./gradlew resolveAllDependencies should just work
Current Behavior
resolveAllDependencies task doesnt exist
Context
It is helpful for validating that all the dependencies resolve correctly and for bootstrapping dependency verification without running the full build

It could easily be done in plugin. Simple task that will just resolve all configurations.
But I agree that it's useful to have something like this by default for e.g. air-gapped scenario.

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team, but this area of Gradle is currently not in focus. It might take a while before it gets implemented.

For this to work, Gradle would need an entry point where plugin authors could register the way that resolvable configurations should be resolved. In Android, for example, a number of resolvable configurations can only be resolved with the right artifact view.

Note that dependency locking could also benefit from this

I don't think we should have a task that "resolves everything", but we certainly need to handle these scenarios:

Generating a cache directory to reuse for dependency artifacts offline
Generating lock files
Generating dependency verification reports

Another scenario that we have in our project is validating licenses of all dependencies (similar to ones mentioned, but slightly different action when resolved)

I don't think we should have a task that "resolves everything", but we certainly need to handle these scenarios:

I mean resolves everthing that can be put in lockfiles. If I say lock the plugins, I mean lock any 3rd party dependency the plugin might use (given my configuration). There's no way to do that, because there's no API for them to provide that information.

Generating dependency verification reports

what does that mean?

Generating a cache directory to reuse for dependency artifacts offline

there already is... if you download an artifact it goes into a cache.

Thank you for your interest in Gradle!
This issue will be closed as a duplicate of

#17101

Please add your use case and 👍 to that issue.


Update Manifest Version for USSF

When I try installing USSF, sometimes it will give an SQL error. I can't seem to reliably reproduce it, but it only seems to happen when installing from source and not when installing from manifest. Bumping the manifest version as a way to force a republish
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Activation email never arrives, but SMTP test mail works

I am able to receive the SMTP test emails in the Administrator settings for SMTP, but I don't receive any account activation emails.
What could be causing this?

Hello @drewstaylor Please look at the errors in the svcNotify.log? If you use the default settings - do you receive emails?

@Carazyda If I use the default settings I get a connection timeout error in svcNotify.log but with gmail SMTP settings apparently not

Maybe you have firewall that blocked notify service, if that get a connection timeout error? "Enable SSL" is related to smtp server.


fix: Web - Settings is opened on the left with a conversation opened on the right.

Details

Fixed Issues
$ https://github.com/Expensify/App/issues/49337
PROPOSAL: https://github.com/Expensify/App/issues/49337#issuecomment-2355513239
Tests

Navigate to settings
Click on status button at the top of the settings
With the status modal opening at the right, click on save more than once without setting a status
Verify modal to edit status is closed & the app stay on the settings page

[x] Verify that no errors appear in the JS console

Offline tests

Navigate to settings
Click on status button at the top of the settings
With the status modal opening at the right, click on save more than once without setting a status
Verify modal to edit status is closed & the app stay on the settings page

QA Steps

Navigate to settings
Click on status button at the top of the settings
With the status modal opening at the right, click on save more than once without setting a status
Verify modal to edit status is closed & the app stay on the settings page

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/997e8aba-853f-4fe1-bdcb-c9053658cb46

Android: mWeb Chrome
https://github.com/user-attachments/assets/5d471b43-3225-4781-b86b-6e6b66103559

iOS: Native
https://github.com/user-attachments/assets/5ee1e841-5365-4c66-b1b4-e72434612c8d

iOS: mWeb Safari
https://github.com/user-attachments/assets/fd6ec539-fbba-43e3-be4c-175157dbbad9

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/a597c22a-3cdc-485f-9a63-06beb068ddbd

MacOS: Desktop
https://github.com/user-attachments/assets/d85068f2-0d82-4097-81e2-c2726210cd01

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/8e6456e3-f448-4971-850b-07c7dd8635af

Android: mWeb Chrome
https://github.com/user-attachments/assets/6def676e-2cc3-4a36-b96f-5db9ba832ca2

iOS: Native
https://github.com/user-attachments/assets/25957f54-67cf-493f-b652-edeba508f11b

iOS: mWeb Safari
https://github.com/user-attachments/assets/37beb768-15cf-40e9-8c17-54353c4e20b3

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/413dfa61-6f19-4030-b8d3-1adf748866d9

MacOS: Desktop
https://github.com/user-attachments/assets/a58e6dec-2c56-407a-a810-c0c225f4e760

LGTM, thanks guys!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

The reported performance regression can be ignored, see:

https://github.com/Expensify/App/issues/50141


Install docs change

The install docs are misleading about what arguments are allowed. Make them more accurate.
Not sure if some of these copies of the text are automatically generated but I have changed them all.

Adding this to 2.7 because it is changing the CLI help text and that won't technically land until then


[Question] Does performance or accuracy improve depending on quality of dataset

Question
If I ran pandas-profiling on a raw dataset and then on a pre-processed version of the same dataset would I notice a change or improvement in the results?
The pre-processed version would have columns scaled (normalised and scaled). Does scaling or encoding the columns help with accuracy or performance?
Note: I don't mean removing outliers or bad data or those kinds of pre-processing.
Version information:
Current or previous versions of pandas-profiling
PS: can we also have a Question type for raising issues (as this is not a bug report)

I'm not really sure what your precise question is. Could you make it a little more concrete?

Ok let's take an example (I can't share datasets so I'll try to make something up):
Original dataset (example of a single row):

id
feature1
feature2
feature3
feature4
feature5
feature6

123
V01
0.5
Max
36
6
Annual

Preprocessed (Encoded and/or Normalised/Standardised) dataset (example of a single row):

id
feature1
feature2
feature3
feature4
feature5
feature6

1
2
0.562
1
1
2
1

(Please ignore the inaccuracy of the example)
Now, this would be uniformly added across the whole dataset, so the meaning is preserved (we are hoping this is the case). It's also possible this process fixes NaNs, nulls, empty spaces etc.., or skews in distribution (speculating this happens).
And now we run pandas-profiling on this new preprocessed dataset.
Will pandas-profiling report more accurate details because we have fixed/normalised/made the dataset uniform in some form or shape?
Will pandas-profiling be able to perform the analysis quicker because we have made the dataset a bit more compact (sort of like quantising).
That's what I meant by performance and accuracy! It's the performance of pandas-profiling itself on this dataset and it's reporting of analysis it finds about this dataset.
Does this make my question clearer?


Scroll in Dropdown

Resolve #154

https://github.com/taskany-inc/bricks/assets/61706821/9e20b265-08fe-4e9b-ac3f-bda2a89d9ef1


fix webhook response serialization error

fix for webhook response serialization error

Hi @duyguyildirantekin, thanks a lot for your contrinution! 🎉

@duyguyildirantekin some checks have failed, please check this

me checks have failed, please check this

hi @andrii-bodnar ,
I am not familiar with the error, however, I investigate the error, I found this article, could you check this

@innomaxx could you please assist with this?

@innomaxx could you please assist with this?

Sure, thanks for the reminder.

@andrii-bodnar @innomaxx    is there a time assumption for merging this pull request?

@andrii-bodnar @innomaxx is there a time assumption for merging this pull request?

In progress, sorry for the delay


Extended interface for inheritance Appender class.

Extended inheritance interface and as a result added a possibility to create custom Appender.

Currently, I want to create custom Appender and configure it from the config file but can't do this because update method is internal and I can't to override it in my subclass.
So my proposal is to make the method as open and as result possible to override this method in a subclass.

@jduquennoy Hello! Could you please take a look at what @dukhovnyi have proposed? IMHO looks very reasonable. Thanks!

Hi guys,
Sorry for the delay, I was under heavy load those days, I forgot to handle that pull request.
It definitely makes sense, I'll merge it right now.
Thanks for the PR, and thanks for the reminder :-).

Thank you!

Thanks. 👍


Add Roblox Logo

Hi! Could you please add an icon for Roblox?
Their website is at https://roblox.com
When scanning their QR code with Tofu, the account issuer shows up as Example.

I don't have a linux machine and my pc hates docker

I added Roblox in https://github.com/calleluks/Tofu/pull/92/commits/c3dc8fcc6dbff24ebac753e8dbf56e472929831a
Now we just need Calle to compile and upload to the App Store :-)

Thanks


Login issue still recurring under 0.1.48

This looks like a continuation of #72. Using a newly installed 0.1.48 on macOS 11.5 (using Homebrew), attempts to run locast2tuner from the command line go as follows:
user@Mac ~ % locast2tuner -U<EMAIL_ADDRESS>-P "UserPassword123" --rust_backtrace -z 12113 --tuner_count 4 -v 4
Aug 05 15:48:50.777 INFO locast2tuner 0.1.48 on Darwin 20.6.0 starting..
Aug 05 15:48:50.777 INFO UUID: 677cb0ae-d2e1-4af7-8bbc-930f64fa0cd6
Aug 05 15:48:50.777 INFO Logging in with<EMAIL_ADDRESS>Aug 05 15:48:50.777 DEBG starting new connection: https://api.locastnet.org/
Aug 05 15:48:50.820 TRCE registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
Aug 05 15:48:51.173 TRCE signal: Want
Aug 05 15:48:51.173 TRCE signal found waiting giver, notifying
Aug 05 15:48:51.173 TRCE poll_want: taker wants!
Aug 05 15:48:51.344 TRCE signal: Want
Aug 05 15:48:51.344 TRCE signal: Want
Aug 05 15:48:51.344 DEBGthread 'main ' panicked at 'Login failedresponse '404 Not Found' for https://api.locastnet.org/api/user/login?client_id=CqhAMsBw%2BnxTXSJMLGqyOw%3D%3D', src/credentials.rs
:72:9
stack backtrace:
0: std::panicking::begin_panic
1: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
2: locast2tuner::main::{{closure}}
3: tokio::macros::scoped_tls::ScopedKey::set
4: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
5: tokio::macros::scoped_tls::ScopedKey::set
6: tokio::runtime::Runtime::block_on
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
zsh: abort      locast2tuner -U<EMAIL_ADDRESS>-P "UserPassword123" --rust_backtrace -z

Oops. My fault. I miskeyed the password.


Add section on image text metadata

Fix #1

@christophschuhmann what do you think?
That will enable packaging these datasets for everyone and not only laion

parquet would be great as addition to wds :)


cast(double as varchar) doesn't match Presto

Bug description
The implementation of cast(double as varchar) doesn't match Presto.
In Presto, cast(1.0 as varchar) returns "1.0", but in Velox - "1". This causes result mismatch for Prestissimo queries.
 SELECT cast(1.0 * nationkey as varchar) FROM nation

Actual rows (up to 100 of 25 extra rows shown, 25 rows in total):
    [0]
    [1]
    [2]

Expected rows (up to 100 of 25 missing rows shown, 25 rows in total):
    [0.0]
    [1.0]
    [2.0]

CC: @kagamiori @vermapratyush @bikramSingh91 @laithsakka @kevin
System information
n/a
Relevant logs
No response

@mbasmanova This should be because Velox parses "1.0" as a DoubleType and loses the precision (.0), while Presto parses it as a Decimals, which seems to not exist in Velox yet.

CC: @majetideepak

@mbasmanova in the context of Velox, 1.0 is parsed as a double by default. You need to specify parseDecimalAsDouble=false to parse as a decimal.  See https://github.com/facebookincubator/velox/blob/main/velox/exec/tests/PlanNodeToStringTest.cpp#L655
Unfortunately, the non-decimal tests expect double and the decimal tests expect a decimal.
On the Prestissimo side, I see the issue with
> SELECT cast(1.0 * nationkey as varchar) FROM nation
 _col0
-------
 0
 10
 20
 30
 .....
 .....
(25 rows)

Decimal cast to Varchar is currently broken. I will fix it after https://github.com/facebookincubator/velox/pull/5534 lands.

@majetideepak Deepak, thank you for helping to look into this. Looking forward to a fix.

@majetideepak This is being encountered internally and needs a fix quickly, I have one ready, do you mind if I take this off your plate?

@bikramSingh91 please go ahead!


added italian json

added italian json

Don't know if I have to add reviewers or if I opened everything correctly. I don't use github much. Thanks for your time.

thank you. I will review this over the weekend (and to let a bit of time pass so I don't release an update 3 times in a single week. I also saw your issue ticket, so I assume this translation is not tested ingame


Add documentation to BlueSocket

As a developer who is finding out about BlueSocket for the first time, I would like to see usage examples of the main features so that I can understand what BlueSocket can do and also to help me become productive quickly.

Makes perfect sense.  I've been considering adding one or two of the old test programs from ETSockets that would do exactly that.

Complete.


{AKS} Update live test pipeline

This checklist is used to make sure that common guidelines for a pull request are followed.
Update live test pipeline.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

AKS


respond with a utf-8 charset

By default, the beefy server doesn't add charset=utf-8 to the Content-Type header, so UTF-8 characters aren't returned properly. Adding this to the header fixes this:
Before:

After:

@chrisdickinson could you take a look at this and let me know if there's anything I need to fix?

Excellent work! Thank you!


Potential regression in 4.2 - Calling .map on T[] | Y[] is now callable but leads to an implicit any error

Bug Report

🔎 Search Terms

expression not callable union arrays
🕗 Version & Regression Information
This changed between versions 4.1.3 and 4.2 beta
⏯ Playground Link
https://www.typescriptlang.org/play?ts=4.1.3#code/CYUwxgNghgTiAEYD2A7AzgF3gDwFzxQFcBbAIxBgG0BdeAH3kxgEsUBzGgKE+wDpioABwAUAM3gBeAHzxRASiA
https://www.typescriptlang.org/play?ts=4.2.0-beta#code/CYUwxgNghgTiAEYD2A7AzgF3gDwFzxQFcBbAIxBgG0BdeAH3kxgEsUBzGgKE+wDpioABwAUAM3gBeAHzxRASiA
💻 Code
declare const x: number[] | string[]

x.map(f => f)

🙁 Actual behavior
.map is now callable but f as an implicit type of any, leading to an implicit any error.
🙂 Expected behavior
The current behaviour in 4.1.3 is to mark the map() call as not callable as well as f should have an implicit any type.
I don't know if this is a regression but I'm raising it because this change in behaviour is not documented in the release notes.

It's not a regression (definitionally, going from can't call at all to implicitly any is a less restrictive error - now you can explicitly annotate it and actually resolve the call), and we already have #42620 open to improve the experience further~

But why does it all specifically map? every and filter are still errors.
related issue: https://github.com/microsoft/TypeScript/issues/35045

every and filter have multiple overloads (with differing numbers of type parameters) which makes the union call difficult to resolve, while map only has one overload, so combining the signatures is much more straightforward.

Is there any chance for every to work for unions of read-only array types in the foreseeable future?

Not in the immediate future, no. The readonly-ness isn't what matters for our ability to check it - the overload count/genericness of the signature is. We've been slowly expanding how much of that we can check, but I can't make any claims as to how far we'll go or by when.

I see, thanks. For some reason, I thought these methods are disallowed because of type safety. E.g., what can be pushed to an array if it's type is string[] | number[]? So it looked like readonly-ness might help. But now I see I misunderstood the problem.

Anyway, wouldn't it be a helpful trick to implicitly transform readonly string[] | readonly number[] to readonly (string | number)[] for the purposes of signature merging?

[...] and we already have #42620 open to improve the experience further~

@weswigham It's not clear to me how your PR relates to this issue, do you have a playground link I can poke around with?

@tom-sherman Previously, such calls were disallowed because merging signatures for generic overloaded functions is a tricky procedure, and it wasn't implemented. Now, in some cases, it became possible. After merging that PR, it'll be possible in more cases. Hopefully, we'll read more on that in the release blog post.

Now that it works for map, I wonder if this issue should be renamed with a mention of filter and every in the title, That'd make it more discoverable.

An isolated real-world case to demo how this issue is a pain:
playground
import * as Babel from "@babel/types";
import { TSESTree } from "@typescript-eslint/typescript-estree";
type Node = Babel.Node | TSESTree.Node;

declare const node: Node;

if (
    (node.type === "GenericTypeAnnotation" || node.type === "TSTypeReference") &&
    (!node.typeParameters ||
        node.typeParameters.params.length <= 2 && node.typeParameters.params.every(n => true))
) { }

every causes the following error:
This expression is not callable.
  Each member of the union type '{ <S extends TSType>(predicate: (value: TSType, index: number, array: TSType[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: TSType, index: number, array: TSType[]) => unknown, thisArg?: any): boolean; <S extends TSType>(predicate: (value: TSType, index: number, array: TSType[]) => value is S, thi...' has signatures, but none of those signatures are compatible with each other.(2349)

Closing as fixed in #53489; reading the PR, it has this case as a test.


Move docker-gen from VIRTUAL_HOST env variable to io.docksal.virtual-…

…host label.

Nginx config file example with scale and 2 services with virtual-host label
default.conf.txt


chore(v2): make site algolia compliant

Motivation

Fix sitemap
Add <header> and <article> so that algolia crawler can index the correct content

Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan

Locally nothing breaks.
Netlify

cc @s-pace

🚀 👌
🙏

@s-pace
Here is the sitemap
https://docusaurus-2.netlify.com/sitemap.xml
Let me know if got any blocker 😄

✅ check your mailbox @endiliey


All changes have not been saved after refreshing the page

Describe the bug
It's really sad that all the work I did with bolt has disappeared. Also after it fixed a wrong version, I can't go back, I can't go back to what was my favorite version ever
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-56erxm
Steps to reproduce
Step 1 Refresh the page
Expected behavior
nothing be change
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
performance.memory = {
  "totalJSHeapSize": 91325345,
  "usedJSHeapSize": 87994881,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = RZX00
Chat ID = 41a70e1a3d70

Additional context
No response

Hey @RZX00!
Really sorry about this, we're aware and we're going to fix those two issues: saving your chat history and having multiple versions that you can navigate to.
We're already tracking those issues in #35 and #39 so I'm going to close this issue. Feel free to subscribe to those to track our progress on this!


GitHub Actions: Remove actions-rs/toolchain which is end-of-life

Fixes: #1873

#1873

Use the version of cargo that is pre-installed in the GHA base image.

Installing the right toolchain in bin/package turned out to be super easy. Great PR! Removing a dependency is always awesome, and this should make our CI job faster.


[Docs] How to Scan a Docker Image?

I would like to scan a docker image on Docker Hub. Something like:
./sbom-tool -b alpine:latest generate -pn test -pv 1 -ps test -nsb test -di alpine:latest

Is this possible? Thank you for any help!

@aasim Are there any news or updates on this?
I'm currently facing the same and the logs from the verbose output tell me
##[debug]Wrote 0 package elements in the SBOM.

This occurs even when the image is already pulled.
The SBOM is successfully generated, yet it's empty, i.e. it does not contain any packages. Here is an example:
Running
sbom-tool generate -b sbom_tool_test -ps test -pn test -pv 0.0.1 -nsb https://test.info -di ubuntu:latest -D true -V Verbose

gives the following output
##[debug]Starting SBOM generation workflow.
##[warning]Deleting pre-existing folder sbom_tool_test/_manifest as DeleteManifestDirIfPresent is 'true'.
##[debug]Using the CGScannedExternalDocumentReferenceFileProvider provider for the files workflow.
##[debug]Scanning for packages under the root path .
##[debug]Splitting the workflow into 8 threads.
##[debug]Running the generation workflow ...
##[debug]Using the DirectoryTraversingFileToJsonProvider provider for the files workflow.
##[debug]Enumerating files under the root path sbom_tool_test.
##[debug]Splitting the workflow into 8 threads.
##[debug]Running the generation workflow ...
##[debug]Using the CGScannedPackagesProvider provider for the packages workflow.
##[debug]Scanning for packages under the root path .
##[debug]Splitting the workflow into 8 threads.
##[debug]Running the generation workflow ...
##[debug]Wrote 0 package elements in the SBOM.
##[debug]Found value for header PackageName in internal metadata.
##[debug]Found value for header PackageVersion in internal metadata.
##[debug]Found value for header PackageSupplier in internal metadata.
##[debug]Using the CGExternalDocumentReferenceProvider provider for the external documents workflow.
##[debug]Using the CGExternalDocumentReferenceProvider provider for the external documents workflow.
##[debug]Scanning for packages under the root path .
##[debug]Splitting the workflow into 8 threads.
##[debug]Running the generation workflow ...
##[debug]Wrote 1 relationship elements in the SBOM.
##[debug]Building the header object.
##[debug]Found value for header SBOMToolName in internal metadata.
##[debug]Found value for header SBOMToolVersion in internal metadata.
##[debug]Found value for header PackageName in internal metadata.
##[debug]Found value for header PackageVersion in internal metadata.
##[debug]Found value for header PackageSupplier in internal metadata.
##[information]Finished execution of the Generate workflow SBOMTelemetry {Result=Success, Errors=ErrorContainer`1 {Count=0, Errors=[]}, Parameters=Configuration {BuildDropPath=ConfigurationSetting`1 {Value="sbom_tool_test", Source=CommandLine, IsDefaultSource=False}, BuildComponentPath=null, BuildListFile=null, ManifestPath=null, ManifestDirPath=ConfigurationSetting`1 {Value="sbom_tool_test/_manifest", Source=Default, IsDefaultSource=True}, OutputPath=null, Parallelism=ConfigurationSetting`1 {Value=8, Source=Default, IsDefaultSource=True}, Verbosity=ConfigurationSetting`1 {Value=Verbose, Source=CommandLine, IsDefaultSource=False}, ConfigFilePath=null, ManifestInfo=ConfigurationSetting`1 {Value=null, Source=Default, IsDefaultSource=True}, HashAlgorithm=ConfigurationSetting`1 {Value=AlgorithmName {Name="SHA256"}, Source=Default, IsDefaultSource=True}, RootPathFilter=null, CatalogFilePath=null, ValidateSignature=ConfigurationSetting`1 {Value=False, Source=Default, IsDefaultSource=True}, IgnoreMissing=ConfigurationSetting`1 {Value=False, Source=Default, IsDefaultSource=True}, ManifestToolAction=Generate, PackageName=ConfigurationSetting`1 {Value="test", Source=CommandLine, IsDefaultSource=False}, PackageVersion=ConfigurationSetting`1 {Value="0.0.1", Source=CommandLine, IsDefaultSource=False}, PackageSupplier=ConfigurationSetting`1 {Value="test", Source=CommandLine, IsDefaultSource=False}, FilesList=null, PackagesList=null, TelemetryFilePath=null, DockerImagesToScan=ConfigurationSetting`1 {Value="ubuntu:latest", Source=CommandLine, IsDefaultSource=False}, ExternalDocumentReferenceListFile=null, AdditionalComponentDetectorArgs=null, NamespaceUriUniquePart=null, NamespaceUriBase=ConfigurationSetting`1 {Value="https://test.info", Source=CommandLine, IsDefaultSource=False}, GenerationTimestamp=null, FollowSymlinks=ConfigurationSetting`1 {Value=True, Source=Default, IsDefaultSource=True}, DeleteManifestDirIfPresent=ConfigurationSetting`1 {Value=True, Source=CommandLine, IsDefaultSource=False}}, SBOMFormatsUsed=[SBOMFile {SbomFormatName=ManifestInfo {Name="SPDX", Version="2.2"}, SbomFilePath="sbom_tool_test/_manifest/spdx_2.2/manifest.spdx.json", FileSizeInBytes=1183}], Timings=[Timing {EventName="Metadata build time for SPDX:2.2 format", TimeSpan="00:00:00.0100092"}, Timing {EventName="Relationships generation time", TimeSpan="00:00:00.0261707"}, Timing {EventName="External document reference generation time", TimeSpan="00:00:00.0121969"}, Timing {EventName="Packages generation time", TimeSpan="00:00:00.0771603"}, Timing {EventName="Files generation time", TimeSpan="00:00:00.1080980"}, Timing {EventName="Total generation time", TimeSpan="00:00:00.3654724"}], Switches={["DeleteManifestDirIfPresent"]=False}, Exceptions={}}

and results in this SBOM:
{
  "files": [],
  "packages": [
    {
      "name": "test",
      "SPDXID": "SPDXRef-RootPackage",
      "downloadLocation": "NOASSERTION",
      "packageVerificationCode": {
        "packageVerificationCodeValue": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
      },
      "filesAnalyzed": true,
      "licenseConcluded": "NOASSERTION",
      "licenseInfoFromFiles": [
        "NOASSERTION"
      ],
      "licenseDeclared": "NOASSERTION",
      "copyrightText": "NOASSERTION",
      "versionInfo": "0.0.1",
      "supplier": "Organization: test",
      "hasFiles": []
    }
  ],
  "externalDocumentRefs": [],
  "relationships": [
    {
      "relationshipType": "DESCRIBES",
      "relatedSpdxElement": "SPDXRef-RootPackage",
      "spdxElementId": "SPDXRef-DOCUMENT"
    }
  ],
  "spdxVersion": "SPDX-2.2",
  "dataLicense": "CC0-1.0",
  "SPDXID": "SPDXRef-DOCUMENT",
  "name": "test 0.0.1",
  "documentNamespace": "https://test.info/test/0.0.1/8B_pN6sHJUeemhiJBaftBw",
  "creationInfo": {
    "created": "2023-03-16T08:17:00Z",
    "creators": [
      "Organization: test",
      "Tool: Microsoft.SBOMTool-0.3.3"
    ]
  },
  "documentDescribes": [
    "SPDXRef-RootPackage"
  ]
}

Thus I would also be happy to receive an update on this.
Thanks very much in advance!

@anotherbridge @jspeed-meyers, at the moment we only run the component detection when a -bc parameter is specified. So in your case adding the -bc parameter with the same directory you provided -b should scan the docker image. We are working on changing the behavior to allow the user to simply pass in an output path for those who want to scan a Docker image and nothing else. The current behavior is that the contents of both -b and -bc will be scanned along with any images specified. You can pass in an empty directory if you only want the contents of the Docker image.

@sebasgomez238, thank you!
Just so I am able to hold the tool right next time I use it, what is the exact command or set of commands I should run to scan a container image? A code example would be helpful.
Again, thank you!

@jspeed-meyers Sure! going off of the inputs you provided, in order to scan the image you would have to run:
./sbom-tool generate -b <pathToADirectory> -bc <PathToADirectory> -pn test -pv 1 -ps test -nsb https://test.com -di alpine:latest
You can create an empty directory and pass that in or use any other directory if you want those files to be scanned along with your image.


How to store and show the chat history

Hi,
    While leaving the chat room the chat history is deleted how to store and show the chat history

Hi sir ,for this purpose you can use a local database or something like. to keep data in your mobile :)

Hi ben,
         Thanks for your reply,i will work on what you suggested me

hi ben,
        Im using listview to show the chat. Now i am struggling on an

issue that i try to show who is typing it showed but it does not clear
On Mon, Jun 27, 2016 at 9:15 AM, Cruzbenhur<EMAIL_ADDRESS>wrote:

Hi ben,
     Thanks for your reply,i will work on what you suggested me

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nkzawa/socket.io-android-chat/issues/38#issuecomment-228648387,
or mute the thread
https://github.com/notifications/unsubscribe/ATLQf4SNeVcuiI2yGPGBFIYoS4Nw76zRks5qP0dHgaJpZM4I8n3q
.

--
Regards,
Anto Cruz. S,
Trainee Developer,
Cogzidel Technologies Private Limited.
website: www.cogzidel.com
CONFIDENTIAL NOTICE
This e-mail and any files transmitted with it may contain PRIVILEGED or
CONFIDENTIAL information and may be read or used only by the intended
recipient. If you are not the intended recipient of the e-mail or any of
its attachments, please be advised that you have received this e-mail in
error and that any use, dissemination, distribution, forwarding, printing,
or copying of this e-mail or any attached files is strictly prohibited. If
you have received this e-mail in error, please immediately purge it and all
attachments and notify the sender by reply e-mail.

Hi  Cruzjhon ,u can emit is stop typing then u can clear it when u get that the user is stop typing

Closing, please ask these questions on Stack Overflow.


Tutorial for pytorch feature extraction

Hi,
Thanks for sharing the code. Would you please add a tutorial for feature extraction using the pytorch version? What is the "shared folder" and the "checkpoint" directory?

Yeah for sure.
It'll take a few days unfortunately as I'm not working at FB anymore, but hopefully I'll get it out soon :)


Update virtual-network-public-ip-address.md

This reads as Standard SKU of the IP address, but it IS possible to create a Standard IP with IPv6. This sentence must be referring to the SKU of the Load Balancer, where Standard doesn't take IPv6. Clarifying.

@KumudD, can you review this PR? Thanks.

@dcbrown16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The text that's updated in the PR is no longer available in the article. We'll close the PR. Thank you @dcbrown16


rclpy: 1.9.1-1 in 'galactic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rclpy to 1.9.1-1:

upstream repository: https://github.com/ros2/rclpy.git
release repository: https://github.com/ros2-gbp/rclpy-release.git
distro file: galactic/distribution.yaml
bloom version: 0.11.1
previous version for package: 1.9.0-1

rclpy
* Remove -> bool annotation for destroy_node #886 <https://github.com/ros2/rclpy/issues/886> (#891 <https://github.com/ros2/rclpy/issues/891>)
* Fix memory leak. (#840 <https://github.com/ros2/rclpy/issues/840>)
* Fix automatically declared parameters descriptor type. (backport #853 <https://github.com/ros2/rclpy/issues/853>) (#854 <https://github.com/ros2/rclpy/issues/854>)
* Only add one done callback to a future (#816 <https://github.com/ros2/rclpy/issues/816>) (#821 <https://github.com/ros2/rclpy/issues/821>)
* Remove unused function make_mock_subscription (#809 <https://github.com/ros2/rclpy/issues/809>) (#810 <https://github.com/ros2/rclpy/issues/810>)
* Convert Node and Context to use C++ Classes (#771 <https://github.com/ros2/rclpy/issues/771>)
* Pybind11 actionserver nitpicks and docblock improvements (#774 <https://github.com/ros2/rclpy/issues/774>)
* Pybind11 action goal handle nitpicks (#767 <https://github.com/ros2/rclpy/issues/767>)
* Convert Guardcondition to use C++ classes (#772 <https://github.com/ros2/rclpy/issues/772>)
* Removed unused structs (#770 <https://github.com/ros2/rclpy/issues/770>)
* Convert WaitSet to use C++ Classes (#769 <https://github.com/ros2/rclpy/issues/769>)
* Convert ActionServer to use C++ Classes (#766 <https://github.com/ros2/rclpy/issues/766>)
* Convert ActionClient to use C++ classes (#759 <https://github.com/ros2/rclpy/issues/759>)
* Use py::class_ for rcl_action_goal_handle_t (#751 <https://github.com/ros2/rclpy/issues/751>)
* Convert Publisher and Subscription to use C++ Classes (#756 <https://github.com/ros2/rclpy/issues/756>)
* Contributors: Alejandro Hernández Cordero, Greg Balke, Shane Loretz, Suraj Pattar, mergify[bot]

Please hold this PR; @cottsay will merge it when the time is right.


Reduce post-date font-size

This tries to improve the visual style of the post list be making the dates smaller.

Something appears to prevent the netlify preview from showing the changed CSS.

I haven't setup netlify previews for PRs.
I'm not sure about that change, it makes dates way too small to be readable imo.


Added spruce version of core yml and openstack derivations

I added files for the spruce version of some manifest files as opposed to updating the current versions. This update includes the core cf.yml file, which is used by other IaaS derivations. I didn't have time to do all the IaaS files, so I just added the ones that I did and included "-spruce" in the name.

Hey @stevewallecs, thanks for this PR.
The Release Integration team (the team responsible for cf-release and manifest generation) is moving away from these scripts entirely in favor of cf-deployment. In the meantime, we're only planning to support the tooling that we've already had for a while and are testing in automated builds. As such, I'm reluctant to merge in a change that a) introduces a previously unsupported tool (spruce) to cf-release, and b) that our team doesn't have the bandwidth to add testing for.
On the other hand, I'm sure that a lot of people in the CF community would be excited to see more tooling around manifest generation until we officially bless cf-deployment for public consumption. I'd suggest sending an email to<EMAIL_ADDRESS>to let people know that you have a fork of cf-release that offers better support for spruce.
Let me know if this works for you, or if you have any other questions regarding manifest generation in cf-release.
David Sabeti
CF Release Integration PM

Thanks for the response David. I see your points and look forward to cf-deployment!


Pre-tune PostgreSQL for CircleCI & test with 15.2 [release]

This PR attempts to pre-tune PostgreSQL. Part of the point of this is to help solve problems like #47 since we can't dynamically change my PG settings.
This PR also builds the new PG v15.2 image as a way to test these changes.
Whether this is merged or not, we need to build v15.2 and other new releases though if we merge this, those releases should come after.
Also, if this works, we should determine how far back to make the change. The requester in #47 seems to be using 11.x so not recent.

@felicianotech Looks good to me on principle. Do we have any benchmarks on this? Perhaps pgbench to see how much this improves the performance whilst testing stability?

@BytesGuy No benchmarks. How do you use pgbench with this image to do so? I determined the changed defaults based on prior knowledge, some reading, and playing with pgtune.

@felicianotech This is what I used to test if ram disks would make any performance difference. Off the top of my head this will create a database and populate it, then simulator a load of clients running multiple queries
      - run: pgbench -i -s 100 -h <IP_ADDRESS> -p 5432 -d $TEST_DATABASE_URL --quiet
      - run: pgbench -c 100 -T 300 -S -n -p 5432 -d $TEST_DATABASE_URL >> benchmark 2>&1
      - run: tail -n 50 benchmark

i think the changes themselves are fine, but i'm not sure what the benchmarking would be used for specifically in this case; are we looking for any specific increases in performance with pgbench and pgtune or is this more for addressing how to configure in #47?

after investigating this issue further:

should we follow through with the revert in #71? this change is not deterministic, but there aren't many changes being made to that file. the most important one is actually the addition of listen_addresses = '*' for testing purposes.

technically, the dockerfile has a backwards compatibility symlink, so it could use either the upstream entrypoint or the one that is copied over within this repo. if we do not revert, i would still need to add the old docker-entrypoint.sh back in so older dockerfile versions can still build, but this would be backwards compatible

i think having the addition of the separate postgres.conf makes sense since it allows users to customize their configuration, especially for settings that can only be set at a certain time. this would also allow us to set the listen_addresses = '*' configuration within this file instead of in the entrypoint, which facilitates pulling from upstream

specifying a postgres.conf is compatible and is documented as one of the ways to do it, so i think this would work for old and new releases without needing to know exactly how far back to go

@JalexChen

Yes, let's revert this for now until we have a better solution
As above, let's revert for now to keep things simple
This is a good idea, we can keep custom configuration separate this way
We will definitely want to ensure this is well documented from our side too

Closes #47

@JalexChen This looks good to merge 👍

Can we add these parameters to postgres config
https://discuss.circleci.com/t/can-postgres-config-postgresql-conf-file-be-changed-using-circle-yml/10621/4
fsync=off
synchronous_commit=off
full_page_writes=off
bgwriter_lru_maxpages=0


Support for terraform to enable debug log

Sometimes, cloud vendors need debug logs to help them troubleshoot problems
TF_LOG=TRACE TF_LOG_PATH=./terraform.log

This is a good idea, which should be supported in the chart level or Configuration level.


custom-root-zipper position property based test failed

Copied from https://github.com/lread/rewrite-cljc-playground/issues/44, fix to be reapplied to rewrite-clj
Version
master
Platform
Operating System: macOS 10.15.6
Clojure version: 10.1.0
JDK vendor and version: openjdk 11.0.7
ClojureScript

version: 1.10.773
tooling: shadow-cljs
host: node

Symptom
As I was trying to figure out how shadow-cljs was bringing in correct dependencies, I triggered a failure in property based tests on my development computer.
Reproduction
One can ask test.check to reproduce a failure by providing the :seed reported in the failure.
If we alter the original test with the `:seed' that triggered the failure:
(defspec t-zipper-position-always-matches-row-and-column-in-root-string {:seed<PHONE_NUMBER>038}
  (prop/for-all [node (g/node)
                 operations (gen/vector (gen/elements (keys operations)) 1 8)]
                (let [zloc (apply-operations
                            (base/edn* node {:track-position? true})
                            operations)]
                  (= (char-here zloc)
                     (char-at-position (base/root-string zloc) (z/position zloc))))))

Actual behavior
Testing rewrite-cljc.custom-zipper.core-test
{:type :clojure.test.check.clojure-test/shrunk, :clojure.test.check.clojure-test/property #clojure.test.check.generators.Generator{:gen #object[Function]}, :clojure.test.check.clojure-test/params [<unquote-splicing: ~@()> [:next :next]]}

FAIL in (t-zipper-position-always-matches-row-and-column-in-root-string) (cljs-runtime/cljs.test.js:430:85)
expected: {:result true}
  actual: {:shrunk {:total-nodes-visited 82, :depth 29, :pass? false, :result false, :result-data nil, :time-shrinking-ms 1357, :smallest [<unquote-splicing: ~@()> [:next :next]]}, :failed-after-ms 10959, :num-tests 53, :seed<PHONE_NUMBER>038, :fail [<unquote-splicing: ~@()      > [:next :insert-right :next :remove-right :insert-left :remove-and-move-right :rightmost]], :result false, :result-data nil, :failing-size 52, :pass? false, :test-var "t-zipper-position-always-matches-row-and-column-in-root-string"}

Expected behavior
The unit test should pass.
Diagnosis
Although I discovered this problem when testing with shadow-cljs this failure is repeatable on ClojureScritpt and Clojure.
Will dig in more when fixing.
Observation: This test comes from rewrite-clj and has probably been run thousands of times. Cool that property based testing found an issue.  And maybe worth thinking about running property based tests over long period? Not sure how'd that work.
Action
I will follow up with full diagnosis and fix.

Comments from rewrite-cljc-playground:
@lread:
Diagnosis
This was a bit confusing to diagnose.
Test.check kindly and correctly tells us the smallest sample that causes a failure:
:smallest [<unquote-splicing: ~@()> [:next :next]]

It looks like an empty unquote-splicing-node is the issue but rewrite-clj's override of default printing bit me here.  After some quality time with the cider debugger, I figured out that I really have an unquote-splicing-node containing an empty forms-node. An empty forms-node string representation is empty string:
(node/string (node/forms-node (list)))
;; => ""

Which means it is effectively hidden when output by rewrite-clj
(node/unquote-splicing-node (node/list-node (list)))
;; => <unquote-splicing: ~@()>

(node/unquote-splicing-node (node/list-node (list (node/forms-node (list)))))
;; => <unquote-splicing: ~@()>

With this understanding I could reproduce the failure.  The test tries to validate that position tracking works as expected  after performing generated zip operations on a generated set of nodes. It validates that the character at the location returned by the zipper matches the character at row/col within the zipper's root-string.  The empty string returned by the forms-node threw checks awry.
As per our doc string, forms-node is used to:

Create top-level node wrapping multiple children (equivalent to an implicit do on the top-level).

I don't see a valid case where this top-level node would appear under another node so I think the test should be adjusted.
I will follow up with a fix.

Comments from rewrite-cljc-playground:
@lread:
Diagnosis
This was a bit confusing to diagnose.
Test.check kindly and correctly tells us the smallest sample that causes a failure:
:smallest [<unquote-splicing: ~@()> [:next :next]]

It looks like an empty unquote-splicing-node is the issue but rewrite-clj's override of default printing bit me here.  After some quality time with the cider debugger, I figured out that I really have an unquote-splicing-node containing an empty forms-node. An empty forms-node string representation is empty string:
(node/string (node/forms-node (list)))
;; => ""

Which means it is effectively hidden when output by rewrite-clj
(node/unquote-splicing-node (node/list-node (list)))
;; => <unquote-splicing: ~@()>

(node/unquote-splicing-node (node/list-node (list (node/forms-node (list)))))
;; => <unquote-splicing: ~@()>

With this understanding I could reproduce the failure.  The test tries to validate that position tracking works as expected  after performing generated zip operations on a generated set of nodes. It validates that the character at the location returned by the zipper matches the character at row/col within the zipper's root-string.  The empty string returned by the forms-node threw checks awry.
As per our doc string, forms-node is used to:

Create top-level node wrapping multiple children (equivalent to an implicit do on the top-level).

I don't see a valid case where this top-level node would appear under another node so I think the test should be adjusted.
I will follow up with a fix.


Update lighthouse to pull latest e2e

github.com/submariner-io/lighthouse/pull/757 modified
Lighthouse E2E alongwith changes to lighthouse core code.
Update go.mod to pull the newer version of E2E so subctl verify
runs the right E2E.
Signed-off-by: Vishal Thapar<EMAIL_ADDRESS>

End to End Full / E2E (1.23) (pull_request) Cancelled after 30m


Remicollet issue tsrmls

Coverage remained the same at 74.401% when pulling 0af32b2f59462e117408de32a65b75de306fdf3d on yitam:remicollet-issue-tsrmls into 14dbf79d395d7536f4155c21b2201c6f5b49fe79 on microsoft:dev.


Fix #1039: Docker compose up ignores return code of node

Currently a draft because I'm seeing a different behavior between my machine and the CI.

That did the trick!


start lxde in separate tab

Hello guys, I have installed trusty along with lxde and xiwi and xorg  on a fresh new crouton.
I can make xterm start in a separate window but whenever I try to get the lxde desktop running in a separate window it just switches to the lxde desktop and I still have to use CTRL+ALT+Arrows so switch back... Any ideas on how to make this work?

I noticed this issue is closed so I hope that means you found an answer/method.
If not, you can start your lxde desktop in a window by using this:
sudo startlxde -X xiwi-window
or by using this:
sudo startxiwi startlxde

@DennisLfromGA Thank you that worked out! i tried it with sudo startxiwi  -T startlxde, now I have lxde running in a tab =)

Great!