Not able to create ContainerClient in ReactJS using URL

Version:
 "dependencies": {
    "@azure/storage-blob": "^12.0.0",

used in ReactJS app create using create react app
Objective: enumerates blobs in the container using SAS Key.
According to constructor ContainerClient can be called with 3 params like this:
constructor(
  url: string,
  credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential,
  options?: StoragePipelineOptions
);

However in the following call:
this.directContainer = new  AzureStorageBlob.ContainerClient (
""https://blah.blob.core.windows.net/dev2/?st=2019-10-28T02%3xx%3xxx&se=2022-10-29T02%3Axx%3Axx&sp=rl&sv=2016-05-31&sr=c&sig=xxxxxxxxxxxx"",  AzureStorageBlob.AnonymousCredential, newPipeline())

Error is generated:
Error: Expecting non-empty strings for containerName parameter
    at new ContainerClient (d:\Work\JavaScript\RampUp\node_modules\@azure\storage-blob\dist-esm\src\ContainerClient.js:71:1)

Please provide explanations how ContainerClass can be created using full URL that includes SAS signature and container.

Can you please try removing the last two arguments? The particular constructor overload expects a URL, and an optional credential, and an optional pipeline options object (i.e., not a pipeline).

Yes, it worked. Thank you. It would be great to update docs or better provide an example in the TS file on how to use with SAS key

Thanks for the feedback @leonbrag
@XiaoningLiu, @HarshaNalluru Do we have samples to create a container client using the SAS key?


Modal dialog is incompatible with Sapper SSR

When using SSR, the Modal component doesn't work because it has afterUpdate and onDestroy hooks that reference document leading to SSR errors in Sapper.
https://github.com/IBM/carbon-components-svelte/blob/64e914ff8c6556cb12ec29401ddddbd8a342011e/src/components/Modal/Modal.svelte#L41

Fixed and released in version 0.8.1


time variant graph

While searching for data sets used in #34 , I noticed a time variant weighted graph - a messaging network of students. The data is essentially a set of text messages recording when, who sent how much text to whom:
time source destination character#
"2004-04-21 20:07:46" 32 58 36
"2004-04-21 20:07:48" 12 66 199
"2004-04-21 20:11:54" 67 32 48
"2004-04-21 20:12:51" 41 32 39
...
...

I think an interesting graph model is that these records are samples of a time variant graph. The graph has a fixed number of nodes, but every link has a weight that is a function of time. In this view, each message is a sample of a link at a specific time. For example:
"2004-04-21 20:07:48" 12 66 35
"2004-04-22 20:07:48" 12 66 45
"2004-04-23 20:07:48" 12 66 55
"2004-04-24 20:07:48" 12 66 199

are 4 samples of the same link at 4 different times, indicating that this link is growing in weight. Another graph model is these are 4 links connecting the same node pair, but graph model is not able to incorporate time.

Certainly can do edge-weight prediction on a static snapshot of the graph. Good also predict where the weights are headed in the future.

This is an interesting direction but it is not aligned with our current direction.


Chip-tool can't provision chip-tv using ble

Problem

expected behavior
-> chip-tool can provision chip-tv-app using ble

actual behavior
->  chip-tool can't provision chip-tv-app using ble

steps to reproduce

lunch example tv-app

using provisioning command
sudo ./chip-tool pairing ble-wifi 1 chip-wifi qwerasdf 65956980 2000

system configuration
-> using recently source, commit-id is 87d1d3e5bd09423f6012add27ccf6bd76cfdb063

screenshots, images, logs, etc.
chip-tv-app-ble-provisioning-error.txt
chip-tool.txt

Proposed Solution
Because chip-tv-app supports commissioners and commissioners, transport managers are initialized three times during the initialization process.
During initialization process, UMH Pool also changes state then chip-tv-app can't be provisioning by chip-tool using BLE.
In additionally if disable CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY(DISABLE Commissioner in tv-app), It is working well using ble.

This is fixed by applying PR (https://github.com/project-chip/connectedhomeip/pull/15468)


Hey

Can I use your solution to be a broker between botpress.com to WhatsApp?

Yes, you can

Hi @edgardmessias!
thanks for your reply.
I am new to botpress (just come across it), and I see that i can integrate it to WhatsApp via Smooch or Twilio - but i am looking for self-hosted solution
can I add it as a custom channel(plug & play)?
or do I need to implement skills that do API calls?


Fit the little world map horizontally.

after merging #584, the bubble got resized so that Australia and South America cuts off
please adjust the styling of the  so that the map fits horizontally (and it might scroll vertically if it's just a little fraction, as before)

https://github.com/Gapminder/vizabi/pull/586


compile only the selected project / config

my work project is gigantic and even if I make a change in a lower-level project that doesn't change the ABI, the incremental compiler does 30+ minutes of needless work.
It would be extremely good if it were possible to have a compile variant that disabled transient dependency tracking between projects / configs. e.g.
disableCompileDependencies := true
my_low_level_lib/compile
my_app/test

Agreed large projects need more ability to fine-tune. The "best practice" using lots of sub modules tends to really fall apart between slow resolution times and needlessly recompiling all dependencies. Another option would be a way to flag dependsOn to behave as if module dependencies were actually published -- I sometimes work around this by adding them manually and running publishLocal on the individual projects.

my work project is gigantic and even if I make a change in a lower-level project that doesn't change the ABI, the incremental compiler does 30+ minutes of needless work.

I've seen similar behavior. You might be hitting some bug of incremental compiler, but in theory it shouldn't take 30+ minutes if you didn't change anything. Does the compiler actually compile things if you see the debug log?

@easel

Another option would be a way to flag dependsOn to behave as if module dependencies were actually published

exportJars := true

See  http://www.scala-sbt.org/0.13/docs/Howto-Package.html

@eed3si9n I do change something in the dependency module, but it doesn't change the API or ABI (e.g. changes to the internals of a method) so it shouldn't be recompiling everything all the way up.

(btw, somewhat related to exportJar, but I'm absolutely certain that if scalac output directly into the jar file on windows, it would dramatically speed up compile times. The Windows filesystem is terrible)

exportJar's gets half way there in that it builds the jars and uses them, but it doesn't prevent the dirty checking and recompilation of the entire tree. If there was a "compile -intransitive" option that just skipped that stuff entirely I think we'd have a working solution.

I thought of a workaround involving exportJar. If it was possible to do this, it would work:

compile my low-level package (producing the jar)
flag all projects as "up to date"
run my top-level app / tests

is this possible?

after some testing, the exportJar approach above does not work.  Two use cases:

standard incremental compile (no changes) : my_app/compile --- takes about 1 minute scanning all the dependency jars to determine that no compilation is necessary.
make a change to my_low_level_lib => my_app/compile --- still takes 30+ minutes as it recompiles everything.

One small thing would allow this to be fixed: if the exportJar for each module (i.e. the packageBin ) could be flagged as "up to date" then it should be possible to have a workflow such that both the usecases result in near-instant compiles.

This is looking suspicious: https://github.com/sbt/sbt/blob/v0.13.9/main/src/main/scala/sbt/Defaults.scala#L604
The thing with exportJars is that it adds packageBin.value for each dependency onto the classpath of each project. But packageBin is a Task not a Setting! That means packaging is effectively invoked for the entire tree.
Perhaps a better approach would be for exportJars := true (or an alternative) to simply add the File of the dependency jars onto the classpath. It could remain a Task so that it can fall back to packageBin.value if the file doesn't exist. A possible problem with this approach as that my_app/compile will not generate the packageBin so a subsequent call to my_app/test would actually use the old code. The compile task would have to be updated to update the jar file.

using the example in #2266 with -Dsbt.task.timings=true gives
> obf-518286142/compile
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
Total time: 33600.107703 ms
  {REMOVED}/compile:packageBin: 2765.726925 ms
  {REMOVED}/compile:compileIncremental: 2670.3013309999997 ms
  {REMOVED}/compile:packageBin: 2527.2058079999997 ms
  {REMOVED}/compile:packageBin::mappings: 1821.446489 ms
  {REMOVED}/compile:packageBin::mappings: 1730.042544 ms
...

then thousands of lines down to sub-ms timings. Interestingly, the task took 42s, even though the profiler only reports 34s, so there is still a further fixed overhead.

I've looked into the possibility of augmenting the behaviour of exportJars and tracked the part I need to override to Classpaths.productsImplTask, which is unfortunately private and on an object.
Classpaths.exportProductsTask is the next method up, but unfortunately there is no possibility of overriding it since it lives on an object.
Up one more level is:
  private[this] def classpaths: Seq[Setting[_]] = Seq(
    fullClasspath <<= concatDistinct(exportedProducts, dependencyClasspath),
    exportedProducts <<= exportProductsTask
    ...)

exportedProducts is referenced in several places throughout the codebase so I probably don't want to touch it incase it messes something up. Although it may come to this.
classpaths is only referenced by Defaults.configSettings, but it is used by Defaults.configSettings and that is used by pretty much everything.
So I think what I want to do is provide an alternative implementation of fullClasspath which does not use exportedProducts. However, I haven't got a clue how to do that because it seems I'd need to.
@eed3si9n am I going in the right direction here or is there a cleaner way to override fullClasspath / exportedProducts such that exportProductsTask is never called?

uugh, APIMappings is private, ok, provide my own store

The dumb / simple approach doesn't work
    exportedProducts <<= myExportProductsTask

giving References to undefined settings, even if I do it on each Project.
Hmm, I'm running out of ideas now... short of cutting a custom build of sbt.

I suppose overriding packageBin.task would also achieve the same thing, but that has the same problem of working out how to actually override it.

You can implement packageBin that does nothing if the file exists. And realPackageBin in case you want to package normally.

But how do I actually set that? Reference to undefined setting joy.

packageBin in Compile := {
  if (disableCompileDependencies.value && somefile.exists) ()
  else do_the_packaging()
  somefile
}

See https://github.com/sbt/sbt-zero-thirteen/blob/c5b7fc1d9c9fed8d210463d623eaecff4761d9c5/main/src/main/scala/sbt/Defaults.scala#L683-L700

Weird, I tried that and got undefined setting. Oh, I didn't use Compile! I'll try that out first thing, thanks!

ok, that seems to let me do some stuff! There seems to be a fixed overhead to invoking the new packageBin the first time, and I can't refer to the original packageBin (it gives an undefined settings error if I try to) but this gets one step closer to the workaround, thanks!

uuh, weirdness...
    packageBin in Compile := {
      println("MY PACKAGER")
      (packageBin in Compile).value
    }

gives
 my_lib/packageBin
[info] Packaging D:\my_app\scala-2.10\my_app_2.10-0.1-SNAPSHOT.jar ...
[info] Done packaging.
MY PACKAGER

which seems to suggest that there is some reverse ordering happening here :confounded:

hmm, there is no way to get a config for the location of the packageBin File, I'll have to hack that. It would be good to expose this as a key in mainline sbt (and in fact that might be all that is needed to fulfil this ticket since if my workaround works!)

That's how sbt's DSL works. http://www.scala-sbt.org/0.13/tutorial/Custom-Settings.html#Execution+semantics+of+tasks
You can either use dynamic task or call the underlying impl, which I linked 3h ago.

this is as far as I got, but it's still calling out to the underlying impl of packageBin even thought the if returns true. Any hints? I tried changing to call Defaults.packageTask instead but it given "undefined setting". Is this going to involve some kind of Task zipping magic? I'll read the execution docs tonight, thanks, I hadn't read them in enough detail obviously.
    packageBin in Compile := {
      val module = projectID.value
      val dir = crossTarget.value
      val scala = scalaBinaryVersion.value
      val bin = dir / s"${module.name}_${scala}-${module.revision}.jar"
      println(s"PACKAGE $bin")

      //if (bin.exists()) bin
      // test that we're not *always* calling the packageBin
      if (true) bin
      else (packageBin in Compile).value
    }

oh this is probably macro joy, isn't it. I'll try to rewrite without .value on the packageBin

now testing this...
    packageBin in Compile <<= (
      projectID,
      (packageConfiguration in packageBin in Compile),
      (streams in packageBin in Compile)
    ).map { (module, config, s) =>
      val bin = config.jar
      if (!bin.exists()) Package(config, s.cacheDirectory, s.log)
      bin
    }

if this works, the question is if there is anything sbt core should do? Perhaps this is really just something that belongs in a plugin.

nope, that doesn't work... something is still calling out to the classpath scanning. I must have the wrong configuration or something

is the very act of asking for the packageConfiguration and streams in the packageBin scope causing the packageTask to be invoked?

I've narrowed it down to mappings as is the slow part. Need to reimplement that...

hmm, packageOptions also seems to force the slow bit too.

Fundamentally, this workaround is going to need a way to lazily invoke a dependent task.

http://www.scala-sbt.org/0.13/docs/Tasks.html#Dynamic+Computations+with

headslap ok, that's my weekend sorted!

This seems to be doing something vaguely approximating what I'm after! :grinning:
    packageBin in Compile := dynamicPackageBinTask.value
  )

  // WORKAROUND https://github.com/sbt/sbt/issues/2270
  // by reimplementing packageTask to only run Package if the jar doesn't exist
  // http://www.scala-sbt.org/0.13/docs/Tasks.html#Dynamic+Computations+with
  val dynamicPackageBinTask = Def.taskDyn {
    // WORKAROUND: asking for artifactPath can invoke a recursive packageBin
    //val jar = (artifactPath in Compile in packageBin).value
    val module = projectID.value
    val dir = crossTarget.value
    val scala = scalaBinaryVersion.value
    val jar = dir / s"${module.name}_${scala}-${module.revision}.jar"

    if (jar.exists()) Def.task {
      jar
    } else Def.task {
      val s = streams.value
      s.log.info(s"Rebuilding $jar")
      val config = (packageConfiguration in packageBin in Compile).value
      Package(config, s.cacheDirectory, s.log)
      jar
    }
  }

thanks for all your help @eed3si9n this gives me something useful I can optimise this weekend!
A my_lib/compile on my project now takes 5 seconds instead of 60 seconds! I'm keen to see what it does to my_app/compile...

Nice. I'd recommend that you add a sanity flag there like disableCompileDependencies.value so you're not caught off guard by that behavior.

Yeah, there is quite a lot of utility stuff needed around this to magically support common use cases. But this is the back broken.

@eed3si9n FYI https://github.com/fommil/sbt-big-project-tests

I'm now pretty convinced that there is a lot that can be done to workaround big project workflows with plugins. Therefore I'm closing this ticket and tracking this independently at https://github.com/fommil/sbt-big-project
Of course, improved performance of sbt for multi-project builds would remove the need for any workaround, so this is certainly not the end of the story.


Fix Undefined offset PHP error

Fix Undefined offset PHP error when HTTP response has a malformed header with empty value. Like some HTTP responses from Github with X-Geo-Block-List:\r\n header.
cf. https://github.com/erengy/taiga/issues/273#issuecomment-226141146 for similar case.

Could you possibly add a test case that proves that this indeed solves the issue? I thought this was the issue that #26 solved.

My fix is based on v3.0.1 tag. In your latest code, it seems to be fixed (it's the same issue as #26), though solved differently, as if the value of the header is empty, you skip it instead of adding an empty value to the list of headers. I don't know what should be the right behavior, adding it or not.


DLog v2

Hey there Andrew! Just thought I would let you know that I updated the Dlog API.
It's been a long time coming as I desperately needed updates to DLog for another project. So I spent this week on it and finally have it all done.
The calls to the info(..) etc. should be fine, the template params haven't changed so much as to cause a problem however a handler must be added if you wish to write to some file, for example.

It will be on the v1.0.0 tag in the next few days. I will come back here and leave a comment when released!

@andrewlalis v1.0.0 is now released :confetti_ball:


Relax IItem PartitionKey type to string to remove Cosmos dependency

@IEvangelist I got around to using the IItem interface we created in PR 36, and realized there was still a hard dependency on the PartitionKey type. This was quite inconvenient, because I had to pull in Cosmos at my contracts/DTO layer. This PR would change that type to a string, and push the PartitionKey ctor call to the repository level, at the time of calling CreateItemAsync/UpsertItemAsync. There was not caching of this value anyway, so I don't think there would be a performance difference in any case. Does this look ok? Anything different/else you'd want to do here?
Thanks!
David

Should say explicitly - by making this change, consumers bringing their own IItem DTO implementation can bring in Cosmos dependencies (and this library) at the data access layer, and leave DTO/contracts clean of DAL concerns.

Hi @dcuccia - I really like this PR, and I enjoy that it's decoupling the hard dependency on Cosmos for the modeling aspect. Thank you.

Hey @dcuccia would you be interested in helping maintain this repo? I recently put out an ask and I'm meeting with folks on Friday, see : https://twitter.com/davidpine7/status/1413140213992345610?s=20 and please let me know.

Hey @IEvangelist, sure, I'd be willing to give it a try. Caveats being I'm a little unreliable (day job is demanding so availability ebbs and flows), and not experienced enough with data access to make bigger architectural decisions (alone). But yes please loop me in for the meeting.

Send me your email address and I'll forward you the invite - you can find my email on https://davidpine.net or DM me on Twitter @davidpine7

@IEvangelist email sent, thanks!


DBS Mock without the DBS Gather function

This PR should be merged if it goes OK. This uses mock and switches DBSReader to use it.
It's the basis for what @jha2 is working on.
I'll get to the bit that produces the JSON files later after I refactor it according to @vkuznet comments.

test this please

test this please

@ticoann seems like all these errors are with WQ and are irrelevant. Can you merge?


Under hot reload the UX is confusing

Under the extension https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-extensions-hosting the UX  is not behaving correctly, it's printing always the timer.

Fixed by #3983


Fix dir bug - not including object attributes correctly.

On master:
>>>>> dir(lambda: 1)
["'str' object", ...

This was introduced when we got non-string dictionary keys. We now fail in a slightly different way than CPython but it's a an obscure enough edge case that I don't think it matters:
>>> a.__dict__[9] = 2
>>> dir(a)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'str' and 'int'

vs
>>>>> a.__dict__[9] = 2
>>>>> dir(a)
Traceback (most recent call last):
  File <stdin>, line 0, in <module>
TypeError: Attribute is not a string: "9"

This implementation now matches Cpython more closely:
>>>>> dir(a)
Traceback (most recent call last):
  File <stdin>, line 0, in <module>
TypeError: Cannot compare __delattr__ and 'int' object

(We need to come up with a better interface for exception formatting!)


Add Qualdesk to "Products that integrate"

Hello 👋
We at Qualdesk absolutely love Linear, and we integrate with it to make
it easier to run team meetings (like Sprint Planning) in a more
flexible, whiteboard environment.
Hope this helps!

Looks like a great integration and cool product too, thanks @lukaszsagol !


Add experimental flag for ml commons dashboards

Description
The ml-commons-dashboards is experiment OSD plugin, we need to config ml_commons_dashboards.enabled: true to enable this plugin in OSD. This PR includes two parts.

Add ML_COMMONS_DASHBOARDS_ENABLED to control the functional test about ml-commons-dashboards.
Add --ml_commons_dashboards.enabled=true to osd-serve-args in workflow file to enable ml-commons-dashboards plugin in OSD.

Here is my test screenshot in my local:

(with ML_COMMONS_DASHBOARDS_ENABLED equal true)

(without ML_COMMONS_DASHBOARDS_ENABLED)
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

hi @wanglam does it need to be backported to other branches?

hi @wanglam does it need to be backported to other branches?

I think we need to backport to 2.6 branch.


Alarms are not firing in the Tock kernel

If alarms are set in the kernel, they don't seem to ever fire.
If they are set in user mode, they do seem to fire correctly, but if they are set very far in the future, they do not fire.
There seems to be some bugs in either our interrupt controller, our InternalTimers, or in the alarm code.

Hello, I tried to solve the issue.
This is what I did:
Modified the InternalTimers implementation to address the issue of alarms not firing correctly. Changes include:

Adjusted the set_alarm method to handle 32-bit wraparound.
Updated the is_armed method to check both timers.
Modified the service_interrupts method to handle both timers and re-arm if necessary.
Added a check in the set_alarm method to ensure the alarm is not set too far in the future.

You can review changes in this commit: https://github.com/jjyutm4532/chipsalliance-caliptra-mcu-sw-40/commit/03c062ccae7b9ce12b55ebdf1d33a7e84bd35256.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


oj.Unmarshal fails on arrays

Simple example:
var f [4]int
err := oj.Unmarshal(`[1,2,3,4]`, &f)

The following error is returned: reflect.MakeSlice of non-slice type
Playground: https://go.dev/play/p/Qasyi87zIFb

Please try the "arrays" branch. The example will not work as Unmarshal converts all numbers to float64 what can not be assigned to ints. Parse should work though. I still have some more edge case to test and need to compare to the core json library to see if it handles the example.

ok, updated to handle the test case. Should be ready.

Released v1.21.0

Works as expected. Thanks for the fix.


Enable to write to files that need user elevation

VSCode Version:1.2.1
OS Version:arch linux

Steps to Reproduce:

open a file owned by another user  root in our case (/etc/somefile)
make changes and try to save
nothing happens

in atom editor this situation was handled by prompting password if teh current user is in sudoers file
is it possible to make a similar action for such cases .
It would be really extremely useful feature

Also doesn't work on OS X:

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!


CoreInputView.OcclusionsChanged not providing occlusions

Describe the bug
Unlike in version 1.5.x of Microsoft.WindowsAppSDK, the CoreInputView.OcclusionsChanged event in version 1.6.x does not provide occlusions in the argument CoreInputViewOcclusionsChangedEventArgs
Steps to reproduce the bug
Create a new WinUI3 desktop app project, named "WinUI3App1".
Replace:

MainWindow.xaml

<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="WinUI3App1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <TextBox x:Name="myTextBox" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Window>

MainWindow.cs

using Microsoft.UI.Xaml;
using System.Diagnostics;
using Windows.UI.ViewManagement.Core;

namespace WinUI3App1;

public sealed partial class MainWindow : Window
{
    readonly CoreInputView inputView;
    public MainWindow()
    {
        InitializeComponent();
        (inputView = CoreInputView.GetForCurrentView()).OcclusionsChanged += (s, e) =>
            Debug.WriteLine($"Occlusions.Count={e.Occlusions.Count}");
        myTextBox.GettingFocus += (s, e) =>
            inputView.TryShow(CoreInputViewKind.Keyboard);
        myTextBox.LosingFocus += (s, e) =>
            inputView.TryHide();
    }
}

Use a high screen resolution (e.g. 1920 x 1200) and run the app in debug mode.
If the text field is focused, the input pane is shown and the debug output “Occlusions.Count=0” is generated due to the occlusion by the input pane. No occlusions are provided.
Expected behavior
The CoreInputView.OcclusionsChanged event provides occlusions in the CoreInputViewOcclusionsChangedEventArgs argument, if applicable.
In the example, if the text field is focused, the debug output “Occlusions.Count=1” is generated due to the occlusion by the input pane.
Screenshots
No response
NuGet package version
Windows App SDK 1.6.3: 1.6.241114003
Packaging type
Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
WinUI3App1.zip

This is a UWP API only.

Sorry, but it worked fine in WinUI3 desktop app / WinRT, not UWP, with version 1.5.x of Microsoft.WindowsAppSDK. So it can't be a UWP API only.
See https://learn.microsoft.com/en-us/uwp/api/windows.ui.viewmanagement.core.coreinputview.occlusionschanged?view=winrt-26100
"Applies to WinRT, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100".
Please review the issue again. Thx.


bump version to 0.3.2

Could you release new version of HolidayJp gem, please?
We need the Mountain day.
Please let me know if i can do anything to help.
:mount_fuji:

Thank you for release :+1:


New version: Mattermost.MattermostDesktop version 5.9.0

Pull request has been created with komac v2.5.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

=== manifests\m\Mattermost\MattermostDesktop\5.9.0 === Missing Properties value based on version 5.8.1: Installers
Arch x86 no longer supported

From
https://docs.mattermost.com/about/desktop-app-changelog.html
"Dropped support for 32-bit Windows and added support for ARM64 (beta)."


4297 delegatebw with buyram

#4297 add --buyram parameter to delegatebw. This will helps the dead accounts(zero cpu/net stake, no available ram) to revive. But it needs to be executed in a fast producer node so that it can be finished within the cpu leeway limit(default 3ms).
command example:
./cleos system delegatebw a44444444444 a44444444444 "0.3000 EOS" "1.0000 EOS" --buyram "0.1000 EOS"

As far as I know, you could do two separate actions, the first buying ram for the account and then delegate the resources with the delegatebw action


Settings dict now available in plugins.

settings dict is now available to be used in sensu plugins.
Tested output
python nat_plugin.py (containing print self.settings['slack'])
{u'token': u'xxxxxxxxxxxxx', u'team_name': u'ABC', u'bot_name': u'sensu'}

+1

Hi @aimanparvaiz thanks for your contribution, I know this was a long time ago but this code was left unmaintained for a while and we are now trying to get it back on track. It would be great if you're still interested in helping and could rebase your code so that we can merge it.
Thanks.

support for this has been added in 0.4.0.


Report

Created all chapters for draft report but chapter 5 (Interaction Design)

Looks good, I will take a more detailed look when this is merged

Looks fine, I'll run through the PDF later.


[storage-blob-preview] Container soft delete

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

For new extensions:

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

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

storage-blob-preview

It's curious that the new commands are storage container list and storage container restore. Why the name of PR is Container soft delete?


fix: incorrect token balance changes for simulations of multiple tokens that include an NFT mint

Explanation
When simulating a transaction resulting in an NFT mint, we skip the prior owner check for the NFT since the token does not exist yet. However, for subsequent tokens, we were using the incorrect index for the prior balance transaction.
The fix is to keep a separate prevBalanceIndex, which we only increment if a prior balance transaction was included in the simulation.
References

Related to https://github.com/MetaMask/metamask-extension/issues/24586

Changelog

@metamask/transaction-controller

FIXED: Incorrect token balance changes for simulations of multiple tokens that include an NFT mint.

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@metamaskbot publish-preview


Outputing Exceptions is not honoring no_color and leaves red color on

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
either run in powershell
$env:no_color="on";pwsh  -noninteractive -Command "$errorview='NormalView';throw 'an Error'"

or run this in a command prompt
set no_color=on&pwsh  -noninteractive -Command "$errorview='NormalView';throw 'an Error'"

Expected behavior
Error is output but in the consoles forecolor

Actual behavior
Error is output in red AND the console prompt stays in red

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

Related to https://github.com/PowerShell/PowerShell/issues/16643 in trying to get powershell to not output ANY ansi escape characters.

The red in error isn't done with ANSI , see below for the issue and what's being done.
https://github.com/PowerShell/PowerShell/issues/17886#issuecomment-1229015174
Hopefully when it is done with ANSI then it will honour no_color etc.  (AIUI no color only applies to ansi, not Write-Host -Foregound ...  and error is currently doing the equivalent of that.)

Duplicate of https://github.com/PowerShell/PowerShell/issues/17886

The red in error isn't done with ANSI , see below for the issue and what's being done.

Looking at this, not sure this fixes exceptions occuring when pwsh runs such as incorrect script passed to -Command, given PsStyle won't have been set.

This is a duplicate of https://github.com/PowerShell/PowerShell/issues/17885, which was fixed.


Update HashMaps to use hashbrown HashMap

A small update of the FxHashMap HashMap to use the more perfomante hashbrown HashMap.
hashbrown is a Rust port of Google's high-performance SwissTable hash map and is around 2 times faster than FxHashMap.

Benchmark shows this is an improvement, of about 6% for the library, that's good enough for me, though I'd like to know what our new minimum rust version is after this upgrade.

Ok, so the error for 1.20 is because hashbrown used the ..= operator, which was stabilized in 1.26.  That's likely to be our new minimum version.

Ok, and I think in order to compile for this error we'll need 1.27

why even track a min version, just track stable 🤷♂

Not every one has the luxury of rustup update stable.  It's useful info for them.

@Xaeroxe I'm curious has this actually come up and what situations could someone not rustup update?

According to the Rust 2018 survey results about 10% of users don't install via rustup, with most of that crowd being in "Linux distribution package".  For example, the Ubuntu rustc package is at 1.28.

1.30 is our new minimum.

Hmm, I'm not super happy with bumping to 1.30 already. Crates should at least stay 2 below stable. I'll merge this with 1.32 out, though. Thanks for the PR!

Awesome! Thank to you guys! 🎄


Convert 'cannot stand during standing' to true cannot effect

Previously, effects that made cards unable to stand during the standing phase were implemented by setting and checking a flag during the mandatory standing in the standing phase. This worked fine for the majority of use cases, but it still wrongly allowed cards to be stood during the standing phase by for example a card like Magister Illyrio. This PR fixes that by porting these implementations to true cannot effects.
Needs #1109

Looks good! As you mention, this should be merged once #1109 is merged.


Istanbul file permission problem: coverage/lcov-report cannot be created

i see this:
/Users/alexamil/.nvm/versions/node/v6.10.2/lib/node_modules/istanbul/node_modules/mkdirp/index.js:90
                    throw err0;
                    ^

Error: EACCES: permission denied, mkdir '/Users/alexamil/WebstormProjects/oresoftware/poolio/coverage/lcov-report'
    at Error (native)
    at Object.fs.mkdirSync (fs.js:923:18)
    at Function.sync (/Users/alexamil/.nvm/versions/node/v6.10.2/lib/node_modules/istanbul/node_modules/mkdirp/index.js:71:13)
    at FileWriter.copyFile (/Users/alexamil/.nvm/versions/node/v6.10.2/lib/node_modules/istanbul/lib/util/file-writer.js:143:16)
    at /Users/alexamil/.nvm/versions/node/v6.10.2/lib/node_modules/istanbul/lib/report/html.js:552:32
    at Array.forEach (native)
    at copyAssets (/Users/alexamil/.nvm/versions/node/v6.10.2/lib/node_modules/istanbul/lib/report/html.js:543:40)
    at /Users/alexamil/.nvm/versions/node/v6.10.2/lib/node_modules/istanbul/lib/report/html.js:562:13
    at Array.forEach (native)
    at HtmlReport.writeReport (/Users/alexamil/.nvm/versions/node/v6.10.2/lib/node_modules/istanbul/lib/report/html.js:561:26)
 [suman] Error: Test coverage process exitted with non-zero exit code => "1".

it looks like Istanbul creates the coverage directory but it doesn't have the right permissions, so then it fails to be able to write the lcov-report directory out.

Even if I create the coverage directory myself and then do
mkdir coverage
chmod -R 777 coverage

and then run Istanbul, Istanbul will experience the above error, and then the coverage directory will have the wrong permissions again. Damn.

should I just use the nyc executable instead?


Option to configure DNS in ydb resolver

Need an option to close communication socket with DNS server.  As I tested, the ARES_FLAG_STAYOPEN option is responsible for this behaviour (https://c-ares.org/ares_init_options.html ).

https://github.com/ydb-platform/ydb/pull/4123


Inline non-unicode image support (icons and emojis)

Context of use: Usage of Inline non-unicode icons and emojis
Primary Actor: User
Triggers: User enters special characters colon character followed by a sequence of at least two character
Main Success Scenario:

[ ] 1. The user clicks on the content section to get into editing mode
[ ] 2. The cursor appears at the position where the user clicked
[ ] 3. The user starts typing the characters ":" + "fire" + ":" (written as three strings in the ticket, as GH will render an icon otherwise - 🔥)
[ ] 4. The entered text is replaced with the fire icon (see screenshot, find the icon in Figma)
[ ] 5. The fire icon is displayed in-line at the place where the text was entered. The size of the icon is automatically adjusted to the current font size, so the bottom of the icon is on the baseline and the top is at the cap-height.
[ ] 6. The icon is treated as a single character and can be deleted using backspace with a single keystroke when the cursor is positioned accordingly
[ ] 7. If the font size changes, the icon size is adjusted automatically

Alternative Success Scenario A:

[ ] Step 1. and 2. above applies
[ ] A-1: The user starts typing a non-supported combination like ":nonsense:"
[ ] A-2: The content is unaltered and displayed as is

Notes:

There are various ways of how an inline image can be handled. Let's start with the most common one, where the image is fully in-line with the line-height and does not break the flow of the paragraph
I would argue that other inline versions are not required at this point. For the sake of solving the technical aspects on how inline images might affect the rendering of lines of text, we can create a separate ticket, but from my point of view there is no requirement to have that.
Please see the Figma File for an example where it would break the line-height.
All drop-down selection and auto-complete functionality for inline icons and emojis (like in GitHub or Slack) will be addressed later.

Image Preview:

Closing this ticket in favor of this meta ticket: https://github.com/superlistapp/super_editor/issues/2439


Error: attempt to concatenate field 'applied_separator' (a nil value)

[X] I'm using the latest lualine.
[X] I didn't find the issue in existing issues or PRs.

The problem and how to reproduce
So, basically I've been writing my own extensions for lualine lately, for Telescope, NvimTree etc. and started working on custom quickfix list extension, that will show some more info than the builtin extension.
In particular I wanted to see number of current quickfix list and total number of quickfix lists (i.e. previous ones remembered by vim), I had a hard time achieving that and had to use some Vimscript, but I got it working evetually. But after I actually tried it with lualine I immediately noticed that when I switch to command-line (or any other) mode inside quickfix list window I got lua errors on lualine side. Here's the code:
-- Function that gets us current quickfix number, total number of quickfix lists remembered by vim, and number of errors in current quickfix
vim.cmd([[
function! GetQuickfixNumbers()
  " cursor position
  let l:col = col('.')
  let l:line = line('.')

  " does the whole ritual to get quickfix numbers
  function! s:get_qf_numbers___(probe_cmd, unprobe_cmd) closure
    let l:out = execute(a:probe_cmd) " probe for older/newer quickfix
    let l:out = execute(a:unprobe_cmd) " go back and capture 'error list n of n; n errors' output
    let l:numbers = matchlist(l:out, '\verror list (\d+) of (\d+); (\d+) errors')[1:3] " get numbers
    let l:numbers = map(l:numbers, 'str2nr(v:val)') " convert to numbers
    call cursor(l:line, l:col) " restore cursor position
    return l:numbers
  endfunction

  try
    return s:get_qf_numbers___('colder', 'cnewer')
  catch
    try
      return s:get_qf_numbers___('cnewer', 'colder')
    catch " single quickfix entry
      call cursor(l:line, l:col)
      return [1, 1, len(getqflist())]
    endtry
  endtry
endfunction
]])

-- ... irrelevant

local lualine_quickfix_extension = {
  sections = {
    -- "Quickfix List" text
    lualine_a = {
      function()
        return 'Quickfix List'
      end,
    },
    lualine_b = {
      -- command
      function()
        return vim.fn.getqflist({title=0}).title
      end,
    },
    lualine_z = {
      -- location in quickfix list
      function()
        local entry = vim.fn.line('.')
        local entries = vim.fn.line('$')
        return string.format('%2d:%-3d', entry, entries)
      end,
      -- quickfix list number
      function()
        local qflist_num = vim.fn.GetQuickfixNumbers() -- WITHOUT THIS LINE THERE'S NO ERRORS

        return string.format('%2d of %-2d', qflist_num[1], qflist_num[2])
      end,
    },
  },
  filetypes = { 'qf' },
}

require('lualine').setup{
  -- ... irrelevant
  extensions = {'toggleterm', 'fugitive', 'man', 'fzf', lualine_quickfix_extension, --[[ lualine_telescope_extension, lualine_nvim_tree_extension ]] },
}

Expected behaviour
No errors
Actual behaviour

I'm not sure that anyone had even read this issue, but regardless I will share some things I've discovered.
I've worked around the issue by prefixing 'colder'/'cnewer' commands with ':noautocmd '. However that created other very weird bug that when Vim is exited with :quitall from within quickfix list, the vim exits but hangs until ctrl-c is pressed (i.e. still waiting for input), so that I worked around too by using ExitPre autocommand.
This is all interesting and horrifying at the same time but eventually I've rewritten this extension and now GetQuickfixNumbers function looks like this:
local get_quickfix_numbers = function()
  local chistory_cmd = is_loclist() and 'lhistory' or 'chistory'
  local lists = vim.fn.eval('execute("' .. chistory_cmd .. '")->split("\n")')

  -- No entries
  if lists[1]:lower():find('^no entries') then return {0, 0, 0} end

  -- Find current qflist (starts with '>')
  local current_list
  for _, list in ipairs(lists) do
    if list:sub(1,1) == '>' then
      current_list = list
      break
    end
  end
  if not current_list then return {0,0,0} end

  -- get numbers
  local numbers = {table.unpack(vim.fn.matchlist(current_list, [[\verror list (\d+) of (\d+); (\d+) errors]]), 2)}
  for i, s in ipairs(numbers) do numbers[i] = tonumber(s) end
  return numbers
end

Now none of the previous bugs happen because we're parsing result of :chistory and not doing any window manipulation with :colder/:cnewer like we did previously. It works perfectly.
But I think the original issue might still be worth looking into because the first approach despite being kludgy, is pretty common way of how things like that are done in vim, because (neo)vim doesn't have many direct APIs like getting current quickfix number and getting total number of quickfix lists directly.

I actually did look at this issue. After a bit of digging I found it's specific to the viml function you're using. Somehow that viml function is changing the internal state value of the lua component object that it doesn't even have access to. That state change should be impossible to happen. So I thought it's probably some weird bug in viml <-> lua interface neovim has. I was suspecting if try catch in viml has something to do with it.
But the thing is I currently don't have the time nor motivation to really work on lualine so left it there.

alright, my rewritten lua version of this function works flawlessly anyway, so I'm closing this


[BUG] Fix Text in the Landing Page

Description
I have noticed some typos in the landing page.
Screenshots

Here are the fixes that need to be applied:

whom who want -> whom you want
cutomer-base -> customer-base

Additional Information
Device (please complete the following information):

OS: Windows
Browser: Chrome
Version: 113

Additional context:
I would like to contribute as part of GSSoC'23.

Hey @Sriparno08 thank you for noticing and raising this issue.

@Naresh-chandanbatve This is a minor bug fix, ready to assign. Please review.

Please can be assigned this issue, I will deliver today. Thank you

Okay @Sriparno08 ,
I am Assigning you this issue go for it


It's not showing phone app icon instead of that it's showing contact app icon

it's not showing phone app icon instead of that it's showing contact app icon
It's miui dialer app
rom: miui 12 based on android 9

Whats the package name for the dialer app?

@Rixon46 do you still experience this issue?

I'm experiencing this issue on a OnePlus 7 Pro, even though according to the Icons Request app they should be differentiated.

#1728 — the main topic for the issue with the dialer icon.
If the activity is mapped correctly, then there is a possible workaround:

Install Lawnchair 14.
Home Settings → General → Icon Style → Lawnicons + set Themed Icons to "Home Screen & App Drawer".


Problem to notify error in Angular 1.3.16

I am not able to view aa-notify error list, even though my inputs are dirty.

I'm going to need a plunker illustrating the issue if you want me to look further. Thanks!

Closing, no example


Feature Request: DarkSubtrack

Hi!
It would be very useful to have the ability to control the shutter to acquire bias and dark frames, or even implement the 'EnableDarkSubtract' option for astronomical images.
Everything else has worked wonderfully. I greatly appreciate this development."

Did you find a solution?


HxIcon doc page points to bad location

the second link points to an azure page that needs credentials. I suspect it should point to  github source file

Correct.
@Harvey1214 please change the link to GitHub source code.
Or maybe better to https://havit.blazor.eu/types/BootstrapIcon? Or both...


the environment.yml is missing

the readme tell that I can configure SC2-PRC as:
conda env create -f environment.yml
conda activate SC2_PCR
however, it's missing.
Could you please upload it?

Thanks for your attention. I have uploaded it.


fix: WhereBuilder component does not accept all valid Where queries

Description
Fixes #3082. This update brings both enhanced validation and additional flexibility to Where queries passed into the WhereBuilder from the URL search query params (the filter in the admin panel), while also adding valuable jsDocs for clarity.
Improvements:

The validateWhereQuery function has been reinforced to catch and reject any malformed or nonsensical queries that previously could cause errors.

Simplified Where queries are now supported. Queries such as where[text][equals]=example%20post, which do not fit the [or][and] format, were previously causing errors. The newly introduced transformWhereQuery function elegantly handles such queries, transforming them to fit the [or][and] constraints required by the component.

[X] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[X] Existing test suite passes locally with my changes
[ ] I have made corresponding changes to the documentation

One thing we could also do now is to make sure that the query is always simplified in the URL, by using a simplifyWhereQuery function. This will keep URLs simple and easier to understand.
The more complex, forced or[]and[] format can then only be used internally.
I don't know if that's a good idea, though. I also do not understand the way the current search query params are updated here: https://github.com/payloadcms/payload/blob/fix/3082/src/admin/components/elements/WhereBuilder/index.tsx#L106
Why do we care about the existing where params in the URL, which are merged with the new ones in newWhereQuery? And what's the deal with paramsToKeep? @jmikrut maybe you can give some input regarding that (& if that's a good idea to do in the first place)

Does this also address https://github.com/payloadcms/payload/discussions/2905? After reading the code, it seems like it would.

Does this also address #2905? After reading the code, it seems like it would.

Yep! This would also be addressed with this PR.


GHE support

This action seems to be hardcoded against public GitHub and therefore working sub-optimally with GitHub Enterprise instances. These changes should enable GHE support.
Now, this action uses depscan, that's lacking the GHE support as wel. Take a look at  https://github.com/AppThreat/vulnerability-db/blob/master/vdb/lib/config.py#L12
# GitHub advisory feed url
- gha_url = "https://api.github.com/graphql"
+ gha_url = os.getenv("GITHUB_GRAPHQL_URL", "https://api.github.com/graphql")

@rofafor Thank you for the PR! Regarding advisories, any ideas if public vulnerabilities can be retrieved via github enterprise urls? I don't have a way of testing this yet so would rely on you for a PR for vulnerability-db.


This library is not being maintained.

If anyone is looking for an actively maintained library I will point you to this one, which started as a fork of this one, where work was being done in order to get it upstreamed into the KiCad official libraries.

I apologize for the lack of maintenance; I was very busy with life amidst difficult situations and did not have time to check on the repository.
I am back and alive now, so this issue will be closed.


Extend to more than one block

Currently we are assuming we have only one block, of course we need to extend to more than one.
This requires first figuring out the correct semantics #3

Structure of Blocks
A basic block is a straight line
Blocks are themselves elements of a language.  The grammar is something like:
block   ::= blockid : v* line*
line    ::= v = e*
e       ::= v | literal
literal ::= + | - | & | / | ... | 1 | 2 | 3 | ...

An example Block is then
b2 : x y z
a = f x y
z = g 1 a

Transitions
Inversion
When inverting a function in CFG form there are several possibilities with respect to the control flow order (CFO): the sequence of blocks to visit

In the forward function, the CFO is fixed, -- not dependent on the inputs to the function -- and its fixedness can be inferred just from analysis of which variables are used in the transitions.
Example:

function f(x)
  for i = 1:5
    x += 1
  end
  x
end

ulia> @code_ir f(3)
1: (%1, %2)
  %3 = 1:5
  %4 = Base.iterate(%3)
  %5 = %4 === nothing
  %6 = Base.not_int(%5)
  br 3 (%2) unless %6
  br 2 (%4, %2)
2: (%7, %8)
  %9 = Core.getfield(%7, 1)
  %10 = Core.getfield(%7, 2)
  %11 = %8 + 1
  %12 = Base.iterate(%3, %10)
  %13 = %12 === nothing
  %14 = Base.not_int(%13)
  br 3 (%11) unless %14
  br 2 (%12, %11)
3: (%15)
  return %15

The transition predicate in the first block is %6, which depends on %5, %4, %3, but not on the input %2.
The transition predicate in the second block is %14, which depends on %13, 12, 3, 10, 10, 7, 9, 7, where 7 is 4 in Block 1.  None of these are the input.  Hence, we can safely say that the forward execution CFO is independent of the input and its inverse will be too (confirm this is necessarily true).

In the forward function, the CFO is fixed, but this cannot be inferred just from looking at dependencies between variables

julia> function g(x)
         if x > 0 & x < 0
           x = x + 1
         else
           x = x - 1
         end
       end
g (generic function with 1 method)

julia> @code_ir g(10)
1: (%1, %2)
  %3 = 0 & %2
  %4 = %2 > %3
  br 3 unless %4
  br 2
2:
  %5 = %3 < 0
  br 4 (%5)
3:
  br 4 (false)
4: (%6)
  br 6 unless %6
  br 5
5:
  %7 = %2 + 1
  return %7
6:
  %8 = %2 - 1
  return %8

Here in the first block the switch depends on 4, which depends in turn on the input 2.

Let's be more concrete about the analysis
Let f be a function and its control flow graph be G = (N, E).

I say an input to f produces a path p if executing f(args...) visits the blocks in order specified by p.
A path if feasible if there exists at least one input that produces it.
A procedure has static control flow if the number of feasible paths is exactly 1.

julia> ir = @code_ir f(3)
1: (%1, %2)
  br 2 (0, 0)
2: (%3, %4)
  %5 = %3 <= %2
  br 4 unless %5
  br 3
3:
  %6 = %4 + %3
  %7 = %3 + 1
  br 2 (%7, %6)
4:
  return %4

## Explicit form

julia> ir = @code_ir f(3)
1: (%1, %2)
  br 2 (0, 0, %2)
2: (%3, %4, %22)
  %5 = %3 <= %2
  br 4 unless %5
  br 3 (%3, %4, %22)
3: (%23, %24, %22b)
  %6 = %23 + %24
  %7 = %23 + 1
  br 2 (%7, %6, %22b)
4:
  return %4

## Inverse
0: (%1, %2, %3[phi])
  %1 = choose((4,), %3)
  %2 = $1 == 4
  br 4 (%2) unless %2

4: (%3)
  %4 = choose((2,), %3)
  %5 = $1 == 2
  br 2 (%2) unless %2

2:
  ...

  %34 = invertapply(...)
  %3 = getindex(%34, 1)
  %4 = getindex(%34, 1)
  %6 = choose((1, 3), %3)
  %7 = %6 == 1
  %8 = %6 == 3
  br 1 (%3, %4) unless %8
  br 3 (%3, %4) unless %7


Uncaught Error: ENOENT: no such file or directory, lstat '/Users/MrRD/Desktop/.remote-sync.json'

[Enter steps to reproduce below:]

...
...

Atom Version: 1.7.2
System: Mac OS X 10.11.5
Thrown From: remote-sync package, v4.0.1
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat '/Users/MrRD/Desktop/.remote-sync.json'
At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:1002

Error: ENOENT: no such file or directory, lstat '/Users/MrRD/Desktop/.remote-sync.json'
    at Error (native)
    at fs.lstatSync (fs.js:887:18)
    at Object.fs.lstatSync (ATOM_SHELL_ASAR.js:229:16)
    at Object.realpathSync (fs.js:1532:21)
    at Object.fs.realpathSync (ATOM_SHELL_ASAR.js:304:29)
    at /Users/MrRD/.atom/packages/remote-sync/index.coffee:116:44
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1104:27)
    at TextEditor.module.exports.TextEditor.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:666:26)
    at Pane.module.exports.Pane.saveItemAs (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:742:16)
    at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:726:21)
    at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:701:19)
    at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:684:35)
    at atom-workspace.commandRegistry.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:214:32)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -3:46.1.0 tree-view:remove (span.name.icon.icon-file-text)
     -3:37.4.0 fuzzy-finder:toggle-file-finder (ul.list-inline.tab-bar.inset-panel)
     -3:35.1.0 core:close (atom-text-editor.editor.is-focused)
     -3:33.9.0 application:new-file (atom-text-editor.editor.is-focused)
  2x -3:08.5.0 core:paste (atom-text-editor.editor.is-focused)
     -2:45.4.0 editor:newline (atom-text-editor.editor.is-focused)
     -2:45.2.0 core:paste (atom-text-editor.editor.is-focused)
     -2:44.8.0 core:save (atom-text-editor.editor.is-focused)
  2x -2:21 core:paste (atom-text-editor.editor.is-focused)
     -1:18.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:56.7.0 core:select-all (atom-text-editor.editor.is-focused)
     -0:56.2.0 core:copy (atom-text-editor.editor.is-focused)
     -0:07.8.0 application:new-file (atom-text-editor.editor.is-focused)
  5x -0:06.3.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:05.2.0 core:paste (atom-text-editor.editor.is-focused)
     -0:04.6.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "Remote-FTP"
    ]
  },
  "remote-sync": {}
}

