Allow Custom Async value

Hi! i think the new riverpod syntax is absolutely genius! i really love it.
My request is very simple! it is related to the AsyncNotifier/AutoDisposeAsyncNotifier class & Async Initialization.
Can you allow Custom Async Values!
For instance in my build function i want to have 4 states: initial,loading,loaded and error and at the same time i want to initialize the my state asyncronisally.
or if for instance in the regular async value error state, i want to have my previous state and not alter the current state, just show some snackbar.

If you want custom async values, use Notifier. You can set whatever you want there.
I do not plan to enable AsyncNotifier to use something other than AsyncValue.
AsyncValue is likely going to be migrated to a sealed class when dart 3 lands. You wouldn't be able to subclass AsyncValue anymore.


Security of package code

Discussed in https://github.com/r-multiverse/help/discussions/76

Originally posted by wlandau July 19, 2024
This might be an R-universe issue, but what can/should we do to prevent hosting malicious code from both community and production?
I really hope we can delegate to GitHub to handle this. Maybe we require the standard security scanning features to be enabled?  @jeroen, @shikokuchuo, @maelle, would that be enough?
What about packages hosted on GitLab? If GitLab doesn't have enough built-in security, maybe we require manual review for those packages, and the bot reminds reviewers to run some sort of ad hoc security scan (not sure what is possible on that front).

This is a great question. :sweat_smile: (I'm no security expert at all)

@tylfin mentioned OSV-Scanner as a possible resource (c.f. https://github.com/rconsortium/r-advisory-database). Apparently we can run it at the level of a whole universe to detect R packages with vulnerabilities or malware.
The group's opinion from today's meeting was that GitHub security scanning and Dependabot is heavy-handed and might not be very effective.

I think OSV-Scanner at the level of https://github.com/r-multiverse/community would be sufficient to close this issue.

From https://google.github.io/osv-scanner/usage/, it looks like we would need to download the whole universe and unzip every package to scan everything. https://github.com/RConsortium/r-advisory-database looks more practical.

Maybe we write a function in multiverse.internals which summarizes all vulnerable packages and versions documented in https://github.com/RConsortium/r-advisory-database/tree/main/vulns. We could run this check on package reviews in https://github.com/r-multiverse/contributions. We could also add a new "issues_*()" check for this.

Certain versions of e.g. graph and jsonlite are in that advisory. I don't think it would make sense to entirely remove them from Community.

Implemented in https://github.com/r-multiverse/multiverse.internals/pull/37


Additional wildcard comprehension test case and fix

Missed one vital detail, leading to multi-wildcard paths not being transformed correctly.

Hmm seem to be having trouble getting AppVeyor to trigger CI builds; will build again from dev, since this is on the fast track to main.


Second touch registered after auto scroll on Chrome for Android

On the components pages of material-ui.com in Chrome on Android 5.0.2, when you hit a menu item on the bottom of the page (which triggers an auto scroll), if you then make a second touch before the auto scroll, the second touch is executed after the scroll has completed (registering a touch event on whatever UI element happens to be at that spot after the scroll).
For example, if you scroll all the way to the bottom of the page and then touch the "Text Fields" option twice quickly, after the scroll to the top, the example input field will be in focus because the second touch gets registered after the scroll.

Not able to reproduce on the latest version.


Update scala-library, scala-reflect to 2.12.20

About this PR
📦 Updates

org.scala-lang:scala-library
org.scala-lang:scala-reflect

from 2.12.19 to 2.12.20
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Not sure what's going on with dependency resolution in the github checks, this is working fine on my system.


Add setting for default media host

Add an option to the settings view so users can select a default server to upload any images and videos to

I can't find this setting in nostrudel.ninja/#/settings, or maybe this is a self-hosting config?


Run error for the demo code on the tutorials

I was trying to run the demo code but ran into the following error:
agent = RandomAgent(action_space=myEnv.action_space, num_actions=myEnv.NumConcurrentActions)

AttributeError: 'RDDLEnv' object has no attribute 'NumConcurrentActions'
Could someone provide some help?
I am attaching the demo code below for reference.
from pyRDDLGym import RDDLEnv
from pyRDDLGym import ExampleManager
from pyRDDLGym.Policies.Agents import RandomAgent
ENV = 'Wildfire'
get the environment infos
EnvInfo = ExampleManager.GetEnvInfo(ENV)
set up the environment class, choose instance 0 because every example has at least one example instance
myEnv = RDDLEnv.RDDLEnv(domain=EnvInfo.get_domain(), instance=EnvInfo.get_instance(0))
set up the environment visualizer
myEnv.set_visualizer(EnvInfo.get_visualizer())
set up an example aget
agent = RandomAgent(action_space=myEnv.action_space, num_actions=myEnv.NumConcurrentActions)
total_reward = 0
state = myEnv.reset()
for step in range(myEnv.horizon):
myEnv.render()
action = agent.sample_action()
next_state, reward, done, info = myEnv.step(action)
total_reward += reward
state = next_state
if done:
break
print("episode ended with reward {}".format(total_reward))
myEnv.close()

Hi,
Thanks for bringing that to our attention.
There is indeed a typo in the example code, It has been fixed one.
The property should be numConcurrentActions.

Tutorial is now fixed.


Deleting a product redirects to category page

In the new dashboard, removing a product redirects to the category details page. Ideally, we should redirect back to the section where the user came from, but it's separate and more complex issue. Here, I would expect to be redirected back to the product list as it feels more like the "products" context than a category.
Steps to reproduce the problem

Go to the product details page.
Remove the product.

Also, I've noticed that after I manually navigate back to the product list, the product that I just deleted stays on the list until the "product list" GraphQL call returns - shouldn't the cache be updated when the successful response from the "delete" mutations comes?


add ingress support for config service and admin service

What's the purpose of this PR
add ingress support for config service and admin service
Which issue(s) this PR fixes:
Fixes #3316
Brief changelog

add context path and ingress support for config service and admin service
allow users to override image tags

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Read the Contributing Guide before making this pull request.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit tests to verify the code.
[x] Run mvn clean test to make sure this pull request doesn't break anything.

Codecov Report

Merging #3324 into master will increase coverage by 0.10%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3324      +/-   ##
============================================
+ Coverage     51.35%   51.46%   +0.10%
- Complexity     2301     2305       +4
============================================
  Files           442      442
  Lines         13738    13738
  Branches       1398     1398
============================================
+ Hits           7055     7070      +15
+ Misses         6192     6179      -13
+ Partials        491      489       -2

Impacted Files
Coverage Δ
Complexity Δ

.../framework/apollo/spring/property/SpringValue.java
89.47% <0.00%> (+1.75%)
21.00% <0.00%> (+1.00%)

...rk/apollo/spring/property/SpringValueRegistry.java
88.88% <0.00%> (+5.55%)
11.00% <0.00%> (+1.00%)

...mework/apollo/portal/component/PortalSettings.java
65.62% <0.00%> (+7.81%)
5.00% <0.00%> (ø%)

...work/apollo/biz/message/DatabaseMessageSender.java
64.58% <0.00%> (+14.58%)
8.00% <0.00%> (+2.00%)

Continue to review full report at Codecov.

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

When will this change be published to the latest helm chart package?

@sheng-jie It shall be released with apollo 1.8.0, which is planned to happen in late Feb.


drop no longer needed repositories

The sensiolabs-de/astrunner package is also available on packagist.org.

thanks :)


Error during decoding

After training the model,I tried decoding it with two iterations and i am getting the following error.
python sample_ensemble.py --models trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_1 trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_2 --dataset datasets/Dataset_EuTrans_esen.pkl --text examples/EuTrans/test.en
[01/11/2018 12:49:07] Reading parameters from config.py
[01/11/2018 12:49:07] <<< Cupy not available. Using numpy. >>>
Using Theano backend.
[01/11/2018 12:49:08] <<< Cupy not available. Using numpy. >>>
[01/11/2018 12:49:08] Using an ensemble of 2 models
[01/11/2018 12:49:08] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_1_Model_Wrapper.pkl ... >>>
[01/11/2018 12:49:08] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_1.h5 ... >>>
[01/11/2018 12:49:12] <<< Loading optimized model... >>>
[01/11/2018 12:49:15] <<< Optimized model loaded. >>>
[01/11/2018 12:49:15] <<< Model loaded in 7.5578 seconds. >>>
[01/11/2018 12:49:15] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_2_Model_Wrapper.pkl ... >>>
[01/11/2018 12:49:15] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_2.h5 ... >>>
[01/11/2018 12:49:17] <<< Loading optimized model... >>>
[01/11/2018 12:49:21] <<< Optimized model loaded. >>>
[01/11/2018 12:49:21] <<< Model loaded in 5.2314 seconds. >>>
[01/11/2018 12:49:21] <<< Loading Dataset instance from datasets/Dataset_EuTrans_esen.pkl ... >>>
[01/11/2018 12:49:21] <<< Dataset instance loaded >>>
[01/11/2018 12:49:21] Removed "val" set outputs of type "text" with id "target_text.
[01/11/2018 12:49:21] 	Applying tokenization function: "tokenize_none".
[01/11/2018 12:49:21] Loaded "val" set inputs of data_type "text" with data_id "source_text" and length 2996.
[01/11/2018 12:49:21] Loaded "val" set inputs of data_type "ghost" with data_id "state_below" and length 2996.
[01/11/2018 12:49:21] Loaded "val" set inputs of type "file-name" with id "raw_source_text".
[01/11/2018 12:49:21]
 <<< Predicting outputs of val set >>>
[01/11/2018 12:49:28] We did not find a dynamic library in the library_dir of the library we use for blas. If you use ATLAS, make sure to compile it with dynamics library.
[01/11/2018 12:49:29] We did not find a dynamic library in the library_dir of the library we use for blas. If you use ATLAS, make sure to compile it with dynamics library.
Traceback (most recent call last):
  File "sample_ensemble.py", line 61, in <module>
    sample_ensemble(args, params)
  File "/home/Vinay737/nmt-keras/nmt_keras/apply_model.py", line 94, in sample_ensemble
    predictions = beam_searcher.predictBeamSearchNet()[s]
  File "/home/Vinay737/nmt-keras/src/keras-wrapper/keras_wrapper/model_ensemble.py", line 249, in predictBeamSearchNet
    return_alphas=self.return_alphas, model_ensemble=True, n_models=len(self.models))
  File "/home/Vinay737/nmt-keras/src/keras-wrapper/keras_wrapper/search.py", line 135, in beam_search
    new_hyp_samples.append(hyp_samples[ti] + [wi])
