Add support for Tensorflow SparseTensors: optimizers.

All optimizers now handle sparse gradients in the form of tf.IndexedSlices. Where applicable, this results in partial updates of variables using scatter_add/scatter_sub.
This was done by performing the following changes in optimizers code:

replacing all negative operations (e.g. +) with the equivalent Keras op (e.g. ops.add). Note that an exception was made for scalars.
replacing variable.assign/assign_add/assign_sub with self.assign/assign_add/assign_sub.

Codecov Report
Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (123b61f) 74.95% compared to head (5e8677f) 56.48%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18692       +/-   ##
===========================================
- Coverage   74.95%   56.48%   -18.47%
===========================================
  Files         336      336
  Lines       33404    33424       +20
  Branches     6543     6547        +4
===========================================
- Hits        25037    18880     -6157
- Misses       6840    13101     +6261
+ Partials     1527     1443       -84

Flag
Coverage Δ

keras
56.48% <64.28%> (-18.39%)
:arrow_down:

keras-jax
?

keras-numpy
56.48% <64.28%> (?)

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

keras/optimizers/adadelta.py
94.28% <100.00%> (ø)

keras/optimizers/adagrad.py
93.10% <100.00%> (ø)

keras/optimizers/adam.py
95.55% <100.00%> (ø)

keras/optimizers/adamax.py
94.11% <100.00%> (ø)

keras/optimizers/base_optimizer.py
61.60% <100.00%> (-12.53%)
:arrow_down:

keras/optimizers/ftrl.py
77.35% <100.00%> (ø)

keras/optimizers/lion.py
87.09% <100.00%> (ø)

keras/optimizers/nadam.py
92.59% <100.00%> (ø)

keras/optimizers/rmsprop.py
80.76% <71.42%> (ø)

keras/optimizers/adafactor.py
81.66% <62.50%> (ø)

... and 2 more

... and 191 files with indirect coverage changes

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


Fix warning

I found warning in my console.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
I PR can fix it.

Codecov Report

Merging #23 into master will decrease coverage by 1.98%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   91.17%   89.18%   -1.99%
==========================================
  Files           2        2
  Lines          34       37       +3
  Branches        6        7       +1
==========================================
+ Hits           31       33       +2
  Misses          3        3
- Partials        0        1       +1

Impacted Files
Coverage Δ

src/index.js
83.33% <60%> (-5.56%)
:arrow_down:

Continue to review full report at Codecov.

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

Thank you very much @honcharov-viktor

Just published 4.2.4


bug: Invalid character in group name

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0
Operating system/version
Debian 12
Describe the bug

 Error
Error detected while processing nvim_exec2():
Error executing vim.schedule lua callback: .../site/pack/deps/opt/noice.nvim/lua/noice/text/syntax.lua:9: Error executing lua: vim/_editor.lua:0: nvim_exec2(): Vim(syntax):E5248: Invalid character in group name
stack traceback:
	[C]: in function 'nvim_exec2'
	vim/_editor.lua: in function 'cmd'
	.../site/pack/deps/opt/noice.nvim/lua/noice/text/syntax.lua:18: in function <.../site/pack/deps/opt/noice.nvim/lua/noice/text/syntax.lua:9>
	[C]: in function 'nvim_buf_call'
	.../site/pack/deps/opt/noice.nvim/lua/noice/text/syntax.lua:9: in function 'highlight'
	...im/site/pack/deps/opt/noice.nvim/lua/noice/text/init.lua:70: in function 'highlight'
	...e/nvim/site/pack/deps/opt/nui.nvim/lua/nui/line/init.lua:58: in function 'highlight'
	...e/nvim/site/pack/deps/opt/nui.nvim/lua/nui/line/init.lua:73: in function 'render'
	...m/site/pack/deps/opt/noice.nvim/lua/noice/text/block.lua:98: in function 'render'
	...site/pack/deps/opt/noice.nvim/lua/noice/lsp/override.lua:52: in function 'stylize_markdown'
	...m/site/pack/deps/opt/nvim-cmp/lua/cmp/view/docs_view.lua:64: in function 'open'
	.../share/nvim/site/pack/deps/opt/nvim-cmp/lua/cmp/view.lua:292: in function 'callback'
	...nvim/site/pack/deps/opt/nvim-cmp/lua/cmp/utils/async.lua:138: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>
stack traceback:
	[C]: in function 'nvim_buf_call'
	.../site/pack/deps/opt/noice.nvim/lua/noice/text/syntax.lua:9: in function 'highlight'
	...im/site/pack/deps/opt/noice.nvim/lua/noice/text/init.lua:70: in function 'highlight'
	...e/nvim/site/pack/deps/opt/nui.nvim/lua/nui/line/init.lua:58: in function 'highlight'
	...e/nvim/site/pack/deps/opt/nui.nvim/lua/nui/line/init.lua:73: in function 'render'
	...m/site/pack/deps/opt/noice.nvim/lua/noice/text/block.lua:98: in function 'render'
	...site/pack/deps/opt/noice.nvim/lua/noice/lsp/override.lua:52: in function 'stylize_markdown'
	...m/site/pack/deps/opt/nvim-cmp/lua/cmp/view/docs_view.lua:64: in function 'open'
	.../share/nvim/site/pack/deps/opt/nvim-cmp/lua/cmp/view.lua:292: in function 'callback'
	...nvim/site/pack/deps/opt/nvim-cmp/lua/cmp/utils/async.lua:138: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>
E21: Cannot make changes, 'modifiable' is off

Under certain circumstances completion produces the error above.
Apparently, the value of lang variable in M.highlight() function becomes {toml} for some reason.
I'm able to reliably reproduce the error with these snippets of code:

 Code
Cargo.toml
[package]
name = "tom"
version = "0.1.0"
edition = "2021"

[dependencies]
convert_case = "0.6.0"

main.rs
use convert_case;
fn main() {
    println!("Hello, world!");
}

Steps To Reproduce

Install 'rust-analyzer'
cargo new tom
Set the contents of Cargo.toml as above
Set the contets of main.rs as above
Wait for 'rust-analyzer' to load
Put the cursor on convert_case and press  K
Observe the error

Expected Behavior
No error
Repro
vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()

require('lazy.minit').repro({
  spec = {
    { 'MunifTanjim/nui.nvim' },
    { 'folke/noice.nvim', opts = {} },
    -- add any other plugins here
    { 'neovim/nvim-lspconfig' },
  },
})

require('lspconfig').rust_analyzer.setup({})

This hack helps:
-- lua/noice/text/syntax.lua

lang = lang:gsub('[^%w_-]', '')

Upon further inspection, documentation indeed has {toml} in code block section:

 Request