Installed Packages
# User
remote-sync, v4.0.1
terminal-plus, v0.14.5

# Dev
No dev packages

After a good deal of investigation, I'm fairly certain this was caused by an issue with the core node 'fs' module used in Electron 1.3.x and earlier. It's difficult to pinpoint exactly where the versions match up as the release notes for Electron and Atom are limited to only a few versions back. However, this issue was prevalent across many Atom packages at the time, and appears to be fixed since Atom 1.19.x (which included an upgrade from Electron 1.3.x to 1.6.x).


Discord Link Invalid?

Hi the Discord links in the documentation and github are invalid. Pls update?

Works fine on my end?


chore(master): release 1.14.14

:robot: I have created a release beep boop
1.14.14 (2023-07-24)
Bug Fixes

deps: update dependency pnpm to v8.6.10 (fc76082)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/docker-node/releases/tag/v1.14.14 :sunflower:


Add i18n Support

Possibly use https://github.com/funktionswerk/hapi-i18n

Closing for now; may consider reopening in the future.


[plplot] Fix download errors

Fixes https://github.com/microsoft/vcpkg/issues/34357
error: https://sourceforge.net/projects/plplot/files/plplot/5.15.0 Source/plplot-5.15.0.tar.gz/download?use_mirror=tenet: curl failed to download with exit code 3
curl: (3) URL rejected: Malformed input to a URL function