IndexError: list index out of range

Any fixes ?

@lvapeab Did I mess up something ?

Ah..that was silly
I should have taken n-1 weights for decoding for n iterations

Hi @PVinay737 ,
in fact, you were doing nothing wrong. Through your problem I detected a recently introduced bug. I've just fixed it (https://github.com/lvapeab/multimodal_keras_wrapper/commit/f6d87f7607f263cd8517107202e1561aec2ac72a). You should update the keras_wrapper to the last version.
Cheers!

@lvapeab,that doesn't seem to be the fix
python sample_ensemble.py --models trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_1  trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_2 --dataset datasets/Dataset_EuTrans_esen.pkl --text examples/EuTrans/test.en
[02/11/2018 17:13:05] Reading parameters from config.py
[02/11/2018 17:13:05] <<< Cupy not available. Using numpy. >>>
Using Theano backend.
[02/11/2018 17:13:06] <<< Cupy not available. Using numpy. >>>
[02/11/2018 17:13:06] Using an ensemble of 2 models
[02/11/2018 17:13:06] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_1_Model_Wrapper.pkl ... >>>
[02/11/2018 17:13:06] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_1.h5 ... >>>
[02/11/2018 17:13:10] <<< Loading optimized model... >>>
[02/11/2018 17:13:13] <<< Optimized model loaded. >>>
[02/11/2018 17:13:13] <<< Model loaded in 7.5471 seconds. >>>
[02/11/2018 17:13:13] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_2_Model_Wrapper.pkl ... >>>
[02/11/2018 17:13:13] <<< Loading model from trained_models/EuTrans_esen_AttentionRNNEncoderDecoder_src_emb_250_bidir_True_enc_LSTM_32_dec_ConditionalLSTM_32_deepout_linear_trg_emb_250_Adam_0.001/epoch_2.h5 ... >>>
[02/11/2018 17:13:15] <<< Loading optimized model... >>>
[02/11/2018 17:13:18] <<< Optimized model loaded. >>>
[02/11/2018 17:13:18] <<< Model loaded in 5.2335 seconds. >>>
[02/11/2018 17:13:18] <<< Loading Dataset instance from datasets/Dataset_EuTrans_esen.pkl ... >>>
[02/11/2018 17:13:19] <<< Dataset instance loaded >>>
[02/11/2018 17:13:19] Removed "val" set outputs of type "text" with id "target_text.
[02/11/2018 17:13:19] 	Applying tokenization function: "tokenize_none".
[02/11/2018 17:13:19] Loaded "val" set inputs of data_type "text" with data_id "source_text" and length 2996.
[02/11/2018 17:13:19] Loaded "val" set inputs of data_type "ghost" with data_id "state_below" and length 2996.
[02/11/2018 17:13:19] Loaded "val" set inputs of type "file-name" with id "raw_source_text".
[02/11/2018 17:13:19]
 <<< Predicting outputs of val set >>>
[02/11/2018 17:13:26] We did not find a dynamic library in the library_dir of the library we use for blas. If you use ATLAS, make sure to compile it with dynamics library.
[02/11/2018 17:13:27] We did not find a dynamic library in the library_dir of the library we use for blas. If you use ATLAS, make sure to compile it with dynamics library.
Total cost of the translations: 25239.669452 	 Average cost of the translations: 8.424456
The sampling took: 104.785528 secs (Speed: 0.034975 sec/sample)
Traceback (most recent call last):
  File "sample_ensemble.py", line 61, in <module>
    sample_ensemble(args, params)
  File "/home/Vinay737/nmt-keras/nmt_keras/apply_model.py", line 113, in sample_ensemble
    verbose=args.verbose)
  File "/home/Vinay737/nmt-keras/src/keras-wrapper/keras_wrapper/utils.py", line 998, in decode_predictions_beam_search
    x_text))
  File "/home/Vinay737/nmt-keras/src/keras-wrapper/keras_wrapper/utils.py", line 997, in <lambda>
    map(lambda alignment, x_sentence: np.argmax(alignment[:, :max(1, len(x_sentence))], axis=1), alphas,
IndexError: too many indices for array

Just pushed (another) fix. Please, try again.

Working...!!
How about integrating evaluation metrics after this step with bleu or toolkits like  this

I'd rather to maintain the sampling process independent of the evaluation. After sampling, you can run your desired evaluator. There is a script (utils/evaluate_from_file.py) for computing several metrics according to the coco evaluation package. You can use this (or any other) for computing BLEU.


Unite SectionCreationForm and Se…

PR includes

[x] Refactor

Related issues
Resolve #357

https://github.com/taskany-inc/hire/assets/81121562/031dfa06-2f88-4dc3-af65-1db89beb626c


AP-ALB on Ansible Galaxy

After all this time, let's publish to Ansible Galaxy https://galaxy.ansible.com/.
This will be my first role published there. And it's already more sofisticated than average ones.

Installation: ansible-galaxy install fititnt.ap_application_load_balancer
Link: https://galaxy.ansible.com/fititnt/ap_application_load_balancer

This is the first import. The E305: Use shell only when shell functionality is required and E301: Commands should not change things if nothing needs doing I was already aware that would show on the score. They are marked as HIGH severity, that's harsh, but ok. I will try to reduce this, but may be very complicated if supporting multiple OSs.
Here the print

Ansible Galaxy does not have the lastest versions of OpenSUSE for we target them on our role
https://galaxy.ansible.com/api/v1/platforms/?search=suse

Beyond AP-ALB, we published under my username plus 2 packages, ansible-galaxy install fititnt.faker (https://github.com/fititnt/ansible-faker) and ansible-galaxy install fititnt.syntactic_sugar (https://github.com/fititnt/ansible-syntactic-sugar).

The Quality Score from fititnt.ap_application_load_balancer improved from the first release, from 2.5 to 3.3:

Note about the automatic quality score on AP-ALB
For who is not aware on how these scores works on Ansible Galaxy, actually several of they are actually possible for the developer force the linter to ignore.
Some issues are more aesthetic (like whitespace) and so easy to fix. Others do not. For example the new 2 Ansible roles where much, much much more simpler than AP-ALB and easy to make it score higher. The AP-ALB, in special because of the AP-ALB v0.8.x adaptations to support RHEL/CentOS 8 family and design changes to allow flexibility even for non-tested OSs #34 forced to take some shortcuts using shell, but even then I'm aware that is possible to improve this.
So, the issues that already where not removed from the lint are ones that are likely to need some refactoring later.


Function arguments only autocompleted on subsequent completions

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
nvim v0.10.2
rust-analyzer 0.3.2146-standalone
Did :Lazy sync,
rust-analyzer up-to-date
init.lua
local lazy_path = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazy_path) then
  vim.fn.system {
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable",
    lazy_path,
  }
end

vim.opt.rtp:prepend(lazy_path)

-- lua/plugin/
require("lazy").setup({ import = "plugin" }, {
  change_detection = {
    notify = false,
  },
})

lua/plugin/lsp-config.lua
return {
  'neovim/nvim-lspconfig',
  lazy = true,
  dependencies = {
    { 'williamboman/mason.nvim', config = true },
    'williamboman/mason-lspconfig.nvim',
    { 'j-hui/fidget.nvim', tag = 'v1.4.5', config = true },
  },
}

lua/plugin/tree-sitter.lua
return {
{
    "nvim-treesitter/nvim-treesitter",
    build = function()
      require("nvim-treesitter.install").update({ with_sync = true })()
    end,
    config = function ()
      local configs = require("nvim-treesitter.configs")

      configs.setup({
          ensure_installed = { "rust" },
          highlight = { enable = true },
          indent = { enable = true },
        })
    end
}
}

lua/plugin/rust.lua
return {
  'mrcjkb/rustaceanvim',
  version = '^5',
  lazy = false,
  dependencies = {
   'alx741/vim-rustfmt',
  },
}

lua/plugin/completion.lua
return {
  "hrsh7th/nvim-cmp",
  dependencies = {
    "onsails/lspkind.nvim",
    "hrsh7th/cmp-nvim-lsp",
    "hrsh7th/cmp-path",
    "hrsh7th/cmp-buffer",
    "hrsh7th/cmp-nvim-lsp-signature-help",
    { "L3MON4D3/LuaSnip", build = "make install_jsregexp" },
    "saadparwaiz1/cmp_luasnip",
  },
  config = function()
    vim.opt.completeopt = { "menu", "menuone", "noselect", }
    vim.opt.shortmess:append "c"

    local lspkind = require "lspkind"
    lspkind.init {}

    local cmp = require "cmp"

    cmp.setup {
      sources = cmp.config.sources({
        { name = "nvim_lsp" },
        { name = "nvim_lsp_signature_help" },
        { name = "path" },
      }, {
        { name = "buffer", keyword_length = 3 },
      }),
      mapping = {
        ['<C-p>'] = cmp.mapping.select_prev_item(select_opts),
        ['<C-n>'] = cmp.mapping.select_next_item(select_opts),

        ['<C-u>'] = cmp.mapping.scroll_docs(-4),
        ['<C-d>'] = cmp.mapping.scroll_docs(4),

        ['<C-e>'] = cmp.mapping.abort(),
        ['<C-y>'] = cmp.mapping.confirm({select = true}),
      },
      snippet = {
        expand = function(args)
          require("luasnip").lsp_expand(args.body)
        end,
      },
    }

  end
}

Description
Everytime I complete a function call, which I have not autocompleted since the file was opened it appends (…) to the function name. Every subsequent time it autocompletes the whole function signature, similar to some_function(some_arg, another_arg).
Steps to reproduce
Write some rust code
Expected behavior
Always autocomplete the whole function signature with args.
Actual behavior
Autocompletes some_function(some_arg, another_arg) with some_function(…) if it was the first time I autocompleted that particular function.
Additional context
What I noticed: Suggestions which autocomplete successfully only preview their name when selected.
Suggestions which autocomplete with (…) also contain it in their preview when selected.
Also, function without arguments never autocomplete with (…), but correctly with ().
Also, with coq it seems to happen once for all functions (instead of once for every).

I also have this problem, but when I revert the version of rust-analyzer to 2024-09-30, the problem is gone; It seems this problem show up at newest version of rust-analyzer.

Soooo. I investigated your claim and it works now.
What I did:
In lua/plugins/lsp-config.lua
changed { 'williamboman/mason.nvim', config = true },
to { 'williamboman/mason.nvim', opts = { PATH = "append" } },
This will only use masons binaries, if your system doesnt have one.
Then, ran
rustup component add rust-src
rustup component add rust-analyzer
For info:
which rust-analyzer /home/vvishion/.cargo/bin/rust-analyzer
rust-analyzer --version rust-analyzer 1.81.0 (eeb90cd 2024-09-04)


[bug] Weird errors when setting up and cleaning after running

https://github.com/OpenQuake3/defrag/actions/runs/10017364370
I don't know what these errors are about
They worked fine with goto-bus-stop version, but they trigger errors when changing to this action.
I'm kinda lost in how to debug it. I wish I could provide more insight.
What could I do to solve the problems? Is my setup incorrect, or is something else happening?

I could be wrong, but I think what's going wrong is that your action isn't actually doing anything with Zig that populates the cache. This action likely doesn't handle that situation gracefully (i.e. it expects the zig cache directory to be created during the action).

Yep, @squeek502's analysis is correct. While I don't think this use case is particularly important (there's no reason to fetch a Zig compiler if you aren't going to compile anything!), that it caused confusion is unfortunate, so the action should be patched to not error in this case.

tysm @mlugg :pray:


Problems for CIFAR experiments

When I try to run problem cifar and cifar-multi experiments, I run into an error that the boolean variable is_training is not specified as follows:
ValueError: Boolean is_training flag must be explicitly specified when using batch normalization.
originally defined at:
File "train.py", line 61, in main
problem, net_config, net_assignments = util.get_config(FLAGS.problem)
File "/qydata/wwangbc/code/learning_to_optimize/l2l/util.py", line 113, in get_config
mode=mode)
File "/qydata/wwangbc/code/learning_to_optimize/l2l/problems.py", line 258, in cifar10
use_batch_norm=batch_norm)
File "/qydata/wwangbc/bin/anaconda/lib/python2.7/site-packages/sonnet/python/modules/nets/convnet.py", line 142, in init
super(ConvNet2D, self).init(name=name)
File "/qydata/wwangbc/bin/anaconda/lib/python2.7/site-packages/sonnet/python/modules/base.py", line 124, in init
custom_getter_=self.custom_getter)
originally defined at:
File "train.py", line 61, in main
problem, net_config, net_assignments = util.get_config(FLAGS.problem)
File "/qydata/wwangbc/code/learning_to_optimize/l2l/util.py", line 113, in get_config
mode=mode)
File "/qydata/wwangbc/code/learning_to_optimize/l2l/problems.py", line 268, in cifar10
network = snt.Sequential([conv, snt.BatchFlatten(), mlp])
File "/qydata/wwangbc/bin/anaconda/lib/python2.7/site-packages/sonnet/python/modules/sequential.py", line 65, in init
super(Sequential, self).init(name=name)
File "/qydata/wwangbc/bin/anaconda/lib/python2.7/site-packages/sonnet/python/modules/base.py", line 124, in init
custom_getter=self._custom_getter)
I think the is_training should be passed for the BN of both Conv2d and MLP and snt.Sequential function seems to be misused since we need to pass extra build arguments.
What's more, the code "network = snt.Sequential([conv, snt.BatchFlatten(), mlp])" shows that there is only one convolution layer in the network while there should be 3 in the paper.
Could you please fix the bug and implement the complete 3-layer CNN network?
Thanks a lot!

