add throughput summary and fix timmer blocked by  end=3 count=0 settings

Here is what I did in this PR:

Add Throughput summary when we call "/status" from a controller. (eventgen_controller_api.py)
When we have a sample with settings of "count=0, end=3", the timer for that sample will blocked and only log "There is no data to be generated in worker...". because the execution is always 0. We should increase the execution so that this sample timer can finished the job after 3 execution.

Would you add a functional test for throughput summary?

Would you add a functional test for throughput summary?

+1. Especially for the end = 3 and count = 0 setting scenario. Thanks, Ryan.

It seems that the CircleCI was blocked by my test code(ec9192c). Do you guys have some ideas about the reason?

It seems that the CircleCI was blocked by my test code(ec9192c). Do you guys have some ideas about the reason?

Could you place the test logic in another test function since you need to set the conf and start eventgen and validate the logic?


argv_pop: Better handling when called when no arguments are available

The following script:
//usr/bin/env perlang $0 "$@" ; exit

print Base64.encode(argv_pop());

....is a simple way to base64-encode a string. It works fine, But, if you run it without parameters, the error message produced is quite inadequate:
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Perlang.ConsoleApp.Program.RuntimeError(RuntimeError error)
   at Perlang.Interpreter.PerlangInterpreter.Interpret(IEnumerable`1 statements)
   at Perlang.Interpreter.PerlangInterpreter.Eval(String source, ScanErrorHandler scanErrorHandler, ParseErrorHandler parseErrorHandler, ResolveErrorHandler resolveErrorHandler, TypeValidationErrorHandler typeValidationErrorHandler)
   at Perlang.ConsoleApp.Program.Run(String source)
   at Perlang.ConsoleApp.Program.RunFile(String path)
   at Perlang.ConsoleApp.Program.<>c.<Main>b__4_0(ParseResult parseResult, IConsole console)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass21_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__9_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext()

We should try to make this better. From the above, it's not even possible to see where the actual NullReferenceException is coming from. That's one that should be fixed. Also, argv_pop (which is presumably the method that fails) should handle this scenario more gracefully and not crash like this.

A lot has happened since this issue was created; argv_pop is no more. It is now called ARGV.pop instead. Also, I no longer get the error above with a script like this:
#!/usr/bin/env perlang

print(ARGV.pop());

When running this, I get the following output:
$ perlang foo.per
[line 3] No arguments left
nil

Do note the nil there at the end though. It's clearly a bit fishy and it seems like the "No arguments left" exception is somehow considered "non-fatal" and program execution continues... I'll file a separate issue about that. Until the issue has been filed, I will wait with closing this so I don't forget it. (I don't trust my own memory at this age. :older_man:)


Introduce dc_ammeter

Fixes #64

Looks amazing! Good luck with the conflicts 😬 i was worried about these

It was just a simple one from generated/base-symbol-names.ts :)
I marked as [wip] since I have 2 questions:

I noticed a small blue dot on the ‘A’—I’m guessing it shouldn’t be there? Any ideas on how I can remove it?

I used type guards to help with TS, but I’m not sure if that’s the preferred approach for this project. If they are, it might make sense to export them. Do you have a suggestion for where they should go?”

Yea for the A i might draw it with a path rather than use text, the blue square is the alignment and hinestly it might not look right because of how inconsistent font render is somethings, a path would be more reliable

The type guards are fine btw, this project is super lax

But tbc this is good to merge imo, thanks again!!!

Yea for the A i might draw it with a path rather than use text, the blue square is the alignment and hinestly it might not look right because of how inconsistent font render is somethings, a path would be more reliable

I tried to convert the text to a path using inkscape in a few different ways, but every time it'd end up distorted in the Grid render. The alternative would be to draw the letters myself, but I thought that would end up looking inconsistent with other letters we may add. What would you suggest?

Thanks! @Timer00


DataValidation against EF6 data

[Enter feedback here]
I am displaying data coming from my database using EntityFramework 6 in the grid.
The EF6 class has already data annotations e.g.  <StringLength(50)>
I don't want to repeat this constraints in the WinForms frontend, so how can I check against the EF6 class ?

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

ID: 4e0fef96-b91e-52da-9cff-26d9bcda458e
Version Independent ID: 964e241c-13b6-0e91-f8dd-6885e4e91319
Content: Walkthrough: Validate data in DataGridView control - Windows Forms .NET Framework
Content Source: dotnet-desktop-guide/framework/winforms/controls/walkthrough-validating-data-in-the-windows-forms-datagridview-control.md
Product: dotnet-framework
Technology: dotnet-winforms
GitHub Login: @adegeo
Microsoft Alias: adegeo

@KDGundermann Hi. I don't know much about EF6, but it looks like the constraint is just an attribute. You can look up that attribute and get the value. This article helps you understand how to read the attributes on something: https://docs.microsoft.com/en-us/dotnet/standard/attributes/retrieving-information-stored-in-attributes
You'll want to use reflection to get the property member with the attribute defined on it, then use the Attribute.GetCustomAttribute method to retrieve the attribute instance.
I also did a quick search on stackoverflow related to attributes and reflection and found this neat extension method that may help: https://stackoverflow.com/questions/23329087/get-custom-attribute-from-specific-object-property-field
I'm going to close this issue. If you need further help I encourage you to ask on stackoverflow as you'll get more people looking at your issue and possibly links to other solutions.
Cheers!


Updated ms.technology

Config change for analytics, reporting etc.

Docs Build status updates of commit 3928ab7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Make navbar similar to napari.org

Also include link to blog in the main page.

One thing to explore is to have an issue opened every time a change to the navbar happens in napari/docs.

I assume the blog would go in the top nav bar.
But will it be too busy? Should we maybe consolidate something or use a dropdown?
Pydata-sphinx page has a More 🔽

Yes @psobolewskiPhD that's what I suggested to @jni yesterday - I think we could even go as far as add other napari-related sites under the "More" rubric, like napari-animation, npe, napari-plugin-manager, napari-workshop-template etc


bedtools sample is undocumented on RTD

I didn't even know the "sample" feature existed, relying in part on this list: https://bedtools.readthedocs.io/en/latest/content/bedtools-suite.html
$ bedtools sample

Tool:    bedtools sample (aka sampleFile)
Version: v2.30.0
Summary: Take sample of input file(s) using reservoir sampling algorithm.

Usage:   bedtools sample [OPTIONS] -i <bed/gff/vcf/bam>

WARNING:	The current sample algorithm will hold all requested sample records in memory prior to output.
		The user must ensure that there is adequate memory for this.

Options:
	-n	The number of records to generate.
		- Default = 1,000,000.
		- (INTEGER)

	-seed	Supply an integer seed for the shuffling.
		- By default, the seed is chosen automatically.
		- (INTEGER)

	-ubam	Write uncompressed BAM output. Default writes compressed BAM.

	-s	Require same strandedness.  That is, only give records
		that have the same strand. Use '-s forward' or '-s reverse'
		for forward or reverse strand records, respectively.
		- By default, records are reported without respect to strand.

	-header	Print the header from the input file prior to results.

	-bed	If using BAM input, write output as BED.

	-header	Print the header from the A file prior to results.

	-nobuf	Disable buffered output. Using this option will cause each line
		of output to be printed as it is generated, rather than saved
		in a buffer. This will make printing large output files
		noticeably slower, but can be useful in conjunction with
		other software tools and scripts that need to process one
		line of bedtools output at a time.

	-iobuf	Specify amount of memory to use for input buffer.
		Takes an integer argument. Optional suffixes K/M/G supported.
		Note: currently has no effect with compressed files.

Thank you for the reminder!


Error while generating project.

Features
HttpException Selected: DefaultIsSelected:
Referrer Meta Tag Selected: DefaultIsSelected:
Humans.txt Selected: DefaultIsSelected:
Search Selected: DefaultIsSelected:
Atom Feed Selected: DefaultIsSelected:
Web-App Capable Selected: DefaultIsSelected:
Windows 8.1 IE 11/Edge Favicon Selected: DefaultIsSelected:
Windows 8 IE 10 Favicon Selected: DefaultIsSelected:
Google TV Favicon Selected: DefaultIsSelected:
Android Chrome M39+ Selected: DefaultIsSelected:
Android Chrome M36 to M38 Favicon Selected: DefaultIsSelected:
Apple Mac Safari Favicon Selected: DefaultIsSelected:
Apple iOS Favicons Selected: DefaultIsSelected:
Twitter Cards Selected: DefaultIsSelected:
Open Graph Selected: DefaultIsSelected:
Author Meta Tag Selected: DefaultIsSelected:
Contact Page Selected: DefaultIsSelected:
About Page Selected: DefaultIsSelected:
Redirect to Canonical URL Selected: DefaultIsSelected:
Sitemap Selected: DefaultIsSelected:
Robots.txt Selected: DefaultIsSelected:
Glimpse Selected: DefaultIsSelected:
Application Insights Selected: DefaultIsSelected:
NWebSec Selected: DefaultIsSelected:
HTTPS Everywhere Selected: DefaultIsSelected:
CSHTML Minification (Experimental) Selected: DefaultIsSelected:
XML Formatter    None - True
DataContractSerializer - False
XmlSerializer - False
Both - False
JSON Serializer Settings    Camel-Case (e.g. camelCase) - True
Title-Case (e.g. TitleCase) - False
JavaScript Test Framework    Mocha - True
Jasmine - False
None - False
JavaScript Hint (JS-Hint) Selected: DefaultIsSelected:
JavaScript Code Style (JSCS) Selected: DefaultIsSelected:
TypeScript Selected: DefaultIsSelected:
Front End Framework    Bootstrap - True
Zurb Foundation - False
Semantic UI - False
Target Framework    .NET Core - True
.NET Framework 4.6.1 - True
Set the package.json or bower.json package name Selected: DefaultIsSelected:
Set the AssemblyCopyright Selected: DefaultIsSelected:
Set Random Ports Selected: DefaultIsSelected:
Services Selected: DefaultIsSelected:
JavaScript Lint Selected: DefaultIsSelected:
Exceptions
System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Boilerplate.Wizard.Services.FileSystemService.<>c__DisplayClass13_0.b__2()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Boilerplate.Wizard.Services.FileSystemService.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Boilerplate.Wizard.ViewModels.MainViewModel.d__19.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Boilerplate.Wizard.Services.FileSystemService.<>c__DisplayClass13_0.b__2()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Boilerplate.Wizard.Services.FileSystemService.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Boilerplate.Wizard.ViewModels.MainViewModel.d__19.MoveNext()<---

Thanks for reporting this issue. Based on the error, it's trying to delete a directory in the project based on your feature selections. However, it is unable to do so because something in the directory is being used. Is there anything you can think of that might have caused this?

Feel free to reopen this if you have more info.


Lighting issue

https://youtu.be/pwWZFxY0sWs

I was going to create an issue for this. Hopefully you're able to trash this issue down easily!


Can't inject into Google Chrome

Hi
I am trying to Inject into Google Chrome to capture a Google maps 3d model. When doing so I run Google Chrome with the target: C:\Windows\System32\cmd.exe /c "SET RENDERDOC_HOOK_EGL=0 && START "" ^"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe^" --disable-gpu-sandbox --gpu-startup-dialog" It starts and I get the dialog box telling me the pid code. Before the ui starts I manage to successfully inject into Chrome however when the UI for Chrome appears the injection disconnects. The same thing happens when I try to open Chrome in the Launch Application tab. I have tried disabling the inbuilt Chrome Protection but that didn't work.  What should happen is that it will stay injected when the UI launches
Steps to reproduce:
Create a Google Chrome shortcut
Open the shortcut's properties and insert: C:\Windows\System32\cmd.exe /c "SET RENDERDOC_HOOK_EGL=0 && START "" ^"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe^" --disable-gpu-sandbox --gpu-startup-dialog" into the target field
Open RenderDoc and open a Inject into Process tab
Open the shortcut
Enter the PID code into the search bar
Select the Chrome process and click inject
Wait until the Chrome UI shows up and it should disconnect
I am running windows 10 OS Build 19041.450
I am running RenderDoc v1.9
I am running Google Chrome Version 85.0.4183.83 (Official Build) (64-bit)
I have no clue what Graphics API I am running but I have a RTX 2080 (non super) and running the Nvidia GeForce Game Ready Driver Version: 452.06
Hope someone can help
Thanks :)

Hi there, your issue has been closed again due to not correctly following the issue template. DO NOT open another issue that is badly formatted or I will temporarily block you.
Please read the documentation about filing issues and open a new issue which does follow the issue template. Do not reply to this issue with more information or with a correctly formatted issue, as that will only lead to confusion.
I try to address all github issues and fix bugs quickly, but badly formatted issues or poorly described bug reports especially are a significant drain on project resources. Taking a few minutes to file a good issue makes a huge difference and will get it addressed faster - everybody wins!
In github when you first create a new issue the form is pre-populated with a template which you should read over and follow. As linked above there is documentation going into more detail about what makes a good issue.

@baldurk I'll write here, because you seem to close any topic mentioning chrome. Just so you know, there are very legitimate usages of this, when you're trying to see what your own code running in chrome does, even more so, if the code was written in C++, passed through emscripten and then the drawcalls could be slightly modified.


Error

Hi, I continue getting this error when I try to train a new moLoRA. Can somebody pls help?
Error occurred when executing ADMD_CheckpointLoader:
No operator found for memory_efficient_attention_forward with inputs:
query : shape=(1, 2, 1, 40) (torch.float32)
key : shape=(1, 2, 1, 40) (torch.float32)
value : shape=(1, 2, 1, 40) (torch.float32)
attn_bias :
p : 0.0
decoderF is not supported because:
xFormers wasn't build with CUDA support
attn_bias type is
operator wasn't built - see python -m xformers.info for more info
<EMAIL_ADDRESS>is not supported because:
xFormers wasn't build with CUDA support
dtype=torch.float32 (supported: {torch.float16, torch.bfloat16})
operator wasn't built - see python -m xformers.info for more info
tritonflashattF is not supported because:
xFormers wasn't build with CUDA support
dtype=torch.float32 (supported: {torch.float16, torch.bfloat16})
operator wasn't built - see python -m xformers.info for more info
triton is not available
cutlassF is not supported because:
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
smallkF is not supported because:
max(query.shape[-1] != value.shape[-1]) > 32
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
unsupported embed per head: 40
File "C:\tools\StabilityMatrix\Packages\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\tools\StabilityMatrix\Packages\ComfyUI\custom_nodes\ComfyUI-ADMotionDirector\nodes.py", line 685, in load_checkpoint
unet.disable_xformers_memory_efficient_attention()
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 301, in disable_xformers_memory_efficient_attention
self.set_use_memory_efficient_attention_xformers(False)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 259, in set_use_memory_efficient_attention_xformers
fn_recursive_set_mem_eff(module)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 255, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 255, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 255, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 252, in fn_recursive_set_mem_eff
module.set_use_memory_efficient_attention_xformers(valid, attention_op)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 259, in set_use_memory_efficient_attention_xformers
fn_recursive_set_mem_eff(module)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 255, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 252, in fn_recursive_set_mem_eff
module.set_use_memory_efficient_attention_xformers(valid, attention_op)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\custom_nodes\ComfyUI-ADMotionDirector\animatediff\models\attention.py", line 250, in set_use_memory_efficient_attention_xformers
raise e
File "C:\tools\StabilityMatrix\Packages\ComfyUI\custom_nodes\ComfyUI-ADMotionDirector\animatediff\models\attention.py", line 244, in set_use_memory_efficient_attention_xformers
_ = xformers.ops.memory_efficient_attention(
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\xformers\ops\fmha_init_.py", line 223, in memory_efficient_attention
return memory_efficient_attention(
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\xformers\ops\fmha_init.py", line 321, in _memory_efficient_attention
return memory_efficient_attention_forward(
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\xformers\ops\fmha_init.py", line 337, in _memory_efficient_attention_forward
op = _dispatch_fw(inp, False)
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\xformers\ops\fmha\dispatch.py", line 120, in _dispatch_fw
return _run_priority_list(
File "C:\tools\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\xformers\ops\fmha\dispatch.py", line 63, in _run_priority_list
raise NotImplementedError(msg)

figured it out. Had uninstall xformers and then it worked.


Update hashbrown deps due to security

In Microsoft we recently got a security notification due to usage of hashbrown 0.15.0
The borsh serialization of the HashMap did not follow the borsh specification. It potentially produced non-canonical encodings dependent on insertion order. It also did not perform canonicty checks on decoding.
This can result in consensus splits and cause equivalent objects to be considered distinct.
This was patched in 0.15.1.

@alexcrichton is there a place where I can look for approximate release schedule?

@quanterion I've now published a new wasm-tools including this PR.

@quanterion note that a release isn't necessary for this PR (although I realize it's already been done) as that's not how cargo dependencies work. The dependency directives here are a minimum bound, not a range, so the fixed versions could already be used in downstream crates.


Can't select schema

I'm not sure if this is a bug or if it is because of something I'm not doing right.
This feature used to work in an earlier version where I could select the schema from the dropdown and hence didn't have to include the schema name whenever I write a query.

Now after updating to version 5.0.1 when I click the dropdown I'm given an option to select a schema of my choice. But after selecting it, it reverts back to 'None'
I even tried editing the connection to select the default schema of my choice but it doesn't help. I always have to include the schema name in the query

Can't reproduce this. Does it still happen in 6.1.3+?

I haven't tried it on version 6+. I tried it on 5.0.1
I'll try uninstalling v5 and install v6 and see if I get the same error.


Improper usage of stderr vs stdout CF7 rolling app deployment

Please fill out the issue checklist below and provide ALL the requested information.

[X] I reviewed open and closed github issues that may be related to my problem.

Similar issue: https://github.com/cloudfoundry/cli/issues/1700

[X] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
[ ] I attempted to run the command with CF_TRACE=1 to help debug the issue.
[X] I am reporting a bug that others will be able to reproduce.
[X] If this is an issue for the v7 beta release, I've read through the official docs and the release notes.

Describe the bug and the command you saw an issue with
cf push APP-NAME --strategy rolling
What happened
Informational message "Instances startring..." is sent to stderr

Expected behavior
Information messages should send via stdout, warning or errors should send via stderr. Since the "Instances starting..." is being sent via stderr our deployment pipeline is now recording unnecessary warnings during deployment. This is creating unwanted white noise and affects our ability to know when a deployment truly needs to be reviewed.
To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:

Run cf push APP-NAME --strategy rolling
See that "Instances starting..." is being recorded as an error as it is being piped via stdout.

Provide more context

CLI version 7.0.1

https://github.com/cloudfoundry/cli/blob/40cee3524b33c9e7db6386dd03509be323b442db/integration/v7/push/push_output_test.go#L48

Hey @bmcorum,
Thanks for bringing this bug to our attention and for providing direct pointers to the offending code.
We're happy to take a look although it's lower priority than the the work we're doing to shore up our release processes to better support multiple versions of the CLI (v6, v7, vNext).
We'd be happy to accept a PR if you're up for it and carry the change out in a near-term release published via out updated processes.
Please let us know if you're interested.
Thanks,
Josh Collins - PM cf CLI


Inconsistency scope between query parameter and azure settings

Hi there,
Have a question about the scope setting and how is the relation between v2.0 api and Azure permissions settings.
Below is the first leg of OAuth, we composed url with few scope in the query parameters and redirect user to login and consent few permissions.
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=code&client_id=client_id&redirect_uri=https%3A%2F%2Flocalhost%2Fservices%2Foutlook_calendar%2Fcallback&scope=Calendars.Read+Chat.Read+Files.Read+profile+openid+email+offline_access&state=ttwHAdWDQKv7QLeQ4Ly5pK6LSTpKjd&prompt=consent'
After that , I got the code and use this code with same scope to get access token. However, below is that payload I got from token API
{u'access_token': u'token',
u'expires_at':<PHONE_NUMBER>.491299,
u'expires_in': 3600,
u'ext_expires_in': 3600,
u'id_token': u'id_tokan',
u'refresh_token': u'refresh',
u'scope': [u'Calendars.Read',
u'Calendars.ReadWrite',
u'Calendars.ReadWrite.Shared',
u'Chat.Read',
u'Contacts.Read',
u'email',
u'Files.Read',
u'MailboxSettings.Read',
u'openid',
u'profile',
u'User.Read',
u'User.ReadBasic.All'],
u'token_type': u'Bearer'}
So, there are two questions here.

The scopes along with access token is not same what I compose in the get token url. I only include "Calendars.Read Chat.Read Files.Read profile openid email offline_access" in the second request to get access token, why?
I don't add File.Read to the API permission in my Azure application, why I can get permissions. That means I don't have to add any permissions to API permission, and I can arbitrarily request any permissions not in Azure Application via token api?

Could you please answer my questions?
Thanks,
Chih-Jen

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

ID: fef99ca3-72bb-2c48-a62b-9ff9c314d72b
Version Independent ID: e58fd3a1-0af8-6e16-3d78-3dc748992593
Content: Microsoft identity platform and OAuth Authorization Code Flow
Content Source: articles/active-directory/develop/v2-oauth2-auth-code-flow.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

!@wucj Thanks for the question! We are investigating and will update you shortly.

Hey @wucj
In regards to your questions

The scopes along with access token is not same what I compose in the get token url. I only include "Calendars.Read Chat.Read Files.Read profile openid email offline_access" in the second request to get access token, why?

I suggest reading the doc suggested in the answer to the 2nd question. Here : https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#using-permissions
It might be that in your request you're requesting the consented scopes.

I don't add File.Read to the API permission in my Azure application, why I can get permissions. That means I don't have to add any permissions to API permission, and I can arbitrarily request any permissions not in Azure Application via token api?

I highly suggest taking a look through the docs here : https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#scopes-and-permissions
As it goes into the differences between scopes.
Essentially there are static scopes and dynamic scopes, and you can request scopes accordingly. You can either statically assign them or dynamically request them. And you will only get the permissions if you have the ability to grant consent accordingly.
Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day today. Please reopen this git issue if you have anymore concerns. Thanks

Thanks for answering my question. I am closing this issue now.


Document GCHeapStats_V2 Runtime Event

The GC now has a "Pinned Object Heap" which will be reported as part of the GCHeapStats_V2 event. The current section on https://docs.microsoft.com/en-us/dotnet/framework/performance/garbage-collection-etw-events#gcheapstats_v1-event only documents the V1 Event and doesn't include the V2 event payload.

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

ID: e864e1e3-c8ed-a993-8e72-372e30f6610c
Version Independent ID: eb24522a-de26-44e6-75fc-4a332fe45501
Content: Garbage Collection ETW Events
Content Source: docs/framework/performance/garbage-collection-etw-events.md
Product: dotnet-framework
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@sdmaclea This article is in the framework area, but is this work related to .net core/5 only?

Yes.  It is probably part of our .NET Core documentation debt.


shoud 'continue' when one file not match condition, not 'break'

Bug report 🐞
filepath: /src/index.ts

Version & Environment
no need
Expection
plugin should loop all files
Actual results (or Errors)
The plugin stops working directly when it encounters a file that does not meet the conditions

@Raidennnnnn  Thanks feedback. this is a low level mistake. I'll fix them as soon.


Remove fx.monomorphize calls from fx.layout_of

We should just call fx.monomorphize ourself before using it anywhere.

Fixed in 172522c2e7f4e84b0e618241b8c14aa8a8b3c08d


Show 3rd level items under 2nd level

I use for 2 level menu, all is fine. But when I use the 3 level menu, the menu on the third level doesn't appear, but the elements are visible when inspected. And I changed the depth to 3, but it doesn't show up either.
Can anyone help me?

Bootstrap has no 3rd level. If you want to show more depth in your menu, you can use this example https://bootstrap-menu.com/detail-multilevel.html

Thank you. This is really helpful


Weaken shortening requirement for halve

It may not be possible to shorten given collection reliably (e.g., Iterators.Filter).  We only need that the collections are eventually shortened.

Codecov Report

Merging #23 into master will decrease coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   92.45%   92.23%   -0.22%
==========================================
  Files           3        3
  Lines         106      103       -3
==========================================
- Hits           98       95       -3
  Misses          8        8

Impacted Files
Coverage Δ

src/implementations.jl
88.73% <0.00%> (-0.46%)
:arrow_down:

Continue to review full report at Codecov.

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


Require fixer.io service to receive access_key.

@florianv there are integration tests that no longer can work for Fixer, without providing an access_key. How do you want to proceed with this?
One way is to still run them, but you will add your own secret access key in Travis environment variables for the build. For example FIXERIO_ACCESS_KEY env var, I can create a hook for that. And the integration tests will run using the value from that - although there is a chance that it leaks when tests fails (as the access key is in the URL). Another option is to delete the tests. I think it should be your decision in the end.

@ddinchev Thanks for your pull request !
Can you please add / fix the tests ?

@florianv could you check the description of the PR? The failing tests are integration tests that now can not run without real access key.

@ddinchev Sorry, I missed that. Could we add a PHPUnit env variable for it and skip the tests if not provided ?

@florianv I've also removed Yahoo. Can you make sure to do a more significant version-bump when you merge this to master?

@ddinchev That was the plan! Removing the Yahoo service will break people's config relying on it, while keeping it will allow the chain to run (fallback services)


Unable to retain JSDocs for higher order function

Bug Report
When it comes to higher order function, the JSDocs for the resulting function are not persisted after transpile. declarationMap does not help in this regards either.
🔎 Search Terms
jsdocs, comments, higher order function, declarationmap
🕗 Version & Regression Information
4.9.4, but this should happen to all older versions.
"Bugs" that have existed in TS for a long time are very likely to be FAQs; refer to
https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs
Please keep and fill in the line that best applies:
-->

This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

⏯ Playground Link
No playground link, as this requires transpilation.
💻 Code
/**
 * this comment retains
 **/
export function higher() {

  /**
   * this comment does not
   **/
  return function() {}
}

When using this code locally, the returning function does get the comment:
const foo = higher()

foo() // comment shows here

But once it is transpiled and published, the consumer of the package will not get the comment,
even if the package include the source, and using declarationMap
🙁 Actual behavior
No JSDocs comment.
🙂 Expected behavior
JSDocs comment should retain to aids consumer of the package.

Could be related to #49798

What are you proposing the .d.ts file look like?

I think the JSDoc in the .d.ts file can only do so much, as it is generated and we can't create additional transient type just for this, e.g.:
// this is way too messy

/**
 * JSDoc for foo
 */
export function foo(): Foo_Return

/**
 * JSDoc for returned function of foo
 */
type Foo_Return = ...

Instead, if there is a .d.ts.map file, we can get the JSDocs from the source directly?
That could make it work just like the local .ts file.


[Feat] ADD mor cards in categories

Description
As i am seeing categories page have only 3 cards in it , we need to add some  more cards in  the form of carousel ,i add cards like sports accessories, makeup accessories , grocery ,garments and many more , this will helps to improve user experience.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[ ] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Hello admin! there's some lack of shoping cards . I would like to add more cards to it for example- makeup and beauty essentials, skincare essentials, bakery items etc. Please assign me this issue to be solved and an early reply from you will be appretiated @mdazfar2

Hello @isimarjitsingh, this is a very good feature, but we are converting the entire code into the Next.js framework for easier backend integration. Once the Next.js conversion is complete, I will let you know so you can work on that issue.

Actually we're getting very close to 100 stars!  Would you mind giving our repository a star?  ⭐


Infinite HTTPS redirect loop when installing on GKE

I followed the instructions on GKE AutoPilot through GCP Cloud Shell's IDE. Unfortunately at the very last step, the portforward, the exposed 80 port seems to just redirect to the snakeoil TLS port. CloudShell's secure reverse proxy only supports the HTTP protocol. Looking through the configs there seems to be no obvious way to disable the redirect. I know how to do it on the vanilla argocd-server yaml.
Environment: GKE Autopilot
K8s Version: 1.21
Host: GCP CloudShell
Response code: 307
Location: https://8080-cs-646520168256-default.cs-us-west1-pits.cloudshell.dev/?authuser=0

Update:
This can't possibly be correct, and yet this is the default config! I have never seen a server that can terminate TLS and HTTP running on the same port, 8080 in this case.

https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
# Deployment:
        ports:
        - containerPort: 8080
        - containerPort: 8083
# Service:
spec:
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 8080
  - name: https
    port: 443
    protocol: TCP
    targetPort: 8080

Update 2
This is partially addressed in the argocd-server docs, but the docs don't apply to autopilots' structure. Half of that page is telling people to add --insecure, but the default config isn't secure either as the certificate is not trusted, and it makes securing it harder. https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#disable-internal-tls
Update 3
I managed to stop the loop with the following config:
apiVersion: kustomize.config.k8s.io/v1beta1
configMapGenerator:
- behavior: merge
  name: argocd-cm
  literals:
  - |
    repository.credentials=- passwordSecret:
        key: git_token
        name: autopilot-secret
      url: https://gitlab.com/
      usernameSecret:
        key: git_username
        name: autopilot-secret
- behavior: merge
  name: argocd-cmd-params-cm
  literals:
  - 'server.insecure=true'
  - 'server.repo.server.strict.tls=false'
  - 'server.repo.server.plaintext=true'
kind: Kustomization
namespace: argocd
resources:
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.3.6
# patchesStrategicMerge:
# - argocd-server.yaml

However, the service is still exposing two ports, one of which is named https but is http.

Hey @MarsOrBust24, I think that this issue is not really related to how we are doing things with autopilot and has more to do with how argo-cd is working.
You can also see similar issues on the argo-cd project:
https://github.com/argoproj/argo-cd/issues/2953


Please add the "Context Actions" command (JetBrains)

From https://www.jetbrains.com/guide/java/tips/context-actions/

⌥⏎ (macOS) / Alt+Enter (Windows/Linux)

P.S.
Really love the plugin, huge thanks!

Hello @AzimMuradov, thank you for your feature request.
This is already possible with native vanilla obsidian via binding Alt + Enter shortcut to Show context menu under cursor command in Settings > Hotkeys.
Here is screen of my hotkey setting tab showing how I have it in my Obsidian:

That is why I am closing this issue post as not planned, because it is possible in native obsidian via few clicks.
Thank you for using Keyshots ❤, if you have any other idea of improvement, you are welcome to share it via another issue post.

Thanks!


Cleanup daemon/volumes

Mount struct now called volumeMount
Merged volume creation for each volume type (volumes-from, binds, normal
volumes) so this only happens in once place
Simplified container copy of volumes (for when docker cp is a
volume)

Looks like we would not be able to merge this PR because of merge conflicts. Please fix them and force push to your branch.

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "cleanup_daemon_volumes" git@github.com:cpuguy83/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

This will update the existing PR, so you do not need to open a new one.

ping @icecrime @LK4D4

does this fix #9981

Indeed, added it to the comment so it gets closed out.

is there a way to seperate out the bug fix from the rest sorry @cpuguy83

@jfrazelle it's here #10365

awesome reopened \o/
On Mon, Mar 23, 2015 at 10:00 AM, Brian Goff<EMAIL_ADDRESS>wrote:

@jfrazelle https://github.com/jfrazelle it's here #10365
https://github.com/docker/docker/pull/10365
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/10422#issuecomment-85096260.

I know this one is a difficult one to review, but I think this simplifies daemon/volumes a good deal.
Would be great if we can go ahead and get this in.

LGTM

oh shoot needs rebase so sorry, ping me after for merge

Rebased.

LGTM


feat: Add filter_policy to mongodb_atlas integration

Why:
Adds flexible filtering options to mongodb_atlas integration. By introducing a filter policy option (replace or merge), developers can now control how runtime filters are applied relative to initialization time filters.

partially fixes https://github.com/deepset-ai/haystack-core-integrations/issues/780
supersedes https://github.com/deepset-ai/haystack-core-integrations/pull/781

What:

Added filter_policy parameter with options replace and merge across multiple retrievers to control filter behavior dynamically.
Unit tests were updated or added to validate the new functionality.

How can it be used:

Dynamic Filter Behavior Adjustment:  Users can decide whether to completely override the initial filters set during the retriever's initialization (replace) or merge them with runtime filters, with the latter taking precedence (merge).

Complex Search Scenarios:

In cases where the context of a query might dictate altering pre-set filters without discarding them, the merge option allows for an additive approach.
For strict query contexts that require ignoring initial filters, the replace option offers a clean slate for filters at runtime.

How did you test it:

Unit tests were enhanced or newly created to cover both replace and merge scenarios for the filter_policy parameter.
Tests ensure that filter logic is correctly applied based on the policy setting, whether it merges runtime filters with initial filters or replaces them entirely.
Additional test cases should be considered for complex filter merge scenarios to ensure priority and override mechanisms function as expected.

Please delay review until a new patch release of 2.2.x is released. We need these two PRs to be included in a patch release first.

Ready for review now @davidsbatista

Since you last looked at this PR we introduced apply_filter_policy function that is used by all Retrievers in this PR and we thoroughly tested that function in that PR. We then just applied it here in run method
Please note if FilterPolicy type is used consistently both in init and in run, and that it is documented well

Stefano recommended one more small improvement. Please hold your review until a new commit with it is added here

@davidsbatista  please have a look at https://github.com/deepset-ai/haystack-core-integrations/pull/827 @anakin87 has already gone through a through review of Astra and should help you validate this PR is well-aligned as well


New color palette

Cards are temporary until new assets are available for them. Minimal effort fix to #30; better solution to be done later.

We should probably minify these svgs, but otherwise, looks good enough for me

Threw up #33 in backlog.


Add Jira sink

Created jira sink featurnig these actions - Issue https://github.com/apache/camel-kamelets/issues/952

Add a jira issue.
Add comments to an existing issues in jira
Update fields on an existing issue in jira
Transition the status of a jira issue

Also updated the go scripts

Update go version to 1.16 for generator
Updated camel apis to the 1.9.2

@squakez for review


gRPC Streaming vs Unary calls

Hi All!
I'd love to share some learning from my side when working on an internal project which I think translates to some of the Dapr proto calls. What we found out when doing gRPC calls at scale, is that stream calls reduce networking performance by ~50% (note: this was tested on Python.
We were quite amazed by this, so did extensive testing. The below is a summary of what we found while doing gRPC calls at large scale (think millions of calls per minute).

Note: these are the findings we could share, we have flame charts and other graphs supporting these claims but which we couldn't share properly. We contribute these findings back to Dapr as we think it might benefit Dapr as well and leave it up to the community to do benchmarking in Dapr as well to confirm if it applies.

Deep Diving
Benchmarking
The below is a benchmark for respectively 1, 2 and 5 processes running in parallel doing 1, 10, 100, 1000 calls as quickly as they can. The top one represents streaming, the bottom one represents unary calls.
It can be noted that the Unary calls take half the time of the streaming calls

Eric Anderson - Staff Engineer @ Google Reflects this on Stakeoverflow
Our findings above were confirmed by Eric Anderson, whom noted on Stackoverflow as well that The general approach should be "use unary," unless large enough problems can be solved by streaming to overcome their complexity costs.
https://stackoverflow.com/questions/56766921/multiple-unary-rpc-calls-vs-long-running-bidirectional-streaming-in-grpc
Removing Serialization & Deserialization Overhead
Another optimization we found from our side (which might not be entirely translatable to Dapr, but which we would love to share) is that serialization and deserialization overhead can be eliminated (or at least is promised to) by using Apache Arrow Flight:
https://arrow.apache.org/docs/format/Flight.html

reference: https://parallel.computer/presentations/BID2022/BID2022_PPoPP_Ahmad_slides.pdf
Dapr Usage
Checking into this, Dapr apparently also uses Streaming in 2 different APIs:

Configuration
Encryption

i remeber grpc streaming has keep-alive feature and will close the connection after tens of seconds if it is one way streamoing. need to have application-level ping-pong to keep the grpc connection alive.
so i am wondering if the grpc client/server library in dapr level has the same issue here ? thx.


Property decorator not working anymore

Bug Report
Using a property decorator doesn't seem to work anymore. In the playground it does work however (see links below).
🔎 Search Terms
typescript 4.3 property decorator
🕗 Version & Regression Information

This changed between versions 4.2 and 4.3

⏯ Playground Link
Interestingly this bug doesn't occur in the playground. Maybe it is linked to modules somehow? This is the link to the repo.
Only the index.ts and the C1.ts are relevant.
💻 Code
The difference seems to be that for this TS code
function dec(proto, key) {
  Object.defineProperty(proto, key, {
    get() { ... }
    set(value) { ... }
  });
}

class C {
  @dec
  foo: string;
}

In the playground sth like this JS is generated:
class C {
}
decorate(C, 'foo', dec);

while in my example project this JS is generated:
class C {
  foo;
}
decorate(C, 'foo', dec);

🙁 Actual behavior
The code behaves as if the decorator is never executed (it is however).
🙂 Expected behavior
The simple field should have been replaced by the property with getter/setter.

The playground emits the same code when you turn the flag useDefineForClassFields on.

Indeed! And it causes the same behaviour as in my repo. So is this expected behaviour? I suspect not, given that it makes this property decorator useless

No idea. Most likely unintended, but working as it should. The class fields feature is fairly new, and the decorator support is based on a deprecated proposal. Tho the decorator isn't even relevant here - it's working perfectly fine and as it should.
What doesn't work as you expect is the Object.defineProperty. You can find more details here: https://github.com/tc39/proposal-class-fields#public-fields-created-with-objectdefineproperty

I have the same problem, upgrading TypeScript from 4.2 to 4.3 broke my Vue components which uses vue-property-decorator:
import Vue from "vue"
import { Component, Prop } from "vue-property-decorator"

@Component
export default class Test extends Vue {
  @Prop(Number) readonly id!: number

  readonly idStr: string = this.id.toString()
}

this.id will be undefined when the idStr value is initialized, instead of the passed in property number.
Setting useDefineForClassFields to false fixes the problem. But the docs insist that false is the default value anyway, which seems untrue, and there is nothing in the release notes regarding this change.

Are you targetting esnext?  If so, class fields are supported natively, and per spec, native class fields use [[Define]] semantics.  I would consider it more surprising when targeting ESNext if I didn't get native class fields by default.

Ok all that makes sense. Is there a recommended way or alternative to these kind of property decorators? They do provide a nice way to reuse getter / setter code.


Fix some captures not marked as DXR/EI optimized

If a capture uses EI but doesn't need resource value mapping during replay, inject a noop optimization block to mark the file as optimized for DXR/EI.

CI gfxreconstruct build queued with queue ID 1697.

CI gfxreconstruct build # 2704 running.

CI gfxreconstruct build # 2704 passed.


update_RN_0.76.3

Description

Platforms that works:
[x] ios
[x] android
[x] androidtv
[x] firetv
[x] androidwear
[x] web
[x] tizen
[ ] tvos
[x] webos
[x] macos
[x] tizenwatch
[ ] kaios
[ ] chromecast
[ ] linux
[ ] windows

Related issues

https://github.com/flexn-io/renative/issues/1818

Npm releases
n/a

It seems like building tvos now requires brew install cmake, so that should be added to the setup guide when merging this.


Blocker in the Reader.

Each reader has a blocker which has a message list inside. Why use a list if when publish a message push in front and when observe take the message in front?

It is a queue and not a list, What do you mean by list
https://github.com/ApolloAuto/apollo/blob/11104c3d8bead0034dbf0723bf682ae4c2c97d99/cyber/blocker/blocker.h#L107-L110

What policy is adopted in this queue?

it's a queue, without any priority.
I think there is no way to control the priority of the message for now, only the priority of the coroutine?

it's a queue, without any priority.
I think there is no way to control the priority of the message for now, only the priority of the coroutine?

it's a queue, without any priority.
I think there is no way to control the priority of the message for now, only the priority of the coroutine?

NO policy, just FIFO.

it's a queue, without any priority.
I think there is no way to control the priority of the message for now, only the priority of the coroutine?

NO policy, just FIFO.

What policy is adopted in this queue?

NO policy, just FIFO.

What policy is adopted in this queue?

NO policy, just FIFO.

Ok, but I have a question. For example in the code below,  in the function called at line 282 happens  observed_msg_queue_ = published_msg_queue_; and in the function called at the line 283
if (observed_msg_queue_.empty()) {
    return dummy_msg_;
  }
  return *observed_msg_queue_.front();

Why I take the element in front of the queue and not in the back?

https://github.com/ApolloAuto/apollo/blob/55fe6dab85b48220f9f9cc2a0266fb21fc16f64f/modules/control/control_component.cc#L279-L290

Ok, but I have a question. For example in the code below,  in the function called at line 282 happens  observed_msg_queue_ = published_msg_queue_; and in the function called at the line 283
if (observed_msg_queue_.empty()) {
    return dummy_msg_;
  }
  return *observed_msg_queue_.front();

Why I take the element in front of the queue and not in the back?

https://github.com/ApolloAuto/apollo/blob/55fe6dab85b48220f9f9cc2a0266fb21fc16f64f/modules/control/control_component.cc#L279-L290

I was wrong before, this is indeed a list.
  using MessageQueue = std::list<MessagePtr>;

I search the method, seems all the modules just used GetLatestObserved. Then only one size buffer is enough, if we don't need old messages.
Messages will put in front of the list, and when the buffer is full, it will pop at the back. So the latest message will always in the front.

I was wrong before, this is indeed a list.
  using MessageQueue = std::list<MessagePtr>;

I search the method, seems all the modules just used GetLatestObserved. Then only one size buffer is enough, if we don't need old messages.
Messages will put in front of the list, and when the buffer is full, it will pop at the back. So the latest message will always in the front.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


group text color is missing

I know this topic isn't THAT important but it really helps me distinguish between joobs and my friends... A few days ago i finally got CraftBukkit and they are both working fine i also added the multiverse plugin which seems to be doing well also but when i went ingame my text was WHITE..... WHITE! i triple checked the permissions file and everything in there told me i was an admin with the color code a for green but in game i was well you know WHITE!!! please help:()

Multiverse requires Spawn Monsters to be true, set it to that in ss and then use MV to disable them (Otherwise weird stuff happens).


Lower edge wall levels at RCL7

This way rooms will focus more on upgrading to RCL8 instead of spending the energy on the walls.

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

3
0
0
3

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

semperrabbit
✔

dragoonreas
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


feat!: rebuild isModuleAvailable and getModulePath with import.meta.resolve

Ref:

https://nodejs.org/api/esm.html#importmetaresolvespecifier
https://nodejs.org/api/esm.html#importmetadirname

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

3 of 8 (37.5%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 59.925%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tools/helper/src/node/utils/getModulePath.ts
1
2
50.0%

tools/helper/src/node/utils/isModuleAvailable.ts
1
5
20.0%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.1%

Covered Lines:
1300

Relevant Lines:
1966

💛  - Coveralls


Where to download pangenome file of a species?

Hi, thank you so much for developing this fantastic tool!
Just wondering where I can download pangenome file from CHocoPhlAn export?

Hello,
you can easily retrieve the pangenome file (as well as the contig fasta file and the bowtie2 indexes) using the panphlan_dowload_pangenome.py file from PanPhlAn 3.0
i just pushed a "beta" 3.0 version available here
Let me know if you encounter troubles while using it.

Hi, I would also like to include my own fasta file (strain) in the pangenome.  I ran the panphlan_new_genome_generation.py to achieve it. But the script always requires the original pangenome file that doesn't contain my strain (panphlan_[NCBI_TAX_ID]_pangenome.csv).
Is there a way to incorporate my own strain? Thank you!

Hi, if you want to build a custom pangenome, you can do that using PanPhlAn 1.3 with the panphlan_pangenome_generation.py (without "new" in the name, this one is only generating the bowtie2 indexes)
This old script requires Usearch v7  (careful, a newer version is available but not supported by PanPhlAn). Usearch download page
It will need you to provide either ffn and fna files, or gff and fna (or gff only in special cases, if gff includes sequences as well ). Basically you need to provide both sequences and annotations.
The wiki page associated to this PanPhlAn 1.3 feature can be found here

Thank you. I have the fna file. But how can I generate the ffn/gff annotation with it? Any suggestion is appreciated!

Prokka could be a nice tool for prokaryotic genome annotation
Prokka

Thank you. I will try it out.


Use localhost of configuration for MetricsReporter

MoM on centos has problems getting hostname for localhost. In general the own hostname should not be calculated each time, instead a configuration should be used or it should be calculated only on startup.
Test Plan:
sbt "test"
sbt "integration:test"
JIRA Issues:
DCOS-14303 Marathon requires the hostname inside /etc/hosts
Code not on master anymore, therefore only PR against releases/1.4

retest this please

retest this please

retest this please

retest this please

Thanks!


[BUG] -ish Source download does not include involute_gears.scad'.

Describe the bug
involute_gears.scad not included in download of BOSL2-master.zip
Edit: changed involute_gears.scad to gears.scad, which worked. So example needs updating.
Code To Reproduce Bug
OpenSCAD/libraries/BOSL2/examples/BOSL2logo.scad

Expected behavior
Expected to see BOSL2 logo.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

OpenSCAD Version: 2021.04.21.ai7788 (git d9d4a9757)
Other libraries used:

BOSL2 is still a work in progress.  One recent change was renaming involute_gears.scad to gears.scad. Apparently I didn't catch all references to it.


React Native Picker for android does not exist in the latest stable release

Hi,
In the official documents; there is a section for picker which states that it can be used for both android and IOS. However I am using the 0.18.1 and there isn't any implementation for Picker. Is it just a mistake in the documents or will that be part of 0.19? And if so could you estimate when that will be ready or should I look for some other solution?
https://facebook.github.io/react-native/docs/picker.html#content
Thanks.

Currently docs are generated from master branch. Picker should be part of next release.


LinuxDroid on a Chromebook errors

I'm not sure if it's even possible to run LinuxDroid on a Chromebook but I'm trying & failing. ;-)
I am using a 'Framework Laptop Chromebook Edition' which employs the 'brya' board (Intel 12th gen i5) and Android version 13.
I've installed Termux and the LinuxDroid scripts plus I installed the following packages:

proot proot-distro tsu fakeroot parted

But when I try to run LinuxDroid.sh & select 'Manjaro' or any other distro I get the following 'proot' errors:
making start-manjaro.sh executable
fixing permissions for manjaro
manjaro-fs/root/xfce4_de.sh: No such file or directory
manjaro-xfce.sh: line 75: manjaro-fs/etc/pacman.d/mirrorlist: No such file or directory
manjaro-xfce.sh: line 87: manjaro-fs/etc/resolv.conf: No such file or directory
manjaro-fs/usr/local/bin/vncserver-start: No such file or directory
manjaro-fs/usr/local/bin/vncserver-stop: No such file or directory
mkdir: cannot create directory ‘manjaro-fs/root/.vnc’: No such file or directory
manjaro-fs/root/.vnc/xstartup: No such file or directory
chmod: cannot access 'manjaro-fs/usr/local/bin/vncserver-stop': No such file or directory
chmod: cannot access 'manjaro-fs/usr/local/bin/vncserver-start': No such file or directory
manjaro-xfce.sh: line 111: manjaro-fs/root/.bash_profile: No such file or directory
proot warning: can't sanitize binding "manjaro-fs/root": No such file or directory
proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/manjaro-fs, cwd = /, $PATH=(null))
fatal error: see `proot --help`.
Press Enter to continue...

I looked at proot help but it was no help, for me at least.
So I'm curious if there's a 'fix' for this or should I just give up trying to run LinuxDroid on a Chromebook ???
Thanx in advance,
-DennisLfromGA

Installing Termux on ChromeOS or Crinum OS
Prerequisites:

Developer Mode: Ensure Developer Mode is enabled on your Chromebook.

Steps:

Open Google Play Store: Launch the Google Play Store app on your Chromebook.
Search for Termux: Search for "Termux" in the Play Store.
Install Termux: Click the "Install" button to download and install the Termux app.

Additional Notes:

You might need to enable Android apps on your Chromebook to install Termux from the Play Store.
Certain Termux features may not function as expected on Chromebooks due to hardware limitations.

asign me i can solveit and create seprate page for install linuxdroid crome book


fix: undeploy dictionnaries when deleting

gravitee-io/issues#6870

🚀 CI was able to deploy the build of this PR, so you can now try it directly here
Notes: The deployed app is linked to the management API of the Element Zero team's environment.

@phiz71 🆙


How to download gaze annotation

I downloaded gaze data using command python3 -m ego4d.cli.cli --output_directory=/Data/Ego4D --datasets gaze, but I still have two issues about gaze data.
(1) I don't find annotations in downloaded data. How can I get them?
(2) I tried to play these videos, but there's always an error from player. I can play videos of other benchmarks. Could you check whether these videos regarding gaze are damaged?

Could you give us more detail what videos you're trying to play?  There aren't any videos in the gaze dataset specifically.  Likewise there aren't any annotations.  Please see the documentation at: https://ego4d-data.org/docs/data/gaze/
Let us know if you have further questions from there.

I'm trying to download videos with gaze annotations. From your link, I should download them using the command python3 -m ego4d.cli.cli --output_directory=/Data/Ego4D --datasets gaze. I downloaded all gaze data, but I failed to play them. There's an error 'The file isn’t compatible with QuickTime Player'. I attached one video here.
As for the annotation, the official document shows some samples of gaze annotations in csv, so they should be available. I just want to know how to get them.
I can't reopen this issue. Could you help me to do this?


Can a CLI upgrade break appsync?

** Please describe which feature you have a question about? **
Amplify/Appsync
** Provide additional details**
Yesterday I had a properly working API setup (Amplify / Appsync).  I upgraded the system aws-amplify cli from 4.13.0 to 4.19.0 on Unbuntu 19.04.  Today making changes to the graphql schema, I get the error "cannot update more than one GSI at a time".  This is regardless if I am adding another field to an existing type or a brand new type (not using any directives like @connection or @key, only @auth since the beginning).  I believe this has been a long running problem and as was under impression it was a cloud formation bug but not one I have experienced.  Please advise if possible.  Thanks in advance.

@weisisheng Could you please let us know the before and after schemas and the exact changes you're trying to make? Thanks.

Thanks for the fast response.  Since I am trying to make quicker progress on my MVP, I removed the API and am rebuilding the graphql schema with a simpler base then adding additional directives.  Will report back if/when the issue surfaces again.

Okay, please let us know. Thanks! Closing this issue for now.


Fix incorrect mv command for kubectl-convert

The mv installation command for kubectl-convert seemed to have been copied from kubectl install, but not fully changed.

Preview: https://deploy-preview-28942--kubernetes-io-main-staging.netlify.app/docs/tasks/tools/install-kubectl-macos/#install-kubectl-convert-plugin
/lgtm

/lgtm
/approve


Spotify.Tracks.GetSeveral method doesn't verify if a trackId is valid

if you call the method with a List with random data inside it will return a list of null
is it normal there is no verification in this method ?

Hi,
There is no way to check if a spotify id is valid or not, at least it's not provided by spotify. So the Client can't do any validations

but why there is something which warn me it's a wrong id on Spotify.Tracks.Get ?


test-docker-alpine317-x64-2 is mislabeled

https://ci.adoptopenjdk.net/computer/test-docker-alpine317-x64-2/ is labeled with both sw.os.alpine-linux (which is correct based on hostname) and sw.os.linux (not correct) but means that occasionally test jobs are sent to it and subsequently fail to run, at the point when a JDK binary is fetched and upon attempt to run will fail (resulting in a file not found exception)
To make it easy for the infrastructure team to repeat and diagnose, please
answer the following questions:

test suite/name (e.g, BUILD_LIST, TARGET, CUSTOM_TARGET)?
a link into recent Test_ job on https://ci.adoptopenjdk.net which showed the failure https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_sanity.system_x86-64_linux/760/
Hyperlink to re-run in Grinder:
Is there an existing issue elsewhere covering this?
Which machine(s) does it work on?
Which machine(s) does it fail on? test-docker-alpine317-x64-2

Any other details:
13:23:53  =JAVA VERSION OUTPUT BEGIN=
13:23:53  ./get.sh: line 661: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-11.0.18+9/bin/java: cannot execute: required file not found

I have updated the labels to remove the sw.os.linux label, so can likely close this issue, but created it for awareness and to see if there are other machines also mislabeled or see if there is some tooling or process which needs an update, if auto-labeling is enabled and incorrect.

I have also updated https://ci.adoptopenjdk.net/computer/test-docker-alpine317-x64-1/ to remove the sw.os.linux label (leaving only sw.os.alpine-linux label) which ensures test jobs get routed correctly.
Those are the two machines that had 2 sw.os labels (no others show up in the list upon a quick search).


Add support for TMS commands

Hi @rqou
Thanks for your contribution ! Looks good to me. Lets wait for feedback from Alex.
Regards,
Sergey

Released v0.1.1 with these changes: https://github.com/ftdi-rs/ftdi-mpsse/releases/tag/v0.1.1


CLI import not working?

I just tried the CLI for importing several apps into my archive. I created a file with the following content
https://play.google.com/store/apps/details?id=org.wikipedia

and ran the CLI
java -d64 -jar raccoon-3.5.jar -u -a ~/Raccoon/archives/default -i app-list.txt

but no apps were download nor did it give any output whatsoever.
Downloading the one app directly with the -f switch worked absolutely fine. Do you have any idea, why this is not working?

Am Freitag, den 10.07.2015, 07:35 -0700 schrieb Moritz Lawitschka:

I just tried the CLI for importing several apps into my archive. I
created a file with the following content
https://play.google.com/store/apps/details?id=org.wikipedia
and ran the CLI
java -d64 -jar raccoon-3.5.jar -u -a ~/Raccoon/archives/default -i app-list.txt
but no apps were download nor did it give any output whatsoever.
Downloading the one app directly with the -f switch worked absolutely
fine. Do you have any idea, why this is not working?
—
Reply to this email directly or view it on GitHub.

The -i option is kinda counterintuitive. It does not download anything
at all, only create the archive folders that will be populated the next
time you run Raccoon with the -u parameter.

Ah right, yep, that was my fault :)
Thank you! :+1:


Command to show, and update proxy

Display info about the proxy linked to an existing service
Update an existing proxy

Fixed https://github.com/3scale/3scale_toolbox/pull/155


automake-1.16.1 doesn't update properly

=> Upgrading automake
==> Downloading https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz
Already downloaded: /home/jney/.cache/Homebrew/automake-1.16.1.tar.xz
==> Patching
patching file bin/automake.in
Hunk #1 FAILED at 73.
1 out of 1 hunk FAILED -- saving rejects to file bin/automake.in.rej
Error: Failure while executing: patch -g 0 -f -p1

Hi. Thanks for reporting this. Should be fixed once https://github.com/Linuxbrew/homebrew-core/pull/6603 is merged.


Support multiple named AWS profile names

Currently the tool supports only one AWS profile name in config.properties file
For devops that work usually with more than one AWS account, the only option is to not specify an AWS profile name and let the tool create a profile with the name of the Role ARN which is not very human friendly.
Requested feature:
Provide a mechanism via command line where we can specify an AWS profile name for the aws credentials. Ex:
okta-aws --aws-profile dev-project1
okta-aws --aws-profile prod-project1
Benefit:
The users with multiple account names can use meaningful and easy to remember profile names when working with multiple AWS accounts.

Currently, we can set the name of the AWS profile to create by specifying the parameter OKTA_PROFILE.
For my case, to configure multiple AWS accounts, I created multiple applications in OKTA. As a result, in my config.properties file, there are multiple OKTA_PROFILE and OKTA_AWS_APP_URL parameters configured, for example:
OKTA_ORG=acmecorp.okta.com.changeme.local
OKTA_USERNAME=junkangli

OKTA_PROFILE=development
OKTA_AWS_APP_URL=https://acmecorp.okta.com.changeme.local/home/amazon_aws/development

#OKTA_PROFILE=production
#OKTA_AWS_APP_URL=https://acmecorp.okta.com.changeme.local/home/amazon_aws/production

You may notice only 1 set of OKTA_PROFILE and OKTA_AWS_APP_URL parameters is active while the rest are commented out. To switch to another account, I will need to toggle the comment lines accordingly.

Thanks for the workaround tip.
In our case just a few people use multiple Okta environments, mostly is only the team responsible of the Okta integration.
The most common use case use production Okta auth and multiple AWS accounts.
The intention is to be able to refresh the multiple AWS profiles tokens using human friendly names, or standard nomenclature that devops are more familiar with.


Socket report disconnection after 2 minutes of real event

I would need to know after few seconds that the socket isn't connected to the internet, but the event fires after almost 2 minutes of real disconnection.
The worst part if that if the connection returns before the disconnection event, I don't have a way of knowing that I was disconnected all that time and can't do anything about it.
How can I change the sockets keep alive value? Its there another way?

Client.IO.Options op = new Client.IO.Options();
op.Timeout = 1000;
op.ForceNew = true;
these solved this problem for me

This still doesn't work


Add options for base styles path

The improvement is to change your flow from relative folder to file name if you want:
before:
{
        test: /\.html$/,
        loader: 'vue-template-loader',
        options: {
            scoped: true
        }
    }

import { Component, Vue } from 'vue-property-decorator';

import Template from './app.component.html?style=../../dist/css/scripts/app.component.css';

@Template
@Component
export class AppComponent extends Vue {
}

after:
{
        test: /\.html$/,
        loader: 'vue-template-loader',
        options: {
            scoped: true,
            stylesFolder: '../../dist/css/scripts/'
        }
    }

import { Component, Vue } from 'vue-property-decorator';

import Template from './app.component.html?style=app.component.css';

@Template
@Component
export class AppComponent extends Vue {
}

Why? Sometimes you don't want to compile your style preprocesor with webpack and you have all the files compiled separately, this with help also on other workflows.

Suggestion, As I told on an issue, I don't like the queryparemeters flow but I think this is the smallest change that I can suggest.
Another suggestion is to generate the .css file from .html name but maybe is too magic.

Another way to solve that (probably better) is to add a option to use the same folder for .html and .css I can implement it if you want

Thanks for your PR. However I'm not a fan of adding a feature that we already achieve with a webpack feature.
In your case, you can set resolve.modules option in webpack config.
module.exports = {
  resolve: {
    modules: [
      path.resolve('/path/to/css'),
      'node_modules'
    ]
  }
}

Thank you're right, now we have:
modules: [
                path.resolve(__dirname, 'dist/css/scripts'),
                'node_modules'
            ],

app.component.ts
import Template from './app.component.html?style=app.component.css';

but for children
import Template from './city-list.component.html?style=cities/city-list/city-list.component.css';

Not sure if we can resolve all the children folders with one resolve

Hmm, in that case, you should copy all js/html files to dist directory in build time? I think it would be the easiest solution than hacking webpack config.


[WIP] Reduce vendor.js size

for https://github.com/apache/dubbo-admin/issues/248

disable productionSourceMap for vendor.js

Codecov Report

Merging #630 into develop will decrease coverage by 0.02%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop     #630      +/-   ##
=============================================
- Coverage      21.70%   21.67%   -0.03%
+ Complexity       320      318       -2
=============================================
  Files             88       88
  Lines           3520     3520
  Branches         557      556       -1
=============================================
- Hits             764      763       -1
  Misses          2679     2679
- Partials          77       78       +1

Impacted Files
Coverage Δ
Complexity Δ

...apache/dubbo/admin/service/RegistryServerSync.java
92.53% <0.00%> (-1.50%)
22.00% <0.00%> (-2.00%)

Continue to review full report at Codecov.

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


selfhost/typechecker: Make better use of hashmaps

Use hashmap.get(...) instead of iterating over keys to find an item.
Potentially brings the runtime down from Omega(n) to O(1) :^)

The number of test that pass is not affected (as it should be)


Cosmetic updates + other small changes

Added double-click functionality to to select boxes that will default to Editing the item that was selected.
Updated the help screen with latest changes.
Added an option to hide the splash screen on startup.

Thanks for the contribution!


Update dependencies for Senzing 3.8.0

Pull requests:

https://github.com/Senzing/senzing-tools/pull/144


fix: Botbuilder-ai bugs

Fixes #4207
Fixes #4205
Description

Dialog is closed if response contains short answer without any prompts.
Sorting and filtering of the answers is removed from generateAnswerUtils

Testing
Updated QnAMaker tests.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 6 (50.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 84.476%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-ai/src/qnaMakerDialog.ts
3
6
50.0%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.006%

Covered Lines:
19902

Relevant Lines:
22312

💛  - Coveralls


Evade base value missing on "Grundwerte" tab

The evade base value (Ausweichen-Basiswert, s. WdH 20) is missing on the Grundwerte tab.

The DSA4.1 editors striked yet again: WdH, p. 20 explicitly mentions such base value (as does the official character sheet) and also that special skills such as Evade I to III influence this value. WdS, p. 66 on the other hand (which IMHO should have priority, see calculation below) only knows modifiers to the evasion check.
The difference between both ways to handle evasion can be seen in the case of an evasion of a lucky strike with a sword (parry value gets halved):
Examples: Directed Evasion of a Lucky Strike with a Sword
Evade II, PA base 8, BE 2

WdS Variant

PA base: 8
PA base halved: 4
Distance class N: +4
BE: +2
Evade II: -6
Check against 4 aka success at 1 to 4 (20% success chance)

WdH variant

Evasion value: 8 + 6 - 2 = 12
Evasion value halved: 6
Distance class N: +4
Check +4 against 6 aka success at 1 to 2 (10% success chance)

Example 2: Evade III, PA 8, BE 0

WdS variant

PA base: 8
PA base halved: 4
Distance class N: +4
Evade III: -9
Check -5 against 4 aka success at 1 to 9 (45% chance)

WdH variant

Evasion value: 8 + 9 = 17
Evasion value halved: 9
Distance class N: +4
Check +4 against 9 aka success at 1 to 5 (25% chance)

It's clear that even an evasion master can only evade 1/4 of all lucky strikes in the WdH variant, while it's almost half of all cases in the WdS variant. Currently, I am leaning towards the WdS way of using evasion; that would make an extra evasion base value superfluous and would also allow to have an evasion-based light fighter. Agile ("Flink") gives another -1 modifier (or adds +1 to the base value) and every full 3 talent points above 9 in "acrobatics" does the same. In comparison to a master fighter (TaW swords 14, AT/PA = 7/7),  would allow to parry with a value of 8 in the above examples, shields not even considered. I am confident that the editors favour the WdS variant as well for the sake of balancing.

A few more Informations in the Box that shows the results would be nice...

This will take some more time (~two weeks), but I'm on it.

So, as you may have noticed, this has the label "top priority" right now. I have made my first experience with Sheet Worker Scripts and can say that it should be without doubt possible to implement both systems (WdH and WdS). I will set WdH as the default. But, to half-fix this issue I will use your advice and add more information to the box. This will be the first thing I will work on once I restart working on the character sheet in ~October.

Looks kinda ugly now, but contains all the information used for the evasion check.

The "Hinweise für Ausweichen-Proben." contains quite a lot of text with an explanation of what is going on ;D


Add back stats page anchor links (basically navigation for the graphs)

Note: Title has been updated since we temporarily removed the links; see discussion below.
The anchor links in the stats page (https://localhost:9991/stats) do not respond by scrolling to the appropriate section when clicked.
This is most likely due to an error in lines 486-499 in stats.js:
// handle links with @href started with '#' only
$(document).on('click', 'a[href^="#"]', function (e) {
        // target element id
        var id = $(this).attr('href');
        // target element
        var $id = $(id);
        if ($id.length === 0) {
            return;
        }
        // prevent standard hash navigation (avoid blinking in IE)
        e.preventDefault();
        var pos = $id.offset().top+$('.page-content')[0].scrollTop-50;
        $('.page-content').animate({scrollTop: pos + "px"}, 500);
    });

@rishig FYI.
The problem here is basically that fixing this the simplest way breaks some other aspect of the page formatting (I think adds in some floating whitespace at the bottom).  This is a great thing for someone inexperienced with Zulip (but good with CSS) to debug, since it's pretty self-contained.

Thanks for opening this Cynthia! Adding @brockwhittaker as well.

Note: the sidebar was removed in bf6415c, since the broken links looked bad. So to work on this issue, you'll have to revert that change first (meaning, just paste the removed code back in!)

@aedorado I took a look at your pull request and it seems like this has been completed. Is it safe to assume that this issue is closed? Otherwise, @zulipbot claim

Is this issue open? @synicalsyntax

@sajdakabir You can help by checking whether or not the issue can still be replicated, and posting a comment describing what you saw. Thanks!

The anchor links in the stats page (https://localhost:9991/stats) do not respond by scrolling to the appropriate section when clicked.

@zulipbot claim

@zulipbot claim

@alya this issues was assigned in 2023 can I start working on it?

I don't think it's important to add a sidebar to this page, so closing this one as "won't fix".


Config handler fixes

Lodash dependency dependency added in package manager

@antonyagustine Though the complexity wise both ways looks simillar, using lodash.isEmpty() makes our code more readable as well as handles more cases of array as well as object with boolean return type rather than integer. Also, we should use uniform code structure everywhere to reduce the further confusions, So I think, you should use the lodash isEmpty which is better maintainable in future as well. I'm open for any further discussions, let me know.

@netrajpatel I've reverted the code back to lodash. @shafeeqd959 As we discussed I've added lodash dependency in package manager.


Improve the method SaveAsByTemplate when using DataTable as parameter directly

scenario:
var dataTable = AdoNet.ExecuteDataTable("SELECT * FROM Table");
MiniExcel.SaveAsByTemplate(resultFilePath, templateFilePath, dataTable);

I knew wrapping it to an object would solve the problem, but wouldn't that be easier to use?

Because miniexcel have to consider the mixed use of IEnumerable and non-IEnumerable
e.g

yea, I know what you mean. but I don't think it's a conflict if add another DataTable logic. maybe the code will become ugly?


"Unable to find user"

As far as I can tell you cannot pass a username, only a UID, even though --user is documented to work with a username:
$ whoami
frew
$ docker run --user frew frew/corn
Unable to find user frew
FATA[0000] Error response from daemon: Cannot start container 2b5f6b81c693364d39037868a1032244eab815968d1c4398d18fedfed98f245f: [8] System error: Unable to find user frew

Works fine:
% docker run -it --user nobody --rm ubuntu:14.04 /bin/bash
nobody@23b2ae0d34a4:/$

Keep in mind that the user needs to exist in the docker image, host users won't work.

Ah ok, I couldn't tell that from the docs, maybe I'll submit a patch to
clarify
--
sent from a rotary phone, pardon my brevity
On Apr 18, 2015 5:21 PM, "3onyc"<EMAIL_ADDRESS>wrote:

Works fine:
% docker run -it --user nobody --rm ubuntu:14.04 /bin/bash
nobody@23b2ae0d34a4:/$
Keep in mind that the user needs to exist in the docker image, host users
won't work.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/12514#issuecomment-94205883.

@frioux I'm going to close this issue, because I think your question is answered. If you think the documentation can be improved, we welcome your pull request! Thanks in advance :)

I can reproduce this issue. It works for nobody, but it doesn't work when I created a user called 'dockroot'.
This works:
docker -it -u nobody busybox sh

this works:
docker -it -u 1002 busybox sh

This does not work:
docker  -it -u dockroot busybox sh

Note that dockroot is userid 1002. So this should work? Not sure what makes nobody special.
Here's the work around I'm going to use for now:
docker run -u `id -u dockroot` -it busybox sh

@gflarity
root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/false
bin:x:2:2:bin:/bin:/bin/false
sys:x:3:3:sys:/dev:/bin/false
sync:x:4:100:sync:/bin:/bin/sync
mail:x:8:8:mail:/var/spool/mail:/bin/false
www-data:x:33:33:www-data:/var/www:/bin/false
operator:x:37:37:Operator:/var:/bin/false
ftp:x:83:83:ftp:/home/ftp:/bin/false
nobody:x:99:99:nobody:/home:/bin/false

There is no dockroot user in busybox, that's why it doesn't work.

Thanks @LK4D4
The reason I was confused is that -u 1002 works even though the user isn't even in there. I created the user on my host, then if I do a ps -ef | grep on the host i see the container process is owned by dockroot:
dockroot  3520  3504  0 18:18 pts/2    00:00:00 sleep 100

However, inside the actual container :
/ $ whoami
whoami: unknown uid 1002

@gflarity the process just runs under id 1002. Linux doesn't actually care about the names, just the uid/gid (numeric). When running ps, your host is looking up the uid inside /etc/passwd on the host (not inside the container), and shows dockroot, which probably is inside that file.

Keep in mind that the user needs to exist in the docker image, host users won't work.

@3onyc And what is the best way to do that?
I would like to sync file creation owner with the used system username to avoid right conflict. Do you have tips for that? Of course, this project will be run on different computers with different usernames.

I think I find a solution but not sure it's the proper way:
web:
  build: .
  user: sullivan
  command: php app/console server:run <IP_ADDRESS>:9000
  links:
    - mysql
    - solr
    - redis
  ports:
    - '9000:9000'
  volumes:
    - .:/code
    - /etc/passwd:/etc/passwd

Basically, I synced my host /etc/passwd with the docker container /etc/passwd file.
Is that correct? Not risky?

@Soullivaneuh Use the useradd command in your Dockerfile to create the user

@Soullivaneuh indeed, you need to add that user in your Dockerfile if you want to reference the user by name. Using numeric ids will work, even if no user is created prior.
I'd be careful bind-mounting /etc/passwd in your container, because by doing so, you're granting the processes in the container access to that file and modifying it. If you really want to do that, I'd suggest to mount it read-only, i.e. /etc/passwd:/etc/passwd:ro

The fact is, I want to have dynamic users in order to use same user as the host, that could be different between workstations (sullivan, brandon, jerome...).
I have to confess, I'm completely stuck. What is the best way?

Use the useradd command in your Dockerfile to create the user

@3onyc Ok, but how to passes dynamic variable inside this Dockerfile?


Not converting

When trying to convert a book from digi4school to pdf, it won't start converting and just show at the timeline "nicht berechenbar". This doesn't work with vector or rasterized.
It happens with every newer book. here is an example
https://a.digi4school.at/ebook/5845/
Steps to reproduce the behavior:

Open a book
click on convert
choose vector or rasterize (if rasterize, choose any quality level)
choose any page
click convert
it won't convert and won't break up the conversion
if you close the tab, an empty and broken pdf will be downloaded

A few Months ago, EVERY book converted and downloaded without any problems. 2 Months later, a few didn't work anymore. Now, the new added books won't convert entirely. If you repeat the steps above, you will get a broken pdf as a result. However these are the same steps I used a few months ago.

OS: Windows 10

Browser: Firefox

Version: 91.0.2 (64-bit)

OS: MacOs 11.6

Browser: Firefox, Google Chrome

Firefox Version: 91.0.2 (64-bit)

Chrome Version: 93.0.4577.82 (Offizieller Build) (x86_64)

Not tested on a smartphone
I think its eather A: its not compatible with the browsers anymore and just needs an update
or B: the books have a small security shield. However I think its B because older books can still be converted. (a few at least)
I also hope, it fixes the scaling up bug too. Sometimes when you convert the hole book, it is scaled up so you only see a portion.

Hello! I have the same problem.
Older books can be converted.
Maybe they changed something in the structure which makes the program crash.

I think the problem probably is that most of the books use the following file structure:
https://a.digi4school.at/ebook/_e-book_/_page_/_page_.svg
But some books use a structure like this:
https://a.digi4school.at/ebook/_e-book_/_page_.svg
The add-on still tries to access the individual page files like in the first structure.
I think this are mostly book entries that contain multiple e-books.

I'm having the exact same problem/Ich habe dasselbe Problem.
Converting older books works perfectly fine but with newer books the problem described by @TPAart occurs.
The pdf-version of my schoolbooks would really come in hand, especially now with the new school-year just starting.
Any chance that the program will get fixed?

I am currently working on a fix in my own fork of the plug-in: https://github.com/quif/digi4school-to-pdf
It should have fixed the issue with the incompatible books, but there are still some things I want to fix before making a pull request.

The conversion is now working with newer books, however if they are so called E book plus-Bücher the convert button ("Konvertieren") stays grey:

This is also the case with older E book plus books, which have, I as far as I am concerned, worked perfectly fine before.
Any chance there's a fix?


Update Jekyll due to CVE

https://nvd.nist.gov/vuln/detail/CVE-2018-17567

@d3zd3z Thanks, I had forgot this one! Turns out jekyll 3.7.4 was not compatible with our locked version of github-pages gem, so I left for bundler to update them all, and now most gems are updated versions in Gemfile.lock.


Adding multiple layers causes multiple WMS requests

When adding multiple WMS layers to one source, a new request gets sent for every layer added, potentially resulting very slow layer loading.
Example: when adding layers a, b, and c, there will be the following 3 WMS requests:

layers=a
layers=a,b
layers=a,b,c

It would be desirable to have something like wms.source.addLayers() that would only send a request once all layers have been added.

You can currently initialize the source (or Layer) with comma-separated list as the "layer" to ensure everything is added at once.  But, I agree, it would be good to have some logic so having several lines of source.getLayer(name).addTo(map) doesn't trigger a bunch of requests.  This is a common use case, so it would be great to solve it without necessarily extending the existing API.  One way to do this might be to add some "throttle" logic to Source that would wait a short amount of time before activating a set of layer changes.

Is there any solution for this

Is there any solution for this ?


fix(cli): add --datasource-provider to init command

Related prisma/prisma#7667
Todo:

add param in help
add param in docs

For release notes
Original Issue
https://github.com/prisma/prisma/issues/2779
prisma init now accepts a --datasource-provider argument
The prisma init command now accepts a --datasource-provider argument that lets you configure the default provider for the initially generated datasource block in your Prisma schema. The possible values for this argument are equivalent to the allowed values for the provider field on datasource blocks:

postgresql
mysql
sqlite
sqlserver (Preview)

Here's an example that shows how to configure the initial Prisma schema skeleton with a SQLite database:
npx prisma init --datasource-provider sqlite

This was shipped in 2.26.0 see how to use it in the release notes at https://github.com/prisma/prisma/releases/tag/2.26.0


save the image file

I disabled the mouse-over effects on image and now using folded curl. I want to save the image file on right click but it won't save as 3D instead it save as simple image(2D).
I want this one-

but it save like -

OriDomi works by manipulating DOM elements with CSS. The CSS styling is not saved as an image by the browser, so this isn't possible with OriDomi alone. You may be able to get what you're looking for by using html2canvas (http://html2canvas.hertzen.com/) which will render the DOM manipulation to a canvas whereupon you can save the manipulated image. I haven't tried this.

okay .. I tried this but it didn't work properly, actually in background many images manipulate himself to curve. I tried a a lot but unfortunately bad luck for me. I'll attach an image for you again. let's hope you can reply an appropriate solution for me this time. Thank you.
Actual Image-

save file- it got this file to save.

Sorry, I don't know of any viable alternatives for saving it as a bitmap beyond manually taking a screenshot.


registering task not working too

I will need some more details / code you used so I can reproduce this issue


Redis streams vs pubsub

Hi there,
We are a user of Redis and I have been studying the documentation such as here:
https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-redis-pubsub/
What seems unclear in the documentation and tutorials is whether the Redis backend is pubsub or streams.
They are both very different concepts in Redis terms.
Thanks!
Fig

Dapr uses Redis Streams as the implementation.

Thank you for confirming


Add “n-ary” zip

For given arities (2, 3, 4, ..) implement zip2, zip3, etc functions.
https://github.com/bluss/rust-ndarray/blob/master/examples/zip_many.rs

secrets from freude: they use a corresponding fold function as well.

The Zip object should be splittable to enable fork parallelism (rayon)

Consider a generalization that fits very well into the current scheme:
Extend zip arguments to include everything that has a dimension and stride. For example an AxisIter is one-dimensional and has a uniform stride, supposedly.
A chunks iterator (of even chunks) is n-dimensional and has even strides.


Cannot import alpaca-backtrader-api (Python 3.9.9 MacOS)

[~] python3
Python 3.9.9 (main, Nov 21 2021, 03:16:13)
[Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import alpaca_backtrader_api
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/lib/python3.9/site-packages/alpaca_backtrader_api/__init__.py", line 1, in <module>
    from .alpacastore import AlpacaStore
  File "/opt/homebrew/lib/python3.9/site-packages/alpaca_backtrader_api/alpacastore.py", line 12, in <module>
    import trading_calendars
  File "/opt/homebrew/lib/python3.9/site-packages/trading_calendars/__init__.py", line 16, in <module>
    from .trading_calendar import TradingCalendar
  File "/opt/homebrew/lib/python3.9/site-packages/trading_calendars/trading_calendar.py", line 33, in <module>
    from .calendar_helpers import (
  File "/opt/homebrew/lib/python3.9/site-packages/trading_calendars/calendar_helpers.py", line 6, in <module>
    NP_NAT = np.array([pd.NaT], dtype=np.int64)[0]
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NaTType'
>>>

Installed via pip3 install alpaca-backtrader-api

Downgrading pandas from 1.3.5 to 1.2.5 has allowed me to import.
Should still state that this repo seems outdated. None of the examples work anymore.

can confirm the same happens on ubuntu

@mitchweaver @Loopiezlol  Are you guys able to run the example in README.md? I keep getting an error. I will open an issue for this shortly.

@cspipaon  No, all the examples are broken.

@mitchweaver I'm a new user to alpaca, is alpaca working for you at all or just the examples in README.md are broken? If I  can get clarity from @cspipaon I can go in and help fix them or update the documentation as I have bandwidth this summer and want to start using/learning alpaca


Update DG - Help command, Clear command and manual test scenarios

The change was added!! But it just like a one-word change each, I was fixing the formatting issues


uninitialized constant Grape::Formatter::Rabl

I have upgrade to 0.4.0, but
This line of code in my API controller:
formatter :json, Grape::Formatter::Rabl

Is returning now this error:

uninitialized constant Grape::Formatter::Rabl (NameError)

When is this fix released? I see that the ruby gems version is behind the version of master.

I just cut a release @nysthee, sorry for the wait.

Thanks! :ok_hand:

:ok_hand: thanks!


[BEAM-1348] Fix type error introduced into Python SDK because of PR/3268

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify.
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @robertwb

As mentioned in person, LGTM.

Changes Unknown when pulling 595ca1ec84134328be5be3c8ae21a5a43a5a7166 on lukecwik:state_api into ** on apache:master**.