Fix download url error.

[X] Changes comply with the maintainer guide
[ ] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Compile test pass with following triplets:
x64-osx

This looks like a tooling bug. Did you manage to repro it originally?

I managed to repro on macOS

The handling of space in URLs was intentionally changed in vcpkg tool some months ago.

The handling of space in URLs was intentionally changed in vcpkg tool some months ago.

I checked and we are just passing this down to curl as a quoted argument so this seems to be a problem with specifically macos' copy of curl.

The handling of space in URLs was intentionally changed in vcpkg tool some months ago.

Do you remember the change you mean here? The intent seems to be that we do the %20 for you but we expected curl to do it. (and curl does do it on Windows... which makes me wonder if we are passing parameters incorrectly...)

I stand corrected; the reason it works on Windows is that there x-download is using WinHTTP.

I stand corrected; the reason it works on Windows is that there x-download is using WinHTTP.

I'm going to merge this as-is: I think we should fix it in the tool, but as written fixes it until we do the tool release, and it doesn't harm anything.

Do you remember the change you mean here? The intent seems to be that we do the %20 for you but we expected curl to do it. (and curl does do it on Windows... which makes me wonder if we are passing parameters incorrectly...)

I failed to find the change which I believed to remember.
I found a curl change in 7.78.0: https://github.com/curl/curl/pull/7073.