After applying @YMMS 's method, I got a new error,
TypeError: _build() missing 1 required positional argument: 'is_training'
It occurred when building MLP, so I modify line 261 in problems.py from
linear_activation = lambda x: tf.nn.relu(snt.BatchNorm()(x))
to
linear_activation = lambda x: tf.nn.relu(snt.BatchNorm()(x, is_training=True))


Using HttpHost instead of host and port separately

Changelog

Bumping version to 2.0.0
Removing setHost and setPort from ElasticsearchSinkBuilder
Adding setHttpHost on ElasticsearchSinkBuilder


Improvements Tangent Space MPS methods

This is reminder for the left-over ToDos or nice-to-haves  from the giant #266  merge of the excitation_science_and_vumps branch.

[ ] Calculate MPO Environments with GMRES following #295
[ ] Expectation values for tenpy.networks.momentum_mps.MomentumMPS, at least some local ones to calculate overlaps with ground states and an operator inbetween
[ ] Proper canonicalization of uniform MPS at the end of VUMPS with something like MPS.canonical_form_infinite2()
[ ] we realized that there's a couple of magic numbers 1.e-10 in mpo.py
[ ] topological excitations for MomentumMPS  (and corresponding algorithms) with different state on the left than on the right
[ ] finite size version of the MomentumMPS
[ ] more tests for plane wave excitations
[ ] (more) examples

[ ] the merge allows (subclasses of) KrylovBased classes to take the psi0 argument as a list rather than a single npc array by implementing krylov_based.iscale_prefactor, iadd_prefactor_other and generalizing npc.norm.
It would be much cleaner if we don't do that, but write a small wrapper class "OrthogonalVectors" which can be initialized from the list of npc Arrays and implements exactly those 4 functions iscale_prefactor, iadd_prefactor_other,  norm and a corresponding Wrapper for the linear operator.

[ ] unify the duplicated code for loading a ground state in the different simulations PlaneWaveExcitations, OrthogonalExcitations / TopologicalExcitations and the TimeDependentCorrelation


OLM example addressspace can't be created

Describe the bug
example addressspace from OLM can't be created because of missing auth service
To Reproduce
Steps to reproduce the behavior:

Install enmasse using OLM
Open installed operators
Select address space
Try to create example

I suggest to update example and add none-authservice which is an example in authentication service.
current example:
apiVersion: enmasse.io/v1beta1
kind: AddressSpace
metadata:
  name: myspace
  namespace: openshift-operators
spec:
  plan: standard-small
  type: standard

suggestion
apiVersion: enmasse.io/v1beta1
kind: AddressSpace
metadata:
  name: myspace
  namespace: openshift-operators
spec:
  plan: standard-small
  type: standard
  authneticationservice:
    name: none-authservice

If the authentication service is not specified, it will select standard or none (in that order) if they are installed. If they are not installed, you might get an error message saying it can't find 'none' because its the last one its looking for.

Although the upstream listing [1] still has the old content, it also contains an information on what to do:

Create the AddressSpacePlan, AddressPlan, StandardInfraConfig, BrokeredInfraConfig and AuthenticationService resources in the namespace where the operator is installed.

[1] https://operatorhub.io/operator/enmasse

fixed


Feature/api v1 settings member attributes

Changes proposed ✍

member attribute settings repository, service and api layers
predefined attributes from integrations

Checklist ✅

[x] Label appropriately with type:feature 🚀, type:enhancement ✨, type:bug 🐞, or type:documentation 📜.
[x] Tests are passing.
[x] New backend functionality has been unit-tested.
[x] Environment variables have been updated

[x] Front-end: frontend/.env.dist
[x] Backend: backend/.env.dist, backend/.env.dist.staging, backend/.env.dist.staging.
[x] Configuration docs have been updated.
[x] Team members only: update environment variables in Password manager and update the team

[x] API documentation has been updated (if necessary) (see docs on API documentation).
[x] Quality standards are met.
[ ] All changes have been tested in a staging site.
[ ] All changes are working locally running crowd.dev's Docker local environment.

@themarolt We're setting integration.settings.updateMemberAttributes on integration connect now :+1: Merging this branch


Update README.md

Fixed issues caused by GitHub change from master to main, which caused the bleeding-edge install method to break.

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

This is actually my first one-word PR, I never expected I'd run into one!

This is actually my first one-word PR, I never expected I'd run into one!

And perfect for the first PR from the community! Cheers @birdiesanders


Unable to create an executable file

that is what i get error when compile

Hi.
 Also, the actual script will be helpful too.