vim.lsp.buf_request(0, vim.lsp.protocol.Methods.textDocument_hover, vim.lsp.util.make_position_params(), function(err, result) vim.print(result) end)

 Response
{
  contents = {
    kind = "markdown",
    value = "\n```rust\nextern crate convert_case\n```\n\n---\n\nConverts to and from various cases.\n\n# Command Line Utility `ccase`\n\nThis library was developed for the purposes of a command line utility for converting\nthe case of strings and filenames.  You can check out \n[`ccase` on Github](https://github.com/rutrum/convert-case/tree/master/ccase).\n\n# Rust Library\n\nProvides a [`Case`](https://docs.rs/convert_case/0.6.0/convert_case/enum.Case.html) enum which defines a variety of cases to convert into.\nStrings have implemented the [`Casing`](https://docs.rs/convert_case/0.6.0/convert_case/trait.Casing.html) trait, which adds methods for \ncase conversion.\n\nYou can convert strings into a case using the [`to_case`](https://docs.rs/convert_case/0.6.0/convert_case/trait.Casing.html) method.\n\n```rust\nuse convert_case::{Case, Casing};\n\nassert_eq!(\"Ronnie James Dio\", \"ronnie james dio\".to_case(Case::Title));\nassert_eq!(\"ronnieJamesDio\", \"Ronnie_James_dio\".to_case(Case::Camel));\nassert_eq!(\"Ronnie-James-Dio\", \"RONNIE_JAMES_DIO\".to_case(Case::Train));\n```\n\nBy default, `to_case` will split along a set of default word boundaries, that is\n\n* space characters ` `,\n* underscores `_`,\n* hyphens `-`,\n* changes in capitalization from lowercase to uppercase `aA`,\n* adjacent digits and letters `a1`, `1a`, `A1`, `1A`,\n* and acroynms `AAa` (as in `HTTPRequest`).\n\nFor more accuracy, the `from_case` method splits based on the word boundaries\nof a particular case.  For example, splitting from snake case will only use\nunderscores as word boundaries.\n\n```rust\nuse convert_case::{Case, Casing};\n\nassert_eq!(\n    \"2020 04 16 My Cat Cali\",\n    \"2020-04-16_my_cat_cali\".to_case(Case::Title)\n);\nassert_eq!(\n    \"2020-04-16 My Cat Cali\",\n    \"2020-04-16_my_cat_cali\".from_case(Case::Snake).to_case(Case::Title)\n);\n```\n\nCase conversion can detect acronyms for camel-like strings.  It also ignores any leading, \ntrailing, or duplicate delimiters.\n\n```rust\nuse convert_case::{Case, Casing};\n\nassert_eq!(\"io_stream\", \"IOStream\".to_case(Case::Snake));\nassert_eq!(\"my_json_parser\", \"myJSONParser\".to_case(Case::Snake));\n\nassert_eq!(\"weird_var_name\", \"__weird--var _name-\".to_case(Case::Snake));\n```\n\nIt also works non-ascii characters.  However, no inferences on the language itself is made.\nFor instance, the digraph `ij` in Dutch will not be capitalized, because it is represented\nas two distinct Unicode characters.  However, `æ` would be capitalized.  Accuracy with unicode\ncharacters is done using the `unicode-segmentation` crate, the sole dependency of this crate.\n\n```rust\nuse convert_case::{Case, Casing};\n\nassert_eq!(\"granat-äpfel\", \"GranatÄpfel\".to_case(Case::Kebab));\nassert_eq!(\"Перспектива 24\", \"ПЕРСПЕКТИВА24\".to_case(Case::Title));\n\n// The example from str::to_lowercase documentation\nlet odysseus = \"ὈΔΥΣΣΕΎΣ\";\nassert_eq!(\"ὀδυσσεύς\", odysseus.to_case(Case::Lower));\n```\n\nBy default, characters followed by digits and vice-versa are\nconsidered word boundaries.  In addition, any special ASCII characters (besides `_` and `-`)\nare ignored.\n\n```rust\nuse convert_case::{Case, Casing};\n\nassert_eq!(\"e_5150\", \"E5150\".to_case(Case::Snake));\nassert_eq!(\"10,000_days\", \"10,000Days\".to_case(Case::Snake));\nassert_eq!(\"HELLO, WORLD!\", \"Hello, world!\".to_case(Case::Upper));\nassert_eq!(\"One\\ntwo\\nthree\", \"ONE\\nTWO\\nTHREE\".to_case(Case::Title));\n```\n\nYou can also test what case a string is in.\n\n```rust\nuse convert_case::{Case, Casing};\n\nassert!( \"css-class-name\".is_case(Case::Kebab));\nassert!(!\"css-class-name\".is_case(Case::Snake));\nassert!(!\"UPPER_CASE_VAR\".is_case(Case::Snake));\n```\n\n# Note on Accuracy\n\nThe `Casing` methods `from_case` and `to_case` do not fail.  Conversion to a case will always\nsucceed.  However, the results can still be unexpected.  Failure to detect any word boundaries\nfor a particular case means the entire string will be considered a single word.\n\n```rust\nuse convert_case::{Case, Casing};\n\n// Mistakenly parsing using Case::Snake\nassert_eq!(\"My-kebab-var\", \"my-kebab-var\".from_case(Case::Snake).to_case(Case::Title));\n\n// Converts using an unexpected method\nassert_eq!(\"my_kebab_like_variable\", \"myKebab-like-variable\".to_case(Case::Snake));\n```\n\n# Boundary Specificity\n\nIt can be difficult to determine how to split a string into words.  That is why this case\nprovides the [`from_case`](https://docs.rs/convert_case/0.6.0/convert_case/trait.Casing.html) functionality, but sometimes that isn't enough\nto meet a specific use case.\n\nTake an identifier has the word `2D`, such as `scale2D`.  No exclusive usage of `from_case` will\nbe enough to solve the problem.  In this case we can further specify which boundaries to split\nthe string on.  `convert_case` provides some patterns for achieving this specificity.\nWe can specify what boundaries we want to split on using the [`Boundary` enum](https://docs.rs/convert_case/0.6.0/convert_case/segmentation/enum.Boundary.html).\n\n```rust\nuse convert_case::{Boundary, Case, Casing};\n\n// Not quite what we want\nassert_eq!(\n    \"scale_2_d\",\n    \"scale2D\"\n        .from_case(Case::Camel)\n        .to_case(Case::Snake)\n);\n\n// Remove boundary from Case::Camel\nassert_eq!(\n    \"scale_2d\",\n    \"scale2D\"\n        .from_case(Case::Camel)\n        .without_boundaries(&[Boundary::DigitUpper, Boundary::DigitLower])\n        .to_case(Case::Snake)\n);\n\n// Write boundaries explicitly\nassert_eq!(\n    \"scale_2d\",\n    \"scale2D\"\n        .with_boundaries(&[Boundary::LowerDigit])\n        .to_case(Case::Snake)\n);\n```\n\nThe `Casing` trait provides initial methods, but any subsequent methods that do not resolve\nthe conversion return a [`StateConverter`](https://docs.rs/convert_case/0.6.0/convert_case/struct.StateConverter.html) struct.  It contains similar methods as `Casing`.\n\n# Custom Cases\n\nBecause `Case` is an enum, you can't create your own variant for your use case.  However\nthe parameters for case conversion have been encapsulated into the [`Converter`](https://docs.rs/convert_case/0.6.0/convert_case/converter/struct.Converter.html) struct\nwhich can be used for specific use cases.\n\nSuppose you wanted to format a word like camel case, where the first word is lower case and the\nrest are capitalized.  But you want to include a delimeter like underscore.  This case isn't\navailable as a `Case` variant, but you can create it by constructing the parameters of the\n`Converter`.\n\n```rust\nuse convert_case::{Case, Casing, Converter, Pattern};\n\nlet conv = Converter::new()\n    .set_pattern(Pattern::Camel)\n    .set_delim(\"_\");\n\nassert_eq!(\n    \"my_Special_Case\",\n    conv.convert(\"My Special Case\")\n)\n```\n\nJust as with the `Casing` trait, you can also manually set the boundaries strings are split \non.  You can use any of the [`Pattern`](https://docs.rs/convert_case/0.6.0/convert_case/pattern/enum.Pattern.html) variants available.  This even includes [`Pattern::Sentence`](https://docs.rs/convert_case/0.6.0/convert_case/pattern/enum.Pattern.html)\nwhich isn't used in any `Case` variant.  You can also set no pattern at all, which will\nmaintain the casing of each letter in the input string.  You can also, of course, set any string as your\ndelimeter.\n\nFor more details on how strings are converted, see the docs for [`Converter`](https://docs.rs/convert_case/0.6.0/convert_case/converter/struct.Converter.html).\n\n# Random Feature\n\nTo ensure this library had zero dependencies, randomness was moved to the *random* feature,\nwhich requires the `rand` crate. You can enable this feature by including the\nfollowing in your `Cargo.toml`.\n\n```{toml}\n[dependencies]\nconvert_case = { version = \"^0.3.0\", features = [\"random\"] }\n```\n\nThis will add two additional cases: Random and PseudoRandom.  You can read about their\nconstruction in the [Case enum](https://docs.rs/convert_case/0.6.0/convert_case/enum.Case.html)."
  },
  range = {
    ["end"] = {
      character = 16,
      line = 0
    },
    start = {
      character = 4,
      line = 0
    }
  }
}

It's almost at the end there:
\n\n```{toml}\n[dependencies]\nconvert_case = { version = \"^0.3.0\", features = [\"random\"] }\n```


Let namespace/keywords query params to _ui/collections get passed to pulp

Parts of https://github.com/ansible/galaxy-dev/issues/87
namespace: get all the collections that match the EXACT namespace name given.
keywords: search collections
Note: currently, requests like http://<IP_ADDRESS>:5001/api/automation-hub/v3/_ui/collections/?keywords=inspect;keywords=collection still end up only using the last 'keywords' query param in the pulp request since the galaxy_pulp API bindings squash them in kwargs dict. Investigating how to fix that.

@newswangerd

Actually I spoke too soon. It looks like specifying a namespace always returns an empty list.

Yup, I broke it with a later commit. Just pushed a fix that should fix it again.


"Deskband host for wbf" opens up instead of toolbar

Description
The Program was working fine whenever I installed it earlier. A few hour later, the bug randomly started after restarting my taskbar so many times, it was like a blank Spotify interface while the music was playing and only the play button was working (nothing else was showing up), so I uninstalled the program through the installer file, then reinstalled it, then when I went to open the toolbar, it started opening explorer saying "Deskband host for wbf" instead of adding the toolbar on my taskbar.
How To Reproduce
No clue on how to reproduce it.
Version
1.2.1 (Running on Windows 11, using StartAllBack taskbar)
Logs/Screenshots Attachment
https://cdn.discordapp.com/attachments/1015843400832004117/1098093082915917946/AudioBand.log (Sent through discord, since filesize is 39mb (the issue happens later in the log file))

I deleted the settings json file on the appdata folder of audioband, then let it generate a new one and put my stuff in again and that worked :p

Thanks for the report, checking the log file it seems to be caused due to Spotify getting too many requests from us, I'll see what I can do to fix it!

Yeah, that's what they said on the thread they created from the github
issues on the server as well.
On Thu, Apr 20, 2023 at 10:04 AM svr333 @.***> wrote:

Thanks for the report, checking the log file it seems to be caused due to
Spotify getting too many requests from us, I'll see what I can do to fix it!
—
Reply to this email directly, view it on GitHub
https://github.com/AudioBand/AudioBand/issues/106#issuecomment-1516391505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVDC52MJ32VXEEV4VRG2DELXCE667ANCNFSM6AAAAAAXDPPKJM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

I followed these steps (deleting the settings.json file and running the repair routine with the installer msi) and the problem remains.

Can you share the log file so we can have a look.

2024-03-22 14:24:47.0132 | INFO | AudioBand | Starting AudioBand. Version: "v1.2.3", OS: Microsoft Windows NT 10.0.22631.0
2024-03-22 14:24:47.0296 | ERROR | AudioBand | System.InvalidOperationException: The configuration is invalid. Creating the instance for type IAppSettings failed. An item with the same key has already been added. ---> SimpleInjector.ActivationException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)    at AudioBand.Settings.AppSettings.CheckAndLoadProfiles(Settings settings, UserProfile[] profiles) in C:\Users\vanro\Documents\Programming\AudioBand\AudioBand\src\AudioBand\Settings\AppSettings.cs:line 254    at AudioBand.Settings.AppSettings..ctor(IPersistentSettings persistSettings, IMessageBus messageBus) in C:\Users\vanro\Documents\Programming\AudioBand\AudioBand\src\AudioBand\Settings\AppSettings.cs:line 46    at lambda_method(Closure )    at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.CreateInstance(Func1 instanceCreator)    at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.CreateInstanceWithNullCheck()
at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.GetInterceptedInstance()    at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.BuildExpression()
at SimpleInjector.InstanceProducer.BuildExpressionInternal()
at SimpleInjector.Internals.LazyEx1.get_Value()    at SimpleInjector.InstanceProducer.BuildExpression()    --- End of inner exception stack trace ---    at SimpleInjector.InstanceProducer.BuildExpression()    at SimpleInjector.InstanceProducer.VerifyExpressionBuilding()    --- End of inner exception stack trace ---    at SimpleInjector.InstanceProducer.VerifyExpressionBuilding()    at SimpleInjector.Container.VerifyThatAllExpressionsCanBeBuilt(InstanceProducer[] producersToVerify)    at SimpleInjector.Container.VerifyThatAllExpressionsCanBeBuilt()    at SimpleInjector.Container.VerifyInternal(Boolean suppressLifestyleMismatchVerification)    at SimpleInjector.Container.Verify(VerificationOption option)    at AudioBand.Deskband.ConfigureDependencies() in C:\Users\vanro\Documents\Programming\AudioBand\AudioBand\src\AudioBand\Deskband.cs:line 141---START OF EXCEPTION--- System.InvalidOperationException: The configuration is invalid. Creating the instance for type IAppSettings failed. An item with the same key has already been added. ---> SimpleInjector.ActivationException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)
at AudioBand.Settings.AppSettings.CheckAndLoadProfiles(Settings settings, UserProfile[] profiles) in C:\Users\vanro\Documents\Programming\AudioBand\AudioBand\src\AudioBand\Settings\AppSettings.cs:line 254
at AudioBand.Settings.AppSettings..ctor(IPersistentSettings persistSettings, IMessageBus messageBus) in C:\Users\vanro\Documents\Programming\AudioBand\AudioBand\src\AudioBand\Settings\AppSettings.cs:line 46
at lambda_method(Closure )
at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.CreateInstance(Func1 instanceCreator)
at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.CreateInstanceWithNullCheck()    at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.GetInterceptedInstance()
at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration1.BuildExpression()    at SimpleInjector.InstanceProducer.BuildExpressionInternal()    at SimpleInjector.Internals.LazyEx1.get_Value()
at SimpleInjector.InstanceProducer.BuildExpression()
--- End of inner exception stack trace ---
at SimpleInjector.InstanceProducer.BuildExpression()
at SimpleInjector.InstanceProducer.VerifyExpressionBuilding()
--- End of inner exception stack trace ---
at SimpleInjector.InstanceProducer.VerifyExpressionBuilding()
at SimpleInjector.Container.VerifyThatAllExpressionsCanBeBuilt(InstanceProducer[] producersToVerify)
at SimpleInjector.Container.VerifyThatAllExpressionsCanBeBuilt()
at SimpleInjector.Container.VerifyInternal(Boolean suppressLifestyleMismatchVerification)
at SimpleInjector.Container.Verify(VerificationOption option)
at AudioBand.Deskband.ConfigureDependencies() in C:\Users\vanro\Documents\Programming\AudioBand\AudioBand\src\AudioBand\Deskband.cs:line 141
---END OF EXCEPTION