doc: Move *.md files into doc/ directory.

Leave README.md in place.
Signed-off-by: Philip Tricca<EMAIL_ADDRESS>

This resolves #230


Drag and drop from one tab to another invokes scrolling in second tab (=can't drop into sub-folder)

Description
When I try to drag and drop a file or folder from one Files tab to another, the list of files and folders in the destination tab starts to scroll automatically. It is thus impossible to drop the file/folder into the desired sub-folder in the second tab.
This possibly requires to have more files and/or folders in the destination tab than can be viewed in the window at once, thus making it scrollable.
Steps To Reproduce

Open two tabs in one Files instance. Second tab should have more files and/or folders than are visible in the window.
Click and hold a file or folder in the first tab and drag it onto the header of the second tab.
Second tab appears, but files/folder list immediately starts scrolling, making it impossible to drop it into the desired sub-folder, as it scrolls out of view.

Expected behavior
I can simply drop the file/folder I dragged from another tab to a folder in the second tab.
Files Version
2.1.3 (Store version)
Windows Version
11 (current stable release)
Relevant Assets/Logs
none

Thanks for the report. Could you post a screen recording of this?

It seems to happen in detail view, the grid views don't seem to be affected on my quick tests. Here is a screen recording of that phenomenon, reproduced on another machine than I reported it from.
https://user-images.githubusercontent.com/8190174/151064946-c14507a0-745f-43e1-aea4-e0ae792df015.mp4

Thanks, curious for me the list only scrolls if the dragged item is near the top or the bottom of the list.

Well, no idea if that helps. Maybe you need a folder with files and/or folders into both directions, so try a destination folder that has a lot of files or folders in it, and stick to somewhere in the middle before you drag and drop, maybe that helps evoking it.
For me though, I can be at the very end of my folder content, and after switching from first to second tab move the mouse wherever I want, it most of the time starts this happy scroll dance.

@enoversum is this still an issue in the preview version? https://files.community/download/preview

@yaichenbaum Thanks for the link to the Preview version. And yes, unfortunately, this is still happening.

This appears to be resolved in v2.4.11.

@yaira2 It's still there for me. It doesn't happen if I drag an item beside the columns in Detail View, to the far right of the window. As soon as my mouse lands on one of the columns (Name, Tag, Last change, Type etc.), the tab starts scrolling like an Instagram user on Acid.


my verthash miner seems to be missing a file it needs to be complete installation

i downloaded it but before completing installation i got this message i really dont know what the issue is i would reaaly appreciate any help or guidance on how rectify this

Check to see if your antivirus or windows security quarantined it. I could be blocked as miners have been flagged as unwanted apps or malware.

Check to see if your antivirus or windows security quarantined it. I could be blocked as miners have been flagged as unwanted apps or malware.

im sorry i dont mean to make this your problem but im using windows 8 and i dont know how to do the security exclusion thing on this software

Find the Settings menu, open the control panel, search Windows Defender, open that, click settings, click add file or folder to exceptions and add the folder "C:\Users*Username*\AppData\Roaming\verthash-ocm" to your exceptions. Replace Username with your account name on that computer. You can also use the browse button to find it.

Find the Settings menu, open the control panel, search Windows Defender, open that, click settings, click add file or folder to exceptions and add the folder "C:\UsersUsername\AppData\Roaming\verthash-ocm" to your exceptions. Replace Username with your account name on that computer. You can also use the browse button to find it.

i was able to install it but whn i press the start mining button the app doesnt start mining it says mining but the hashrate doesnt increase it stays at 0 and this message appears after. I followed the instructions numerous times and even tried changing my mining pool but ive had no luck pls help

Please ensure your GPU is supported.

Also ensure your drivers are up to date.

Closing due to inactivity.


setup.py has test dependencies, but there are no tests in the repository

Tests requirements are here.

There is a test: https://github.com/simonw/asgi-csrf/blob/main/test_asgi_csrf.py; it's not part of the PyPI source archive though.


Merge sorted sequences of sorted numpy arrays

In the near future we may want to implement an external sort. One missing piece in our ecosystem is an out-of-core merge sorted operation for sequences of numpy arrays. E.g. given

A few iterators of sorted numpy arrays in sorted order (e.g. a list of iterables of numpy ndarrays)
An on-disk store supporting numpy setitem syntax (e.g. hdf5, bcolz)

We want to walk through each iterator, pull off a numpy array from each, and then perform a merge sorted operation (see [toolz api] (http://toolz.readthedocs.org/en/latest/api.html#toolz.itertoolz.merge_sorted) for example) on these blocks, building up an intermediate block which we periodically push off on to the external store.  In principle this should be almost O(N) and probably I/O bound.
It is safe to assume that having one block from each of the iterators still fits in memory.
We will also need the original index of the values.
One approach might be to just use cytoolz.merge_sorted.  I assume that this is slower than a straight C/Cython solution operating on binary arrays but it's worth checking out.
This seems like the kind of thing that might interest @eriknw @cpcloud @nevermindewe

@hhuuggoo might have thoughts on this too.

cytoolz solution
import numpy as np
from cytoolz import merge_sorted, concat, map, partition_all

def shard(n, x):
    """

    >>> list(shard(3, list(range(10))))
    [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9]]
    """
    for i in range(0, len(x), n):
        yield x[i: i + n]

def esort(seqs, out=None, out_chunksize=2**14):
    """ External sort

    Merged sorted sequences of numpy arrays in to out result
    """
    assert out is not None

    seqs2 = [concat(x.tolist() for x in seq) for seq in seqs]

    seq = merge_sorted(*seqs2)
    chunks = map(np.array, partition_all(out_chunksize, seq))

    for i, chunk in enumerate(chunks):
        out[i*out_chunksize: min(len(out), (i+1)*out_chunksize)] = chunk

    return out

test file
from dask.frame.esort import esort, shard
import numpy as np

def test_shard():
    result = list(shard(3, np.arange(10)))
    assert result[0].tolist() == [0, 1, 2]
    assert result[1].tolist() == [3, 4, 5]
    assert result[2].tolist() == [6, 7, 8]
    assert result[3].tolist() == [9]

def test_esort():
    seqs = [np.random.random(size=(np.random.randint(100))) for i in range(5)]
    sorteds = [np.sort(x) for x in seqs]
    chunks = [shard(5, x) for x in sorteds]

    out = np.empty(shape=(sum(len(x) for x in seqs),))

    esort(chunks, out=out)

    assert (out == np.sort(np.concatenate(seqs))).all()

Closing this in favor of approximate percentiles


don't SIGPIPE, and don't EPIPE on sending heartbeats

address https://github.com/facebook/buck/issues/262 (hopefully).
might also be relevant to https://github.com/martylamb/nailgun/issues/23

created bug/fail-to-display-output<PHONE_NUMBER>9cb542f08e81a0328576e329733374) so that we can merge in this fix to subsequent lmax releases


Write a Ruby program to find area of a cube

Description
Write a Ruby program to find area of a cube
Area of cube = 6 × Side^2
Side : 2

Area : 24

How to contribute

Save the solution in program/FindAreaOfACube.rb file
Add FindAreaOfACube.rb file in find-area-of-a-cube folder

!assign


Migate AWS Lambda go1.x runtime to provided.al2023

Continuous benchmarking runtime experiments for AWS Lambda are failing due to the deprecation of the go1.x runtime (see here for details).
It looks like AWS Lambda no longer accepts function deployments with the go1.x runtime, so it needs to be migrated to the provider.al2023 runtime provided by AWS.
It might be a good idea to temporarily remove Go runtime experiments for AWS Lambda for now until this is implemented.

Closing as this has been resolved by #407.


Remove zoom slider

do we need it, since everyone will probably just use the mouse anyhow?

Yes, I think we can get rid of this. I'd like to keep the "node spacing" slider there, however, since it's not as standard as the regular zoom.


publish returns undefined?

The Typescript bindings say app.publish returns a boolean, but it seems like the return value can also be undefined?
  const ret = app.publish(opts.chan, opts.bytes, opts.isBinary, opts.compress);
// prints undefined
  console.log(ret);

The context for this question is: I have an application where ws.send is successfully sending data back to the client, but app.publish is not sending anything.

Update: I should have been passing in strings (not buffers).


KAFKA-14848: KafkaConsumer incorrectly passes locally-scoped deserializers to FetchConfig

Fix for a NPE bug that was caused by referring to a local variable and not the instance variable of the deserializers.
See fix suggestion from @rayokota: https://github.com/apache/kafka/pull/13425#discussion_r1148320558
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

LGTM. Merging to trunk to unblock @rayokota and SR, please feel free to address @chia7712 's comments in a follow-up PR.


TypeError: Cannot read property 'repoName' of undefined

The cloud function crashes with the following error:
TypeError: Cannot read property 'repoName' of undefined
    at Object.module.exports.createSlackMessage (/user_code/index.js:86:37)
    at module.exports.subscribe (/user_code/index.js:19:34)
    at /var/tmp/worker/worker.js:770:16
    at /var/tmp/worker/worker.js:718:11
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)"

Any idea what's causing this error?
-- Sven

I ran into the same issue... it appears that GCB has changed the event object.
Here's what my getGithubCommit looks like:
module.exports.getGithubCommit = async (build, octokit) => {
    try {
        const githubRepo   = build.substitutions.REPO_NAME;
        const githubBranch = build.substitutions.BRANCH_NAME;
        const commitSha    = build.substitutions.COMMIT_SHA;

        const githubCommit = await octokit.git.getCommit({
            commit_sha: commitSha,
            owner: 'xxxxxxxx',
            repo: githubRepo,
        });

        return githubCommit;
    } catch (err) {
        return err;
    }
};

Hi @svenmueller, perhaps the build did not have a .source.repoSource property (if it was a github app triggered build this would be the case).
#26 was just merged and might help, could you try it out and confirm please?
@benperove that's a nice approach by explicitly setting the github owner, you don't have to deal with parsing build.source.repoSource.repoName for it and $REPO_NAME for github app triggers is indeed the github repo name, but for mirrored repos, build.substitutions.REPO_NAME will give the mirrored repo's Cloud Source Repository counterpart name, and won't work as value for repo in the getCommit's argument because it will need to be parsed.

Hello folks, I have also recently come across the issue of repoName not being present in the JSON. While I have shifted away from this codebase here, I did find the reason (in my case) behind the crash.
Because we needed to use a custom build step container, we pushed a dockerfile into our gcr.io repository. Turns out that Cloud Build is triggered at that point, building the image and sending a Cloud Build notification. repoName and other various fields were obviously left as null.
Hope this helps for any future references.

Thanks @svachmic


On Blur() does not close keyboard

Not sure where to add this issue as there doesn't seem to be a repo for Stripe Elements - just the examples. Please move if somewhere more suitable.
I am using Stripe Elements and testing on my iPhone 7 on Safari and Chrome. Both browsers produce the same results. When I leave (blur) from the Stripe Elements input box by tapping somewhere outside of the control, the keyboard does not close. This causes issues because if I then click the Done button on the top right to close the keyboard, it will re-appear when I tap anywhere on the screen.
Comparing to a standard input box, when I leave, the keyboard closes as expected.
Any recommendations?

I'm also experiencing this (iOS 11, Mobile Safari). Not sure what is causing this, but it's definitely an issue with Stripe Elements because it even happens on the demo page: https://stripe.com/docs/stripe-js


[.NET 5] Added nuspec and nuget.config files

Overview: The purpose of this PR is to create a nuspec and nuget.config file for the PipeMethodCalls library, so that we can eventually create and publish its nuget package.
JIRA: https://coveord.atlassian.net/browse/CT-7597

Hello!


Audio mixing in 8khz,16Khz,32khz and 48Khz in node

Hi @murillo128 ,
Sorry for creating the issue for just information's sake. Please let us know if you have any communication channel like slack or something.
Just i wanted to know the audio mixing 8khz(16 bit)  is available in node or not.
I wanted to achieve two things below

In multi-party conference if i want to attach every other party's audio to one so in this scenario we need to mix all-party audio and attach to one or how it works in media-server-node.
How to encode 8khz (16 bit) audio to integrate with any speech recognition system .

Thanks,
Pradeep M R.

Audio mixing is not yet supported. However, preliminary support for audio encoding/decoding can be found here:
https://github.com/medooze/audio-codecs-node
https://groups.google.com/forum/#!forum/medooze

for further questions, please ask in
https://groups.google.com/forum/#!forum/medooze


What is the official package name?

The README tells you to install and import from rxjs, but the package name in package.json is @reactivex/rxjs. This is very confusing for users and especially confusing for tools that analyse dependencies.

Both are valid. rxjs stands for CJS package, scoped package @reactivex/rxjs ships CJS / global at once (and in further may include other possible packages as well).


throw errors when summarise

and returns this error message instead the summarised text:

Hi b3bb0:
Thanks for the request first.
I check the Slack document of event message, event.text is correct. Cloud you tell me your reproduction steps causing that text is in event.message ?

in private channels

That's wired. I try messaging and summary function and both work well.
Cloud you set LOG_LEVEL=debug and give me detail logs when error happens?


Bump main to 7.0.0~pre1

Part of https://github.com/ignition-tooling/release-tools/issues/459

INTEGRATION_examples_build is timing out on Focal actions. I think it's not related to this PR, we probably have too many examples and have to bump the timeout. I think that can come in a separate PR, and will probably need to target earlier versions too.


Buggy mouse control

Describe the bug
Hard (or even unable) to drag the blue triangle near diagonal positions.
To Reproduce

Open a timer
Set time to one of the following: 5 min (top-right), 20 min (bottom-right), 35 min (bottom-left) or 50 min (top-left)
Try to drag the blue triangle again

Expected behavior
The blue triangle should be dragged.
Actual behavior
The whole window is dragged.
Desktop (please complete the following information):

OS version: macOS 10.14.6
Version 1.5.0

I can reproduce this too, on 10.15.4

Yup, I can reproduce as well.
@robinstewart do you think this has to do with the change in #40 (Changing NSImageView to NSView) ?

Update, I reverted the changes in https://github.com/robinstewart/timer-app/commit/2fd3f8292355d936e209d34461b0a4d02aae2625 and the error went away. I wonder what part of the changes is the issue.

Fixed. Thanks @syimyuzya and @luckman212 for reporting it.


Add cone, make cylinder special case of a cone

Objective
Bevy is lacking a cone mesh type.
Solution
Copy the cylinder implementation into a Cone type and split the single radius into top- and bottom radii.
Step this radius when iterating over the cone/cylinder rings.
Make cylinders a special case of a cone where the radii are equal.
Changelog
Added

Cone mesh added with configurable top and bottom radii. Cylinders are now implemented in terms of cones with equal radii.

https://github.com/bevyengine/bevy/assets/52322338/b7fab541-fb76-4e13-ade9-63a34353a43d
Here are a few examples. Changed material to unlit for visual clarity.
The cones in the video are defined as follows:
        meshes.add(
            shape::Cone {
                top_radius: 0.0,
                bottom_radius: 0.4,
                resolution: 32,
                ..default()
            }
            .into(),
        ),
        meshes.add(
            shape::Cone {
                top_radius: 0.9,
                bottom_radius: 0.8,
                resolution: 16,
                ..default()
            }
            .into(),
        ),
        meshes.add(
            shape::Cone {
                top_radius: 0.9,
                bottom_radius: 0.3,
                resolution: 16,
                segments: 10,
                ..default()
            }
            .into(),
        ),
        meshes.add(
            shape::Cone {
                top_radius: 1.0,
                bottom_radius: 0.0,
                resolution: 32,
                height: 0.5,
                ..default()
            }
            .into(),
        ),

Also I noted other programs (Godot, Blender) have other features and optimizations such as choosing if caps should be generated, making top/bottom a single point (when zero radius) and more, but I thought this might be a good start.

Also I noted other programs (Godot, Blender) have other features and optimizations such as choosing if caps should be generated, making top/bottom a single point (when zero radius) and more, but I thought this might be a good start.

Yep, we can merge it without those, but making good-first-issues for follow-up work like that would be much appreciated.

Could you please add an image of the cone tip with smooth shading and a 0.0 tip radius, and no intermediate rings? I've only found one way to get this to work properly: https://github.com/bevyengine/bevy/issues/5891#issuecomment-1237754201
(TL;DR use a single vertex for the tip with the normal set to zero, and normalize interpolated vertex normals in the fragment shader.)
Also, a diagram would be useful, indicating the top & bottom radius, height, resolution, and segments.
Note that, with a radius of 0 at the tip, half of the triangles surrounding the tip are degenerate if using quads, since two of the vertices will be at the tip, forming a line to the other vertex. If you omit the degenerate triangles, the normal resolution is cut in half at the tip, resulting in visible creases from the base to the tip.

Also see this discussion, linked in #5891: https://stackoverflow.com/questions/15283508/low-polygon-cone-smooth-shading-at-the-tip/37187730#37187730

Yep, we can merge it without those, but making good-first-issues for follow-up work like that would be much appreciated.

Happy to do so when this gets merged. I have a few follow-up tasks I can think of.

Could you please add an image of the cone tip with smooth shading and a 0.0 tip radius, and no intermediate rings?

Video:  https://github.com/bevyengine/bevy/assets/52322338/c3a96842-5113-4fcd-8fa4-8fc77309f266
Smooth-shaded default cylinder alongside a default cone.
I guess these are the creases you mentioned @HackerFoo?
At first I tried doing a single-vertex optimization when a radius is zero, but the barrel body UV mapping got very ugly so I assumed I had to keep all the vertices in order to preserve the mapping.
I didn't realize keeping the vertices had the downside of these creases.
Should this be resolved in this PR or later?

I guess these are the creases you mentioned @HackerFoo?

Yes, that's what I expected. I don't think there is a solution other than normalizing in the fragment shader, or something similar e.g. weighted vertices.

I was also curious as to how Godot did theirs and I found this:

Both have similar heights and radii, but:
Default (behind) cone:

64 radial segments
4 rings

Less geometry (front) cone:

16 radial segments
1 ring

So it seems the effect is present there but masked by having more geometry in the defaults.
I adopted those defaults now, looks like so:
https://github.com/bevyengine/bevy/assets/52322338/a7539d6e-fcc4-49f0-8a57-edb961be53ef
Putting into draft since I'm unsure how to diagram it properly yet.

Added an illustration done in draw.io as well as the .xml source for it such that it can be further edited in the future.
Also added some more docs.

So it seems the effect is present there but masked by having more geometry in the defaults.

The effect should still be visible when zoomed in on the tip of the cone. A cone with a zero normal tip vertex doesn't have this problem.
In my case 20x-1 vertices (4x radial segments, 4x rings, another ring instead of a single vertex at the tip) would affect performance, but I'm not using Bevy's shapes.

I would definitely like to fix this problem directly, rather than mask it with more geometry :) Defaults should be both correct and free of odd performance footguns.