Probably, I have the same problem. For every architecture I get
If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
<EMAIL_ADDRESS>mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
Makefile:2: ffbuild/config.mak: No such file or directory
Makefile:40: /tools/Makefile: No such file or directory
Makefile:41: /ffbuild/common.mak: No such file or directory
Makefile:94: /libavutil/Makefile: No such file or directory
Makefile:94: /ffbuild/library.mak: No such file or directory
Makefile:96: /fftools/Makefile: No such file or directory
Makefile:97: /doc/Makefile: No such file or directory
Makefile:98: /doc/examples/Makefile: No such file or directory
Makefile:163: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Makefile:2: ffbuild/config.mak: No such file or directory
Makefile:40: /tools/Makefile: No such file or directory
Makefile:41: /ffbuild/common.mak: No such file or directory
Makefile:94: /libavutil/Makefile: No such file or directory
Makefile:94: /ffbuild/library.mak: No such file or directory
Makefile:96: /fftools/Makefile: No such file or directory
Makefile:97: /doc/Makefile: No such file or directory
Makefile:98: /doc/examples/Makefile: No such file or directory
Makefile:163: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Makefile:2: ffbuild/config.mak: No such file or directory
Makefile:40: /tools/Makefile: No such file or directory
Makefile:41: /ffbuild/common.mak: No such file or directory
Makefile:94: /libavutil/Makefile: No such file or directory
Makefile:94: /ffbuild/library.mak: No such file or directory
Makefile:96: /fftools/Makefile: No such file or directory
Makefile:97: /doc/Makefile: No such file or directory
Makefile:98: /doc/examples/Makefile: No such file or directory
Makefile:163: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
./ffmpeg-android-maker.sh: line 46: /toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-readelf: No such file or directory
cp: /Users/vaios/Documents/Repositories/ffmpeg-android-maker/build/ffmpeg/armeabi-v7a/lib/*.so: No such file or directory
cp: /Users/vaios/Documents/Repositories/ffmpeg-android-maker/build/ffmpeg/armeabi-v7a/include/*: No such file or directory
Building the component: ffmpeg
/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android21-clang is unable to create an executable file.
C compiler test failed.

@St4B your particular problem is you didn't prepare your workstation before executing the script.
Please refer to the Prerequisites section of the repo's main page.

Oops!  I had defined wrong path :S Thank you! :)

@raj00010008 , can you give me an update? Does the script work now in your case?

@raj00010008 , do you still have troubles with the script?

Since there is no answer during last 9 days I'll close the issue.


Merge Drew's branch that supports typed query builders

This pulls in the relevant changes from https://github.com/drew-r/objection.d.ts/blob/master/index.d.ts which addresses https://github.com/Vincit/objection.js/pull/246#issuecomment-262222019
I'll push these to DefinitelyTyped soon.

Coverage remained the same at 97.03% when pulling 691f7ca189fb33e605ebb37a0d383c286f1db32e on mceachen:drew-types into 409e749fd1babe7d77b9c8de6472794bef6dde3c on Vincit:master.

Thanks!

@mceachen thanks! Look forward to seeing these at DefinitelyTyped


refactor(share/eds): Store methods take DataHash instead of share.Root

Resolves #1428
Technically breaking API but it's not really used so it doesn't matter :)

Codecov Report

Merging #1439 (3e347b2) into main (7cc511d) will decrease coverage by 0.06%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##             main    #1439      +/-   ##
==========================================
- Coverage   54.95%   54.89%   -0.07%
==========================================
  Files         196      196
  Lines       11964    11971       +7
==========================================
- Hits         6575     6571       -4
- Misses       4737     4746       +9
- Partials      652      654       +2

Impacted Files
Coverage Δ

share/share.go
54.54% <28.57%> (-45.46%)
:arrow_down:

share/eds/store.go
52.10% <90.90%> (ø)

share/eds/eds.go
67.25% <100.00%> (ø)

share/ipld/get.go
92.18% <0.00%> (-2.47%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Convert Icon Image to Font

Using font-face instead of an image allows to change the size and colors in css.

Closed on https://github.com/lightglitch/bootstrap-xtra/commit/72067a6e810980b4c3b627bf8071838c5f86e188


Failed to instantiate or invalid server token

Describe the bug
Sometimes it shows an error web page Something went Wrong with the error message Failed to instantiate, and it disappears after refreshing the page.
Sometimes it shows a tooltip in the bottom right side of the page Failed to complete code {"error": "Invalid server token"}, and I have to refresh the page to make it work again. However, such an error appears again after a short time.
Environment
Start python like this:
poetry run uvicorn myproject_django.asgi:app --port 9999 --reload

Create an asgi app for marimo like this:
from marimo._server.file_router import AppFileRouter
from marimo._server.main import create_starlette_app
from marimo._utils.marimo_path import MarimoPath
from marimo._server.utils import find_free_port

from marimo._server.model import SessionMode
from marimo._server.sessions import LspServer, SessionManager
from marimo._config.manager import UserConfigManager
import marimo._server.api.lifespans as lifespans
from marimo._server.tokens import AuthToken

DEFAULT_PORT = 2718

def create_asgi_app(path: str, root: str, include_code: bool = True):
    user_config_mgr = UserConfigManager()
    auth_token = AuthToken("")
    session_manager = SessionManager(
        file_router=AppFileRouter.from_filename(MarimoPath(root)),
        mode=SessionMode.EDIT,
        development_mode=True,
        quiet=False,
        include_code=include_code,
        # Currently we only support run mode,
        # which doesn't require an LSP server
        # lsp_server=NoopLspServer(),
        lsp_server=LspServer(find_free_port(DEFAULT_PORT) * 10),
        user_config_manager=user_config_mgr,
        # We don't pass any CLI args for now
        # since we don't want to read arbitrary args and apply them
        # to each application
        cli_args={},
        auth_token=auth_token,
    )
    app = create_starlette_app(
        base_url="",
        lifespan=lifespans.Lifespans(
            [
                # Not all lifespans are needed for run mode
                lifespans.etc,
                lifespans.signal_handler,
            ]
        ),
        enable_auth=not AuthToken.is_empty(auth_token),
        allow_origins=("*",),
    )
    app.state.session_manager = session_manager
    app.state.base_url = path
    app.state.config_manager = user_config_mgr
    return app

app = create_asgi_app("", "dev.py")

Integrate with other django apps like this:
from starlette.applications import Starlette
from myproject_django.marimo import app as marimo_app
routes = []
routes.append(Mount("/", app=marimo_app))
app = Starlette(routes=routes)

Code to reproduce
No response

it is probably your --reload that is restarting the server and creating a new token / losing all of its state. i would suggest removing that flag

@mscolnick It appears to work fine after removing --reload. Thanks for your note.


Keys to empty collections should not exist

For example:
@client.zadd("key", 1, "val")
@client.zrem("key", "val")
@client.exists("key").should == false

Thanks for your contribution!!!


test sector writes (TestGetProcDiskstatsSectorWrite)

TestGetProcDiskstatsSectorWrite
https://github.com/gyuho/psn/blob/master/proc_diskstat_linux_test.go
# need root access to run this test on linux `/boot`
sudo /usr/local/go/bin/go test -v -run TestGetProcDiskstatsSectorWrite

loop a few times doing writes with fsyncs, confirm sector delta >= write delta


fix: upgrade blitzar-sys to 1.64.1 (PROOF-882)

Rationale for this change
In order to incorporate the fix in this PR into proof-of-sql we need to upgrade blitzar-sys dependency here.

What changes are included in this PR?
Bump blitzar-sys minimal version requirement to 1.64.1

Are these changes tested?
Existing tests should pass

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


Trader.placeOrder should emit Trader.order-placed

When a successful order has been placed with the Trader via placeOrder method it should emit 'Trader.order-placed' message for our event listeners.

handleOrderRequest will emit this twice right now — can this be fixed?

@fb55 good catch. My fix is to simply remove the emit from handleOrderRequest. It no longer needs to be there since the same functionality is now in placeOrder, which is really what should be used to place orders, not the executeMessage method (which is the only function that uses handleOrderRequest).


Update tmr-meeting-recording-change.md

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Rework Transactions to be unmanaged

Transaction is a managed type due to the use of arrays and strings. It's useful to make Transaction unmanaged so that it can be used in NativeArray<Transaction>. Making it unmanaged either means making everything on it struct allocated or making it IDisposable. Here are some possible solutions:
1. Completely struct allocated Transaction
The issue with struct allocating the transaction is creating a Stack Overflow. Ideally structs should be less than 4KB to prevent this. The largest type of transaction is likely the AppCreate transaction, which would require storing the source code for ApprovalProgram and ClearStateProgram on the stack. These programs could be huge -- combined with the Notes field in the transaction header, the memory size could approach > 4KB.
However, if it's possible to keep the memory size low, then this would be the best solution.
This is not feasible since the App Create transactions can store upwards of 3 * 2048 bytes, much higher than the requirement of 4KB.
2. Alternative types that have dynamic, unmanaged allocations
Follow the conventions in Unity.Collections to make NativeTransaction and UnsafeTransaction for all types of transactions. Users can choose to use these instead of Transaction if they care about the performance.

Note: This could lead down the path of having both a Unity.Collections unmanaged API and a regular C# managed
API for users to choose between. That would be a huge endeavor, but it would allow users to determine how they
interact with everything.
Creating a separate API for the clients would be difficult, however.

3. A type that is just a wrapper around unserialized data
It's already possible to serialize/deserialize the transaction to msgpack, and it's easy to represent that as either a byte[] or a NativeArray<byte>. The downside is that it wouldn't provide an interface to allow users to easily represent the data.
This could be done internally with a static method and a builder-pattern.

The first part of this is to use Span based APIs.


[telescope picker] First two branches in select UI are sometimes invisible

Description

This still happens when I switch colorschemes
This only happens sometimes (about 30% of the time)
The telescope picker allows me to pick the invisible items
But they're invisible (duh)

Neovim version
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
Debian 12 stable
Steps to reproduce

Open the telescope branch picker (bl)
Do it enough times until this happens

Expected behavior

All list items are visible

Actual behavior

First two items are invisible

Minimal config
-

Ha! I think I have some more information.
If I hit bl fast enough, the bug reproduces.
If I leave some time between the b and the l for the popup to display, then it doesn't happen!

Funky: I disabled Telescope integration, and there's a similar bug.
Here is the result when I do bl slowly:

Here it is when I do it quickly:

I'm suspecting it's simply a matter of Neovim expecting some window to be open in order to resize it, but since I went too fast, it resized something else instead.

Ohh.. yeah, thats exactly whats happening haha. https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/lib/popup/init.lua#L587-L589
Should probably check that the focused window is what we expect.

Awesome! <3


[Feature Request] Completion for SQL

Context

[X] This issue is not a bug report. (please use a different template for reporting a bug)
[X] This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description
I would like that when I press Ctrl+Space when using the "sql" language mode that I get presented with a completion popup.
https://microsoft.github.io/monaco-editor/
Change language to "sql", press Ctrl+Space, and it says "No suggestions".

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Highlight c#6.0 "String Interpolation"

for example:

This {s} should be Black. Thank you.

This is what I see in the current master matching 1.24 with the default theme:

's' is correcty colored as a variable.
var s = "adasds";
Console.WriteLine($"Hello {s}");

Please give more information, maybe it's an issue of the theme.

@aeschli I see, i'm using Light (Visual Studio) theme, please let the theme highlight too, Thank you.

The Light (Visual Studio) theme uses the regular background color for variable references. That's by design.
Use the Light+ theme if you like to have variables (and method/functions) colorized.


Cilium Cluster Wide Netowrk Policy

Is there an existing issue for this?

[x] I have searched the existing issues

Version
equal or higher than v1.15.11 and lower than v1.16.0
What happened?

I deployed Kafka on Kubernetes with 3 brokers labeled "app.kubernetes.io/name: kafka"
I deployed this rule CiliumClusterwideNetworkPolicy:

`apiVersion: "cilium.io/v2"
kind: CiliumClusterwideNetworkPolicy
metadata:
  name: "kafka-policies"
spec:
  endpointSelector:
    matchLabels:
      app.kubernetes.io/name: kafka
  ingress:
  # KAFKA CONTROLLERS
  - fromEndpoints:
    - matchLabels:
        app.kubernetes.io/name: kafka
    toPorts:
    - ports:
      - port: "9093"
        protocol: TCP
      - port: "9094"
        protocol: TCP
  # REDPANDA
  - fromEndpoints:
    - matchLabels:
        app: redpanda-console
    toPorts:
    - ports:
      - port: "9092"
        protocol: TCP
  # SERVIZIO PRODUCER
  - fromEndpoints:
    - matchLabels:
        app: producer
    toPorts:
    - ports:
      - port: "9092"
        protocol: TCP
      rules:
        kafka:
        - apiKey: "apiversions"
          topic: "TEST_KAFKA_NET"
        - apiKey: "metadata"
          topic: "TEST_KAFKA_NET"
        - apiKey: "produce"
          topic: "TEST_KAFKA_NET"
`

kubectl run kafka-producer --restart='Never' --image docker.io/bitnami/kafka:3.9.0-debian-12-r1 --namespace broker --labels="app=producer" --command -- sleep infinity
kubectl exec --tty -i kafka-producer --namespace broker -- bash
kafka-console-producer.sh
--bootstrap-server kafka.broker.svc.cluster.local:9092
--topic TEST_KAFKA_NET_2
I tried to publish some messagges and it worked. I shouldn't have been able to do it.

How can we reproduce the issue?

I deployed Kafka on Kubernetes with 3 brokers labeled "app.kubernetes.io/name: kafka"
I deployed this rule CiliumClusterwideNetworkPolicy:

apiVersion: "cilium.io/v2"
kind: CiliumClusterwideNetworkPolicy
metadata:
  name: "kafka-policies"
spec:
  endpointSelector:
    matchLabels:
      app.kubernetes.io/name: kafka
  ingress:
  # KAFKA CONTROLLERS
  - fromEndpoints:
    - matchLabels:
        app.kubernetes.io/name: kafka
    toPorts:
    - ports:
      - port: "9093"
        protocol: TCP
      - port: "9094"
        protocol: TCP
  # REDPANDA
  - fromEndpoints:
    - matchLabels:
        app: redpanda-console
    toPorts:
    - ports:
      - port: "9092"
        protocol: TCP
  # SERVIZIO PRODUCER
  - fromEndpoints:
    - matchLabels:
        app: producer
    toPorts:
    - ports:
      - port: "9092"
        protocol: TCP
      rules:
        kafka:
        - apiKey: "apiversions"
          topic: "TEST_KAFKA_NET"
        - apiKey: "metadata"
          topic: "TEST_KAFKA_NET"
        - apiKey: "produce"
          topic: "TEST_KAFKA_NET"

kubectl run kafka-producer --restart='Never' --image docker.io/bitnami/kafka:3.9.0-debian-12-r1 --namespace broker --labels="app=producer" --command -- sleep infinity
kubectl exec --tty -i kafka-producer --namespace broker -- bash
kafka-console-producer.sh
--bootstrap-server kafka.broker.svc.cluster.local:9092
--topic TEST_KAFKA_NET_2
I tried to publish some messagges and it worked. I shouldn't have been able to do it.

Cilium Version
cilium-cli: v0.16.13 compiled with go1.22.5 on linux/amd64
cilium image (default): v1.15.6
cilium image (stable): v1.16.4
cilium image (running): 1.15.7
Kernel Version
Linux version 5.15.0-87-generic
Kubernetes Version
v1.29.6+k3s2
Regression
No response
Sysdump
No response
Relevant log output

Anything else?
No response
Cilium Users Document

[ ] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[x] I agree to follow this project's Code of Conduct

Fixed yaml


Setup nginx server in front of tileserver to enable https

To allow the usage of https a nginx server must be configured in front of the tileserver-gl. Therefore an ssl certificate need to be created to allow the usage of the tileserver api and the access via smartphones.

tileserver-gl requires for the rasterization of tiles an x server. Since we do not need rasterized tiles (only vector tiles are required) we swichted to tileserver-gl-light.

Setup nginx server: Link

Estimate the size of the offline file: https://github.com/mapbox/mapbox-gl-native/issues/9460

Server is setup with both default styles: klokan-tech and osm-bright behind reverse proxy hosted on nginx server.


Layout Rendering Issue in Firefox.

Describe the bug
Elements appear to be misaligned, and some styles are not applied as expected. This is causing the page to look broken and affects the user experience negatively.
To Reproduce
Steps to reproduce the behavior:
1.Open the website in Firefox.
2.Navigate to the home page.
3.Observe the layout and styles.
Expected behavior
The elements should be aligned correctly, and all styles should be applied as defined in the CSS.
Screenshots

Desktop (please complete the following information):

OS: Windows

Browser: Firefox

Version: 126.0.1 (64-bit)
Please assign this issue to me, I would like to work on it.

@Himani2615 go ahead

PR is already merged. Closing the issue.


Cannot Import 3D inpainted OBJ files into Unreal

Hello! When I try to import a 3D inpainted OBJ file into Unreal engine, I get a mess or vertices and I can't quite work out how to view it correctly.
Could you potentially add instructions or a video for how best to use these assets in Unreal? Unsure if I'm misusing the obj file or there is some other issue.

(ps. love the repo, thanks so much for your effors 🙌)

See README section on blender, same applies here.
This is a mesh with vertex colors, not a textured mesh.


Fix document.readyState in DOMContentLoaded

The document.readyState in DOMContentLoaded should be 'interactive' instead of 'loading'. Some reactjs page checks this state to load ajax content.

This is to fix #180

Hi Rural, thanks for the fix, have create another commit out of this. Will wait for the ci server and if everything passes you can get a new snapshot build during the day.
Many many thanks for your ongoing support.

Sure, thanks.


Issue #1100 Fix extended to Rooms page

live gh-page is here :-
https://rishabhk07.github.io/open-gh/rooms.html

Codecov Report

Merging #1112 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development    #1112   +/-   ##
============================================
  Coverage        62.56%   62.56%
============================================
  Files                8        8
  Lines             1349     1349
  Branches           210      210
============================================
  Hits               844      844
  Misses             505      505

Continue to review full report at Codecov.

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

@Rishabhk07 Nice Job.


update php samples etc

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingAds/bingads-12/customer-management-service/signupcustomer.md
:white_check_mark:Succeeded

BingAds/bingads-12/guides/code-example-invite-user.md
:white_check_mark:Succeeded

BingAds/bingads-12/guides/code-example-labels.md
:white_check_mark:Succeeded

BingAds/bingads-12/guides/code-example-offline-conversions.md
:white_check_mark:Succeeded

BingAds/bingads-12/guides/code-examples.md
:white_check_mark:Succeeded

BingAds/bingads-12/guides/sdk-authentication.md
:white_check_mark:Succeeded

BingAds/bingads-12/guides/sdk-bulk-service-manager.md
:white_check_mark:Succeeded

BingAds/bingads-12/guides/sdk-reporting-service-manager.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Allow use of integers in mat3 where it makes sense

Useful for things like Cramer's Rule and Signed Distance calculations, which can operate on integers.

Thanks!


Convert decimal to octal

📑 Description
copilot:summary
🐞 Related Issue

Closes #790
📋 Explanation of changes
copilot:walkthrough
copilot:poem

Hi @0ME9A,
Thanks for highlighting the missed case, the code is updated and works for negative numbers, you can review and merge the PR 🥇


Working Debian package build

Using Docker a .deb can be built as described in the README.
This deb hasn't been tested for functionality yet.
Closes #23

The current state of this PR is a .deb which requires the following installation procedure:

sudo install ./python3-bocs-1.0.0-0.deb
Reboot
systemctl start python3-bocs

It is worth discussing if we would rather a single install command, in which case I would need to look at a) getting udev to update with a reboot (necessitating step 2), and b) why the service is no longer running immediately post-install. It was in bc5d32e so something has changed to prevent it. I believe it might be the use of a postinst script to create the log directory. This ideally would be done with dh_install, but I can't see an easy way to change the log owner this way (it would be root by default).
Another thing to discuss is whether we are happy with accessing the control log solely through the standard journalctl method for systemd services, or whether we would prefer this to be written to text file in the user's home directory.

1890133 closes #17

The program now starts logging upon package install to a hardcoded folder in the home directory.
I will investigate whether this can be chosen at install time, although it's not an essential requirement.
Other outstanding issues are:

[ ] Should the log directory be in /home/pi, or should it follow Debian conventions and be in a system folder, if so where?
[ ] Should the control log be saved to file in the same log directory, or is accessing it through journalctl sufficient?
[ ] Should the log directory be owned by pi user? Currently it has 777 permissions but owned by root.
[ ] Clean up unnecessary cruft from debian/control

Control log should go to syslog
Can you point me at the Debian convention that suggests applications should produce outputs in a system folder?
If the log directory is in the user's home directory, I'd go with the user owning the log

If you count Stack Overflow as an authoritative source then there's several answers that state not to do put files in home directories: Q1, Q2, Q3, Q4

Fair, we can guarantee that there is a user called pi. I've kept the data folder as ~/bocs and made pi the owner.


For each marketplace compute size of trade to move price by some number.

Just do this for Uniswap V3 for now

Now depending on REVM

now handled by REVM


Prepare 2024.2.1rc1 release

Reference Issues or PRs

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[x] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

We still have some blockers for the next release but I want to update the docker image tags in develop so people can deploy from there to test.

@Adam-D-Lewis and @dcmcand thank you for the comments. I want us to discuss better ways to handle upgrades in the future, but for this release I have followed your advice and just added a message to backup the original rendered files.


There is no sound

The game has no sound.
The game could use some sound effects, for example:
-- Bug splats
-- Explosions
-- Game over screen jingle

It's a feature request, my knowledge about game development is not as good


Read multiple JSON objects from benchmark output.

Implementation of https://github.com/ocurrent/current-bench/pull/13#issuecomment-746279444.
The changes to support multiple JSON objects in the benchmark output is pretty simple. The problematic part is knowing how to merge the multiple results. The current SQL schema disallows multiple entries per commit. I think there are two solutions to this:

Add an additional column to the SQL schema for benchmarks table. This would represent the unique name of the benchmark for a given repo and commit. The JSON format should be updated to have a top-level name key in this case.
Merge the individual entries under results in the JSON output and only insert one results object into the database per commit. This does not require changes to the JSON output format, but requires that the result "names" are unique across different benchmarks.

I'm leaning towards supporting multiple benchmarks per repo/commit, i.e., 1.

This is now ready for review.
The implemented approach is a mixture of 1 and 2 described above. After removing the UNIQUE constraint on commits we can have multiple benchmark entries without conflicts. An important consideration is that the under results must be unique across different benchmarks.

As a practical example I tested this multi-object output:
{
  "results": [
    {
      "name": "bench_1_test_1",
      "metrics": {
        "time": 0.02,
        "ops_per_sec": 100.0,
        "mbs_per_sec": 5.0
      }
    },
    {
      "name": "bench_1_test_2",
      "metrics": {
        "time": 0.04,
        "ops_per_sec": 455.0,
        "mbs_per_sec": 7.0
      }
    }
  ]
}
{
  "results": [
    {
      "name": "bench_2_test_1",
      "metrics": {
        "time": 0.01,
        "ops_per_sec": 50.0,
        "mbs_per_sec": 3.0
      }
    },
    {
      "name": "bench_2_test_2",
      "metrics": {
        "time": 0.07,
        "ops_per_sec": 877.0,
        "mbs_per_sec": 23.0
      }
    }
  ]
}

This results in the following entries in the database:
select * from benchmarksrun;
                 commits                  |      name      | time | ops_per_sec | mbs_per_sec | timestamp  |      branch
------------------------------------------+----------------+------+-------------+-------------+------------+------------------
 f633b36cb34216d6eab2fb9aceaa1e810c24afd5 | bench_1_test_1 | 0.02 |         100 |           5 |<PHONE_NUMBER> | local/local/HEAD
 f633b36cb34216d6eab2fb9aceaa1e810c24afd5 | bench_1_test_2 | 0.04 |         455 |           7 |<PHONE_NUMBER> | local/local/HEAD
 f633b36cb34216d6eab2fb9aceaa1e810c24afd5 | bench_2_test_1 | 0.01 |          50 |           3 |<PHONE_NUMBER> | local/local/HEAD
 f633b36cb34216d6eab2fb9aceaa1e810c24afd5 | bench_2_test_2 | 0.07 |         877 |          23 |<PHONE_NUMBER> | local/local/HEAD
(4 rows)

With a graph for each entry in this table. For example:

LGTM! I think we can have multiple benchmarks for now, and think about how to capture confidence values later.


remove design system

Remove design system components
Changes

remove SC Design System dependency
add DS components we were depending on
add necessary styles
update locales

Note: Design System components have been added to a design-system folder in case we need to do some future debugging.

Check out a preview of your pull request here: https://alphasite-appservice-dev-pr-preview-2.azurewebsites.net

Check out a preview of your pull request here: https://alphasite-appservice-dev-pr-preview-2.azurewebsites.net

Check out a preview of your pull request here: https://alphasite-appservice-dev-pr-preview-2.azurewebsites.net

Check out a preview of your pull request here: https://alphasite-appservice-dev-pr-preview-2.azurewebsites.net

Nice job here! Only issue I see is the text colour of the button on the CTA

Interestingly, it doesn't have the safe effect in Firefox:

Need to see what class is overriding the other.

Check out a preview of your pull request here: https://alphasite-appservice-dev-pr-preview-2.azurewebsites.net


Bandwidth throttling?

Bandwidth throttling
Add the option for or a config for bandwidth limits so that it does not allocate the extent of the network as the maximum bandwidth. eg. If the network can handle 60Mbps, then Electron will use all 60Mbps; make it possible to change the bandwidth limit to a custom value so that other users on the same network can actually use the internet :stuck_out_tongue_winking_eye:

Currently working on this feature.


scipy dependency

Scipy dependency error in the scanninglaw package

This seems to be a scipy version issue. Need scipy >= 1.6.0
We need to add this to the requirements


Usage explanation

Hi,
I have tried to contact you, but got no response.
Please could you email me at<EMAIL_ADDRESS>Thanks.

Because I login github everyday, but not gmail 😝
Your email has been replied.


Adding a readme for examples with explanation of what use cases or scenarios it represents and covers

Adding a readme for examples with explanation of what use cases or scenarios it represents and covers

It is mentioned in the general readme on the frontpage of the repo. Do you think that's not enough and that each example should have its own readme?


Connecting to aws elasticache redis with no password

Summary
We have an aws elasticache that has no password associated with it.
We have installed the redis plugin and are attempting to create a redis data source. However the save and test is failing.

Is there a way to connect to a redis standalone server (aws elasticache) without a password using the grafana redis plugin?

If anyone comes across this;
solution:

turn on ACL
set the username to "default"
set no password ( just hit reset)
save and test

How i came to this:
If you connect to your redis cluster and run
`ACL list`
1) "user default on nopass ~* +@all"

There is a user called "default" with no password, this "default" user is what you automatically get conected with in aws elasticache.
https://redis.io/docs/management/security/acl/


137-2017

closest #1

Coverage remained the same at 100.0% when pulling 3d83691219aa21957b895bec3e4d172360fa7f07 on 137-2017 into 4589ab2822d22e9ba1d57b815b4478435336f21f on master.


Enable Travis CI

Something like this should work:
sudo: required

language: python

python:
  - "2.6"
  - "2.7"

install:
  - sudo apt-get update -qq
  - sudo apt-get install -y python-wxgtk3.0 python-dnspython python-nose

script:
  - export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  - nosetests

My only uncertainty is how the different versions of Python managed by Travis work with the Debian packages.

Implemented in #13
I decided to install the dependencies using pip rather than apt, so that it is possible to support multiple different versions of python. Unfortunately it is very slow to install.
Note that Python 2.6 doesn't seem to be available for xenial

Working: https://travis-ci.org/bbc/RadioVisDemo


V0.13.x autoscaler work

Codecov Report

Merging #1618 into v0.13.x will increase coverage by 0.07%.
The diff coverage is 13.79%.

@@             Coverage Diff             @@
##           v0.13.x    #1618      +/-   ##
===========================================
+ Coverage    25.46%   25.54%   +0.07%
===========================================
  Files           97       98       +1
  Lines         5042     5038       -4
===========================================
+ Hits          1284     1287       +3
+ Misses        3614     3608       -6
+ Partials       144      143       -1

Impacted Files
Coverage Δ

pkg/api/worker_node_pool.go
12.38% <ø> (+0.52%)
:arrow_up:

pkg/api/types.go
0% <ø> (ø)
:arrow_up:

pkg/api/controller.go
0% <ø> (ø)
:arrow_up:

pkg/api/plugin_config.go
0% <0%> (ø)

pkg/api/cluster.go
0% <0%> (ø)
:arrow_up:

pkg/model/stack_new.go
33.86% <0%> (ø)
:arrow_up:

pkg/model/node_pool_config.go
24.67% <0%> (+0.92%)
:arrow_up:

credential/store.go
42.1% <50%> (ø)
:arrow_up:

pkg/model/node_pool_compile.go
59.21% <60%> (+4.66%)
:arrow_up:

Continue to review full report at Codecov.

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


Updating cncf/techdocs repo access

Adding Paul (@psgustafson) and Judy (@jbogarthyde) of Expert Support to cncf/techdocs repo.

Adding David Welsch (@dwelsch-esi) as well.


New reference architecture diagram: Protect data center networks

Summary

Screenshots (optional)

Documentation checklist

[ ] The documentation style guide has been adhered to.
[ ] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
[ ] Files which have changed name or location have been allocated redirects.

Approved with a few suggestions @securitypedant
Thanks!


Add timeout reasons to various modules/Rearranged various module setting layouts

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable
[ ] Documentation in docs/ or install-docs/ was updated, if applicable

I didn't add the second part as a changelog entry as I didn't think it needed one.

Why did you move settings in order?

For some of the modules the checkboxes were halfway down or at the bottom/top. I've moved the checkboxes (where necessary) up the top for neatness and consistency.

I would order settings by relevance, most commonly changed or viewed at the top.

I don't believe that's a good idea: what is relevant for one person, may not be relevant for another person. Nobody should be deciding that for other people either.

Before this gets merged, I just need a little bit of help with the link checker module and ascii modules. I noticed that there are two timeout reasons configured. Why is this? Am I able to parse through the parameters to a custom reason? (Eg: {punishment})

For the replacements, you can try (e.g.):
https://github.com/pajbot/pajbot/blob/c18b5940c325492845be8a4ba77214a061775ca5/pajbot/modules/ascii.py#L92-L94
            self.bot.whisper(
                source, self.settings["reason_whisper_msg"].format(punishment=punishment)
            )

and add a setting that has You have been {punishment} because your message contained too many ascii characters. as its default value.

For the replacements, you can try (e.g.):
https://github.com/pajbot/pajbot/blob/c18b5940c325492845be8a4ba77214a061775ca5/pajbot/modules/ascii.py#L92-L94
            self.bot.whisper(
                source, self.settings["reason_whisper_msg"].format(punishment=punishment)
            )

and add a setting that has You have been {punishment} because your message contained too many ascii characters. as its default value.

Ok I'll apply this to other modules. The question still stands: For the links module, https://github.com/pajbot/pajbot/issues/843 seems to be applicable. Are we able to remove these lines? What function do they serve?
https://github.com/pajbot/pajbot/blob/127298207742e94904b357a7a12f3acc7aa0d90f/pajbot/modules/linkchecker.py#L252-L255

For the replacements, you can try (e.g.):
https://github.com/pajbot/pajbot/blob/c18b5940c325492845be8a4ba77214a061775ca5/pajbot/modules/ascii.py#L92-L94
            self.bot.whisper(
                source, self.settings["reason_whisper_msg"].format(punishment=punishment)
            )

and add a setting that has You have been {punishment} because your message contained too many ascii characters. as its default value.

Ok I'll apply this to other modules. The question still stands: For the links module, #843 seems to be applicable. Are we able to remove these lines? What function do they serve?
https://github.com/pajbot/pajbot/blob/127298207742e94904b357a7a12f3acc7aa0d90f/pajbot/modules/linkchecker.py#L252-L255

I'm not sure how the link checker works internally, I think it's a lot of spaghetti in there. I can't say for sure without taking a closer look

@pajlada Looks good to me - works as functioned and fixes the issue as well


Download engine script fails on 404

Max@maximilians-mbp ~/D/C/C/cocos2d-x-samples> python download-engine.py
=======================================================
==> Prepare to download cocos2d-x engine!
==> Ready to download 'cocos2d-x-3.8.zip' from 'http://cocostudio.download.appget.cn/Cocos2D-X/cocos2d-x-3.8.zip'
==> Error: Could not find the file from url: 'http://cocostudio.download.appget.cn/Cocos2D-X/cocos2d-x-3.8.zip'
==> Http request failed, error code: 404, reason:
<title>404 Not Found</title>

404 Not Found

nginx/1.10.1

have you solved?

You can follow below:
$ git clone https://github.com/cocos2d/cocos2d-x-samples.git
$ cd cocos2d-x-samples
$ git submodule update --init
$ cd libs; git clone https://github.com/cocos2d/cocos2d-x; cd libs/cocos2d-x
$ ./download-deps.py
$ cd cocos2d-x-samples/samples/LiquidFun-Testbed/proj.ios_mac
$ open LiquidFun-Testbed.xcodeproj/
Then you need to disable bitcode, please refer to http://stackoverflow.com/questions/31205133/how-to-enable-bitcode-in-xcode-7,
and add in CoreText.framework


MWPW-159257 refactor mas enablement

move of wcms-commerce -> mas-commerce-service
move of some public functions to mas-commerce-service,
remove mas.js code for initialization, everything needs to go through the component,
split of settings code with locale settings, make milo locale settings an explicit function,
unit tests,
updates of docs, especially  mas.js.html with that component

Resolves: MWPW-159257
Test URLs:

Before: https://main--milo--adobecom.hlx.page/libs/features/mas/docs/mas.js.html
After: https://MWPW-159257--milo--npeltier.hlx.page/libs/features/mas/docs/mas.js.html

@npeltier can you also rename events from wcms:placeholder:* to mas:* ?

@npeltier Your changes are breaking commerce in UK locale (the prices have promo code).
With your changes, the old price is rendered only as a regular price, and optical price has a different value

https://mwpw-159257--milo--npeltier.hlx.live/uk/drafts/nala/features/commerce/promo-placeholders

It should be:

https://main--milo--adobecom.hlx.live/uk/drafts/nala/features/commerce/promo-placeholders

@npeltier Your changes are breaking commerce in UK locale (the prices have promo code).
With your changes, the old price is rendered only as a regular price, and optical price has a different value
* https://mwpw-159257--milo--npeltier.hlx.live/uk/drafts/nala/features/commerce/promo-placeholders

It should be:
* https://main--milo--adobecom.hlx.live/uk/drafts/nala/features/commerce/promo-placeholders

thanks, @afmicka, requests are the same, only difference is my PR does the request on stage for a reason i need to understand :)

@yesil @3ch023 (cc @afmicka )
so basically milo's getConfig() on Mili's page returns
env = {
  name: 'stage',
  ims: 'stg1',
  adobeIO: 'cc-collab-stage.adobe.io',
  adminconsole: 'stage.adminconsole.adobe.com',
  account: 'stage.account.adobe.com',
  …
}

i guess here env.name=stage is bound to IMS, not commerce. we agree the only way to put commerce stage should be commerce.env, right?

we agree the only way to put commerce stage should be commerce.env, right?

right.
?commerce.env=stage should result in https://www.stage.adobe.com/web_commerce_artifact_stage
?env=stage should result in https://www.adobe.com/web_commerce_artifact_stage

ok @3ch023 for commerce.env, but env=stage, here it's IMS, not commerce. Typically if you look at https://main--milo--adobecom.hlx.live/uk/drafts/nala/features/commerce/promo-placeholders env=stage but it's just prod & prod uri

ok @3ch023 for commerce.env, but env=stage, here it's IMS, not commerce. Typically if you look at https://main--milo--adobecom.hlx.live/uk/drafts/nala/features/commerce/promo-placeholders env=stage but it's just prod & prod uri

yes, I had a typo, sorry.
confirming once again ?env=stage has no effect on Commerce.
It should go to prod + prod uri.
?env=stage should result in https://www.adobe.com/web_commerce_artifact

@yesil wrt to checkout & inline price, i find it confusing to have file names not corresponding to the classes, nor the "is". That's why i just kept those two names, and reused them all over (before you had the registered class & the placeholder element with two different names which i found really confusing, now you have that class + MasElement sub item)
i'm fine renaming as you wish though, i'm passed the will to do any discussion :)

@npeltier

commerce.env=stage is making requests to www.adobe.com instead of www.stage.adobe.com
https://mwpw-159257--milo--npeltier.hlx.page/drafts/nala/features/commerce/promo-placeholders?commerce.env=stage

commerce.landscape does not work (has effect) on your branch,
https://mwpw-159257--milo--npeltier.hlx.page/drafts/nala/features/commerce/promo-placeholders?commerce.landscape=draft

on main branch: https://main--milo--adobecom.hlx.page/drafts/nala/features/commerce/promo-placeholders?commerce.landscape=draft

the rest of the regression looks OK but after fixing this, it needs another round. @Roycethan could you follow-up after the fix? I will be away starting this afternoon until Thursday morning.

Regressions covered for this branch - Once above mentioned issues get fixed let me know  @npeltier @3ch023  @yesil

Reported issues fixed and - regressions covered


AMI Diarization recipe databse folder structure

Hi,
I am trying to run the diarization recipe but  No recording IDs found! Please check if meta_data json file is properly generated. is being shown. I came to know that this is due due to incorrect folder structure of the AMI data folder (manual annotations folder is the same from website).
Could you please add the directory structure in the documentation as well.
Current system:

/home/datasets/AMI_Array01/
├── EN2001a
│   └── audio
│       └── EN2001a.Array1-01.wav
├── EN2001b
│   └── audio
│       └── EN2001b.Array1-01.wav
├── EN2001d
│   └── audio
│       └── EN2001d.Array1-01.wav
├── EN2001e
│   └── audio
│       └── EN2001e.Array1-01.wav

Also where can i see the diarized results?

Did you end up finding a solution to this? I am having the same issue

Any idea Nauman?
On Wed, Aug 10, 2022, 1:27 PM Matt Nappo @.***> wrote:

Did you end up finding a solution to this? I am having the same issue
—
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/1499#issuecomment-1211026159,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA2ZVTUWCXCOGMUCAHDZNTVYPQ6RANCNFSM524HXWAQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Sorry for the late reply.  Thanks, @anautsch, for letting me know.
The audio path looks fine to me. Can you please paste a few lines of your generated json file here?
In general, when you extract the files downloaded from the AMI webpage, it, by default creates a directory structure amicorpus/EN2001a/audio/EN2001a.Array1-01.wav . You just need to provide the root directory path, i.e., path to amicorpus/
As commented sample example mentioned in the yaml file: https://github.com/speechbrain/speechbrain/blob/a139a9a30dbc7a63827642442ed040d2307e81de/recipes/AMI/Diarization/hparams/ecapa_tdnn.yaml#L13
Diarized results can be found in your sub-folder inside the output folder as provided in the yaml file:  https://github.com/speechbrain/speechbrain/blob/a139a9a30dbc7a63827642442ed040d2307e81de/recipes/AMI/Diarization/hparams/ecapa_tdnn.yaml#L18
Search for .rttm files

Hello @AMITKESARI2000,
Is the issue still up? Thanks! :-)

Closing here. Please feel free to re-open.


Readme is possibly out of date

I am just trying this out for the first time, following the readme: ceylon install ceylon.swarm
This fails with ceylon: 'install' is not a ceylon command
I am getting this message on both Mac (homebrew) install and Docker image with version 1.3.2

I see ceylon swarm is already built in and so the ceylon install step just needs to be skipped. It still might be worth updating the readme for newcomers.

You should try ceylon plugin install ceylon.swarm

Thanks, fixed the readme.


Clean up unicode operator docs

I chose ascii as the ‘canonical’ form for the prototypes, somewhat arbitrarily; would unicode be better?


'SyntaxError: Unexpected token {' when running with node 4 and node 5

Hi there, I recently updated a project and when running pkg-ok, it seems to fail on the following versions:

pkg-ok 2.2.0

$ node --version
v4.9.1
$ npm --version
2.15.11
$ nvm --version
0.33.11
11.49s$ npm install

How it's failing on my side:
husky
CI detected, skipping Git hooks installation
><EMAIL_ADDRESS>prepublish /Users/travis/build/GabLeRoux/cisco-password-decoder-cli
> pkg-ok
/Users/travis/build/GabLeRoux/cisco-password-decoder-cli/node_modules/pkg-ok/index.js:86
function pkgOk (dir, { fields = [], bin = [] } = {}) {
                     ^
SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/travis/build/GabLeRoux/cisco-password-decoder-cli/node_modules/pkg-ok/bin.js:3:15)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/travis/.nvm/versions/node/v4.9.1/bin/node" "/Users/travis/.nvm/versions/node/v4.9.1/bin/npm" "install"
npm ERR! node v4.9.1
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>prepublish: `pkg-ok`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script 'pkg-ok'.
npm ERR! This is most likely a problem with the cisco-password-decoder package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     pkg-ok
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cisco-password-decoder
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls cisco-password-decoder
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/travis/build/GabLeRoux/cisco-password-decoder-cli/npm-debug.log

https://travis-ci.org/GabLeRoux/cisco-password-decoder-cli/jobs/378766686
Note: I'm ok with it as I personally don't really care about node 4 or node 5. I'm not even sure if it's exactly a problem with pkg-ok, but I see your travis build only seem to run against v10.0.0 and Node 6.
For now, I'll simply disable node 4 and node 5 on my side ;)
Thanks for this nice package 👍

Hey @GabLeRoux
Sorry for the confusion.
Thanks for the feedback, glad you like it :)
You're correct, it was changed in v2.0.0. I've just updated the CHANGELOG to mention that for  pkg-ok v2.0.0
https://github.com/typicode/pkg-ok/blob/master/CHANGELOG.md#200

I think they're not supporting Node 4 since April as well (but there may be always cases where you may need to support old versions I guess)


BFS Solution added

@GouravRusiya30  As mentioned by you in the issue that a problem from Leetcode either bfs or dfs related is required. I have completed a program named word ladder which is a bfs problem. Please review the changes.

Thanks @ATRI2107 for contributing.
But please update  README file also, you can refer this PR ---->

@GouravRusiya30 oh ok . I'll do that as well

@GouravRusiya30 I have updated the Readme as well. Please review. The rest of the commits are basically the merging of another branch to my master.

Thanks @ATRI2107


Set up test deployment on our test k8s cluster

As of https://github.com/DataONEorg/slinky/issues/3, @ThomasThelen has gotten Slinky running under minikube so the next thing to work on is to get a real deployment under k8s going so we can test all the odds and ends of getting that done (ie Docker Hub, ingress, etc).
What would be ideal would be hooking things up enough that I can, as a developer, make changes to services like the worker or scheduler, and see my changes reflected in the test cluster relatively quickly.

@ThomasThelen @amoeba  A PV is setup on the k8s dev cluster that slinky can use. The PV was created with the admin context.
Using the slinky 'kubeconfig' that is in Keybase, here is an example (run on my laptop) of creating a slinky PVC that uses the PV
avatar:slinky slaughter$ kubectl create -f pvc.yaml
persistentvolumeclaim/slinky-pvc created
avatar:slinky slaughter$ kubectl get pvc
NAME         STATUS   VOLUME    CAPACITY   ACCESS MODES   STORAGECLASS   AGE
slinky-pvc   Bound    nfs2-pv   50Gi       RWX                           6s
avatar:slinky slaughter$ more pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: slinky-pvc
  namespace: slinky
spec:
  accessModes:
  - ReadWriteMany
  resources:
     requests:
       storage: 50Gi
  storageClassName: "" # Empty string must be explicitly set otherwise default StorageClass will be set
  volumeName: nfs2-pv

The PV and PVC use NFS, which is temporary until Ceph can be setup, but this should be sufficient for testing.
Please let me know if you encounter any problems with the PV or PVC.

Thanks @gothub! I talked with @ThomasThelen and he's going to test it out soon.

The core services are deployed and stable; once we determine precisely how we want to expose virtuoso we can close this issue.

Linked to #41 because after it's accepted, we'll have a fully protected dev deployment that we can test on. It's also been confirmed that the graph has been populating using the geolink convention.


Transition bot does not answer

After the bot telling me
[...] In this case, let me know your Bitcoin address first.

and me pasting the bitcoin address, there is no answer anymore.
This was tested on Linux amd64 with versions 1.9.2 and 1.9.3.

I have had this issue on android as well.

fixed, try again


Is 'filters' in the array necessary?

filters prefix/name is required to add filters in the ValidationBuilder, as such;
$validator = $vb->text([
    'name' => 'test-me',
    'multiple' => true,
    'filters' => [
        AddPostfix::class => '-corp',
    ]]);

But, only name, multiple, and filters are used. Maybe just ignore the 'filters'? So, it will be like;
$validator = $vb->text([
    'name' => 'test-me',
    'multiple' => true,
    AddPostfix::class => '-corp',
    ]);

done.
old 'filters' still works, though.


fix: e2e test -- implement update retry, replace sleep with polling, and use recommended setting for ZRS

What type of PR is this?
/kind test

What this PR does / why we need it:

test failures observed from 1) volume resize request made before detach fully complete and 2) object update conflict
To address these failures

instead of sleeping for a specified amount of time, expecting the volume detachment to have been completed by then, implement a polling based check for volume detachment
implement a update retry on update conflict
use recommended setting for ZRS when dynamically creating storage class

Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.7%) to 42.925%

Files with Coverage Reduction
New Missed Lines
%

pkg/azdiskschedulerextender/azdiskschedulerextender.go
7
55.02%

Totals

Change from base Build<PHONE_NUMBER>:
-1.7%

Covered Lines:
182

Relevant Lines:
424

💛  - Coveralls

@sunpa93 The multi-az snapshot tests failed due to the "file not found" issue, but succeeded on retry. Can this PR be merged now?

@sunpa93 The multi-az snapshot tests failed due to the "file not found" issue, but succeeded on retry. Can this PR be merged now?

I was hoping to include the flaky snapshot test fix (if possible) in this PR. Should we just merge this PR as it is and create a new PR for snapshot?

I was hoping to include the flaky snapshot test fix (if possible) in this PR. Should we just merge this PR as it is and create a new PR for snapshot?

Go ahead and submit this separate from the flaky snapshot test fix.

@sunpa93 The tests have passed. Can this PR be merged?

@sunpa93 The tests have passed. Can this PR be merged?

Yup, let's merge this PR. I will keep tracking some of the flaky test cases to see if the failures do get reproduced and address them in a separate PR.


Missing License

Type: Missing
Summary:
Missing License
Details:
Filling in the missing license details
Resolution:
Declared License updated
Affected definitions:

zstd f4340f46b2387bc8de7d5320c0b83bb1499933ad

@Shivani2608 It looks like this is dual licensed under BSD and GPL 2.0. Per the README

License
Zstandard is dual-licensed under BSD and GPLv2.

https://github.com/facebook/zstd/blob/f4340f46b2387bc8de7d5320c0b83bb1499933ad/README.md#license
This is also stated in the file headers.
/*
 * Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under both the BSD-style license (found in the
 * LICENSE file in the root directory of this source tree) and the GPLv2 (found
 * in the COPYING file in the root directory of this source tree).
 * You may select, at your option, one of the above-listed licenses.
 */