I think this issue is because you have a duplicate profile, can you check your %appdata%/AudioBand/Profiles folder to see if there are any duplicates?
If not, each profile.json file has a Name property inside of it (you can open it with any text editor like notepad), and check if you find any duplicates there. If you don't have any custom profiles you can also just delete them all and they will be regenerated!


PEBKAC. tyvm


I met this error in deep_convolution_gan.py

Hi, @jtoy @hunkim @Kongsea @DingKe @JayParks
I met this error in deep_convolution_gan.py :
usage: ipykernel_launcher.py [-h] [--image_size IMAGE_SIZE] [--z_dim Z_DIM]
[--g_conv_dim G_CONV_DIM]
[--d_conv_dim D_CONV_DIM]
[--num_epochs NUM_EPOCHS]
[--batch_size BATCH_SIZE]
[--sample_size SAMPLE_SIZE]
[--num_workers NUM_WORKERS] [--lr LR]
[--beta1 BETA1] [--beta2 BETA2] [--mode MODE]
[--model_path MODEL_PATH]
[--sample_path SAMPLE_PATH]
[--image_path IMAGE_PATH] [--log_step LOG_STEP]
[--sample_step SAMPLE_STEP]
ipykernel_launcher.py: error: unrecognized arguments: -f /Users/dti/Library/Jupyter/runtime/kernel-0a3c5ccc-79ba-4805-8668-2c85aa0e488d.json
An exception has occurred, use %tb to see the full traceback.
SystemExit: 2
I used my images(128x128, RGB, 24files).
What's wrong with me?

@bemoregt
It's argparse error. You entered the keyword incorrectly.
You may enter the white space in the command.

Thanks. I fixed it.
나의 iPhone에서 보냄

오후 7:47 yunjey<EMAIL_ADDRESS>작성:

@bemoregt
It's argparse error. You entered the keyword incorrectly.
You may enter the white space in the command.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@bemoregt Great!

Thanks a lot~
나의 iPhone에서 보냄

오후 10:41 yunjey<EMAIL_ADDRESS>작성:

@bemoregt Great!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Multiview countdowns disagree

In the multiview pane, the icon countdown overlay disagrees with the hover/popdown countdown.
It appears to be a difference in rounding behavior.
See here the rightmost icon says "one hour" while the hover countdown says "two hours":

Firefox: 98.0b7

Fixed


Fix #7: Unicode error on non-ascii content.

I've run into the same issue.
It seems pysrt.SubRipItem enforces unicode for python 2.
This patch should fix the problem.

looks good, thanks for working on this!


Lambda body is being ignored

For instance, the snippet below:
using System;
public class C
{
    public void MappedToAction(Action<int, int> a)
    {
        MappedToAction ((p1, p2) => Console.WriteLine(p1 + p2));
    }
}

will have no traces of the Console.WriteLine() invocation.

This was only affecting expression bodied lambdas, i.e, lambdas like Action<int> a = p => { ... } was being processed (but had other issues which I have fixed)


FIX: Break dist javascript and onto newlines.

This doesn’t have much impact on resulting JS size, but it will
hopefully make merge conflicts much less frequent.
The CSS growth is a little higher (6.5% increase in size) but is not
material.
If this materially reduces the number of merge conflicts we have, by
letting the git merge tools resolve some dist file mergers, I think it
would be worth it.
Some example changes in file size:
bundle.js 290K -> 301K
vendor.js 1,325K -> 1,321K
bundle.css 628K -> 669K

Here's an example of the diff for a small change: https://gist.github.com/7e19b6a2d9ab4e57c864dc13ac43119d

Here's an example of adding a method: (10 lines altered)
https://gist.github.com/0f37812ebc97ac74f53e4ba2d7d3f110

Here's an example of adding a new file: (154 lines altered)


Maven repository

Hello,
https://maven.iais.fraunhofer.de/ is not available anymore (after 1.11.2023).
Can you indicate a new repo?
Who's is maintaining the broker currently?
Thanks

I have the same problem.
@kkoutso there were you able to find the new repo?
Thanks

Hello,
Same problem here. https://maven.iais.fraunhofer.de/ is not accessible. Anyone found an alternative solution or a new repo?
Thanks!


Relatively high GC pressure from Recycler$DefaultHandle.unguardedRecycle(Object)

Expected behavior
Close to zero allocations when releasing pooled byte buffers.
Actual behavior
With ~12mbps throughput (handling 150 clients, ~80kbps per client), about 25% of allocations (~150 mb/min in observed case) in our application comes from calls to io.netty.util.Recycler$DefaultHandle.unguardedRecycle(Object). The culprit appears to be BaseMpscLinkedArrayQueue, which regularly performs resizing and calls UnsafeRefArrayAccess.allocateRefArray. All release calls are performed from the same thread where an object was allocated, meaning Thread.currentThread() always equals LocalPool.owner.
These observations were obtained from Flight Recorder, over 60 seconds time span. I can share a recording over email, if neccessary.

Configuration
Channel class: EpollServerSocketChannel, EpollSocketChannel
Loop group: EpollEventLoopGroup
Command line arguments: -Xmx2560M -XX:+UseG1GC -XX:MaxGCPauseMillis=30
Netty version
4.1.91.Final
JVM version (e.g. java -version)
Java HotSpot(TM) 64-Bit Server VM (25.181-b13) for linux-amd64 JRE (1.8.0_181-b13)
OS version (e.g. uname -a)
Linux 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux

You may be able to mitigate this by setting the system property -Dio.netty.recycler.chunkSize=256 (the default is 32), or something like that. The MPSC queue is a fall-back path, and it sounds like you're hitting it a lot.

Thank you! I am waiting for the next deployment to verify that this solution holds under load, and will get back to you with the results.


Link when add sheet to Roll20 game points to wrong page

When adding this sheet to a game I see the following, but the link is a dead one.  Should point to https://github.com/MadCoder253/roll20-character-sheets/blob/master/GURPS/script.js
:-
GURPS

Authors:Devindra Payment (@Ardnived), Joseph Mason (@sdJasper), Ken Foubert (@MadCoder)

If you are a mentor, you can use this script to automatically determine success and failure. https://raw.githubusercontent.com/Ardnived/Roll20-GURPS-Sheet/master/GURPS/script.js

Most likely going to remove this URL all together because this particular user, MadCoder253, is not responding and therefore not providing any updates.

Pull request to be made 8/01/2018 in version 1.3.7

Confirmed this has been changed after PULL. You may close this issue.


Can only connect to localhost or <IP_ADDRESS>

Requirements

[X] I have searched the issues of this repository and believe that this is not a duplicate
[X] I have confirmed this bug exists on the latest version of the app

Platform
Android, Windows
Description
Can connect with localhost (or <IP_ADDRESS>),but not my local ip (<IP_ADDRESS>)
Steps to reproduce
Add a new server using my ip (<IP_ADDRESS>) instead of localhost. Firewall has been turned off. Ollama is running.
Expected behavior
Connection
Actual behavior
Invalid host
Screenshots or additional context

For future reference, the solution was (as stated in the readme...) to add a new environment variable named OLLAMA_HOST with the value <IP_ADDRESS>


fix inf doc

add torch

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


4.x fix tests in tests/integration/gh-5792

One of the disabled tests could be activated now (the test of the /greet endpoint), but the one that relies on the /openapi endpoint will need to wait until #7247 is fixed.


Sass::SyntaxError: File to import not found or unreadable: bootstrap

When deploying in production with capistrano I got the following error:
Sass::SyntaxError: File to import not found or unreadable: bootstrap

Hello,
Unfortunately you'll have to provide more information. Please include steps to reproduce, including environmental and setup information.
It sounds like an environmental problem rather than a spree_bootstrap_frontend problem.
Thanks

In case anyone else comes across this ... this happened to me in development, but a server restart resolved it


Write correct spatial metadata to Storage Units

As reported by Josh @sixy6e :
The spatial metadata in the sample files is a little off. Here's an ipython notebook documenting the problem.
https://github.com/sixy6e/my_code/blob/master/Python/notebooks/nc_metadata_tests.ipynb
The current spatial extents exclude the east-most and south-most lines of pixels, instead of including them. Correcting this should fix both the extents and the pixel sizes.

It appears that at least part of the problem is the small dtype size float32 that latitudes and longitudes are stored in which leads to rounding errors. I'll change them to float64 and see how that helps.
>>> a = (numpy.arange(4000)*0.00025 + 150).astype(numpy.float32)
>>> a[400:410]-a[399:409]
array([ 0.0002594 ,  0.00024414,  0.00024414,  0.0002594 ,  0.00024414,
    0.0002594 ,  0.00024414,  0.00024414,  0.0002594 ,  0.00024414], dtype=float32)

>>> a = (numpy.arange(4000)*0.00025 + 150).astype(numpy.float64)
>>> a[400:410]-a[399:409]
array([ 0.00025,  0.00025,  0.00025,  0.00025,  0.00025,  0.00025,
        0.00025,  0.00025,  0.00025,  0.00025])

Good pickup, the lon/lat units will need the extra precision more than most meters based projections, but probably ideal to store all co-ordinate based info as float64.

Hiya Josh,
I think that this should be fixed now. Could you please have a look at the files in /short/v10/dra547/tmp/7/ and if they look alright to you, close this issue.
They're only a single timeslice, but that makes no difference to the spatial extents.