I'd need to delve a bit deeper to understand the implications of

A cone with a zero normal tip vertex doesn't have this problem.

and I want to work on other things right now, so putting this PR up for adoption.

FYI, I'm implementing this as a part of adding mesh creation support for the new primitive shapes (see #10569).
I have a working implementation of the cone with a single vertex for the tip and a zero normal:

Note: Unlike this PR, my implementation's default UVs map to polar coordinates (which Blender also uses). For example, a traffic cone with a white line going through it would be similar to Target's logo, which feels relatively intuitive to me.
However, this requires #10905, because the vertex normals need to be normalized in the fragment shader and not in the vertex shader. Otherwise, the NaN values will produce a black mesh.
Also, if we're going to be mathematically correct, the cone in this PR isn't actually a real cone because it doesn't always taper to a single point:

A cone is a three-dimensional geometric shape that tapers smoothly from a flat base (frequently, though not necessarily, circular) to a point called the apex or vertex.
- Wikipedia

Instead, it's a conical frustum, a truncated cone where the truncation plane is parallel to the base. Coincidentally, there is a ConicalFrustum primitive already, so I managed to easily copy your code over to use that:

TLDR: I'm working on this, and the code here is very useful for the conical frustum implementation. PR(s) should be ready soon after #10905 hopefully gets merged!