https://github.com/facebook/zstd/blob/f4340f46b2387bc8de7d5320c0b83bb1499933ad/lib/zstd.h#L1-L9
If you agree, I will update the PR to be BSD-3-Clause OR GPL-2.0-only.

@capfei - I agree with your curation.


Fix the healpix max pooling

Just noticed that max pooling seems to be broken for the Healpix sampling. Quick fix.

merged in ab8160e


⚠ SceneTime has degraded performance

In 767691e, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 24703 ms

Resolved: SceneTime performance has improved in 0d3383e after 7 minutes.


pitivi outdated

And the current version (0.93) doesn’t start.
I tried just updating to 0.94, but apparently they have moved to python3 and just replacing pythonPackages with python3Packages leads to some runtime dependencies missing.
cc @iyzsong

I tried to update it once, I think the problem (or one of them?) was that it needs gst-python with python3. And that was not readily available (IIRC).

They release a complete bundle on their website and actively state they don’t support anything else (exactly because they need very stable dependencies).

Ok. I knew about the "Pre-built, distro-agnostic bundle", but I didn't know how strongly they recommended it:
[...] when reporting bugs, you should test against those [pre-built], rather than distribution packages.

+1 for packaging that. I guess all it needs is patchelf --set-interpreter ${glibc}... to work.

