Scraping HTTP keep-alive

Why is scraping use 'Connection: close' header?
Would it be ok to add config flag for this option (default: keep-alive disabled)?

Actually I changed that for the dev-2.0 branch. I'd like to try making it a default there and only allow disabling once a use case appears. The number of required file descriptors will go up, but is still bounded.
Especially when scraping with TLS this saves unnecessary round trips.

An easy solution could be to make it depend on the scrape interval. With a 1m scrape interval, keep-alive is pretty wasteful. With a 1s scrape interval, the opposite is true.

I don't think that's generally applicable. First of all – what is wasteful in that context? Open FDs are not exactly expensive. Certainly not in the cardinality we are thinking of. So I'm not sure it's worth distinguishing to begin with, given that it additionally will catch people off guard if they reduce their scrape interval and suddenly have to adjust their ulimit.
In general, it's a question of of connects/second. And 10 targets at 1s have fewer of those than 10k targets at 1m scrape interval. On top, the total impact of a connect is amortized over number of series per scrape, which is also not known.
So several variables playing into it and from my benchmarks  keep-alive in general has notable positive impact on the CPU load added by the ingestion path.

I thought we had keep-alive already, it must have regressed at some point.

I don't see how scrape timeout affects keep-alive?
The problem is connection closing initiated by DisableKeepAlives: true. Adding a option for enabling/disabling keep-alive is a reasonable solution.
Default value can be true but from version 2.x.x (in my opinion) because this is breaking change.
Adding this option with default value false in 1.5.x version should not be a problem :)

One of the selling points of Prometheus and its pull model is that you can easily cope with very large amount of targets if you only scrape at a sufficiently low frequency.
The wasteful part is if the keep-alive timeout is slightly smaller than the scrape interval. Default idle timeout in Go is 30s, for example. Default scrape interval in Prometheus is 1m. With this combination of timings, every TCP connection is kept open for 30s for no benefit at all.
If you want to avoid the effect of surprising increases in open fd's after reducing the scrape interval, you also have to manage the idle timeout on connections to be larger than the scrape interval.
On the other hand, if you have to think about tweaking the ulimit, it proves we are talking about cardinalities that matter. Assuming the 30s default idle timeout are tailored to be a good trade-off between cost of an open connection and re-establishing one, we can simply activate keep-alive for scrape intervals of up to 30s and switch it off otherwise.

I agree with @beorn7 . If we can configure scrape interval then it would be reasonable to configure other HTTP client parameters (connection idle timeout, keep-alive, connection timeout) aswell.
Default configuration can be as you propose: keep-alive enabled implicitly if scrape interval is under 30s. For TLS targets keep-alive should be enabled by default unrelated to scrape interval?

So increase the keep alive timeout? The default value isn't relevant to the discussion and the described problem doesn't exist basically.

you also have to manage the idle timeout on connections to be larger than the scrape interval.

Why? just make it 2x the scrape interval and all there is to it. There's no reason to set any other value.
I did some manual benchmarking and found connecting to be a significant CPU impact. And that holds true by the formula I mentioned regardless of your scrape interval.

Assuming the 30s default idle timeout are tailored to be a good trade-off between cost of an open connection and re-establishing one, we can simply activate keep-alive for scrape intervals of up to 30s and switch it off otherwise.

Trade off between what? It's a value tuned to the average connection which may or may not be reused. In Prometheus we know almost any connection we start will be reused hundreds of times – it's just a different use case and the default has no place here.
What's the benefit of switching it off for intervals larger than 30s? What changes when setting it to 31s?
The only feasible option here is making it a boolean flag and let the user decide – globally for everything. Either you want it or don't. There is no magic boundary within our typical interval of 1s to 2m where it becomes feasible or unfeasible because the interval is not a sufficient parameter for the function estimating the cost/benefit.

It might be a better option to make it overridable per job/target definition. You know, some servers don't like keeping connections open and too shy to simply close on their end.

Keep-alive is useless if scrape interval is greater than connection idle timeout.
I agree with @agaoglu to make keep-alive overridable per job/target but if keep-alive is enabled then connection idle timeout must be set to (at least) scrape interval value.

I don't think it's trivially true that 2x scrape interval as keep-alive timeout is a sane default

I think that the only sane default is "the default major browsers use" exactly because of proxies, NATs and others.

Are you interested in adding options to enable keep-alive connections (with default value false) to 1.8? I can work on it.

That change was already inadvertently made for 1.8, it's being reverted in #3173

Isn't it about remote storage as opposed to scraping targets?

The scope of the PR was much broader than the title indicated, thus the revert as this question remains unsettled.

I believe the code in 2.0 has keep-alive on for all connections.
However see also #3510

Was it fixed in 2.0? Can this issue be closed?

Yes, it's changed in 2.0.


System.IO.FileNotFoundException: Could not load file or assembly 'ConcurrencyLab.ParallelChecker.Core, Version=<IP_ADDRESS>

Using v 2.6 with VS2022 17.4.1, Windows 10 Pro 21H2
I suspect this is the same issue as this: https://community.sonarsource.com/t/ad0001-errors-system-io-filenotfoundexception-could-not-load-file-or-assembly-sonaranalyzer-cfg/71341/15 and also Roslynator 2022: https://github.com/JosefPihrt/Roslynator/issues/1001. As I reported there, based on the Sonar issue thread, it seems to be tied to whether the VS setting (text editor/c#/advanced) 'run code analysis in separate process' is on, and that the last update of VS 2022 turned that 'on' by default. Switching that off stops the error. Sonar and Roslynator are fixed, not sure why this one cropped up days later but hopefully there's enough info in those cases to figure out a fix.
Stack trace starts like this:
AD0001	Analyzer 'ParallelChecker.ParallelAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'ParallelChecker.ParallelAnalyzer' threw an exception.'.
System.TypeInitializationException: The type initializer for 'ParallelChecker.ParallelAnalyzer' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'ConcurrencyLab.ParallelChecker.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=134bc2708d917588'. The system cannot find the file specified.
File name: 'ConcurrencyLab.ParallelChecker.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=134bc2708d917588'
---> System.IO.FileNotFoundException: Could not load file or assembly 'ConcurrencyLab.ParallelChecker.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=134bc2708d917588'. The system cannot find the file specified.
File name: 'ConcurrencyLab.ParallelChecker.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=134bc2708d917588'
---> System.IO.FileNotFoundException: Could not load file or assembly 'ConcurrencyLab.ParallelChecker.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=134bc2708d917588'. The system cannot find the file specified.
File name: 'ConcurrencyLab.ParallelChecker.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=134bc2708d917588'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName)
at Microsoft.ServiceHub.HostLib.ServiceLoadContext.Load(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName)
at Microsoft.CodeAnalysis.DefaultAnalyzerAssemblyLoader.DirectoryLoadContext.Load(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
at ParallelChecker.ParallelAnalyzer..cctor()
--- End of inner exception stack trace ---
at ParallelChecker.ParallelAnalyzer.get_SupportedDiagnostics()
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerManager.AnalyzerExecutionContext.<>c__DisplayClass20_0.b__0(Object _)
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action1 analyze, TArg argument, Nullable1 info)

Thank you very much. Unfortunately, this is a problem with the latest VS 2022 version 17.4.2. I am working on fix, by redesigning at the same time the analysis process, cf. branch https://github.com/blaeser/parallelchecker/tree/luc%2Fnew_release. I hope to have a new release soon.

This should be now fixed with the latest 2.7.0 release of Parallel Checker.
https://marketplace.visualstudio.com/items?itemName=LBHSR.ParallelChecker
Thank you again for reporting this issue.


Indonesian Translation

Is your feature request related to a problem? Please describe.
No, there is no previous issue.
Describe the solution you'd like
I would like to help translation the app to Indonesian/Bahasa Indonesia. I'm a native speaker of Bahasa Indonesia.
Describe alternatives you've considered
None.
Additional context
None.

Please open a PR with the Indonesian translation. You can see #2266 or #2003 or #2287 for examples on what the PR should do


training slower and slower

hi:
thanks for you great job!
I have a problem for the training , when I trained use in two 32g/v100, i found training time is slower in several step, and I
found  when normal speed multiprocessing spawn have two process, and when time increase one process would be kill, and i
can't find why the process be killed, the ps -ef stat is Sl+,  cpu memroy and gpu memory is sufficient,and I try to decrease batch_size to 256 , still can't solve。
the slow code is inference:
output, x_norm = model(input, target)
How do I need to deal with this problem?

i solved by https://github.com/pytorch/pytorch/issues/1355
ulimit -n 500000
and set num_works=8 not 1


Procedures as mutations with Scratch 2.0 data

Removes most of the existing Blockly procedure blocks, and replaces with a simple mechanism to read/parse Scratch 2.0 procedures.

It's only one hat with lots of undefined in my workspace

@dekrain The flyout procedure category needs to be updated - as well as our procedure creation mechanism. But this provides the basic model data we need to deal with 2.0 procedures.

I deleted my comment, b/c i copy/paste this before. After updating with npm, it works fine


Additional paragraph when using Markdown in raw HTML