@Jondolf Very cool! Glad to hear you found something that will work well in all cases.
Since this PR was up for adoption anyway I'll close this.


JsonRpcError: Verifying blocks

When bitcoind is restarted while EPS is running:
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.6/site-packages/electrumpersonalserver/server/common.py", line 524, in run_electrum_server
    sock, addr = server_sock.accept()
  File "/usr/lib/python3.6/socket.py", line 205, in accept
    fd, addr = self._accept()
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/bin/electrum-personal-server", line 11, in <module>
    sys.exit(main())
  File "/home/user/.local/lib/python3.6/site-packages/electrumpersonalserver/server/common.py", line 824, in main
    run_electrum_server(rpc, txmonitor, config)
  File "/home/user/.local/lib/python3.6/site-packages/electrumpersonalserver/server/common.py", line 533, in run_electrum_server
    on_heartbeat_listening(txmonitor)
  File "/home/user/.local/lib/python3.6/site-packages/electrumpersonalserver/server/common.py", line 92, in on_heartbeat_listening
    txmonitor.check_for_updated_txes()
  File "/home/user/.local/lib/python3.6/site-packages/electrumpersonalserver/server/transactionmonitor.py", line 302, in check_for_updated_txes
    updated_scrhashes1 = self.check_for_new_txes()
  File "/home/user/.local/lib/python3.6/site-packages/electrumpersonalserver/server/transactionmonitor.py", line 442, in check_for_new_txes
    True])
  File "/home/user/.local/lib/python3.6/site-packages/electrumpersonalserver/server/jsonrpc.py", line 97, in call
    raise JsonRpcError(response["error"])