>>> import h5py
>>> from pprint import pprint
>>> fname = 'LANDSAT_5_TM_134.0_-31.0_2015-09-29T23-09-40.000000.nc'
>>> fid = h5py.File(fname, 'r')
>>> pprint(fid.attrs.items())
[(u'geospatial_lon_min', array([ 134.])),
 (u'geospatial_lat_units', 'degrees_north'),
 (u'spatial_coverage', '1.000000 degrees grid'),
 (u'geospatial_lon_units', 'degrees_east'),
 (u'summary',
  'These files are experimental, short lived, and the format will change.'),
 (u'product_version', '0.0.0'),
 (u'geospatial_lat_max', array([-31.])),
 (u'source',
  'This data is a reprojection and retile of Landsat surface reflectance scene data available from /g/data/rs0/scenes/'),
 (u'title',
  'Experimental Data files From the Australian Geoscience Data Cube - DO NOT USE'),
 (u'geospatial_lon_resolution', '0.00025'),
 (u'geospatial_lon_max', array([ 135.])),
 (u'Conventions', 'CF-1.6'),
 (u'history', 'NetCDF-CF file created 20151104.'),
 (u'geospatial_lat_min', array([-32.])),
 (u'geospatial_lat_resolution', '0.00025'),
 (u'date_created', '2015-11-04T15:45:28.399499'),
 (u'license', 'Creative Commons Attribution 4.0 International CC BY 4.0')]
>>> nc_ul = (fid.attrs['geospatial_lon_min'][0], fid.attrs['geospatial_lat_max'][0])
>>> nc_ur = (fid.attrs['geospatial_lon_max'][0], fid.attrs['geospatial_lat_max'][0])
>>> nc_lr = (fid.attrs['geospatial_lon_max'][0], fid.attrs['geospatial_lat_min'][0])
>>> nc_ll = (fid.attrs['geospatial_lon_min'][0], fid.attrs['geospatial_lat_min'][0])
>>> nc_ul
(134.0, -31.0)
>>> nc_ur
(135.0, -31.0)
>>> nc_lr
(135.0, -32.0)
>>> nc_ll
(134.0, -32.0)
>>> fid['longitude'][1:11] - fid['longitude'][0:10]
array([ 0.00025,  0.00025,  0.00025,  0.00025,  0.00025,  0.00025,
        0.00025,  0.00025,  0.00025,  0.00025])

The only thing might be the co-ordinate arrays which still reference the UL corner of a pixel.
>>> fid['longitude'][0:10]
array([ 134.     ,  134.00025,  134.0005 ,  134.00075,  134.001  ,
        134.00125,  134.0015 ,  134.00175,  134.002  ,  134.00225])

But CF is a little vague as to what it should be, so they'll be fine.  If they need to be changed it's a quick fix to add a 0.5 to the pixel indices during calculation.
They do confirm with an alternate method of calculation.
>>> gb = GriddedGeoBox(shape=(4000, 4000), origin=nc_ul)
>>> import numpy
>>> x, y = (numpy.arange(4000), numpy.arange(4000)) * gb.affine
>>> x
array([ 134.     ,  134.00025,  134.0005 , ...,  134.99925,  134.9995 ,
        134.99975])
>>> x - fid['longitude']
array([ 0.,  0.,  0., ...,  0.,  0.,  0.])
>>> (x - fid['longitude']).sum()
0.0

I'll close the issue.


[FEATURE] LTSC and ms store apps

What Would You Like to Be Added?
Older windows LTSC versions do not support msixbundle ms store apps. Maybe consider a standard executable and perhaps portable application, as cli is not always comfortable.
Why is This Needed?
backwards windows compatibility
Additional Information
No response

I second... It'd be nice to have a portable option (zip file).
Thanks for all the effort the team puts into this project.


Bug: CLI table display isn't aesthetic when there are unicode characters in table name

Kùzu version
0.5.0
What operating system are you using?
macOS
What happened?
This might be related to unicode parsing in #4068, but I'm not sure.
CREATE NODE TABLE IF NOT EXISTS `Bücher` (title STRING, price INT64, PRIMARY KEY (title));
CREATE (n:`Bücher` {title: 'Der Thron der Sieben Königreiche'}) SET n.price = 20;
MATCH (n:Bücher) RETURN label(n);

The CLI output isn't looking consistent (the vertical line is offset incorrectly):
┌─────────┐
│ Bücher │
│ STRING  │
├─────────┤
│ Bücher  │
└─────────┘

Are there known steps to reproduce?
Create tables with unicode characters in the name and try to display them in the CLI.

It seems that the same issue happens when the table name isn't escaped, too:
CREATE NODE TABLE IF NOT EXISTS Bücher (title STRING, price INT64, PRIMARY KEY (title));
CREATE (n:Bücher {title: 'Der Thron der Sieben Königreiche'}) SET n.price = 20;
MATCH (n:Bücher) RETURN label(n);


Support IAsyncEnumerable for Amazon.DynamoDBv2.DataModel.AsyncSearch

Support IAsyncEnumerable for Amazon.DynamoDBv2.DataModel.AsyncSearch.
Description
Implement IAsyncEnumerable for AsyncSearch in netcoreapp3.1.
I created pull request #1482. However, this request was rejected due to breaking changes. Now SDK support netcoreapp3.1 target. This request does not add a new target and a new dependency package.
#1468
Types of changes

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

Checklist

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

License

[x] I confirm that this pull request can be released under the Apache 2 license

I agree now that we have .NET Core 3.1 support in the SDK we can add this.
Can you try and add a test in DataModelTests.cs. I know this test project is challenging to work with given the size of the solution. Let me know if it doesn't work for you.

I agree now that we have .NET Core 3.1 support in the SDK we can add this.
Can you try and add a test in DataModelTests.cs. I know this test project is challenging to work with given the size of the solution. Let me know if it doesn't work for you.

Hello normj. Thank you for your review.
I created a test. But sorry, I don't know how to run this test. Could you give me the documentation to run this?. Thank you.

AWS .NET SDK starts support with IAsyncEnumerable (Paginators API). This pull request was not use paginator, so I close this issue.
I'm looking foward to IDynamoDBContext (object persistence model) supporting paginator.


Column order is wrong in csv export

System information:

Operating system (distribution) and version : Ubuntu 18.10
DBeaver version : 6.2.3 from dbeaver repo deb https://dbeaver.io/debs/dbeaver-ce /
Additional extensions : none

Connection specification:

Database name and version : MariaDB 10.4.7 from official repo
Driver name : MariaDB 2.5.0 (org.mariadb.jdbc:mariadb-java-client)
Do you use tunnels or proxies (SSH, SOCKS, etc)? : I use a SSH tunnel opened by hand with ssh isolated-server -L 3306:db-server:3306

Describe the problem you're observing:
When I export data in CSV, the order of the colums are wrong. It does it only for a specific query, the first columns are ordered alphabetically, but not all
Steps to reproduce, if exist:
Run this query :
select  p.id,
        p.nom,
        p.prenom,
        p_col.nom as nom_collaborateur,
        p_col.prenom as prenom_collaborateur,
        v.id as id_vente,
        v.contrat,
        v.ouverture,
        v.cloture,
        pr.libelle as prestation
from    v inner join
        p on p.id = v.titulaire inner join
        col on col.id = v.collaborateur inner join
        p_col on p_col.id = col.personne inner join
        pr on v.prestation = pr.id
where   exists (select  1
                from    sl
                where   sl.vente = v.id and
                        date_add(import, interval 20 day) < NOW()) and
        v.group = 76

Result CSV :
"id";"id_vente";"nom";"nom_collaborateur";"prenom";"prenom_collaborateur";"contrat";"ouverture";"cloture";"prestation"
Expected CSV
"id";"nom";"prenom";"nom_collaborateur";"prenom_collaborateur";"id_vente";"contrat";"ouverture";"cloture";"prestation"
Include any warning/errors/backtraces from the logs
N/A

I can't reproduce this..

The problem was in duplicated column names (id).
Fixed.

Verified


Include 'import' code block for Popovers, per convention.

Adds <Popover/> import code to component documentation.

Sorry, but the build is green for the master branch. It fail because of your change.
Could you squash down the commit once it's fixed ?
Thanks, I will merge then.

@digitalextremist We are almost there. Now it's Paper that is undefined ^^.

You know what. I will try to start working, this week, on improving the documentation with a standarized component.
My future PR will solve this.

@oliviertassinari awesome. Added missing Paper import. I am very impressed with this framework and hoping to help more in the future. Thanks for your improvements/work.

docs/src/app/components/pages/components/popover.jsx
  91:12  error  'CodeBlock' is not defined  react/jsx-no-undef

@digitalextremist We are glad to hear it.
I would suggest you to install the project locally, this would be more efficient.
Then, you can use npm run lint to run the linting task.

I will. I've not done much contribution in the world of JavaScript, but am very active in Ruby even including maintaining very significant libraries -- there I do the equivalent, so I'll get my act together.

We don't have much maintainer. If you want to be involved in this project, you are welcomed!
Regarding the why we are working, noting is settled, I like they model http://eslint.org/docs/developer-guide/governance.

So is this library's growth determined by a business' needs, and you work for/with that company?
Thanks for the link.