First thank you for this implementation! 👍
I provide a minimal working example of some unexpected behavior I encountered:
import markdown
md = markdown.Markdown(extensions=['extra'])
html = md.convert("

Hello _World!_

")
print(html)

The output was

Hello World!

But I expected

Hello World!

My workaround is to use two line breaks (edit)
html = md.convert("
\n\n
Hello _World!_

")

does not include the additional paragraph, but the Markdown is not replaced.

Actually this is the correct behavior. The problem is that the Markdown-in-raw-HTML behavior is not well documented.
For example, it may help to understand that a markdown="1" attribute does not apply to the nested
 element. It only applies to the
 it is assigned to. Any content inside the
 is now regular Markdown content and must follow the rules of Markdown.
As a reminder, the rules state:

The only restrictions are that block-level HTML elements — e.g.
,
,
,
, etc. — must be separated from surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or spaces. Markdown is smart enough not to add extra (unwanted)
 tags around HTML block-level tags.

That rule is strictly enforced. You only avoid the extra (unwanted)
 tags if those two conditions are met (blank lines and no indentation). Of course, if you add a markdown="1" attribute to a tag, then the rule doesn't apply to that tag, but it still applies to any nested tags.
Therefore, this is what you want as input:

Hello _World!_

Is the following expected to work?
html = md.convert("""

Hello _World!_

""")

I get an IndexError running this.

We have a policy that an error should never be raised when parsing, which makes this a bug regardless of what behavior is expected there. Could you provide the error?
Unfortunately, we don't use a proper HTML parser, but a simplistic set of regex (for historical reasons I won't get into here). For standard Markdown, that is sufficient, but when using the markdown="1" syntax, it gets much more complicated pretty quickly. I don't think we ever envisioned anyone using such deeply nested raw HTML with markdown processing. If you want complicated/deeply nested raw HTML, the assumption is that it will be all raw HTML.

Is the issue because the opening and closing tags of
Hello _World!_
 are not on separate lines?

I just tried it with the tags being on separate lines and I got the same error. The error is
Traceback (most recent call last):
  File "test.py", line 14, in <module>

""")
  File "/home/jannschu/.venv/lib/python3.6/site-packages/markdown/__init__.py", line 371, in convert
    root = self.parser.parseDocument(self.lines).getroot()
  File "/home/jannschu/.venv/lib/python3.6/site-packages/markdown/blockparser.py", line 65, in parseDocument
    self.parseChunk(self.root, '\n'.join(lines))
  File "/home/jannschu/.venv/lib/python3.6/site-packages/markdown/blockparser.py", line 80, in parseChunk
    self.parseBlocks(parent, text.split('\n\n'))
  File "/home/jannschu/.venv/lib/python3.6/site-packages/markdown/blockparser.py", line 98, in parseBlocks
    if processor.run(parent, blocks) is not False:
  File "/home/jannschu/.venv/lib/python3.6/site-packages/markdown/extensions/extra.py", line 130, in run
    block = self._process_nests(element, block)
  File "/home/jannschu/.venv/lib/python3.6/site-packages/markdown/extensions/extra.py", line 98, in _process_nests
    block[nest_index[-1][1]:], True)                      # nest
  File "/home/jannschu/.venv/lib/python3.6/site-packages/markdown/extensions/extra.py", line 104, in run
    tag = self._tag_data[self.parser.blockprocessors.tag_counter]
IndexError: list index out of range

Cool. That raw markdown parsing is a bit of a mess.  I'll take a look at it and at least figure out why it is failing. I still haven't had time to come up with a final solution on this though.

I'm wondering if it makes sense to replace the contents of the RawHtml preprocessor with something like this, which uses the HTMLParser in the standard lib. What I have there is a rough proof-of-concept, but I expect we could get that to work. The concern is how to handle autolinks and invalid raw HTML.

Maybe, I haven't played with your implementation on this, but I'd love anything that is easier to navigate then what we currently have for raw processing.  It is one of the reasons #585 is still open; I'm dreading digging into that code so I keep procrastinating.

Just some investigation (based on my experience with raw HTML), this works:
md.convert("""

Hello _World!_

""")

The parsing of HTML has always been a little janky.  It is really sensitive to spacing of the HTML elements and such.  Even the markdown content spacing between elements can be weird.
Anyways, I haven't dug deep enough into the parser to find the actual failure yet, but I plan to.  To be honest rewriting all of this HTML handling and block handling is going to be key to fixing a lot of issues with Python Markdown.
The current block processors and the HTML processing really needs an overhaul as they don't handle things very well.  Nested indented code blocks lose new lines when they have multiple consecutive new lines.  Raw HTML is kind of funky.
I kind of feel HTML processing should be a block processor.  Or maybe a line processor (which doesn't currently exist).  Python Markdown sorely needs a way to identify the beginning of a block and be able to process the lines until it knows where the block's end is instead of relying on \n\n to denote a line end.  And sometimes, those \n\n that we split on and throw away are useful, like in the case of an indented code block in a list.  I feel the \n\n that we break on should always be appended to to the previous block so they can be processed if the block desires to.  Maybe a line processor is a suitable replacement for block processors.  I haven't put much thought into this yet.
Anyways, hopefully this issue will be patchable, but I feel the next iteration needs an overhaul in this area.

I kind of feel HTML processing should be a block processor. Or maybe a line processor (which doesn't currently exist).

I agree. In fact, this was part of the original plan for 3.0. However, I just don't have the time to do the work right now and don't expect to be able to any time in the foreseeable future.


Upgrade ipywidgets in conda cb recipe

Current version is 4.1.1, but this does not have SelectionSlider, so needs to be upgraded to 5.1.3

Current version is 4.1.1, but this does not have SelectionSlider, so needs to be upgraded to 5.1.3

Closed by https://github.com/SciTools/conda-recipes-scitools/pull/157


Import termios not loading on Linux from Iron Python

Prerequisites
The issue tracker is used to report bugs and request new features, NOT to ask questions.
Questions should be posted in Discussions or to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.

[ ] Are you running the latest version? Yes
[ ] Are you reporting to the correct repository? Yes
[ ] Did you perform a cursory search? Yes

Description
[Description of the bug or feature]
Import "termios" not loading on Linux. I have script that run fine from command-line using "import termios",
but does not load when script called Iron Python. Here is the library on Linux:
usr/lib/python3.9/lib-dynload/termios.cpython-39-aarch64-linux-gnu.so'>
Steps to Reproduce

[First Step]
static void testEngineSimple()
{
string modulePath = @"/home/pi/.local/lib/python3.9/site-packages";
string path1 = "/usr/lib/python3.9'";
string path2 = "/usr/lib/python3.9/lib-dynload";
string path3 = "/usr/local/lib/python3.9/dist-packages";
string path4 = "/usr/lib/python3/dist-packages";
string path5 = "/usr/lib/python3.9/dist-packages";
string path6 = "/usr/lib/python39.zip";
     var engine = Python.CreateEngine();

     ICollection<string> searchPaths = engine.GetSearchPaths();
     searchPaths.Add(modulePath);
     searchPaths.Add(path1);
     searchPaths.Add(path2);
     searchPaths.Add(path3);
     searchPaths.Add(path4);
     searchPaths.Add(path5);
     searchPaths.Add(path6);

     engine.SetSearchPaths(searchPaths);
     engine.Execute("import termios; print(termios)");  <=== Fails here; can't find "termios" module
 }

Expected behavior: [What you expected to happen]
I expect to run successfully like when executed from command-line
Actual behavior: [What actually happened]
Failed; could not "termios" module
Versions
Version: 3.4.0

The termios module has not been implemented. See https://github.com/IronLanguages/ironpython3/issues/1308

Thanks for the response.Sent from my iPhoneOn Jun 22, 2023, at 8:01 AM, slozier @.***> wrote:
The termios module has not been implemented. See #1308
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Fix class name serialization bug in SerializableNativeValue

Assign to @erichwang because Eric is the original author.
Related to #3394

looks good

Title this "Fix serialization bug in SerializableNativeValue"

This has already been merged


Training on Russian

In order to train a model on Russian dara from Web Crawl, do you suggest a specifc pre-trained bert model?

I don't know about Russian BERTs but what you want to care about is tokeization. In particular the preprocessing stage needs to normalize punctuation in a tokenization-neutral manner.

There are already trained models https://alphacephei.com/vosk/models/vosk-recasepunc-ru-0.22.zip

@nshmyrev thanks for your reply. I noticed that to run this models you mentioned there are more dependencies than the one reposrted on this repository. Am I correct?

I'me getting this error when trying to run prediction with this russian model:
python3 ../../recasepunc/recasepunc.py predict checkpoint < ru-test.txt > output.txt Traceback (most recent call last):   File "../../recasepunc/recasepunc.py", line 752, in <module>     main(config, config.action, config.action_args)   File "../../recasepunc/recasepunc.py", line 723, in main     generate_predictions(config, *args)   File "../../recasepunc/recasepunc.py", line 346, in generate_predictions     loaded = torch.load(checkpoint_path, map_location=config.device if torch.cuda.is_available() else 'cpu')   File "/raid/data/s2t/speech_tools/recasepunc/lib/python3.8/site-packages/torch/serialization.py", line 607, in load     return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)   File "/raid/data/s2t/speech_tools/recasepunc/lib/python3.8/site-packages/torch/serialization.py", line 882, in _load     result = unpickler.load()   File "/raid/data/s2t/speech_tools/recasepunc/lib/python3.8/site-packages/torch/serialization.py", line 875, in find_class     return super().find_class(mod_name, name) AttributeError: Can't get attribute 'Trie' on <module 'transformers.tokenization_utils' from '/raid/data/s2t/speech_tools/recasepunc/lib/python3.8/site-packages/transformers/tokenization_utils.py'>
I'm using an enviroment with all requirements requested here: https://github.com/benob/recasepunc


Change extension icon on active/inactive

try to compress also https://www.npmjs.com/package/image-webpack-loader

https://github.com/amitsingh-007/bypass-links/pull/128


RC #162 - Updating React to v18.2.0

This pull request updates the React version to v18.2.0, updates Storybook to v7.0.26, and removes the MDX syntax stories in favor of JS. The MDX syntax is nice for writing explanations, but it doesn't allow any Javascript to be embedded in the file, only JSX. So if a stories requires some Javascript to build out the example, a separate file is required, which isn't the nicest workflow.
The pull request also updates the documentation framework to make use of Storybook's auto docs instead of having to explicitly include components to list props.

Looks good! I seem to recall you do release notes for this library; if you would (and perhaps you do already), please include what changed, what if anything might break in older installations; what is gained/added in our components, and via the newer version of react, etc, so other devs can follow along. Otherwise, great!

@jamiefolsom - Yes, I'll typically do release notes as part of the release process, which may contain multiple pull requests. The PRs also include (less formatted) information about what changed, but I think it's more important when upgrading from one version to another.


[BUG] Crashes when KWallet is disabled.

Describe the bug
When starting up for the first time, I try to link my account, and get an exception after pasting the token.
To Reproduce

Disable KWallet
Start maestral, go through steps until pasting token
Paste token, press enter
Observe that it crashes with this exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.kde.kwalletd5': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.8/site-packages/keyring/backends/kwallet.py", line 85, in connected
    remote_obj = bus.get_object(self.bus_name, self.object_path)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
    return self.ProxyObjectClass(self, bus_name, object_path,
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 183, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.kde.kwalletd5': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/bin/maestral", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/maestral/cli.py", line 191, in wrapper
    return func(*args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/maestral/cli.py", line 544, in start
    link_dialog(m)
  File "/home/user/.local/lib/python3.8/site-packages/maestral/cli.py", line 139, in link_dialog
    res = m.link(auth_code)
  File "/home/user/.local/lib/python3.8/site-packages/maestral/main.py", line 206, in link
    return self.client.link(token)
  File "/home/user/.local/lib/python3.8/site-packages/maestral/client.py", line 308, in link
    self.auth.save_creds()
  File "/home/user/.local/lib/python3.8/site-packages/maestral/oauth.py", line 347, in save_creds
    self.keyring.set_password("Maestral", self._account_id, token)
  File "/home/user/.local/lib/python3.8/site-packages/keyring/backends/kwallet.py", line 110, in set_password
    if not self.connected(service):
  File "/home/user/.local/lib/python3.8/site-packages/keyring/backends/kwallet.py", line 89, in connected
    raise InitError('Failed to open keyring: %s.' % e)
keyring.errors.InitError: Failed to open keyring: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.kde.kwalletd5': no such name.

Expected behaviour
For it to not crash.
System (please complete the following information):

Maestral version: 1.3.0.dev0
OS: Ubuntu 20.04
Desktop environment: KDE Plasma 5
Qt version: PyQt 5.15.0

Additional context

Oh, that's an interesting one. Thanks for spotting it!
maestral.auth.OAuth2Session.save_creds() only catches and handles KeyringLocked errors, assuming that a viable backend has already been chosen. But I see that other DBus backends such as keyring.backends.SecretService may also raise an InitError when attempting to save or load a password.
This should definitely be during save and retrieval. I am wondering if we should even go a step further and catch all KeyringErrors.

Now I'm getting
ERROR:dbus.proxies:Introspect error on :1.240:/modules/kwalletd5: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
ERROR:maestral.oauth:Could not load auth token, kwallet DBusKeyring is locked

Yes, this is much better! It indicates that Maestral previously saved  a token in the Keyring (unsuccessfully in your case...) and now tries to load it but cannot. It then fails with an appropriate maestral.errors.KeyringAccessError.
In your case, it thinks it is already linked, even though it is not, due to previously unhandled error. If you run maestral unlink or manually delete the config file and try again, it should work.

Also, I do recommend saving the token in KWallet. The fallback will be plain text storage...

I have secretstorage set up, but its not being detected.

Yeah, it just skips over kwallet to plaintext.
Maybe reverse the order so secretstorage goes first?

Is there a reason you can't just use keyring.get_keyring() instead of trying to detect it yourself?

It should go first. The order of priorities is:

macOS Keychain
Any keyring implementing the SecretService Dbus specification
KWallet
Gnome Keyring
Plain text storage

Typically KWallet and Gnome keyring both implement the SecretService specification and will therefore not be used directly.

Is there a reason you can't just use keyring.get_keyring() instead of trying to detect it yourself?

The order of priorities is automatically taken from the keyring package:
https://github.com/SamSchott/maestral/blob/ddf9c3f7079cc09d5ed76b285f2c9232ecd83128/src/maestral/oauth.py#L171
Keyrings which are not available will not be returned by keyring.backend.get_all_keyring() in the first place.  The main differences in Maestral's handling are the following:

It restricts usage to the above options. This reduces the number of obscure errors from possibly installed 3rd party backends.
Once a token has been saved in a specific keyring, it will always try to load it from there until the account is unlinked.

Ah, turns out the keyring package I had is out of date. https://github.com/jaraco/keyring/commit/b92abf90b7956b3f3e950ddeb039197c4507a879 fixes my error.

Ah, ok. Good to know! This seems to be a very recent fix.


"zero_point":False in quant_fig dict

Hello,
I tried to have Llama-3.1-8B-Instruct quantized with
quant_config = { "zero_point": False, "q_group_size": 128, "w_bit": 4, "version": "GEMM" }
But, I found that GEMM has "assert scales is not None and zeros is not None" in the source code.
I guess, No needs to filter out zeros=None for "zero_point":False (absmax quantization).
For resolving this, I let zeros be a torch zero like torch.zeros_like(scale). Then, it seemed successfully AWQed.

Even it did not yield numbers in terms of wikitext perplexity.
Could you check this out to be cleared.
Thank you.

I've realized that AutoAWQ does not support absmax quantization. It need additional contribution in Kernel and int4, sort of compression.
You can test absmax quantization by modifying as follows
pseudo_quantize_tensor (quantizer.py)
else:
max_val = w.abs().amax(dim=1, keepdim=True)
max_val = max_val.clamp(min=1e-5)
max_int = 2 ** (self.w_bit - 1) - 1
min_int = -(2 ** (self.w_bit - 1))
scales = max_val / max_int
#w = torch.clamp(torch.round(w / scales), min_int, max_int) * scales
        zeros = -1*min_int*torch.ones_like(scales)
        w = (
            torch.clamp(torch.round(w / scales) + zeros, min_int-min_int, max_int-min_int) - zeros
        ) * scales
        zeros = zeros.view(org_w_shape[0], -1)


Added Korean data in ui-text.yml

Added Korean translations.
Would be happy if many Koreans could use Minimal Mistakes in Korean!

Thanks for the PR @varian-lee!


test-branch/execute-job/quoted-authorization/0548c702-244a-4f92-8de3-689214c2e94d

PR for testing 9c3e0ed1126b7a7c14781fcc1edbff1e9df8ccf1

/canonical/self-hosted-runners/run-workflows 9c3e0ed1126b7a7c14781fcc1edbff1e9df8ccf1


Would like a libphonenumber plugin

Posse notes that it would be nice to have a libphonenumber plugin for flutter: https://github.com/googlei18n/libphonenumber
Our team specifically doesn't have to write one, but given that it's a Google-authored project, we're likely to end up with Google-authored libphonenumber flutter plugin at some point (even if there are also others).
I'm not aware of any other customers requesting this yet.

The specific use case Posse is seeking to solve is simply formatting an international phone number correctly in their form field.

We have no plans to do this any time soon. Maybe the libphonenumber team could offer this?

I'm currently porting a React Native app to Flutter, and I use the JS version of libphonenumber for RN.
Would this plugin be specifically for Flutter or more of a port to dartlang?
What do you see as the requirements for this plugin?
Ps. I possibly could work on this plugin if I know some of the requirements.
Would a Plaftorm Channel be another approach?
My use case is for login via Phone Number and SMS sent code.

It would be great to have a dart port rather than depending on native implementations

Right now there is a wrapper for the native implementation – https://pub.dev/packages/flutter_libphonenumber and a WIP Dart port – https://pub.dev/packages/libphonenumber.

It doesn't seem that there's a compelling need for the Flutter team to do this, given the existence of the packages referenced above.


Stop writing temp files in the Xcode tests.

Running the Xcode L0 tests would leave behind a _xcodetasktmp.plist file, which you had to avoid committing with the rest of your changes. There must have been a fs.writeFileSync that wasn't mocked.
tl.writeFile is equivalent to fs.writeFileSync (see https://github.com/Microsoft/vsts-task-lib/blob/master/node/task.ts).  And it's always mocked (see https://github.com/Microsoft/vsts-task-lib/blob/master/node/mock-task.ts).

Looks like you need to bump the task version.

@jpricketMSFT This is just a test improvement, and there are at least five tasks that use this library. I went ahead and bumped the version on two of them. That way just in case I'm introducing a bug we'll catch it sooner rather than later, making it easier to track back to this change.


fix(#75): display corect base URL if using GHE

It was displaying the GH URL even though the GHE was configured, using the client.baseURL will correctly display a correct value.
https://pkg.go.dev/github.com/google/go-github/v50/github#Client

LGTM

Thanks for your contribution!!

Hey @trstringer
Do you mind creating a release for this change? I see one 1 commit to main since the release of v1.9.0
Thank You @trstringer


Sprint 4 - Team 7 task ticket 6: Implement the transition animation and improve the text display

Description
Task: Implement the transition animation and match the select action, improve the text display
Feature: Improve features based on the win/lose logic and eviction menu: Goal 6
In the current game, players can already experience the complete process of expelling traitors through the eviction menu, and smoothly trigger the win/lose logic associated with it. Whenever a player uses the eviction menu to select a traitor to expel, the corresponding "prompt box" will pop up to show their selection results.  However, one of the purpose of the eviction menu is to expel the traitor who caused the continent to sink, and the current interaction flow does not show this process of eviction. So in order to make the game more "juicy", it is necessary to add a transition animation to visualize the eviction process.
Example

Transition animation: When the player "clicks" the select button and confirms their choice, a transition animation will appear on the screen to connect the player's actions and the popup of the prompt box. The transition animation will show the eviction process corresponding to the NPC selected by the player (use the image of NPCs).
Element display: Currently, there are many UI elements in the eviction menu. In order to ensure that the image of each UI meets the design expectations, the optimized image will be displayed (text color/position; window position/size, etc.)

Dependencies

[x] Win/lose condition for selecting the traitor (#122   ).
[x] Design display effects of transition animations (#192     ).

Milestones
Steps that need to be completed for this task:

[x] Step 1: Integrate images corresponding to eviction process of each npc into the game. (Oct. 16)
[x] Step 2: Adjust the order of transition animations (There will be 4 images per eviction process). (Oct. 17)
[x] Step 3: Adjust the display effect, so that the transition animation can better connect the user's operation. (Oct. 17)

Completion Deadline: Oct. 17
Documentation

Eviction menu
Storyline
NPC information
Sprint4 - Polishing-tasks: User survey (Team 7)

Member

Yingxin Liu (@LIU-Evelyn ) (Yingxin LIU)

Step1: https://github.com/UQdeco2800/2022-ext-studio-1/commit/4d3d799a0d39c11fd52da3c3251cffb6172dd3a3

Step 2: Adjusted the size and position of transition animation https://github.com/UQdeco2800/2022-ext-studio-1/commit/b0558e34876f95df9fede437254ac9f7c376a732


Invalid JWT token  after server reboot

Bug description
After deploying portainer's service on my swarm everything works fine. When I restart the server containing portainer's service and the service restart again I can't update the entry point on the gui. I got this message : "Failure Unable to connect to the Docker environment".
Expected behavior
I expect that the  swarm's kpi  get updated  and the endpoint to be reachable.
Portainer Logs
portainer_portainer.1.q8e69wcoek2y@Janus    | 2020/06/29 16:38:26 server: Listening on <IP_ADDRESS>:8000... portainer_portainer.1.q8e69wcoek2y@Janus    | 2020/06/29 16:38:26 Starting Portainer 1.24.0 on :9000 portainer_portainer.1.q8e69wcoek2y@Janus    | 2020/06/29 16:38:26 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process] portainer_portainer.1.q8e69wcoek2y@Janus    | 2020/06/29 16:41:09 http error: Invalid JWT token (err=Invalid JWT token) (code=401) portainer_portainer.1.q8e69wcoek2y@Janus    | 2020/06/29 16:41:20 http error: Unable to persist endpoint changes inside the database (err=input/output error) (code=500) portainer_portainer.1.q8e69wcoek2y@Janus    | 2020/06/29 16:43:36 background schedule error (endpoint snapshot). Unable to update endpoint (endpoint=primary, URL=tcp://tasks.agent:9001) (err=input/output error)
Steps to reproduce the issue:

Restart server containing portainer's service
Go to Home
Click on Refresh
Scroll down to first endpoint and click
See error

Technical details:

Portainer version: 1.24.0
Docker version (managed by Portainer): 19.03.12
Platform (windows/linux): linux (armv7)
Command used to start Portainer : docker stack deploy -c docker_portainer.yml
docker_portainer.yml  content :
`version: '3.2'

services:
agent:
image: portainer/agent
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
networks:
- agent_network
deploy:
mode: global
placement:
constraints: [node.platform.os == linux]
portainer:
image: portainer/portainer
command: -H tcp://tasks.agent:9001 --tlsskipverify
ports:
- "9000:9000"
- "8000:8000"
volumes:
- /home/pi/portainer/data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
- agent_network
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.role == manager]
networks:
agent_network:
driver: overlay
attachable: true
volumes:
portainer_data:`

Browser: Safari

@YasserAntonio are you using NFS? I see an I/O error in your logs which makes me suspicious. NFS needs to be reliable or there is I/O errors thrown disrupting the Portainer DB and requiring a restart of the service

you're 100% right I'm using NFS. I will try to delay enought portainer's service start until NFS service is ok.

Thanks to this  https://www.linuxquestions.org/questions/linux-newbie-8/docker-and-nfs-mount-issue-service-start-delay-4175653154/ i solved the issue.
i added NFS as a depedency to the docker service using systemd. Here is the small script based on the link explanation to do so :
sudo cp /lib/systemd/system/docker.service /etc/systemd/system/docker.service
echo 'Requires=remotefs.target' | sudo tee -a /etc/systemd/system/docker.service
sudo systemctl daemon-reload
sudo reboot
I'm going to close this issue. Thanks for you help @itsconquest  !

Glad to hear the issue was resolved :+1:


[AVM Question/Feedback]: VM extension

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
Dear AVM maintainers,
While deploying the Azure Virtual Machine, it is required to perform a domain join (AD). In the extension, you can of course set the restarted setting to false, as such:
extensionDomainJoinConfig: {
      enabled: true
      settings: {
        name: ''
        user: '
        restart: 'false' // setting
        options: 3
        ouPath:
      }
    }

But the virtual machine needs to be restarted anyway and this is particularly helpful when doing post deployment task. The only thing that I'm looking for, is that after the domain join has happened, the custom script extension sometime fails if you combine them (because of the restart). Is it possible to do a "dependsOn"?
Another extension that I was missing, was the GuestConfiguration extension. Are there any plans on adding it to the VM?
Thanks in advance.

@Gijsreyn can't argue with the asks. What's your take @rahalan ?

Good idea. I will look into that. There are also some other extensions that I want to add.

@matebarabas why are those warnings coming, I already answered?

It'll be added time and time again if I'm not mistaken

Not anymore, as once the "Needs: triage" label is removed, the bot will not say a single thing again. 😉👍

@Gijsreyn FYI, PR is nearly done. Currently I am unfortunately blocked by a bug in the readme generation. I expect it to be solved in the next days. After that, I will promote the PR, so it can be reviewed.

@rahalan Love the work you did!

@Gijsreyn PR is finally merged


The QA table doesn't auto display as broken when deleting the original [The proxy setting is 'Use system proxy (preview)']

Storage Explorer Version: 1.26.0-dev
Build Number: 20220915.4
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Monterey 12.5.1 (Apple M1 Pro)
Architecture ia32\x64
How Found: Ad-hoc testing
Regression From: Previous release (1.25.1)
Steps to Reproduce

Open 'Proxy Settings' dialog -> Set the Source to 'Use system proxy (preview)'.
Expand one storage account -> Tables.
Create a table -> Pin the table to Quick Access.
Delete the table.
Check whether the QA table auto displays as broken.

Expected Experience
The QA table auto displays as broken.
Actual Experience
The QA table doesn't auto display as broken.
Additional Context

This issue doesn't reproduce for one queue.
This issue doesn't reproduce for one emulator table.

@v-xianya Can you use Fiddler to confirm that both delete and list entities requests are sent and responses received in the appropriate order? It's possible the delete operation and the list entities operation used to test whether the table is deleted are executed so closely together that the service hasn't had time to process the delete table operation when the list entities request comes in.

@v-xianya I observe that neither blob containers nor file shares auto-update to a broken link icon after deleting the originals, with or without a proxy. So, we are inconsistent across different service types.

@craxal For blob containers and file shares, there are known issues and were marked won't fix.
2671, 1389.

I'll mark this as won't fix, since we aren't fixing this for other services.


4.10.1 需要适配Xcode 10.2.1 Swift 5(只需要删除public

'public' modifier is redundant for instance method declared in a public extension

Version 4 is not in maintaining anymore so I just close this.


The distance between adjacent alpha carbons is not 3.8 A from the Prior

Hi,
I have a problem.
When I sample many samples(at least 10000 & Law of Large Numbers) from the Hamonic Prior, the mean distance of adjacent alpha carbons is not approximately 3.8A as stated in this paper.

What is the distance? The RMS distance (not the mean) should be 3.8A.


Merge jmcvetta proof of concept provider with babbel provider

This PR closes #1 by merging @jmcvetta proof of concept provider with @babbel provider.

Not ready yet.  Still need to merge resource_user.


clean up optional and required dependencies

I found the lists of optional and required dependencies to be confusing when addressing #636.
cli
The following dependencies are required to simply run the command line tool's solararbiter --help:
click
sentry_sdk
aiohttp
loky
psutil
The first is no surprise and is in EXTRAS_REQUIRE['cli']. The last 3 are required because cli.py imports modules that need those packages, but they're only in EXTRAS_REQUIRE['fetch']. But psutil is also in install_requires
plotting
install_requires contains:
bokeh
plotly
matplotlib
while EXTRAS_REQUIRE['plotting'] contains:
bokeh
selenium
proposed solutions
Option 1: reduce the EXTRAS_REQUIRE to be only 'test' and 'all' (for compatibility), put everything else in install_requires.
Option 2: make EXTRAS_REQUIRE['cli'] = the right stuff
Option 3: reconfigure the imports so that ImportError is raised when running specific functionality instead of any of cli.
In any case we need to clean up the plotting specifications.
We should also

add `python_requires='>=3.7, <4'
change Development Status :: 3 - Alpha to Development Status :: 5 - Production/Stable
add a "Documentation" key to project_urls
bump the pvlib requirement to 0.8

We might also want to

change Programming Language :: Python :: 3.7 to Programming Language :: Python :: 3 so that we don't have to keep track of this.
add min versions of the dependencies

pip install and conda install -c conda-forge will pull in the latest versions of the dependencies and we have compatibility issues with some of them, so we should also

add an unpinned, "latest" build to the ci
add a max version to requirements where relevant

pip install and conda install -c conda-forge will pull in the latest versions of the dependencies and we have compatibility issues with some of them, so we should also

add an unpinned, "latest" build to the ci
add a max version to requirements where relevant

@alorenzo175 do you have an opinion about the right way to proceed on cleaning up the optional/required dependencies? I'm leaning towards option 1.

@alorenzo175 do you have an opinion about the right way to proceed on cleaning up the optional/required dependencies? I'm leaning towards option 1.

Fine with me to just have 'all' and 'test'. But, I would want to keep what's in install_requires to a small set that would enable users to use the APISession and other functions without installing the plotting packages for example. I'd say it's ok to require 'all' if someone wants to use the cli or make a report.

Fine with me to just have 'all' and 'test'. But, I would want to keep what's in install_requires to a small set that would enable users to use the APISession and other functions without installing the plotting packages for example. I'd say it's ok to require 'all' if someone wants to use the cli or make a report.


Updated styling on SlideTall title; Updated title logic for WatchLaterModal

Before:

After:

Yeah somethings up with my local repo..  I always squash and merge but yeah those commits are weird.


Italian localization

New Issue Checklist

[x] Use the latest version of CalendarKit
[x] I've read the Contribution Guidelines
[x] I've searched for existing GitHub issues

Issue Description
Missing Italian localization, it's possibile to add?

Hi Simone, it's possible.
Could you please add it yourself to this folder? https://github.com/richardtop/CalendarKit/tree/master/Source/Localizations
Take a look on how the iOS calendar translates strings "12:00" and "all-day" and just add them to the Localizable.strings.
Looking forward to your pull request.

Hi,
thank you for for accepting my request.
With CocoaPods I can istall only version 0.14.8 but you have relase version 1.0.0, Is it correct?

Please, share the line you have for the CalendarKit in Podfile

Hi,
I solved my issue with CocoaPods and now correctly install versione 1.0.4.
But I have notice that the All-Day string is still not localized.

Could you share a screenshot of your project configuration and the screenshot of the app?
This is not reproducible in Cocoapods / SPM, for me the localization is always displayed correctly.

here is my project configuration and a screenshot of my app:

Could you please share minimal project (e.g. create a new one) which reproduces the issue? I cannot reproduce it in my setup.

Yes I will send you a minimal project for test.
I see in the JZAllDayCorner.swift the following line:

where the lbltitle text is set without localization, this could be the problem or the localization is automatic?


Water Jug Problem

Before jumping into Pr first comment for assign.
Problem statement : Given a set of 3 jugs of water that have capacities of a, b, and c liters, find the minimum number of operations performed before each jug has x, y, and z liters. Only jug C will start completely filled.
An operation is any of the following: A jug is emptied, a jug is filled, or water is poured from one jug to another until one of the jugs is either empty or full.
For example, jugs A, B, and C with capacities of 3, 5, and 8, where jugs A and B start empty and C has the full 8, require 2 operations to reach the state of 0, 3, and 5 liters in the jugs.
Create a function that, given an array of jug capacities [A, B, C] and an goal state array [x, y, z], returns the minimum number of operations needed to reach the goal state. If the inputs are invalid or there is no solution, return "No solution."
Probelm Link : https://edabit.com/challenge/BMujCYCkTowit85Wq
Choose one Cateorgy - Expert
question category : Algoritms, Conditions, Data_structures, Loops

Before submitting a PR please Check some details.

[x] fileName formet should be in camelcase
example- returnTheNextNumber.py
[x]  Choose label for Problem , example- "good first issue", "easy"
[x]  In file there should be problem statement and link to problem

/* Problem-Task : This program will add two numbers
 * Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
*/
int main() {
    int bla;
    return 0;
}

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

@aayushi-droid Kindly assign me the task

Hello, can I work on this issue for Hacktoberfest?

@Mostafa-ashraf19 Why not? @aayushi-droid assign it to him as soon as possible

@aayushi-droid add an expert label too

I solved the problem, what can I do now, make a PR, or setting a solution here in the comments for review!!!

I would love to work on it.Please assign me.

@Jayshah6699 , @aayushi-droid I solved the problem, what can I do now, make a PR, or setting a solution here in the comments for review!!!
@Mostafa-ashraf19
fork this repo then commit the code in specific folder in given criteria and then you will see pullrequest option there.

@Jayshah6699, can you tell me your feedback please.

#97 issue merged


A picker that includes both Date picker and Time picker.

Use case
For when you wanna create a DateTime object from a picker that includes the time as well. It would be very useful for web.
Proposal
Just have both of the current pickers side by side as a new type of picker

I use CupertinoDatePicker with mode = CupertinoDatePickerMode.dateAndTime.

Hello @glaceon2000. Currently, the material design specification, which you can read more on material.io, does not support a hybrid date and time picker such as iOS. So this does not seem like a feasible feature request.
You can use the CupertinoDatePicker as @mtc-jed has suggested. Or you can use a third-party library like date_time_picker.
I'm closing this issue due to above mentioned reasons.

Yea these solutions are OK for Mobile but not good on web. It's incovenient and unintuitive to have time separated into another picker when DateTime object itself can store time. The date_time_picker package is still not the best as it forces people to pick a time

You can implement your own function to handle this type of behavior. You can search StackOverflow for how to do this. Unfortunately, this type of behavior is not present in the Material spec so we cannot really consider this feature :)


Decode LTE RRC UL-DCCH-Message Failed.

Hi, @all
Has anyone encountered the decoding failed as following?
Can someone share your idea with me? or please suggest that which code I should trace?
- The content in file "1234.dat" was "0x082322340E020006845224" in bytes array.

[xxxxxx@rhe67xx EUTRA.RRC]$ ./rrc-dump -p UL-DCCH-Message 1234.dat -otext -dd
AD: Processing 1234.dat
AD: Decoding 11 bytes
Decoding UL-DCCH-Message as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member message in UL-DCCH-Message (constr_SEQUENCE.c:1120)
PER got  1<=88 bits => span 1 +0[1..88]:08 (87) => 0x0
CHOICE UL-DCCH-MessageType got index 0 in range 1 (constr_CHOICE.c:864)
Discovered CHOICE UL-DCCH-MessageType encodes c1 (constr_CHOICE.c:892)
PER got  4<=87 bits => span 5 +0[5..88]:08 (83) => 0x1
CHOICE c1 got index 1 in range 4 (constr_CHOICE.c:864)
Discovered CHOICE c1 encodes measurementReport (constr_CHOICE.c:892)
Decoding MeasurementReport as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member criticalExtensions in MeasurementReport (constr_SEQUENCE.c:1120)
PER got  1<=83 bits => span 6 +0[6..88]:08 (82) => 0x0
CHOICE criticalExtensions got index 0 in range 1 (constr_CHOICE.c:864)
Discovered CHOICE criticalExtensions encodes c1 (constr_CHOICE.c:892)
PER got  3<=82 bits => span 9 +0[9..88]:08 (79) => 0x0
CHOICE c1 got index 0 in range 3 (constr_CHOICE.c:864)
Discovered CHOICE c1 encodes measurementReport-r8 (constr_CHOICE.c:892)
Decoding MeasurementReport-r8-IEs as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
PER got  1<=79 bits => span 10 +1[2..80]:23 (78) => 0x0
Read in presence bitmap for MeasurementReport-r8-IEs of 1 bits (0..) (constr_SEQUENCE.c:1073)
Decoding member measResults in MeasurementReport-r8-IEs (constr_SEQUENCE.c:1120)
Decoding MeasResults as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
PER got  1<=78 bits => span 11 +1[3..80]:23 (77) => 0x1
PER got  1<=77 bits => span 12 +1[4..80]:23 (76) => 0x0
Read in presence bitmap for MeasResults of 1 bits (0..) (constr_SEQUENCE.c:1073)
Decoding member measId in MeasResults (constr_SEQUENCE.c:1120)
Decoding NativeInteger MeasId (UPER) (NativeInteger.c:246)
Integer with range 5 bits (INTEGER.c:601)
PER got  5<=76 bits => span 17 +1[9..80]:23 (71) => 0x6
Got value 6 + low 1 (INTEGER.c:622)
NativeInteger MeasId got value 7 (NativeInteger.c:263)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Decoding member measResultPCell in MeasResults (constr_SEQUENCE.c:1120)
Decoding measResultPCell as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member rsrpResult in measResultPCell (constr_SEQUENCE.c:1120)
Decoding NativeInteger RSRP-Range (UPER) (NativeInteger.c:246)
Integer with range 7 bits (INTEGER.c:601)
PER got  7<=71 bits => span 24 +2[8..72]:22 (64) => 0x22
Got value 34 + low 0 (INTEGER.c:622)
NativeInteger RSRP-Range got value 34 (NativeInteger.c:263)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Decoding member rsrqResult in measResultPCell (constr_SEQUENCE.c:1120)
Decoding NativeInteger RSRQ-Range (UPER) (NativeInteger.c:246)
Integer with range 6 bits (INTEGER.c:601)
PER got  6<=64 bits => span 30 +3[6..64]:34 (58) => 0xd
Got value 13 + low 0 (INTEGER.c:622)
NativeInteger RSRQ-Range got value 13 (NativeInteger.c:263)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
PER got  1<= 1 bits => span 1 +0[1..1]:00 (0) => 0x0
Member MeasResults->measResultNeighCells is optional, p=0 (1->1) (constr_SEQUENCE.c:1102)
Getting normally small length (per_support.c:199)
PER got  1<=58 bits => span 31 +3[7..64]:34 (57) => 0x0
PER got  6<=57 bits => span 37 +3[13..64]:34 (51) => 0x1
l=2 (per_support.c:204)
Extensions 2 present in MeasResults (constr_SEQUENCE.c:1145)
PER got  2<=51 bits => span 39 +4[7..56]:0e (49) => 0x3
Read in extensions bitmap for MeasResults of 2 bits (c0..) (constr_SEQUENCE.c:1158)
PER got  1<= 2 bits => span 1 +0[1..2]:c0 (1) => 0x1
Decoding member measResultForECID-r9 in MeasResults (nil) (constr_SEQUENCE.c:1186)
Getting open type MeasResultForECID-r9... (per_opentype.c:70)
PER got  8<=49 bits => span 47 +4[15..56]:0e (41) => 0x1
PER got  8<=41 bits => span 55 +5[15..48]:02 (33) => 0x0
Getting open type MeasResultForECID-r9 encoded in 1 bytes (per_opentype.c:96)
Decoding MeasResultForECID-r9 as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member ue-RxTxTimeDiffResult-r9 in MeasResultForECID-r9 (constr_SEQUENCE.c:1120)
Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246)
Integer with range 12 bits (INTEGER.c:601)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Failed decode ue-RxTxTimeDiffResult-r9 in MeasResultForECID-r9 (constr_SEQUENCE.c:1125)
Failed decode measResults in MeasurementReport-r8-IEs (constr_SEQUENCE.c:1125)
Failed to decode measurementReport-r8 in c1 (CHOICE) 2 (constr_CHOICE.c:904)
Failed to decode c1 in criticalExtensions (CHOICE) 2 (constr_CHOICE.c:904)
Failed decode criticalExtensions in MeasurementReport (constr_SEQUENCE.c:1125)
Failed to decode measurementReport in c1 (CHOICE) 2 (constr_CHOICE.c:904)
Failed to decode c1 in UL-DCCH-MessageType (CHOICE) 2 (constr_CHOICE.c:904)
Failed decode message in UL-DCCH-Message (constr_SEQUENCE.c:1125)
AD: decode(0) consumed 0+0b (11), code 2
AD: Clean up partially decoded structure
Freeing UL-DCCH-Message as SEQUENCE (constr_SEQUENCE.c:957)
Freeing UL-DCCH-MessageType as CHOICE (constr_CHOICE.c:1041)
Freeing c1 as CHOICE (constr_CHOICE.c:1041)
Freeing MeasurementReport as SEQUENCE (constr_SEQUENCE.c:957)
Freeing criticalExtensions as CHOICE (constr_CHOICE.c:1041)
Freeing c1 as CHOICE (constr_CHOICE.c:1041)
Freeing MeasurementReport-r8-IEs as SEQUENCE (constr_SEQUENCE.c:957)
Freeing MeasResults as SEQUENCE (constr_SEQUENCE.c:957)
Freeing MeasId as INTEGER (1, 0x1192280, Native) (NativeInteger.c:326)
Freeing measResultPCell as SEQUENCE (constr_SEQUENCE.c:957)
Freeing RSRP-Range as INTEGER (1, 0x1192288, Native) (NativeInteger.c:326)
Freeing RSRQ-Range as INTEGER (1, 0x1192290, Native) (NativeInteger.c:326)
Freeing MeasResultForECID-r9 as SEQUENCE (constr_SEQUENCE.c:957)
Freeing INTEGER as INTEGER (1, 0x1192470, Native) (NativeInteger.c:326)
Freeing BIT STRING as OCTET STRING (OCTET_STRING.c:1725)
AD: ofp 1, no=0, oo=0, dbl=0
1234.dat: Decode failed past byte 0: Input processing error
[xxxxxx@rhe67xx EUTRA.RRC]$

I try to decode the message from on-line tools(http://www.marben-products.com/asn.1/services/decoder-asn1-lte.html), and it was decoded as following:
<UL-DCCH-Message>
  <message>
    <c1>
      <measurementReport>
        <criticalExtensions>
          <c1>
            <measurementReport-r8>
              <measResults>
                <measId>7</measId>
                <measResultPCell>
                  <rsrpResult>34</rsrpResult>
                  <rsrqResult>13</rsrqResult>
                </measResultPCell>
                <measResultServFreqList-r10>
                  <MeasResultServFreq-r10>
                    <servFreqId-r10>1</servFreqId-r10>
                    <measResultSCell-r10>
                      <rsrpResultSCell-r10>36</rsrpResultSCell-r10>
                      <rsrqResultSCell-r10>18</rsrqResultSCell-r10>
                    </measResultSCell-r10>
                  </MeasResultServFreq-r10>
                </measResultServFreqList-r10>
              </measResults>
            </measurementReport-r8>
          </c1>
        </criticalExtensions>
      </measurementReport>
    </c1>
  </message>
</UL-DCCH-Message>

Please kindly give me some idea about this.
Appreciate for your valuable suggestion.
Best regards,
Kevin

I'm facing a similar problem, were you able to solve it? Appreciate any response.


[less] "} expected" error with ">" in selector within @media query

VSCode Version: 1.5.3
OS Version: Windows 10 Pro x64

The problem is if you have a media query with containing selector with ">" at the beginning, the LESS linting will show the error "} expected".
It doesn't matter if the "> ..." selector is at the beginning of the media block or somewhere else as long as it's a direct child of the media query it will always show the error.
This is only a problem with a @media surrounding it.
The whole LESS file will transpile to CSS without any problems, but it's a bit strange that it shows this error.
Steps to Reproduce:

insert this code into a .less file

@media (min-width:@min-width-mobile) {
    > div {
        bottom: 1.1em;
    }
}

So I guess LESS linting is just not recognizing the ">" part of the selector when in a @media block.

I just forked vscode-css-languageservice and will try to find out more about the parsing.
If I'm right, the parsing happens in lessParser.ts.
I'll try some stuff out and if it works I will submit it.
	public _tryParseMixinReference(atRoot = false): nodes.Node {
		...
		if (!this.hasWhitespace() && this.accept(TokenType.ParenthesisL)) {
			this.accept(TokenType.Delim, '>');
			if (node.getArguments().addChild(this._parseMixinArgument())) {
				while (this.accept(TokenType.Comma) || this.accept(TokenType.SemiColon)) {
					if (this.peek(TokenType.ParenthesisR)) {
						break;
					}
					if (!node.getArguments().addChild(this._parseMixinArgument())) {
						return this.finish(node, ParseError.ExpressionExpected);
					}
				}
			}
			if (!this.accept(TokenType.ParenthesisR)) {
				return this.finish(node, ParseError.RightParenthesisExpected);
			}
			identifier.referenceTypes = [nodes.ReferenceType.Mixin];
		} else {
			identifier.referenceTypes = [nodes.ReferenceType.Mixin, nodes.ReferenceType.Rule];
		}
		...
	}

Greetings 😉

Are you sure this is valid LESS code? I see that LESS doesn't complain and transpiles this but the result is not valid CSS3.
Do you have any pointers to some examples or more documentation?


Where is the Java example?

There is .Net but no Java example. Do the Java clients support this and if so what version?

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

ID: 4b7d98f8-d73d-d5f7-8ae8-9f5e413e2961
Version Independent ID: 27098ddc-0ebc-70d1-3b85-de239cc69358
Content: Configure Transport Layer Security (TLS) for a Service Bus client application - Service Bus
Content Source: articles/service-bus-messaging/transport-layer-security-configure-client-version.md
Service: service-bus-messaging
GitHub Login: @EldertGrootenboer
Microsoft Alias: egrootenboer

Thank you for your feedback! We will review and update as appropriate.

updated based on input from the dev
https://docs.microsoft.com/en-us/azure/service-bus-messaging/transport-layer-security-configure-client-version?tabs=java
#please-close


README not clear about direction prop

It is not clear that direction props should be a string of value:
DIRECTION_VERTICAL
or
DIRECTION_HORIZONTAL
or
etc...

Best bet is to make a PR with better wording, Jed is a busy man…

Yes please, PR fixing that would be very welcome

Thanks was looking for this


snapshot: The sandbox is not in sync with the Podfile.lock

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
I'm trying to run snapshot and I'm receiving the error below (complete output attached).
I've tried:

run pod install again (of course)
cleaning and building again
remove /Pods and Podfile.lock

Complete output when running fastlane, including the stack trace and command used
▸ Check Dependencies
▸ Running script '[CP] Check Pods Manifest.lock'

❌  error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

▸ Building Arena/ARNUITests [Debug]
▸ Check Dependencies
2016-07-11 15:04:05.915 xcodebuild[19455:12621071] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled <DTXChannel: 0x7ff1df6c37f0>
2016-07-11 15:04:05.918 xcodebuild[19455:12621074] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled <DTXChannel: 0x7ff1de269ff0>

Testing failed:
Diff: /../Podfile.lock: No such file or directory
Diff: /Manifest.lock: No such file or directory
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Snapfile:
# Uncomment the lines below you want to change by removing the # in the beginning

# A list of devices you want to take the screenshots from
devices([
   "iPhone 6",
   "iPhone 6 Plus",
   "iPhone 5",
   "iPhone 4s",
   "iPad Retina",
   "iPad Pro"
])

languages([
  "en-US",
  ["pt", "pt_BR"] # Portuguese with Brazilian locale
])

# Arguments to pass to the app on launch. See https://github.com/fastlane/snapshot#launch-arguments
# launch_arguments(["-favColor red"])

# The name of the scheme which contains the UI Tests
scheme "Arena"

# Where should the resulting screenshots be stored?
output_directory "./screenshots"

# clear_previous_screenshots true # remove the '#' to clear all previously generated screenshots before creating new ones

# Choose which project/workspace to use
# project "./Project.xcodeproj"
workspace "./Arena.xcworkspace"

# For more information about all available options run
# snapshot --help

Environment
Rodrigos-MacBook-Pro:Arena rodrigoreis$ snapshot -v
snapshot 1.12.3
Rodrigos-MacBook-Pro:Arena rodrigoreis$ pod --version
0.39.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
no
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
no
snapshot_out.txt

Hey @rodrigoreis22, it looks like maybe snapshot is not detecting your workspace perhaps. Could you share with us your fastfile (and Appfile if you have one)?

Hi @ohwutup , I got it to work, one of my other targets had a problem. We can close this issue.

👍 🚀 !

@mikepsinn sorry, i don't really recall.. but I think my test target had some basic configuration problem.

@rodrigoreis22 Got it. Thanks, anyway!


Adding a License script

Issue Description:
I wanted to use a python script to allow a user to add license in their repo.
Additional Information:
Following Licenses will be added as a part of the script

License
License keyword

Academic Free License v3.0
afl-3.0

Apache license 2.0
apache-2.0

Artistic license 2.0
artistic-2.0

Boost Software License 1.0
bsl-1.0

BSD 2-clause "Simplified" license
bsd-2-clause

BSD 3-clause "New" or "Revised" license
bsd-3-clause

BSD 3-clause Clear license
bsd-3-clause-clear

BSD Zero-Clause license
0bsd

Creative Commons license family
cc

Creative Commons Zero v1.0 Universal
cc0-1.0

Creative Commons Attribution 4.0
cc-by-4.0

Creative Commons Attribution Share Alike 4.0
cc-by-sa-4.0

Do What The F*ck You Want To Public License
wtfpl

Educational Community License v2.0
ecl-2.0

Eclipse Public License 1.0
epl-1.0

Eclipse Public License 2.0
epl-2.0

European Union Public License 1.1
eupl-1.1

GNU Affero General Public License v3.0
agpl-3.0

GNU General Public License family
gpl

GNU General Public License v2.0
gpl-2.0

GNU General Public License v3.0
gpl-3.0

GNU Lesser General Public License family
lgpl

GNU Lesser General Public License v2.1
lgpl-2.1

GNU Lesser General Public License v3.0
lgpl-3.0

ISC
isc

LaTeX Project Public License v1.3c
lppl-1.3c

Microsoft Public License
ms-pl

MIT
mit

Mozilla Public License 2.0
mpl-2.0

Open Software License 3.0
osl-3.0

PostgreSQL License
postgresql

SIL Open Font License 1.1
ofl-1.1

University of Illinois/NCSA Open Source License
ncsa

The Unlicense
unlicense

zLib License
zlib

Labels:
enhancement, gssoc23

GitHub already has this feature, where one can read the license too. I am closing this issue, but feel free to open a new one if you have a new idea or look for existing unassigned issues.


Add three test cases for podman attach test

Add following test cases for podman attach test:

podman attach to a running container
podman attach to the latest container
podman attach to a container with --sig-proxy set to false

:+1:

/approve

LGTM
Test failure seems to be some kind of network flake.

Restarted the flakes

/lgtm


[Bug]: When I used Tencent Cloud to store Milvus backups, an error occurred

Current Behavior
An error occurred while executing the Milvus Backup check:
The specified bucket does not exist.
I have checked that my Key and Sercret are correct, and Mini Init passed normally. An error was reported when executing to ListWithPrefix.
I once suspected that Key and Secret did not have permission, but I have repeatedly confirmed that they have full permission
My Config：
log:
  level: info
  console: true
  file:
    rootPath: "logs/backup.log"

http:
  simpleResponse: true

milvus:
  address: localhost
  port: 19530
  authorizationEnabled: true
  tlsMode: 0
  user: "root"
  password: "Milvus"

minio:
  storageType: "tencent"
  address: cos.xxx.myqcloud.com
  port: 443
  accessKeyID: xxx
  secretAccessKey: xxx
  useSSL: true
  useIAM: false
  iamEndpoint: ""
  bucketName: "a-bucket"
  rootPath: "files"
  backupBucketName: "xxx-xxx"
  backupRootPath: "files"

backup:
  maxSegmentGroupSize: 2G
  parallelism:
    backupCollection: 4
    copydata: 128
    restoreCollection: 2
  keepTempFiles: false
  gcPause:
    enable: true
    seconds: 7200
    address: http://localhost:9091

Expected Behavior
[root@VM-0-9-centos milvusback]# ./milvus-backup check
0.4.12 (Built on 2024-03-13T10:20:58Z from Git SHA 7b7c7b10c51e583085323cac86a5d4e16e9bf832)
config:backup.yaml
[2024/04/16 15:26:06.739 +08:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/04/16 15:26:06.739 +08:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/04/16 15:26:07.050 +08:00] [INFO] [storage/minio_chunk_manager.go:151] ["minio chunk manager init success."] [bucketname=xxx] [root=files]
[2024/04/16 15:26:07.243 +08:00] [WARN] [storage/minio_chunk_manager.go:428] ["failed to list with prefix"] [prefix=files/] [error="The specified bucket does not exist."]
Failed to connect to storage milvus path
Milvus version: v2.3.12
Storage:
milvus-bucket: a-bucket
milvus-rootpath: files
backup-bucket: aifa-1301323077
backup-rootpath: files
The specified bucket does not exist.
Steps To Reproduce
No response
Environment
No response
Anything else?
No response

So, is the two buckets exist?

@chenjinjun Well, the error message is a storage SDK buildin error. There must be something wrong about configs or environment. From the log, it points to the milvus bucket which is "a-bucket". Please check if it is the same with your Milvus config.


Issue: CBDC example - Running the Example Application Locally

The escrow button is not enabled after minting and token balance is also not reflecting in the screen.
Attaching the screenshot  after minting.

I believe, once after minting escrow and transfer buttons should get enabled and minted token balance also should be visible in the screen.
Originally posted by @Anusha-Padmanabhan in https://github.com/hyperledger/cacti/issues/2739#issuecomment-1748209487

Since I am not a collaborator, I am unable to reopen the existing issue https://github.com/hyperledger/cacti/issues/2739 , therefore opened a new one @petermetz

Duplicate of #2739


I tried to adjust the Chinese translation

The Chinese translation has too many problem so I adjust it.
I‘m not a programmer, and this is my first time to use GitHub to change other people's project, so if I do something wrong, you can also get the Localization file here.
LocalizationPack.zip

Thank you! I'll update the mod now.


Added LOCATION test cases

You are still waiting on review from you team before you can merge this. @JalensMindset

@Twintastic this PR should be good to go as soon as one more person on your team reviews it.

Thanks I’ll message them then.
On Mon, Jul 1, 2024 at 8:48 AM claesmk @.***> wrote:

@Twintastic https://github.com/Twintastic this PR should be good to go
as soon as one more person on your team reviews it.
—
Reply to this email directly, view it on GitHub
https://github.com/NCATComp410/comp410_summer_2024/pull/23#issuecomment-2200054406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2IGWXQRJY5LUXHCRX7RH3LZKFFYFAVCNFSM6AAAAABJ6UKOI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGA2TINBQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

After merging the other pull request I am now getting a conflict.
On Mon, Jul 1, 2024 at 11:02 AM Camryn Agee @.***> wrote:

Thanks I’ll message them then.
On Mon, Jul 1, 2024 at 8:48 AM claesmk @.***> wrote:

@Twintastic https://github.com/Twintastic this PR should be good to go
as soon as one more person on your team reviews it.
—
Reply to this email directly, view it on GitHub
https://github.com/NCATComp410/comp410_summer_2024/pull/23#issuecomment-2200054406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2IGWXQRJY5LUXHCRX7RH3LZKFFYFAVCNFSM6AAAAABJ6UKOI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGA2TINBQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

I need help, I can’t do anything to fix it.
On Tue, Jul 2, 2024 at 9:13 PM Camryn Agee @.***> wrote:

After merging the other pull request I am now getting a conflict.
On Mon, Jul 1, 2024 at 11:02 AM Camryn Agee @.***>
wrote:

Thanks I’ll message them then.
On Mon, Jul 1, 2024 at 8:48 AM claesmk @.***> wrote:

@Twintastic https://github.com/Twintastic this PR should be good to
go as soon as one more person on your team reviews it.
—
Reply to this email directly, view it on GitHub
https://github.com/NCATComp410/comp410_summer_2024/pull/23#issuecomment-2200054406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2IGWXQRJY5LUXHCRX7RH3LZKFFYFAVCNFSM6AAAAABJ6UKOI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGA2TINBQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you the conflict was resolved. @claesmk


How to remap category on custom dataset?

Could please provide config file or guideline for training on single gpu？ the provided guideline for custom dataset training always leads to error as following, i changed the CUDA_VISIBLE_DEVICES=0, and num_workers: 0
it seems related with settings about multiple gpu, and shows long list of operator(): block:
/opt/conda/conda-bld/pytorch_1728945388353/work/aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [263,0,0], thread: [94,0,0] Assertion -sizes[i] <= index && index < sizes[i] && "index out of bounds" failed.
/opt/conda/conda-bld/pytorch_1728945388353/work/aten/src/ATen/native/cuda/IndexKernel.cu:93: operator(): block: [263,0,0], thread: [95,0,0] Assertion -sizes[i] <= index && index < sizes[i] && "index out of bounds" failed.
Traceback (most recent call last):
File "/home/lzh/lizhihua/D-FINE/train.py", line 84, in
main(args)
File "/home/lzh/lizhihua/D-FINE/train.py", line 54, in main
solver.fit()
File "/home/lzh/lizhihua/D-FINE/src/solver/det_solver.py", line 46, in fit
train_stats = train_one_epoch(
^^^^^^^^^^^^^^^^
File "/home/lzh/lizhihua/D-FINE/src/solver/det_engine.py", line 63, in train_one_epoch
loss_dict = criterion(outputs, targets, **metas)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/miniconda3/envs/dfine/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/miniconda3/envs/dfine/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/lizhihua/D-FINE/src/zoo/dfine/dfine_criterion.py", line 236, in forward
indices = self.matcher(outputs_without_aux, targets)['indices']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/miniconda3/envs/dfine/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/miniconda3/envs/dfine/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/miniconda3/envs/dfine/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/lizhihua/D-FINE/src/zoo/dfine/matcher.py", line 99, in forward
cost_bbox = torch.cdist(out_bbox, tgt_bbox, p=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lzh/miniconda3/envs/dfine/lib/python3.11/site-packages/torch/functional.py", line 1478, in cdist
return _VF.cdist(x1, x2, p, None)  # type: ignore[attr-defined]
^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.

Does this startup command solve your problem?

As the message states, "CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect," the error you provided may not reflect the actual issue. If you still encounter this problem, consider adding the following lines at the beginning of train.py:
import os
os.environ['CUDA_LAUNCH_BLOCKING'] = '1'

Please remember to remove these two lines once the issue is resolved.

Does this startup command solve your problem?

Thank you very much for your quick reply.  This command worked well with the config configs/dfine/dfine_hgnetv2_x_coco.yml, it raised the same error if i use configs/dfine/custom/dfine_hgnetv2_x_custom.yml as indicated in readme file, not sure if i misunderstand something.
Will go on with the coco config. Thanks again.

You need to modify this, probably:
https://github.com/Peterande/D-FINE/blob/4e8d80f7a241d06ebab052b47a03e720c0794de9/configs/dataset/custom_detection.yml#L7

I just checked that the problem is caused by remap_mscoco_category: False, a True value works well. if my classes don't belong to the coco categrories, and i just changed my num_classes to mine, would this be a problem?

This seems to indicate that your class labels do not start from 0 and may be non-sequential, which causes the largest class to be greater than num_classes - 1. Modifying mscoco_category2name to match the labels of your dataset could be a potential solution.
https://github.com/Peterande/D-FINE/blob/6cde0b803633ff5450045f1ec818a1fc0ec92d10/src/data/dataset/coco_dataset.py#L178-L259

I test with only one classes as:
{
"id": 30056,
"image_id": 2658,
"category_id": 1,
"bbox": [
328.99968,
72.0,
96.0,
101.00016000000001
],
"area": 9696.015360000001,
"iscrowd": 0
},
and set num_classes=1, is this the problem? should i change the categroy_id to 0 ? but the index in D-FINE/src/data/dataset/coco_dataset.py also start from 1 as seen.

 Index in D-FINE/src/data/dataset/coco_dataset.py is the ids before mapping.
See this:

1 will be mapped to 0~

thanks a lot for your patience.

You're welcome

我刚刚检查了问题是由 remap_mscoco_category：False 引起的，True 值运行良好。如果我的类不属于 Coco 分类，而我只是将 num_classes 更改为我的类，这会有问题吗？

Have you solved this problem? If my own dataset category is not in obj365, should I modify the category name mapping? Where should I modify it?


Updates Owners file

Signed-off-by: Bipul Adhikari<EMAIL_ADDRESS>

/lgtm

/override ci/prow/odf-console-e2e-aws


Compatibility with LiveView 0.20

Our codebase compiles and runs with no issues using LV 0.20.0 and Surface 0.11.0 :)
It seems that support for debug annotations needs to be added to Surface though. That's all I've noticed so far.

Related to enhancement released in LV 0.20.0:
Add heex debug annotations via config :phoenix_live_view, :debug_heex_annotations: true,
which provides special HTML comments that wrap around rendered components to help you
identify where markup in your HTML document is rendered within your function component tree

I installed LiveView 0.20.2 with Surface 0.11.1 and I discovered one bug: When you embed a Surface.LiveComponent from a Surface.LiveView, the LiveComponent's update/3 function gets called twice on page load (I just put an IO.inspect in the update body). I then downgraded LiveView to 0.19.0 and found that update was now only being called once.

On further testing, I've realized this isn't an issue with Surface. The same thing happens to me when I have a plain Phoenix live component embedded by a live view.

On further testing, I've realized this isn't an issue with Surface. The same thing happens to me when I have a plain Phoenix live component embedded by a live view.

Another LiveComponent issue I noticed, which might be related, and is not fixed in fix-lv-20-compat is all my Surface LiveComponents when calculating diffs (i think) it errors with more than a single root node.
There is a single root node, but it is Surface component, by using a plain div as the root node of the LC fixes it....
I think update/3 being called twice could have something to do with it...

@dougw-bc is that a server or client error? Live components must have a single root node but that root node cannot be another component. As far as I can remember we even have validation for that.

It is not a LiveComponent but a regular Component at the root of a LiveComponent - which was working prior to liveview 0.20.2. If this was a deliberate upstream liveview change - no problem adding a wrapper div seems to solve the problem...
LiveView now throws this error - but as mentioned ^ maybe it is intentional:
** (ArgumentError) error on BCWeb.DirectInviteModal.render/1 with id of "direct-invite-modal". Stateful components must have a single static HTML tag at the root
  (phoenix_live_view 0.20.3) lib/phoenix_live_view/diff.ex:344: Phoenix.LiveView.Diff.component_to_rendered/3

I have made a PR with latest liveview + other updates deps:
https://github.com/surface-ui/surface/pull/728


Two error messages shown in the password reset page

Describe the issue:
Similar to the issue https://github.com/wso2/product-is/issues/10639. It is happening in the accountrecoveryendpoint/password-reset.jsp due to a missing div id property.
How to reproduce:

Enable password history feature
Goto password recovery flow and enter a previous password
After you got the error message, enter two different values for the new password and confirm password

Expected behavior:
It should hide the backend generated the error before showing the UI validation error.
Environment information

Product Version: IS 5.10.0

Effort BE::1 day


Give this thing a proper name and logo

Let's start the discussion, do we really want to be calling this MLVET for the final product? I feel like we can come up with something nicer :)
Also let's get thinking about a logo (maybe) and app icon (definitely)

Definitely a whole team discussion for after the holidays but feel free to put ideas at any point if you have them


Feature: Add swap input values button

The swap button switches the input values of two ingredients.
It is useful on operations that have two input fields with same options. (Convert Distance, Mass..)

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

Hey!  This pull request has gotten rather old and that's our fault.  This project stopped being actively maintained for a while and it looks like your pull request has started to gather dust.  Would you be able to update your branch to the latest version of CyberChef and we'll give it a review?

Hey, this PR has remained without updates for four weeks now.  I'll close it now, but feel free to re-open if you find time to contribute! 😄


Doesnt work

It just doesnt work

So, the reason for it is, that you have not added any instructions on how to use it.

Please do that, and I shall further update you if it is working or not! All the best...!


Country code - add search

Describe your suggested feature
Add search for default country code by country and code. Suggest few on top based on system settings. Technicaly related to #11
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

Done.
it will be available in the next release.


GEODE-5222: DiskStore usage percentage in JMX

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[X] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[X] Is your initial contribution a single, squashed commit?

[X] Does gradlew build run cleanly?

[X] Have you written or updated unit tests to verify your changes?

[n/a] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Sorry for pushing changes with --force, I read the discussion in the list. Next time I will just push a new commit with changes

This needs at least one ASF committer to get merged. @moleske @kirklund please review.

My approval pertains primarily to the JMX code changes. It would be good to get reviews by some devs with better knowledge of DiskStoreImpl and related internals.


Add interface for Snark_params_nonconsensus.Tick

This PR adds an explicit interface to Snark_params_nonconsensus. The hope is that this can be used as a starting point to unify the nonconsensus code and the rest of the codebase, by using a virtual module whose interface matches (approximately) this interface in place of Crypto_params.
This PR is a no-op.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

This targets deleted code. Closing.


Master to Live 4/1/2019

Docs Build status updates of commit c336e24:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/performance-recommendations-for-unity.md
:warning:Warning
View
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mr-dev-days-faq.md
:white_check_mark:Succeeded
View

mixed-reality-docs/mr-dev-days.md
:white_check_mark:Succeeded
View

mixed-reality-docs/understanding-performance-for-mixed-reality.md
:white_check_mark:Succeeded
View

mixed-reality-docs/performance-recommendations-for-unity.md

Line 0: [Warning] Text in the first line of Note/Section/Video is not valid. Will be rendererd to <blockquote>

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


Alarm

Hi, I'm getting a rare issue in a small GRCh38 contig (chrUn_KI270336v1) that is making my WDl pipe fall over. In this instance nothing has mapped, but I don't think that that is the issue.
No read has been process, either the genome region you specified has no read cover, or please check the correctness of your BAM input (/working/genomeinfo/cromwell-dev/cromwell-executions/ONT/7de38df6-2b8b-4c07-b082-8d014fc06cb5/call-clair/shard-136/inputs/1486994909/sampleID.bam). INFO:tensorflow:Restoring parameters from /reference/software/claire/claire-2.0.6/ont/model Restoring parameters from /reference/software/claire/claire-2.0.6/ont/model Calling variants ... Processed 0 tensors Total time elapsed: 0.00 s [INFO] Using 9 CPU threads Delay 2 seconds before starting variant calling ... /var/spool/PBS/mom_priv/jobs/10425955.hpcpbs02.SC: line 25: 13868 Alarm clock             clair.py callVarBam --threads 10 --chkpnt_fn /reference/software/claire/claire-2.0.6/ont/model --ref_fn /working/genomeinfo/cromwell-dev/cromwell-executions/ONT/7de38df6-2b8b-4c07-b082-8d014fc06cb5/call-clair/shard-136/inputs/862458108/GCA_000001405.15_GRCh38_no_alt_analysis_set.fa --bam_fn /working/genomeinfo/cromwell-dev/cromwell-executions/ONT/7de38df6-2b8b-4c07-b082-8d014fc06cb5/call-clair/shard-136/inputs/1486994909/sampleID.bam --ctgName chrUn_KI270336v1 --sampleName chrUn_KI270336v1_name --call_fn chrUn_KI270336v1.vcf
I think it comes from line 203 of https://github.com/HKU-BAL/Clair/blob/90dc1a9c47c1d346b834f0ea54d2e185779f1c8a/clair/callVarBam.py . What is the purpose of the alarm here? It's possible that if my server is smashed that 2 seconds is simply not enough for network lag etc.
What would you suggest as a work around?
Thanks in advance,
Liam

Could you please check if there are reads aligned to 'chrUn_KI270336v1'. The alarm is a mechanism to exit all forked processes if one or more processes run in to a problem. In your error message No read has been process, either the genome region you specified has no read cover shows no read was extracted from 'chrUn_KI270336v1'


Use the latest service-runner v2.6.1

Require the latest version of service-runner, which allows us to start
multiple workers at the same time.

Coverage increased (+0.1%) to 88.578% when pulling 336abad9f5740ea43e89a426f8b3cedff212f9f9 on d00rman:service-runner-261 into 718c7088ef460e1c33bdea4272c0e48fd851683c on wikimedia:master.

Coverage increased (+0.1%) to 88.578% when pulling 336abad9f5740ea43e89a426f8b3cedff212f9f9 on d00rman:service-runner-261 into 718c7088ef460e1c33bdea4272c0e48fd851683c on wikimedia:master.


Use the new berkeley precomputed block parsers after block 359604

This is the new post hard-fork chain aka Berkeley mainnet.

Easy

I like your style

Dupe of #602. Will be handled in #602.


redbpf / cargo bpf?

Absolutely love the project, this is one of the most ergonomic Rust nix flakes integrations I've seen so far.
I have a project where I'd like to use https://github.com/foniod/redbpf, which provides its own setup using a Cargo subcommand it provides called cargo bpf.
What would be the 'right' way to use this with crane?

Hi @djahandarie, glad you're enjoying Crane!
I didn't see cargo-bpf present in nixpkgs, so the first step would be to package it such that it is available to your project.
Once that is done, cargoBuild is probably the wrapper you could use if you want to model that specific invocation as a derivation. It will handle vendoring the workspace dependencies, reuse workspace artifacts, etc., and then run whatever cargo command you'd like. Here's a short example:
let
  src = ./src;
  # Assuming you want to prebuild the workspace with regular
  # `cargo build`, or set it to null if you want to skip this step
  cargoArtifacts = crane.buildDepsOnly {
    inherit src;
  };
in
crane.cargoBuild {
  inherit src cargoArtifacts;

  cargoBuildCommand = "cargo bpf whatever args needed";
  nativeBuildInputs = [
    cargo-bpf
  ];
}

Does this help?


⚠ Bofrost.lu has degraded performance

In 70ca24a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1796 ms

Resolved: Bofrost.lu performance has improved in 7371844 after 7 minutes.


Toggle bidirectional text rendering

I would like to have the ability to toggle bidirectional text rendering on and off.
I am working on a project that processes source files that contain both right-to-left and left-to-right sections within the same line. The way that VS Code renders these sections is deeply confusing, and if I could turn off the bidirectional text rendering, I would be able to see the characters in order, instead of all mixed up. Currently I can only do this in emacs, but I would like to be able to use VS Code to work on these files.
An example:
from an xml file for a Yiddish-English dictionary, the line for  גובערניע  (gubernye) shows the garbled עניגובער (eniguber) when i'm looking at a diff between two versions of the file, in which I'm adding an xml tag to a sub-section of the word to add information about how the word should be transliterated.
In the first version, on its own, I see this line rendered as gubernye:

In the second version, on its own, I see this line rendered as guber...ny...e:

But when I'm looking at a diff between two versions, I see the first version rendered as eniguber and the second version rendered as guber...ny...e:

I can see why the diff tool is displaying it like this, but it is confusing, and I would really like to be sure that I'm making the right changes to files like this. The rtl and ltr markers are invisible to the viewer, except in how they are rendered, and I would love to be able to toggle the bidi text rendering off to make sure that the sequence of characters I'm entering hasn't been garbled.
I recognize that this is a hyper-specific example, but the rendering of bidirectional text is relevant to a huge section of the world's population, and a tool like VS Code should have the ability to render these documents in an unsurprising way.

@abbyhowell Could you please share the code snippets also as text?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Testbump2

FOR CONTRIBUTOR:

[ ] - I have read the CONTRIBUTING.md document and this tool is appropriate for the tools-iuc repo.
[ ] - License permits unrestricted use (educational + commercial)
[ ] - This PR adds a new tool or tool collection
[ ] - This PR updates an existing tool or tool collection
[ ] - This PR does something else (explain below)

Attention: deployment failed!
https://github.com/bernt-matthias/tools-iuc/actions/runs/3893908075