electrumpersonalserver.server.jsonrpc.JsonRpcError: {'code': -28, 'message': 'Verifying blocks...'}

Has bitcoin core finished synchronizing?

No, the error happens if Bitcoin Core is restarted while EPS is running, and EPS appears to handle the fact that bitcoind is still synchronizing by raising an exception.
Since EPS is a server application and is expected to be available at all times, it seems strange to require manual intervention if bitcoind restarts for some reason, when an exponential-backoff retry-loop (perhaps combined with a timeout) would be suitable for this situation (where we assume bitcoind will eventually be available in the future).
On Thu, Nov 07, 2019 at 03:49:01AM -0800, chris-belcher wrote:

Has bitcoin core finished synchronizing?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/chris-belcher/electrum-personal-server/issues/159#issuecomment-551046895

Oh I see what you're saying. So it's the same as/similar to #39

It also happens as a result of bitcoind quitting/restarting, but
this particular issue manifests itself in a slightly different way.
(This issue here could also occur if EPS is started while bicoind is
still starting up.)
On Fri, Nov 08, 2019 at 05:32:52AM -0800, chris-belcher wrote:

Oh I see what you're saying. So it's the same as/similar to #39
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/chris-belcher/electrum-personal-server/issues/159#issuecomment-551799472


Merge v1.23 to v2