Callemall is rewriting their frontend with it.
For my part, I'm still a student, but I'm using it for a side project (play.google.com/store/apps/details?id=com.split.app).
We would have to add a showcase section at some point (like https://facebook.github.io/react-native/showcase.html)

Oh wow. Right on. I personally am using it heavily, very heavily, in an Electron application. I usually avoid UI oriented work like the plague, but with this MUI library available, Electron has come to feel comfortable to write for. Thanks for the LinkedIn connection.

@digitalextremist Here is the PR to improve the way the doc https://github.com/callemall/material-ui/pull/2382.
This is a proof of concept for the AppBar component.
I plan to convert every component doc following the same patern. Hence, your PR is no longer relevent. If you want to help, that's welcomed.


Fixes #2422 develops_from axiom on blood vessel endothelial cell strict

Fixes #2422 develops_from axiom on blood vessel endothelial cell too strict
A possibility is to add 'embryonic blood vessel endothelial progenitor cell' SubclassOf'develops into' some 'blood endothelial cell', but not all embryonic blood vessel endothelial progenitor cells will develop either.

#gogoeditdiff


no implicit conversion of Fixnum into String (TypeError)

This is a example of my code:
require 'ruby-asterisk'

@ami = RubyAsterisk::AMI.new('192.XXX.X.XXX', 5038)
@ami.login('myusername', 'mypassword')

@ami.queue_add(1001, 'PJSIP/100', '')

When I executed it, got the following error:
/var/lib/gems/2.3.0/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk/request.rb:15:in `+': no implicit conversion of Fixnum into String (TypeError)
        from /var/lib/gems/2.3.0/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk/request.rb:15:in `block in commands'
        from /var/lib/gems/2.3.0/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk/request.rb:14:in `each'
        from /var/lib/gems/2.3.0/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk/request.rb:14:in `commands'
        from /var/lib/gems/2.3.0/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk.rb:139:in `execute'
        from /var/lib/gems/2.3.0/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk.rb:93:in `queue_add'
        from prueba_asterisk.rb:42:in `<main>'

My quick fix was modify the  line number 15 in ruby-asterisk/request.rb
commands<<key+": "+value+"\r\n" unless value.nil?
by
_commands<<"#{key.to_s}: #{value.to_s}\r\n" unless value.nil?
now the fiile looks like this:
module RubyAsterisk
  class Request
    attr_accessor :action, :action_id, :parameters, :response_data

    def initialize(action,parameters={})
      self.action = action
      self.action_id = self.generate_action_id
      self.parameters = parameters
      self.response_data = ""
    end

    def commands
      _commands=["Action: "+self.action+"\r\n","ActionID: "+self.action_id+"\r\n"]
      self.parameters.each do |key,value|
        #commands<<key+": "+value+"\r\n" unless value.nil?
        _commands<<"#{key.to_s}: #{value.to_s}\r\n" unless value.nil?
      end
      _commands[_commands.length-1]<<"\r\n"
      _commands
    end

Now the function is working fine

It looks great to me, please submit a pull request to include it in the codebase for everyone.
Thanks!


biolink:provided_by edge_labels are present in the SPARQL endpoint as  https://www.example.org/UNKNOWN/provided_by

Describe the bug
Per convo with @matentzn,
biolink:provided_by edge_labels are in the SPARQL endpoint
https://www.example.org/UNKNOWN/provided_by
To Reproduce
Do this query:
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix bl: <https://w3id.org/biolink/vocab/>
prefix ex: <https://www.example.org/UNKNOWN/>
SELECT ?protein ?p ?v WHERE
  {
  ?protein bl:category bl:Protein;
           ex:ncbi_taxid ?ncbitaxonid;
           ?p ?v .
   FILTER NOT EXISTS {
    ?v bl:category bl:Publication .
    ?v ex:provided_by ?scibitecord
    . FILTER(?scibitecord="SciBite-CORD-19")}
   FILTER(?ncbitaxonid="2697049")
  }

on this enpoint:
http://kg-hub-rdf.berkeleybop.io/blazegraph/#query
You'll see lots of these type of triples:
<http://identifiers.org/uniprot/A0A663DJA2> | ex:provided_by | "intact"^^<http://www.w3.org/2001/XMLSchema#string>
(where ex is https://www.example.org/UNKNOWN/)
Expected behavior
These triples should have this predicate:
https://w3id.org/biolink/vocab/provided_by
Version
Which version of KG-COVID-19 are you seeing the bug with? An md5 hash is most useful.
SPARQL endpoint of kg-covid-19 build from June 12, 2020

This is fixed on kg-covid-19 branch of KGX.

Thanks @deepakunni3! Fixed


[ENH] add hemi entity to schema

fixes #916
it had slipped through the cracks

a link to the entity appendix section in the spec text where hemi is mentioned.

Done.
But I realized that the other derivatives entities have no such links in the derivatives pages. Should we add them in another PR ?

want to open a follow-up issue in fMRIPrep

Should I do it?

But I realized that the other derivatives entities have no such links in the derivatives pages. Should we add them in another PR ?

I think that was just an oversight on my part. We should definitely link to the associated entity definition any time we reference an entity in the text.


Reorder formatting-text.md

This would also need to be reflected in https://github.com/mattermost/platform/blob/a820b1640bcea06d93fed790b891a853ea02e498/webapp/components/help/components/formatting.jsx

+1 on the updates to this repo

+1


[framework] Timestamp based on multi-chain block time

Provide timestamp based on multi-chain block time.
Refs

#417
#423
#424

@jolestar could u explain more about this issue?

How are timestamps based on Multichain?
What is the objective of such an approach?

Use L1's time as rooch time. The time verified by the light client.


Execution failed for task ':tesseract_ocr:bundleDebugAar'.

When trying to launch my app an android phone or android simulator it cannot compile.
I found this
https://stackoverflow.com/questions/67426655/execution-failed-for-task-tesseract-ocrbundledebugaar
and this:
https://stackoverflow.com/questions/60878599/error-building-android-library-direct-local-aar-file-dependencies-are-not-supp
It suggest multiple solutions, but I don't know how to apply these and I guess this flutter plugin needs some changes.
Build log:
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':tesseract_ocr:bundleDebugAar'.

Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :tesseract_ocr project caused this error: /Users/wolfgangsteuer/Documents/flutter-app/flutter/.pub-cache/git/tesseract_ocr-d7e9cd887eb54ee612c51ab678eaa375682b2ab4/android/libs/tesseract4android-release.aar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 11s

I'm using the version from this pull request:
https://github.com/arrrrny/tesseract_ocr/pull/35
Maybe it's because of this commit:
https://github.com/hasankarli/tesseract_ocr/commit/d7e9cd887eb54ee612c51ab678eaa375682b2ab4

How to fix Error: Unsupported operation: _Namespace


Invisible ReCaptcha Additional Challenge Overlay positioning

In our current project, we are having forms within an overlay (I know, not good UX, but in that case it needs to be done like this..) which are also protected by invisible ReCaptcha. We are using the inline property to have the batch positioned at the bottom of our form.
So far so good. Now when ReCaptcha thinks, it needs the additional challenge, it shows that in an overlay, which is on top of our form overlay. Apart from the even worse UX, the overlay position is wrong:

The problem is, that the markup of the challenge get's appended to the body and therefore the positioning of the challenge overlay is depending on the body and it's scroll position and not depending on our form overlay.
I havent found any possibility to specify a node, where the challenge markup should be applied..Any idea?

Pretty much the same problem here. I have my form within a off-canvas element which repositions the body by position. In my case I can't see the challenge at all due to the repositioning of my body element and the way the challenge is added to the DOM of my web-app.

I was facing the same problem and was causing a serious issue in the submission of the form. So for a quick fix, I had to use JS to change the CSS to position fixed of the div surrounding the iframe and had to listen to events like a button click or something else to start the script.
(using jQuery)
   setInterval(function () {             let $reCaptchaIframe = $('iframe[title="recaptcha challenge"]');             if ($reCaptchaIframe) {                 let $reCaptchaOverlay = $reCaptchaIframe.parent();                 $reCaptchaOverlay.css('position', 'fixed');             }         }, 1000);
(This script will continuously work every second. So reformat it according to the needs)

I was facing the same problem and was causing a serious issue in the submission of the form. So for a quick fix, I had to use JS to change the CSS to position fixed of the div surrounding the iframe and had to listen to events like a button click or something else to start the script.
(using jQuery)
     setInterval(function () {
         let $reCaptchaIframe = $('iframe[title="recaptcha challenge"]');
         if ($reCaptchaIframe) {
             let $reCaptchaOverlay = $reCaptchaIframe.parent();
             $reCaptchaOverlay.css('position', 'fixed');
         }
     }, 1000);

(This script will continuously work every second.

I was facing the same problem and was causing a serious issue in the submission of the form. So for a quick fix, I had to use JS to change the CSS to position fixed of the div surrounding the iframe and had to listen to events like a button click or something else to start the script.
(using jQuery)
     setInterval(function () {
         let $reCaptchaIframe = $('iframe[title="recaptcha challenge"]');
         if ($reCaptchaIframe) {
             let $reCaptchaOverlay = $reCaptchaIframe.parent();
             $reCaptchaOverlay.css('position', 'fixed');
         }
     }, 1000);

(This script will continuously work every second. So reformat it according to the needs)

thank you really helped me.

Any update on this? We have the same issue, the div is appended to the body and the absolute positioning sets it to the bottom of the page, out of the viewport.

I run into this issue today. Can Google somehow introduce some options: when initialize, add some class name to the overlay panel ?
With that the positioning would be possible.
Right now I'm just hacking around, for my page, the overlay panel is the second-to-last div child of body. It's ugly, but I haven't found something better.

Closing old issues that are not related to the PHP client code.

This is still a problem !


New Command R 08-2024 and Command R+ 08-2024 models

Any chance of testing the new versions of these?
They still claim 128k context and the smaller Command R 08-2024 now use GQA unlike the old version.

Results are updated :)


Manifest improvements

Manifest cache is currently saved in wallet.db
It should instead have its own file. - Consider using a different setup, instead of a database. Potentially, a manifest cache folder, where each manifest is a file.
Exported from RIPD-1280

What's the benefit of moving it to its own file?
Closing this issue due to inactivity.


too many events from single button.up event

On a single button press in simulator, I get about 9 button.up events, spread over time, which causes the VM to be invoked three times (it used to be invoked just once per button press).

No repro here. See in the inspect block, the number of events is correct.

i need a repro @tballmsft

Yeah, I think it's my problem...


(Number of Replies) value should be called dynamically

Currently, the number of replies get its value from the database table. Rather, it would be better if we could just query the number of replies.

Where are we displaying the number of replies?

In the post meta, beside the username.

@jeremyphilemon umm I don't get this...
You want the replies to update when someone else replies in the same thread?

No no. We're already doing the updation but through a query call of a field that stores the number of replies explicitly. What I'm asking is to get the number of replies dynamically like how we're fetching the user karma--by not storing the data in a field.


Docs?

Hi, thanks for this repo.
Would appreciate some docs.
It's my first time creating an Alfred Workflow, got here through Alfy, but I didn't get how to create the actual workflow and connect it to the generated code?

Generator-alfred is a generator for yeoman. Sooo you need yeoman and generator-alfred
Then you run yo alfred


bola buff

About the PR
No one uses bolas so let's make them more available, maybe then people will give it a shot.
Price changed from 6 metal and a Cablecuff to 6 metal and 5 LV wires. Now an electric toolbox has enough cables for 2 bolas instead of 0.66
They also break on the 5th miss instead of the 3rd
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: Errant

tweak: Bolas are now easier to make and more durable.

Bolas are incredibly powerful, I don't know how much more common you want to make them. Yet again I don't think reducing 20 Lvs really changes too much overall.


Create .travis.yml

Fixes #20. https://travis-ci.org/nitroshare/nitroshare-android

Wow, that was marvelously simple. Thanks!

It appears that making it actually pass is not so simple - https://travis-ci.org/nitroshare/nitroshare-android#L339

It seems like this is caused by this line here: https://github.com/nitroshare/nitroshare-android/blob/master/build.gradle#L8
But I'm not sure if I want to lower the version or not. I'll have to look into the implications.

Well, at least now we have a different error... :laughing:
According to the Travis-CI docs:

"By default, Travis CI will accept all the requested licenses..."

This appears to be incorrect.

Hrm... that didn't work either.

@nathan-osman https://github.com/travis-ci/travis-ci/issues/7110

The appropriate fix to this issue is you need to set Build-Tools with same version number both in .travis.yml and build.gradle

...aaaaand that didn't work either.

NDK is missing a "platforms" directory.

Maybe that's the reason? https://issuetracker.google.com/issues/37127636 Does Nitroshare use NDK?

No, it does not use the NDK. The entire app is written in Java.

From the issue above:

1 - Tools 2.3 try to "configure" NDK related stuff -- even if the project does not use the NDK. Prior to 2.3, this did not happen (or was done "lazily", "on demand").

But it seems to me that the workaround also requires setting build-tools version in https://github.com/nitroshare/nitroshare-android/blob/master/build.gradle


Edit and delete notes.

There is a few features I think that could be a good addition to the program.
BOOKS

Delete able books.

NOTES

A identification system for notes
Editable notes.
Delete able notes.

I think this would create an easier and better user experience for programmers.
The way I think we should implement this is by having an identification system for notes (as suggested by Michiel) and use that to edit or delete notes, since books already have their own UID, it would ( I think ) be similar to deleting a note with slight modification.
p.s : I rewrote the issue.

@sungwoncho This might be useful - editing a note for typos and such could come in handy. Deleting is a different matter. Of course, maybe a naming system would be required, as I'd prefer for users not to have to deal with the UID directly, as I believe this to be an implementation detail. What do you think?

Yes, UIDs are hard to remember, so I am open to the idea of adding names to notes. But I think a name should be optional so we can make notes quickly.
Here is what I am thinking:
dnote new 'curl -s makes curl silent' # create note without title (auto-generate title)
dnote new -t 'Silent Curl' 'curl -s makes curl silent' # create note with title
dnote edit 'Silent Curl' (or UID) '-s flag suppresses curl output'
dnote delete 'Silent Curl' (or UID)

A slight complication: do we allow duplicate names for notes? if there are duplicates, we might have to ask user for clarification on delete or edit. While it's too soon to worry about such case, I would like to get others feedback on this.

@sungwoncho  I submitted a pull request an hour or 2 ago, currently it forces the user to use names but I like your idea, I will see what I can do in the next few days. Currently, I am trying to implement a support for the new kind of file.

@sungwoncho About the complication stuff, I am thinking to append a number at the end of the note name so that every note would have unique names but of course the same name can be used across different books, just like how Microsoft implements their folder name system.

@sungwoncho  I have updated the code.

I have been reviewing PR from @YiiKuoChong and thinking about how I would use this new feature. Here are my thoughts:

Dnote was designed to quickly write down what we learn with minimal context switching while coding. I don't see myself or users assigning names to our notes.
Assigning names is unnecessarily complex. We need to

Ensure uniqueness

the current PR does not address this (having a predetermined format https://github.com/dnote-io/cli/pull/18/files#diff-cd575165f84eed10d10eb1460b0927b4R97 is not sufficient)
To ensure uniqueness we have to iterate over the whole notes in a book. Not efficient

Allow editing of names (the current PR does not address this.)

Instead of names, I propose that we use index of the note to refer to notes when editing/deleting.
dnote edit [book name] [index] "[content]"
dnote edit js 1 "blah blah"

We can obtain the index using dnote notes
$ dnote notes
In book JS:

[0] - Blah blah
[1] - Blah blah
[2] - Blah blah
[3] - Blah blah

By the way, I also open sourced the web client. In the long run, the web client will help devs easily consume bite-sized lessons from other developers around the world (much like twitter but for devs). To keep things minimal and stick to 'microlessons,' I don't see having a title for a note fitting with this long term plan.
Any thoughts @YiiKuoChong @michielboekhoff

I see your point, @sungwoncho. Maybe using indexes is a better way.
Thanks for open sourcing the web client. I've just had a quick look, and it looks good! I work with React at my place of employment and I'll have a better look tomorrow. I hope that soon, the server might become OSS too.
If necessary, @YiiKuoChong, I'll walk you through making the necessary changes to this PR.

@michielboekhoff Thanks for the feedback. The API and job server are already open sourced btw: https://github.com/dnote-io/api https://github.com/dnote-io/job

@sungwoncho My idea here is :

Add a Index variable in the JSON file.
Add a function which list the notes in the book.

e.g

Commandline
dnote notes ( List all the notes in current book. )
dnote notes -b "book_name" ( List all the notes in the specified book. )

Output
[ Index ] [ Note Name ]                        [ Content ]
1        book_note_001                      Note content 1.
2        book_note_002                      Note content 2.
3        book_note_003                      Note content 3.
4        book_note_004                      Note content 4.
5        book_note_005                      Note content 5.

The reason I proposed to keep the note name is that it would add another way for developers to find notes that they wants instead of reading the only the notes. It would be helpful if developers have a large note.

Add a function to make sure index is unique and does not repeat.

If it does repeat, we take appropriate action to correct it. There would be multiple reason why note index would repeat, first is that the user themselves edited .dnote file. Another is there is a previous bug in the program (I will try my best to avoid this from happening by reviewing the code a few time before pushing them to GitHub ) .
@sungwoncho @michielboekhoff Do you think we should make sure that the index is the same as the amount of notes in a book? If so, we should :

Add a function to rearrange the index.

What do you guys think?
I will start coding the solutions once we agree on what to do.

@sungwoncho utils.go is importing itself. Can you please fix it? I am not sure how to test the program with my own code while retaining GitHub link as the import.

I decided to remove the note name completely.

I think the following features are not needed:

Add a function to make sure index is unique and does not repeat.
Add a function to rearrange the index.

The reason is that we can simply use indices from Go slice.

Import was fixed by https://github.com/dnote-io/cli/pull/23.

What is the JOB server for?

Job server is a program that sends out email digest every Fridays.

if the code is not on the main branch, the program will not work

You should be able to compile and run the program even if you branch off. Let me know if you need help with that.
Merged https://github.com/dnote-io/cli/pull/26 and closing this.


Add generated_by attribute to page.file

This PR adds an attribute to generated files.
Currently, mkdocs-gen-files and mkdocs-git-revision-date-localized-plugin are incompatible.
Using this new attribute, this PR can add support: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/102
More details in https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/101

Can you give me a pointer on how to solve the style error?
mkdocs_gen_files/editor.py:48: error: "File" has no attribute "generated_by"  [attr-defined]

Fixed it.. after a bit of search I released it was a mypy error (I'm not familiar with hatch), # type: ignore fixed it.

This time it was black. I needed to upgrade also.
p.s. A small section on 'contributing' and how to run the hatch commands would be a nice addition :)

I'm interested in this as well (would like to to use mkdocs-git-revision-date-localized-plugin :wink:). Let me know if I can be of any help!

And released. Sorry for the huge delay.

Sorry for necroposting, but could we add generated_by to MkDocs' File class? That would allow for better plugin inter-op. Currently, it's added as an anonymous attribute and you can't be sure that it's there. One improvement might be to add the plugin instance to generated_by, so other plugins might even be able to access public state in plugins.


[FEAT]: Gamify flashcards

Is your feature request related to a problem? Please describe.
Let's be honest, flashcards get tedious
Describe the solution you'd like
I'd like to "gamify" the flashcard experience. I'm sure there are better ideas, so these are just a few to give start thinking about it

First, add to the 3 options (hard, good, easy) the option "wrong".
Streak tracking- have a visual way to display how many days in a row flashcards were reviewed. (tweak: set a variable minimum of reviewed flashcards to qualify + the ability to freeze the streak-tracking for up to 2 days)
Daily challenge: start with 3 hearts, and get another for every X flashcards that are correct. Lose a heart every time a flashcard is marked as incorrect.  When hearts run out display a message saying it's time for a break. Display how many corrects were done consecutively with a colorful bar.
Play against a timer: a 5/15/30 minute time (animated, pulsing in the last 10% of time) to try and go thru flashcards. Have a "personal best" record tracking for as many as possible
Encouraging graphics and sounds - whatever works

I'm sure there are better ideas, but the best idea is the one that's easiest to implement and start with. Anything, really, to make the experience a little bit less monotonous, perhaps even something to look forward to and be engaged in
Additional context
No response

this would be really cool to see but i'd like it to be separated by a toggle for the current legacy version and this version of the plugin


XML in received messages

Hi all!
I was working with the Framework but when I sent my bot to a Group Conversation I stumbled upon a few issues.
The problem is that within the skype conversation, I get xml in the session.message.text variable, which is working fine if we have one-to-one conversations.
This happens after mentioning the bot like described in the other issue.
Here is the output of the session.message variable.
{ text: '<at id="28:xxxx-16b6-4540-a6aa-56923ed0fb58">XBOT</at> asd',
  type: 'message',
  timestamp: '2017-03-27T22:14:49.735Z',
  entities:
   [ { mentioned: [Object],
       text: '<at id="28:xxxx-16b6-4540-a6aa-56923ed0fb58">XBOT</at>',
       type: 'mention' },
     { locale: 'en-US', platform: 'Web', type: 'clientInfo' } ],
  attachments: [],
  address:
   { id: '95559454',
     channelId: 'skype',
     user:
      { id: '29:xxx-XJWQwWw24XpE-IF6pLZWzvl9kLV6sM5iOMJE',
        name: 'XY' },
     conversation:
      { isGroup: true,
        id<EMAIL_ADDRESS>},
     bot: { id: '28:xxxx-16b6-4540-a6aa-56923ed0fb58', name: 'XBOT' },
     serviceUrl: 'https://smba.trafficmanager.net/apis/',
     useAuth: true },
  source: 'skype',
  agent: 'botbuilder',
  user:
   { id: '29:xxxx-XJWQwWw24XpE-IF6XLZWzvl9kLV6sM5iOMJE',
     name: 'XY' } }

For the client side (myself) I am using a skype for linux beta version.
SDK: Node
The botbuilder package version<EMAIL_ADDRESS>If any additional details needed I can provide them. (Scrubbed some id's from the dump, so those are not valid.)
Related to #104
Although, it could be related to the Botframework itself, but since it is causing issues here too (like described in the 104 issue), it is fine to have it here also.

This sounds like a bug in Skype. You will get better results reporting this over at https://github.com/Microsoft/BotBuilder/issues. This page is only for issues relating to the BotFramework Emulator.

That's what I thought, thanks for the response.


230 add deprecation for 63

Q
A

Branch
master

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
yes

Tests pass?
yes

Fixed issues
chameleon-system/chameleon-system#230

License
MIT

Ah sorry, there are conflicts again as the PR waited a bit long. Could you resolve again?

Thanks @UlrichKu


Depends on json ~> 1.5.1

This is really old. Is there a good reason to pin the dependency to 1.5.x? 1.6.3 is current.

Fixed in v2.1.0. Sorry for the delay.


updating changelog and prepping metadata for release as 1.0

Worth noting either under install_method or Breaking that the default behaviour's changed on some OSes to install the package rather than from source.

Hey @domcleal, sorry I've let this sit for so long! I just updated CHANGELOG but I also decided to change the default install_method for RedHat back to vcs. I just think that setting install_method to package for all of RedHat is overly broad when the letsencrypt package is not available in core RedHat repositories yet. I'm torn between leaving the default as vcs or changing the default for manage_epel to true to accommodate. I think the least intrusive means is to just leave the default of vcs. Thoughts?

Yeah, I understand your reasoning and desire to keep it working out of the box, I can't argue with that.
Being a chronic software packager I dislike the vcs installation, so I'd prefer to force the user to choose between using a VCS installation or configuring EPEL (by setting manage_epel or using another module) when installing the module.
I can't help but think the majority of users would prefer to enable EPEL over using a VCS installation, so setting manage_epel to true by default sounds reasonable.

Yeah I'm not particularly a fan of the vcs method, it was mostly a stopgap until packaging became prevalent. Now that you mention it, I think you're right that the majority would prefer to configure EPEL over the VCS install...
Setting manage_epel to true means we should make epel a hard dependency in metadata.json...

Setting manage_epel to true means we should make epel a hard dependency in metadata.json...

Yes, quite probably - if it's true by default then it should probably always be installed.

OK! Just pushed those changes!

I think that's OK, thanks @danzilio.  :+1:

Ok! I'll let the build finish and then push the release! This is a big change so I'm also going to send an email out to the puppet-users mailing list announcing the release.


Fix usage of cobalt after Angel mods pushed it to "crystal" tier.

Fix usage of cobalt after Angel mods pushed it to "crystal" tier.

replace it with aluminium, zinc, or steel bearing in recipes that are at "chunk" tier

Is needed because otherwise at some point is impossible to progress (at "intermediate structure components" and "leaching plant") - more info: https://mods.factorio.com/mod/MomosTweak/discussion/6114f8c44232fcfb072e08b7

@Archemide bump :)

Sorry, I've been crazy busy with RL stuff lately. I've added you to both the mod portal and repo if you're interested.

Sorry, I've been crazy busy with RL stuff lately. I've added you to both the mod portal and repo if you're interested.

Ok, thanks :+1:  I will try to push new version in next days.


feature request: Allow for the Calico Typha PDB to be configured with new fields

Expected Behavior

Currently the calico-typha PDB is controlled by the Installation custom resource from Tigera Operator. I would like an option to be able to configure it so that it can use unhealthyPodEvictionPolicy.
Current Behavior

It does not seem possible to add new fields to the calico-typha PDB.
Possible Solution

Steps to Reproduce (for bugs)

Context

I want to try out unhealthyPodEvictionPolicy as it's a new feature but currently it doesn't seem possible with the calico-typha PDB.
Your Environment

Calico version: v3.28.1
Orchestrator version (e.g. kubernetes, mesos, rkt): Kubernetes 1.30
Operating System and version: Linux
Link to your project (optional):

@peterabarr have you tried creating a second PDB that selects Typha? I haven't tried it myself, but the API seems to suggest that you can have multiple PDBs selecting the same pods.

While using multiple PDBs is a viable option, it adds complexity and potential performance overhead

@peterabarr could you expand on the performance overhead point? Where would this induce a performance loss?

This would simplify our setup and reduce the need for extra configuration.

I'm not entirely sure I buy this point - it would just move the configuration from one resource to another (from a PodDisruptionBudget to the opeator.tigera.io/Installation API) - unless I'm missing some nuance?
To be clear, I am not necessarily against exposing this - but I'd like to be able to fully understand why existing APIs aren't suitable first.


service support  95line and 99line response time

Please answer these questions before submitting your issue.
Requirement or improvement

service support  95line and 99line response time for better  interface pressure test

Do you mean p99 or p95? If so, we could discuss this in 6 series. Join us meetup, we can discuss features in long term.

yes. thank you for your attention :-)

Provided in v6. Will be there when release happens.


Flawed type comparison in eq()?

Perhaps this is a feature, but I was surprised to see that the type comparison part of the __eq__() methods for geometries uses isinstance. Example from BaseGeometry:
    def __eq__(self, other):
        return (
            isinstance(other, self.__class__) and
...

This will evaluate to True if other is an instance of self.__class__ or any derived class (https://docs.python.org/3/library/functions.html?highlight=isinstance#isinstance). Wouldn't it be more correct and to the point to simply compare the types directly?
    def __eq__(self, other):
        return (
            type(other) ==  type(self) and
...

@danielwe Just curious, is there an example you're thinking of where the current implementation gives a surprising or incorrect result for __eq__?

@jwass
In [1]: from shapely import geometry

In [2]: coords = ((0, 0), (1, 0), (1, 1), (0, 0))

In [3]: ls = geometry.LineString(coords)

In [4]: lr = geometry.LinearRing(coords)

In [5]: ls.__eq__(lr)
Out[5]: True

In [6]: lr.__eq__(ls)
Out[6]: False

In [7]: ls == lr
Out[7]: False

In [8]: lr == ls
Out[8]: False

As shown, __eq__ considers a LineString equal to a LinearRing with the same coordinates, but the relation is not symmetric. However, == comparison does not behave like this. This is explained by the following easy-to-miss line in the python 3 documentation (https://docs.python.org/3/reference/datamodel.html?highlight=eq#object.eq):

If the operands are of different types, and right operand’s type is a direct or indirect subclass of the left operand’s type, the reflected method of the right operand has priority, otherwise the left operand’s method has priority.

That is, both ls == lr and lr == ls translate to lr.__eq__(ls), since lr.__class__ is a subclass of ls.__class__. As far as I can see, this behavior is not documented in python 2, but in my tests it seems to hold true for new-style objects (for old-style objects, a == b is always equivalent to a.__eq__(b)).
Thus, no one will run into problems with this as long as they use ==. However, invoking __eq__ directly can give funny results.

Very interesting @danielwe. I had wondered why in my tests I could trigger the issue with __eq__ but not with ==. That quote from the documentation explains things.

Could someone remind me why we are manually comparing the coordinate sequence in Python-space, rather than using the object.equals method?

@snorfalorpagus one test is whether geometries are Python equivalent, the other is whether geometries parameterize the same (infinite) point sets.
>>> LineString([(0, 0), (2, 2)]) == LineString([(0, 0), (1, 1), (2, 2)])
False
>>> LineString([(0, 0), (2, 2)]).equals(LineString([(0, 0), (1, 1), (2, 2)]))
True

If we collapsed these into the same predicate, we'd lose some very fine detail.

@danielwe Agreed, this is pretty interesting. I didn't realize the extra work Python does just to execute x == y. Thanks!
In any case, PR #319 should include an explicit test ensuring the LineString / LinearRing == comparison is False with either argument order.


How to solve this problem

How to solve this problem？My mobile phone is Xiaomi(MIUI 12.0.5). android version 10.
In addition, can the development tool version improve compatibility
Thank you.

Hey @vcexnet. The lead Android dev here.
Thanks for reaching out!
Can you make sure to kill the app and then launch it again. Doing this may resolve your issue.
What did you mean by "improve the compatibility"?

Hey @vcexnet. The lead Android dev here.
Thanks for reaching out!
Can you make sure to kill the app and then launch it again. Doing this may resolve your issue.
What did you mean by "improve the compatibility"?

Still can't solve the problem, please watch the video.
Compatibility refers to considering the actual situation of mobile phones in China, because there is no Google play and corresponding framework
screen video:http://kf.pk48.com/63.mp4

Still can't solve the problem, please watch the video.
Compatibility refers to considering the actual situation of mobile phones in China, because there is no Google play and corresponding framework
screen video:http://kf.pk48.com/63.mp4

this is screen video
https://user-images.githubusercontent.com/36216930/104282230-afe3ff00-54e9-11eb-89c2-e0b11a7dc88b.mp4

this is screen video
https://user-images.githubusercontent.com/36216930/104282230-afe3ff00-54e9-11eb-89c2-e0b11a7dc88b.mp4

Just saw the video. It seems to me that you are not killing the app when you get the dialog. As I said, you have to KILL the app when you get that dialog.
Here is how to kill a app
https://www.lifewire.com/close-apps-on-android-4164116

Just saw the video. It seems to me that you are not killing the app when you get the dialog. As I said, you have to KILL the app when you get that dialog.
Here is how to kill a app
https://www.lifewire.com/close-apps-on-android-4164116

Killing apps is the same problem,In addition, I want to learn how to implement SPV in PHP or Java?please help me
https://user-images.githubusercontent.com/36216930/104441199-56093500-55ce-11eb-9545-251858e22bc0.mp4

Killing apps is the same problem,In addition, I want to learn how to implement SPV in PHP or Java?please help me
https://user-images.githubusercontent.com/36216930/104441199-56093500-55ce-11eb-9545-251858e22bc0.mp4


Add MsgUpdateParams to x/rollup module

Add a new message type (MsgUpdateParams) to update the x/rollup genesis params if the user has admin privileges.
We should look into either storing one or more admin addresses directly for the rollup keeper or potentially using the x/authz Cosmos SDK module to determine if an account has permission to update the genesis params.

Closed by https://github.com/polymerdao/monomer/pull/300


Lightweight interface implementation does not work for members with curried arguments

If a member of an interface has arguments that contain multiple partially arguments, lightweight interface definitions don't work e.g. Suave's Logger interface looks like this in the heavyweight mode: -
member __.Log(arg1: LogLevel) (arg2: unit -> LogLine): unit =
    failwith "Not implemented yet"

but the lightweight one looks like this: -
member __.Log(arg1 arg2) = failwith "Not implemented yet"

it should probably look like this instead
member __.Log arg1 arg2 = failwith "Not implemented yet"

Hi Isaac,
Do you have time to look at this? I think formatArgsUsage function should be adjusted a bit when hasTypeAnnotation is false https://github.com/fsprojects/VisualFSharpPowerTools/blob/4e976909bc71f28a4d96829c1fee34c8591ebebf/src/FSharpVSPowerTools.Core/InterfaceStubGenerator.fs#L138-L160

Yes - I'm intending to look at it this week coming, I was just extremely busy last week and wanted to put it down so it didn't get lost.

That's great. Thanks.

I think that this is the first time I've submitted a PR to any project that's worked first time :-)


Replace iCOUNT with Ultraplex

ultraplex is now installed on biowulf as a module ... did some testing.. it was able to demultiplex, quality trim and remove adapter (all in one step) for the 520+ milllion read fastq file (FlagRo1hr_S1_R1_001.fastq.gz from latest Sohyoung sample) in < 20 minutes with 56 core node. Chill, Samantha (NIH/NCI) [C] Check /data/RBL_NCI/Wolin/mESC_clip_4/manifests/ultraplex_testing/FlagRo1hr_ultraplex_output for details. the script run_ultraplex.sh has all the paramters I used.... we need to get this in the pipeline ASAP!!! These are huge savings.... No more Scatter + Gather.

Testing params:

used test_2 for all tests (1 multiplexed sample, 2 project samples)

Documentation:

iCount demultiplex: https://icount.readthedocs.io/en/latest/_modules/iCount/demultiplex.html
Ultraplex: https://github.com/ulelab/ultraplex

Reasoning:

Demultiplexing was taking a significant amount of time per sample. Seeking a comparable tool that would allow for an increase in speed.

Results:

Time: Ultraplex significantly reduced the run-time for this test set.

| iCOUNT | ULTRAPLEX
-- | -- | --
Time | 25.5 hours | 1.15 hours

- Barcodes: No significant difference was noted between methods, where the first image represents iCount and the second Ultraplex.

completed with commit a52329efa19941ddac61daf1080634ca1741d610


Move assertElementOnPage from STDcheck to FlexibleMink

Various methods were added to STDcheck's WebContext instead of adding them to FlexibleMink. This is the first of many PRs that will move these methods so that all projects using FlexibleMink can utilize them.

Testing file changes were not found.
Paging @aserv92 to review the back-end work in this pull request!
Paging @jose-ochoa to review the testing work in this pull request!

!reassign back-end

Paging @RedEnchilada to review the back-end work in this pull request!


country code clash for the Russia and Kazakhstan

Hi,
Recently I'm trying the validation with the usePhoneValidation hook and got to know that it's returning false for Russia. After the initial investigation, I found an interesting thing both Russia and Kazakhstan share the same code as '7', with that the validation is failing and the country is not updating. I tried in your storybook also and found the same.  I also checked the country's data and found both are the same.

Below is the reason for it, which was found in Google.

Can you please update that change?

Any update ?

It turns out that this is not so easy to fix.
I already found a workaround for this, I think I will be able to release a fix before the end of the week.

@goveo, find another issue with false isValid with USA number like +1 (424) ...-....

The issue was fixed in v2.2.0
The validation logic was slightly changed. Check the updated Phone Validation doc, and Migration doc if you want to keep validation strict as it was before this fix.


Slow API performance and frequent 502 errors

This started happening once we deployed the latest master.

Needed to run yarn prisma generate.


MRG: Add bias

Adds bias measure to d' calculations.
Ready for review/merge from my end.

LGTM

Worth noting (here, but not in the code since you specify the exact calculation) that "bias" has a few different meanings. Sometimes it's as we say here (my preference), sometimes it's a ratio (can't remember exactly of what to what) where 1 means unbiased, and sometimes it's the log of that ratio. It can also be reported in the stimulus units, whereas here it is normalized. So care should be taken when writing about it, and reading about it.

@rkmaddox I can add a note along the lines that there are multiple defs, that's useful for people to think about
@drammock do you have time to look in the next week or so?


System.PipelineStartTime

Why is the predefined variable System.PipelineStartTime not mentioned on this page? Are we supposed to not use that variable or what? It is mentioned briefly on the page about expressions:

pipeline.startTime is not available outside of expressions. pipeline.startTime formats system.pipelineStartTime into a date and time object so that it is available to work with expressions.

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

ID: 11d3469c-83c2-c2f6-41d0-08f82c330bbc
Version Independent ID: a373c48d-6395-3002-d2d8-bbc1fea2e48e
Content: Predefined variables - Azure Pipelines
Content Source: docs/pipelines/build/variables.md
Product: devops
Technology: devops-cicd-build
GitHub Login: @juliakm
Microsoft Alias: jukullam

@wintheriscomming -- thank you for your questions and research.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@juliakm -- please look into this potential documentation issue.


Add support for multi-node checkpointing with fsspec

[X] Tests pass - deployed workload on a 2 node GKE cluster that finished successfully
[ ] Appropriate changes to documentation are included in the PR - follow up PR will include updates to the README file (with instructions on how to run this code on a multi-node cluster)

changes to demo/lightning/checkpoint/multinode/train.py are formatting related only


Is there any difference between the CSI data collected on ESP32 and intel-5300?

If I want to control the received CSI length,what I should limit the Wi-Fi communication method of the packet sending device. Could you give me some advice?

Screen from all datas,for me.

How to screen？Are you using algorithms or visualizations？Could you give me some advice?


Allow adding own WartTraversers to classpath

I would like to be able to define my own wart traversers elsewhere and arrange the appropriate classpath for this plugin to be forward into wartremover
http://www.wartremover.org/doc/install-setup.html
This can be done e.g. via '-P:wartremover:cp:path'

It should be as easy as defining excluded files so feel free to prepare a new PR. Thanks!


Error: Cannot read properties of undefined (reading 'getRootLen')

VSCODE :
版本: 1.66.2 (user setup)
提交: dfd34e8260c270da74b5c2d86d61aee4b6d56977
日期: 2022-04-11T07:46:01.075Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
mod explorer version:
v0.1.8
go version:
v1.17.9
issue:
nothing displayed in explorer windows.
click hot-key:  ctl+shift+',   show a error message:  Cannot read properties of undefined (reading 'getRootLen')

Thanks, but whether we have a detailed reproduction?
it works on this envs, Is there cause by difference way of installation?
env:
Version: 1.66.2 (system setup)
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:46:01.075Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22581

I installed this extention from vscode's ui panel.
I try to delete this extention from .vscode folder, then reinstall it.
Nothing better hanpped.
I guess it may be related to the mod file format of golang 1.17.
The mod file of 1.17 records direct dependency and indirect dependency separately.
@.***
From: r3inbowari
Date: 2022-04-20 13:13
To: r3inbowari/go-mod-explorer
CC: Po Bear; Author
Subject: Re: [r3inbowari/go-mod-explorer] Error: Cannot read properties of undefined (reading 'getRootLen') (Issue #14)
Thanks, but whether we have a detailed reproduction?
it works on this envs, Is there cause by difference way of installation?
env:
Version: 1.66.2 (system setup)
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:46:01.075Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22581
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Confusingly, I use 1.17 go fotmat(separate mode), but it still works.

[2022-04-21 08:53:58.862] [exthost] [error] TypeError: Cannot read properties of undefined (reading 'getRootLen')
at c:\Users\pobear.vscode\extensions\r3inbowari.gomodexplorer-0.1.8\dist\extension.js:1:4511
at m._executeContributedCommand (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:85:30760)
at m.$executeContributedCommand (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:85:31302)
at i._doInvokeHandler (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:13826)
at i._invokeHandler (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:13510)
at i._receiveRequest (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:12171)
at i._receiveOneMessage (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:10841)
at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:8947
at u.invoke (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:145)
at v.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:1856)
at d.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:19034)
at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:104:34275
at u.invoke (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:145)
at v.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:1856)
at d.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:19034)
at o._receiveMessage (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:23615)
at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:21149
at u.invoke (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:145)
at v.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:1856)
at v.acceptChunk (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:15865)
at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:14995
at Socket.P (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:104:13797)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:199:23) gomod.focus {"value":"r3inbowari.gomodexplorer","_lower":"r3inbowari.gomodexplorer"}
I got this logs, could be help?
@.***
From: r3inbowari
Date: 2022-04-20 15:07
To: r3inbowari/go-mod-explorer
CC: Po Bear; Author
Subject: Re: [r3inbowari/go-mod-explorer] Error: Cannot read properties of undefined (reading 'getRootLen') (Issue #14)
Confusingly, I use 1.17 go fotmat(separate mode), but it still works.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

[2022-04-21 08:53:58.862] [exthost] [error] TypeError: Cannot read properties of undefined (reading 'getRootLen') at c:\Users\pobear.vscode\extensions\r3inbowari.gomodexplorer-0.1.8\dist\extension.js:1:4511 at m._executeContributedCommand (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:85:30760) at m.$executeContributedCommand (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:85:31302) at i._doInvokeHandler (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:13826) at i._invokeHandler (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:13510) at i._receiveRequest (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:12171) at i._receiveOneMessage (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:10841) at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:89:8947 at u.invoke (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:145) at v.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:1856) at d.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:19034) at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:104:34275 at u.invoke (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:145) at v.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:1856) at d.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:19034) at o._receiveMessage (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:23615) at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:21149 at u.invoke (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:145) at v.fire (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:58:1856) at v.acceptChunk (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:15865) at c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:66:14995 at Socket.P (c:\Users\pobear\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:104:13797) at Socket.emit (node:events:390:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Socket.Readable.push (node:internal/streams/readable:228:10) at Pipe.onStreamRead (node:internal/stream_base_commons:199:23) gomod.focus {"value":"r3inbowari.gomodexplorer","_lower":"r3inbowari.gomodexplorer"} I got this logs, could be help? @.*** From: r3inbowari Date: 2022-04-20 15:07 To: r3inbowari/go-mod-explorer CC: Po Bear; Author Subject: Re: [r3inbowari/go-mod-explorer] Error: Cannot read properties of undefined (reading 'getRootLen') (Issue #14) Confusingly, I use 1.17 go fotmat(separate mode), but it still works. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Thank you, These are useful!
But another question is why nothing displayed in explorer windows. Could you check whether go exists in your system environments?

When there is nothing in the explorer, the shortcut key will not work, because focusing requires at least one item in the explorer.

Explorer will be empty if the go command line cannot be run globally.


Why i ran example code in my pc it gives error like 'float' object cannot be interpreted as an integer

I tried running all the crf examples given in docs all gave me this same error.

Hi,
which version are you using? (of Python and of pystruct)
I would guess you have python3 and pystruct 0.2.x
WIth python3, please get the source from github and do a python setup.py install.

i tried that but it give the same error.
17 latent_svm.fit(X_train, y_train)
Error is in line  82 w = np.zeros(self.model.size_joint_feature)
TypeError: 'numpy.float64' object cannot be interpreted as an integer