I have do the update, it work fine fine for me.
but the crash problem @Profpatsch reported is another issue.


 It would be very helpful if this crate provided a function to construct a BPF filter using pcap_compile_nopcap, which would then be usable in a call to setsockopt to attach a filter.

Working on this. Need ebfull/pcap#91 to be released first, but then we can do this.

Closed through #56, #91, and #148


TFChain module tests and account creation are failing on qanet

Description
tfchain module tests are failing on qanet with the following error.
Request failed with status code 500

Same issue also happens from the playground while creating a new account.

index-63cfd666.js:160     POST https://activation.qa.grid.tf/activation/activate 500

Logs
Full logs from running the tests https://gist.github.com/mohamedamer453/0de17f39fb503a803fc906aabf331ccf
Environment

Network: qanet
Playground Version: 2.1.0-rc5
Grid client Version: v2.1.0-rc5

After verification, this is not a valid issue anymore so can you please verify and close it?

the issue is no longer reproducible
verified on devnet and qanet

Screencast from 08-10-2023 12:58:32 PM.webm


Is it possible to have multiple configuration files in app?

Is it possible to have multiple configuration files in app?
I'm using version 1.1.5 with iOS 11.4
I tried to assign new configuration plist file (with different name in resources) and tried do Typography.refresh() but it has no effect
The reason is to split configuration between several views keeping only necessary settings
Thanks

TypographyKit isn't designed to work with multiple configuration files but updating the configuration file and refreshing should work so I'll look to see what's going on here. It might help to understand what you're looking to achieve by having separate configuration files - is this so that you can reuse different color name / typography styles for different screens?