This is a merge PR; no need of fully checking the changes. Just confirm that it passes the tests.

I checked its behavior in my local environment. LGTM


Internal Block Links

I just started using your plugin and it works amazingly well. I did notice that internal links to blocks within notes as identified by a ^ in obsidian don't work when exported to html.
I frequently have
^TOP
at the top of a note and then throughout the note include
[[#^TOP]]
which takes you up to that top block note that is
Given that obsidian has a warning that they are not part of the standardized markup format I'm not surprised that the links don't resolve when exported to html format and so am putting this in as a feature request not a bug. Am open to helping develop this feature if you are interested.

I wasn't aware of this feature which is why it is not supported. But thanks for bringing it to my attention, and I'll work on seeing if it is possible to implement this!
Thanks again for the suggestion :)

Hi there,
I also observed this same issue reported at #298 you closed but I can see you maintain open under this issue number.
I would like to enquire how you are progressing in resolving this.
(My special problem with it comes because I thought to restructure my md documents to have headings to link to them even referring to them not only from the same documents because the section links did not work either in the same or in another document to refer to blocks, with the HTML output. However, it results getting many unnecessary headings where for example lists would be enough, but can not be referenced as section links. Too many headings also cause problems in the HTML output if those are not regularly sequenced. See https://github.com/KosmosisDire/obsidian-webpage-export/issues/386#issuecomment-2009550485)
I think it is (not only just for me however I'm just stuck in this problem) a very needed and crucial feature to be considered and developed sooner
Thank you for your kind answer if you have time.


add verifier e2e tests for container

Signed-off-by: Asra Ali<EMAIL_ADDRESS>cc @ianlewis I added each of the gha_* builders to the workflow, so this the builds are done in parallel.
For https://github.com/slsa-framework/slsa-github-generator/pull/1255

@asraa Oh, and I almost forgot, thank you so much for doing this! 👍


Headless rendering: extracted image is colorless running in Docker container

I'm currently running Metadrive in a Docker container and it seems that the image extracted from "rgb_camera" is all white (image below)

It runs fine on host machine (having colors and textures are correct). I have confirmed that textures and shaders are loaded (paths to assets are correct), but unsure why it is like the image above. I extracted the images from rgb_camera.perceive()
Are there veryfying steps that I can make to make sure that the textures and shaders are loaded correctly?
Ah, I just narrowed down the issue to having no physical monitor or display port. The no-color display in the above image is from me initializing a virtual screen in xvfb first then run Metarive, but when I allow forwarding display from docker container to my host, every works fine. I wonder why?
Further narrowed it down to I think xvfb isn't utilizing Opengl to render. Not sure if OpenGL version string: 3.1 Mesa 21.2.6
is compatible with Metadrive

My bad, this problem should have been solved, I was using Metadrive 4.2.3

I also encountered this problem, can I ask how you solved it?

I have the same problem, how do you solve it?


GPU Docker

Description
Brief Description of the PR:
tfaddons/dev_container   latest-cpu   f76b67afc6b2   38 seconds ago   1.44GB
tfaddons/dev_container   latest-gpu   bd521b3d1c89   11 seconds ago   5.45GB

Gpu image only about 5.45GB
Fixes # (issue)
Related https://github.com/tensorflow/addons/issues/2326
Type of change

[ ] Bug fix
[ ] New Tutorial
[ ] Updated or additional documentation
[x] Additional Testing
[ ] New Activation and the changes conform to the activation contribution guidelines
[ ] New Callback and the changes conform to the callback contribution guidelines
[ ] New Image addition and the changes conform to the image op contribution guidelines
[ ] New Layer and the changes conform to the layer contribution guidelines
[ ] New Loss and the changes conform to the loss contribution guidelines
[ ] New Metric and the changes conform to the metric contribution guidelines
[ ] New Optimizer and the changes conform to the optimizer contribution guidelines
[ ] New RNN Cell and the changes conform to the rnn contribution guidelines
[ ] New Seq2seq addition and the changes conform to the seq2seq contribution guidelines
[ ] New Text addition and the changes conform to the text op contribution guidelines

Checklist:

[ ] I've properly formatted my code according to the guidelines

[ ] By running Black + Flake8
[ ] By running pre-commit hooks

[ ] This PR addresses an already submitted issue for TensorFlow Addons
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] This PR contains modifications to C++ custom-ops

How Has This Been Tested?
If you're adding a bugfix or new feature please describe the tests that you ran to verify your changes:
*

I remember that in the last @seanpmorgan Dockerfile refactoring there was a specific point about use the custom-ops base images.
I suppose we could switch as soon as It Is ready to https://github.com/tensorflow/build/pull/21#issuecomment-771260439. If you want you can send feedbacks to that PR.

I forgot there are some issues with abi stable.


Adopting new swagger changes.

One more change pending on this one.
https://github.com/Azure/azure-rest-api-specs/pull/9645
No changes to SDK for the PR linked above. Just need to double check.

/azp run java - search - tests


Add GPU support take 3

Same as #66 but with squashed commits

@ayush-1506 Would you be able to review this?
cc @OkonSamuel

@ablaom Sure, will take a look at this later today.

@ayush-1506 thanks for the review!