Determine current browser support

Add to GH pages feature list
Add to extension description in CWS
Chrome
Opera
Vivaldi
Brave
Firefox
Others?
File bugs?

Opera
Opera has its own store and can also install Chrome extensions through Opera's "Install Chrome Extensions" extension.

See #192.

Thanks. Closing this meta issue in favor of using GitHub's projects to track this set of issues. See here for the project.


RWBY RoC Minor update v2.01

Hello. Minor update in response to problems reported on reddit.
I fixed semblance rolls and replaced chat message for reduced phial rolls level 2 and 3.
I also added a "Level" filed besides the character name field and updated the change log to include these 3 changes.

This PR seems to have some conflicts, which you need to fix before any changes can be considered or approved.

Ok, I resolved the conflicts. This was a first for me so I had to look up what's what and how it's done.
I think conflicts happened because my pull request included precedent changes (which were already merged to r20 master).
Or am I wrong?

Yeah, that's likely the case. Good work fixing it!

Thanks !


Test

lets see if it's working

okay it took some while, a few seconds to show the latest changes


warn when overwrite built-in directives (#4876)

https://github.com/vuejs/vue/issues/4876

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

IMO it's not necessary to detect this. Kinda like to detect if someone overwrite the Vue instance.
And if really really needs, should only in development mode.

@dsonet thanks for you reply.
https://vuejs.org/v2/guide/custom-directive.html#Intro

In addition to the default set of directives shipped in core (v-model and v-show), Vue also allows you to register your own custom directives

Like checkComponent(), I was checking in development mode

Hmm thanks for the PR - bt this doesn't seem to detect cases where user attempts to register other built-ins e.g. v-if (which would just fail silently).
After thinking about it, it seems the only way would be to have a constant list of built-ins for each platform. Feels too much of an edge case for this extra maintenance burden.
Still, thank you for the effort put into this PR!

Yes, it is also bothering me, in addition also need to distinguish between compile-time and runtime


Works on Simulator but not on Device

Do I need a special entitlement such as multicast to run this successfully in the device?
OSCServer(address: "", port: 5556) is running in the device.
Sender sends to device IP directly and port 5556.
This scenario works in the simulator but not in the actual device.
Thanks a lot for your help.

By checking further, I'm seeing that,
int len=(int)recvfrom(socket_fd, outdata, expted_len, 0, (struct sockaddr *)&cli_addr, &clilen);

in yudpsocket.c blocks on device.
I've changed the socket options a bit to introduce timeouts to at least have a return value.
  struct timeval tv;
  tv.tv_sec = 3;
  tv.tv_usec = 750000;
  setsockopt( socketfd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv) );

I'm receiving the return value of -1.
I'm almost sure that it should be related to some apple introduced security layer.
Have you ever tried running a server on the actual device?

Have you ever tried running a server on the actual device?
Of course. Could be recent updates changed stuff.
On Feb 16, 2022, 7:04 AM -0800, Ali Somay @.*>, wrote:
By checking further, I'm seeing that,
int len=(int)recvfrom(socket_fd, outdata, expted_len, 0, (struct sockaddr )&cli_addr, &clilen);
in yudpsocket.c blocks on device.
I've changed the socket options a bit to introduce timeouts to at least have a return value.
struct timeval tv;
tv.tv_sec = 3;
tv.tv_usec = 750000;
setsockopt( socketfd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv) );
I'm receiving the return value of -1.
I'm almost sure that it should be related to some apple introduced security layer.
Have you ever tried running a server on the actual device?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.>

If you have time, I'd love if you try again. It would be great help to me. Then I can know if it originates from me or the library.


Zero proxies for a while

Probably something has broken on the background

An update will be pushed out tonight or tomorrow that'll fix this issue 🙂

@alextatarinov update has been pushed to fix this bug.
The checker has been running for a few hours & seems to be stable. If it crashes overnight, I'll look into it.
There are some formats missing that I'll sort out tomorrow, heading to sleep. 😊
(Updated backend from https://github.com/jetkai/ProxyBuilder -> https://github.com/jetkai/proxy-builder-2)

Great, thanks!


Perma is trivial to break out of

Description
Literally took me like a minute with the tools inside, perma either needs to be heavily reinforced, and/or the scaffold outside it needs to be removed. We don't have the threat of spacing to discourage breaking the window, so the grill should be electrified and there should be something stopping just walking out
Alternatively could be moved to Sweetwater (but that would require moving sec. Probably not ideal)

Description
Literally took me like a minute with the tools inside, perma either needs to be heavily reinforced, and/or the scaffold outside it needs to be removed. We don't have the threat of spacing to discourage breaking the window, so the grill should be electrified and there should be something stopping just walking out
Alternatively could be moved to Sweetwater (but that would require moving sec. Probably not ideal)

i fully aggree. The current one is there because chasms used to instakill you and RR you, but now that you actually fall somewhere i think jumping out of the window in perma to escape is much more interesting

perma no longer has catwalks outside the window, and the grilles are shocked


remove HF tokens

Hi, I just found I leaked my personal HF tokens. I just removed and will deactivate it on my side.

No, there's only one defined but not used.


Fix the several typos detected by github.com/client9/misspell

This pull request fixes the typos in this repository. Although I am not a native English speaker, misspell detected obvious mistakes for us. I've fixed them except for false positives.
$ misspell .
internal/compiler-interface/src/main/java/xsbti/compile/CachedCompiler.java:38:41: "occured" is a misspelling of "occurred"
internal/compiler-interface/src/main/java/xsbti/compile/ClassFileManager.java:50:54: "succeded" is a misspelling of "succeeded"
internal/zinc-apiinfo/src/test/scala/xsbt/api/NameHashingSpecification.scala:277:13: "calcualte" is a misspelling of "calculate"
internal/zinc-classpath/src/main/scala/sbt/internal/inc/ScalaInstance.scala:104:16: "extention" is a misspelling of "extension"
internal/zinc-core/src/main/scala/sbt/internal/inc/Incremental.scala:51:60: "succesfully" is a misspelling of "successfully"
internal/zinc-core/src/main/scala/sbt/internal/inc/Compile.scala:48:60: "succesfully" is a misspelling of "successfully"
internal/zinc-ivy-integration/src/main/java/xsbti/compile/ZincBridgeProvider.java:38:25: "necesary" is a misspelling of "necessary"

To validate this pull request against other sbt modules, please visit this link.


FR: kill selected processes in session tab

sometimes there are several processes that need to be killed, but selecting them and killing from context menu kills only the first selected, not all rows in the selection

See fix in the next version (it will be supported for all databases which support sessions management)


Reed switches reporting delayed

Hi I have Hikvision_axpro_<IP_ADDRESS> installed and all functionality seems to work fine.  The issue I have is that the magnetic reed switches take anywhere between 7-25 seconds to report contact broken (on/off).  This means that any automation tied to those contact sensors fails because the door is typically opened and closed in less than 5 seconds.  I have done some testing alongside a sonoff snzb04 contact sensor and the history graph tells the story well;

bottom bar is the hikvision sensor/ top bar is sonoff
interestingly, when the Alarm is on, the reed triggers the alarm instantly so I suspect its the connection to HA that might be causing the delay.
Here is my integration configuration - note that for the past few months I've had it installed it was configured with the use internal API lib (AXHub) ticked.  After reading some issues on this git, i tried it unticked but even after a restart, no difference.

Am I doing something wrong? If not, are there any tweaks or settings I can change to reduce the latency? is there any testing I can set up to further troubleshoot?
Thanks in advance.

Hi, the problem is pulling of update.
Extension is local pulling extension. You can change this by changing the "pull internal from system".

I have been looking in to AXPro / AXHub configuration but "events" cannot be sent to currently to integration so we have to pull the sensor updates.

Ok, great.  I'll give it a try.  Do you think changing it to 5 seconds will cause too much impact?

I've seen people to use 1 second also. You can try. If your system will have slow responses on "UI" you can always change this.

do I need to restart for the setting to take effect?

Yes. Some settings need HA to be restarted, to fully reload.

Just looping back to confirm that making that change has resolved the issue.  Thank you for your work and also your rapid response - you are appreciated.


Support Privileged.

Privileged is initially a Docker concept. Docker grants a group of permissions and mounts a group of directories into a privileged pod.
In Kubernetes, we should define our own Privileged https://github.com/kubernetes/kubernetes/issues/44503. For now, we could do whatever docker is doing.
Things to do:

Figure out what docker is doing to Privileged container.
Do the same in cri-contained.

/cc @heartlock

I will take this task. Wait for #22

@heartlock I'll update #22 today, and will try to get it merged this week.

FYI, @heartlock The container lifecycle PR is merged. #22

@Random-Liu ok, will do it.

@heartlock For the device mapping, you could reference the cri-o implementation. https://github.com/kubernetes-incubator/cri-o/blob/master/server/container_create.go#L68-L93

Close this one since the PR is merged.
Thanks @heartlock


Adding auto-closing for the math environment $...$

Do you think you can add support for auto-closing the math environments like $...$ and \[...\]?
When using Atom, I was able to use the package latexer to enable auto-closing of \[\], and use the default package bracket-matcher to enable auto-closing of $$.
It seems like the only two LaTeX extensions on Nova currently don't do any of that. So I have to revert back to using Atom for the time being, but it would be great for either LaTeX or TeX Suite to support such features (although TeX Suite seems to be crashing on Nova v9.3, and this extension is way simpler and suits my most needs).
[Edit] I just remember that I actually have to manually close \[\] on Atom as well, I'm not sure why, but the auto-closing of \[\] only works some of the time, and I'd rather for it to be off.

Thank you, that’s a good idea. I had thought about it and run into some limitations/bugs of Nova’s API. But I’ll definitely look into it again. Thanks!


Issue when trying to use PNP Provisioning service

Category

[ ] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

Expected or Desired Behavior
I want to provision templates from PNP provisioning service. I expect to get a site in selected template provisioned in my site after clicking "Add to your tenant".
Observed Behavior
I try to use the HR template and provision it to my tenant wrobelonline.onmicrosoft.com using PNP Provisioning service. After clicking "Add to your tenant" I got prompt to provide permissions to my tenant. After granting them I get the following error: "Invalid request, the current tenant is not allowed to use this solution!", more details:
"at SharePointPnP.ProvisioningApp.WebApp.Controllers.HomeController.d__4.MoveNext() in C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebApp\Controllers\HomeController.cs:line 269 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass8_0.b__1(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__11_0() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_1.b__2() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass7_0.b__1(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.b__3() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.b__5(IAsyncResult asyncResult)"
Steps to Reproduce

Go to the https://provisioning.sharepointpnp.com site
Sign in with global tenant admin credentials to wrobelonline.onmicrosoft.com tenant
Select HR site template
Click on the "Add to your tenant"
Approve permissions for pnp service app
Error appears

Thanks for your contribution! Sharing is caring.

OK we can close the issue, my tenant needs to be enabled for this service


feat (core): Introduce Enola's new YAML RDF & TextProto format

See also #765 ?
Goals:

For writing ✍ and reading by humans, 🤠 not machines 🔫 🔥
Whitespace 🐻❄ 🤍
RDF Data model (not any specific existing data model)
Datatypes implied by schema, not explicitly written
YAML or JSON (no & * links)
XML?

Implementation:

[ ] *.rdf.yaml
[ ] MediaType propose e.g. text/rdf+yaml, with charset , try with IANA registration
[ ] Tags for Prefixes?
[ ] Context, for JSON-LD? %CONTEXT would be cool, but is technically reserved... does it work anyway??
[ ] Context is OPTIONAL. Implementations are NOT required to support.
[ ] type instead of a (like in TTL) or is-a
[ ] %BASE, default to file's own URL
[ ] .LOAD e.g. for standard prefixes
[ ] &Anchors ⚓ as IRI, relative to BASE
[ ] *Links! But they are forward only, and in-document only; so we also support  or even just text, when schema infers
[ ] Datatypes?! None, ideally; only inferred via type. Separate?
[ ] NLS multi-lang simply as Map! Could JSON-LD Context do that transformation? Else just hard-code it, no biggie.
[ ] YAML Schema, formally
[ ] Streaming, not DOM; impl
[ ] Implement it as SnakeYAML to Thing API, nor directly RDF4j, but write thin Thing to Model pass through adapter.
[ ] Release it as a separate small CLI tool eventually #later
[ ] TextProto generic exact equivalent; see thing.proto
[ ] Rosetta yaml2ttl
[ ] Rosetta in Bulk with glob; not single
[ ] Transparent encrypt and decrypt, see #284
[ ] Review: Guha, Manu Sporny, TBray, EMF Ed, XML Edd, lbo & pos, ...
[ ] Paper! 📜 Credit e.g. HUTN, and ESON and mon

https://github.com/cabo/kramdown-rfc/wiki/Syntax has some other interesting 🤔 ideas.


Added LGBTQ fund to national funds

It is currently listed under just Miami, but is active across the US

Hi there! For protests, this fund is currently supporting Miami / South Florida Bail, so this is accurate.


How can test in local with app service is Isolated tier

I upload private certificate in app service and follow the steps, how can I test it in my local? I cannot validate the thrumbprint.
Do I need to import the certificate in the virtual machine that I'm hosting this app service or just upload in TLs/SSL setting of app service?

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

ID: fbf6dd80-7e07-3e24-7aa8-d3f278f34588
Version Independent ID: e06a85f1-9a8c-7b94-a86d-33bdf2daf9d5
Content: Use a TLS/SSL certificate in code - Azure App Service
Content Source: articles/app-service/configure-ssl-certificate-in-code.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@trangluong Thanks for the feedback! We are currently investigating and will update you shortly.

@trangluong Thanks for asking question! Could you please elaborate on what steps you are trying to help you better on this?
If you already have a private certificate from a third-party provider, you can upload it. Please refer to Private certificate requirements. Once you obtain a certificate from your certificate provider, follow the steps in this section to make it ready for App Service.
For Creating a local copy of the issued SSL certificate, you may use below PowerShell commands to download the certificate and use it elsewhere. There doesn't seem to be an easy way to do it in the portal, but the following PowerShell will download a PFX file of your certificate from the KeyVault in which it is stored.
$vaultName = 'keyvault-where-cert-is-stored'
$secretName = 'name-of-the-cert-certificate'
$cert = Get-AzureKeyVaultSecret -VaultName $vaultName -Name $secretName
$pfxBytes = [System.Convert]::FromBase64String($cert.SecretValueText)
[io.file]::WriteAllBytes("c:\temp$secretName.pfx", $pfxBytes)
Reference: https://azure.github.io/AppService/2017/02/24/Creating-a-local-PFX-copy-of-App-Service-Certificate.html

@trangluong We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi  SnehaAgrawal-MSFT,
Thanks for helping me.
Do I need to install the public key in the virtual machine?, my Azure
function app was deployed in App service environment.
Which StoreName and StoreLocation that I should use. I think it should be Local
Machine\My
https://docs.microsoft.com/en-us/windows-hardware/drivers/install/local-machine-and-current-user-certificate-stores
I use a thumbprint to verify in certStore as
https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate-in-code,
I cannot find certification with the thumbprint.
My function app need to connect with LDAPS SSL, I cannot find good article
to implement it.
On Wed, May 27, 2020 at 11:35 AM SnehaAgrawal-MSFT<EMAIL_ADDRESS>wrote:

Closed #55232 https://github.com/MicrosoftDocs/azure-docs/issues/55232.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/55232#event-3376347050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEOEFWUUZFBOACY2W3NWDPDRTSKCXANCNFSM4NFRMJHQ
.

--
Sincerely,
Luong Ngoc Trang
Phone: (+84) 915582531


Cleaning out cache again to fix out of space issue

Issue #, if available:
Description of changes:
https://github.com/aws/eks-distro/pull/1934 only partially fixed out-of-space issue for https://github.com/aws/eks-distro/pull/1926
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


redundant rebuild.

When I ran a simple sample application I discovered it was rebuilding twice. It should have called the build function only once.
my code:
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: Text('hi'),
          ),
          body: MyCustomForm()),
    );
  }
}

class MyCustomForm extends StatefulWidget {
  @override
  MyCustomFormState createState() {
    return MyCustomFormState();
  }
}

class MyCustomFormState extends State<MyCustomForm> {
  @override
  Widget build(BuildContext context) {
    print('rebuild ${DateTime.now().millisecondsSinceEpoch}');
    return Scaffold(
      body: Center(
        child: Text('hi'),
      ),
    );
  }
}

console log expected:
flutter: rebuild <number>
but received.
flutter: rebuild<PHONE_NUMBER>815
flutter: rebuild<PHONE_NUMBER>107

It look like the function build is called twice at different times.

Hi @tbm98
your code on dartpad
doesn't show the behaviour you are describing
is it the same for you?
Thank you

Yes. I got only one line of console log when ran on dartpad. But when I run on my laptop (tested on stable,beta,dev channel) still show two line of console log.
On android:
when I run app(not restart) It work normal. but if I click on restart it show two line of log.
On ios:
it show two line of log in both new run and restart
I just modify my code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: Text('hi'),
          ),
          body: MyCustomForm()),
    );
  }
}

class MyCustomForm extends StatefulWidget {
  @override
  MyCustomFormState createState() {
    return MyCustomFormState();
  }
}

class MyCustomFormState extends State<MyCustomForm> {
  int a = 0;
  @override
  Widget build(BuildContext context) {
    a++;
    print('rebuild ${DateTime.now().millisecondsSinceEpoch}');
    return Scaffold(
      body: Center(
        child: Text('hi $a'),
      ),
    );
  }
}

run on dartpad work fine and show hi 1
but run on my laptop it show hi 2 because function build is called twice.
Can you try to run it on your device? I want to know why and how to fix it.

Hi again @tbm98
could you please check if your installation is corrupted
docs
Thank you

Hi @iapicca
I fixed it according to the instructions but I still get the redundant rebuild.
I am asking my friends to test it and will have to return to it soon. If I get the same error on my friend's computer, I think that's really a problem.

Hi @tbm98
I tested on 2 laptop, with the latest stable, no issue;
could you please provide your flutter doctor -v as well?
Thank you

doctor -v
[✓] Flutter (Channel dev, v1.15.20, on Mac OS X 10.15.2 19C57, locale
    en-US)
    • Flutter version 1.15.20 at /Users/tbm/dev/flutter_sdk/flutter
    • Framework revision 4049889d9e (3 days ago), 2020-03-10 20:05:41
      -0700
    • Engine revision 0e2c8feeeb
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[✓] Android toolchain - develop for Android devices (Android SDK
    version 29.0.3)
    • Android SDK at /Users/tbm/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native
      profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[!] VS Code (version 1.42.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.fl
      utter

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • 1AD70BBE-CC2F-4505-BF75-F041B24FF70E • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

! Doctor found issues in 1 category.

Hi @iapicca
Check out my video recording screen. may need to wait for a while for youtube to handle hd quality.
video

Flutter does not guarantee Widget.build will be called the minimum number of times possible. You should structure your application in a way that assumes build will be called on every frame - anything less is an optimization.

Yes. Thanks!


Crash when loading URLs without an extension

When loading URLs that don't end with an extension, I get this error:
asset paths must have extensions

I understand that we need to get the extension of the file to inject .meta to it to implement read_meta, but if there's no extension in the first place, I would say that it makes no sense to try to fetch the meta file.
Can we add support for URLs without extension? Maybe return a 404 error in read_meta in this case?

@johanhelsing I can make a PR if you agree with the idea.


docs(how-to-guides): add training docs for traffic_light_fine_detector

Description

This PR is part of the work to provide users clear instructions how to train neural networks on their own data. See https://github.com/autowarefoundation/autoware-documentation/issues/488.
This PR adds introduction to training trafffic light detector yolox model  on custom dataset and provides link to the training instruction in traffic_light_fine_detector package.
The PR should be merged after https://github.com/autowarefoundation/autoware.universe/pull/5704.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The Reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@kaancolak @lexavtanke
Is the PR still in progress?


Setting resource scope to 'external resources'

Hi, all. Merry Xmas and good work with the latest release. While waiting for christmas dinner to be ready I had to work on some bicep modules ;-) Not sure if the below is already on the agenda....
Bicep version
0.2.212
Describe the bug
When setting a scope for assigning RBAC I can do as described below.
resource rbac 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
  name: guid(subscription().id, existingServicePrincipalObjectId, builtInRole[builtInRoleType])
  **scope: containerRegistry**
  properties: {
    principalId: existingServicePrincipalObjectId
    roleDefinitionId: builtInRole[builtInRoleType]
  }
}

To Reproduce
But I am not able to set a scope to reference resources not created in bicep....
resource rbac 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
  name: guid(subscription().id, existingServicePrincipalObjectId, builtInRole[builtInRoleType])
  **scope: reference(existingvnet.....)**
  properties: {
    principalId: existingServicePrincipalObjectId
    roleDefinitionId: builtInRole[builtInRoleType]
  }
}

```**Additional context**
Having the ability to assign RBAC roles over existing resources using ARM currently works fine and should probably be supported in bicep.

Closing as dup of #258


have global option to start and stop all VTherm automatically

To avoid an automatisation that start (HVACMode.ON) and stop (HVACMode.OFF) all VTherm we need an input_boolean or a binary_sensor which can control the HVACMode of the VTherm. I could also be a input_select so that we can choose Off / Heat / Cool useful for VTherm with AC Mode.
The idea is to simplify this feature which needs an automation:

I would add a Note because this "Mode" has no any management syncronisation or algorithm as is just a switch and in the event of using electrical heaters, starting all at once could be tricky...


Update ABC to latest

@jix If you could please check if this affects anything sby/eqy related

@mmicko  This breaks the Wasm build: https://github.com/YoWASP/yosys/actions/runs/6166481665/job/16736046078

@whitequark ah, sorry for that, not sure I will have time for a fix soon, but if you can provide patch it would be great

@mmicko Can we revert until this is fixed?

Actually that looks like an easy fix, patch incoming


Question on how the generation of the iOS-WrapperClasses work

Do you generate the iOS-Warpperclasses in (Kastri\API) with some kind of program or are you manually writing them based on the SDK-Page of Apple?

I generate them using a tool - unfortunately it cannot be made public yet. One day..
If there's a particular framework (or frameworks) you need imported, let me know

I was just curious. There was a tool included with Delphi. But i think somewhere around Delphi 10.2 or so it stopped working. Right now i don´t need an additional Framework but i´ll surely come back to the offer :)
Do you have plans on releasing the tool at some point?

Yes, there are plans to release it. I'll be messaging the concerned parties :-)


Cleanup sockets when creating new connections

We noticed a bug where many thousands of simultaneous connections can be leaked.  This closes sockets and also prevents uncatchable exceptions from being thrown when many quick connection attempts are made in a short period of time.

@kenperkins if we can help test and/or review this, I'm at your service

@dmiddlecamp can you expand on what you're seeing? I'd like to better understand.

Sure sure!
We found an installation running this module that had spawned many thousands of connections to papertrail, which caused us to be rate limited.  Since the TLS session is created independently of the TLS session, it's possible for the module to attempt hundreds of simultaneous connections while it's waiting on the TLS session to be established.  These sockets aren't cleaned up, and the rate limiting wasn't enforced in this scenario.  This patch guarantees that the module will never open more than 1 socket at any given moment, and will cleanup the socket in the event that the TLS session doesn't succeed.
We were also seeing uncatchable crashes when many connection attempts were made quickly, so I've also added a fix for that and a unit test to confirm.
Thanks!
David

Also BTW, thank you for taking the time to review, much appreciated! :)

Did we decide whether or not we should emit those two exceptions?
I've typically biased to emitting so that if there's something weird going on, you bubble it up to a higher level where it might still be visible. I've learned that swallowing errors in your logging is generally bad :)

I'm okay with emitting those if you feel strongly about it, but I only try to emit errors for things where something should / can be done.  In a scorched earth / cleanup scenario I'm not sure what recovery steps we'd take out of band between disposing sockets and re-establishing them?

I think the only thing that could be done is being able to log something out to the console for investigation purposes. And given that I don't even know what this will throw, lets not bother for now.
If we see evidence to the contrary, we can revisit.

I tend to agree with @dmiddlecamp, I wouldn't know what to do knowing that winston-papertrail had an internal error. Would I log that the logging library had an error? :P

So be it :)

Hi guys!
I believe that this issue caused an outage for our production app this last week during a papertrail outage.  Could you guys shed some light on this pull req; does it resolve the many-connections issue, and if so why isn't it merged?

@dmiddlecamp could I trouble you to pull master and merge it? We're merging this and an unrelated PR into master, then letting folks use it for a few weeks before making a release.

Sure thing, I'll take a look

Looks like it was just a package.json conflict?

If you're reading this message, we'd love if you can pull the current master of winston-papertrail and run it. We'll wait at least 2 weeks to see whether any issues come up from wider use of this and one other change. If you encounter problems with master which don't occur in the current release, please open a new GitHub Issue with the transcript and reference this PR.

This is live on NPM in version 1.0.3.


'NoneType' object has no attribute 'getitem'

Running towncrier without any config file crashes:
$ bin/pip install towncrier
$ bin/towncrier --draft
  File "/tmp/myvenv/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/tmp/mvenv/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/tmp/mvenv/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmp/mvenv/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/tmp/mvenv/lib/python2.7/site-packages/towncrier/__init__.py", line 38, in _main
    return __main(draft, directory, project_version, project_date, answer_yes)
  File "/tmp/mvenv/lib/python2.7/site-packages/towncrier/__init__.py", line 50, in __main
    if config['template'] is None:
TypeError: 'NoneType' object has no attribute '__getitem__'

Good catch. I'll fix this one for the next release, too.

The relocated load_config() can still return None.
https://github.com/twisted/towncrier/blob/ef1be451c44b71112cf6b6b2f1e90a27dd5ff489/src/towncrier/_settings.py#L55-L67
But it appears to be called only one place and have the None return handled now.
https://github.com/twisted/towncrier/blob/ef1be451c44b71112cf6b6b2f1e90a27dd5ff489/src/towncrier/_settings.py#L47-L50
It appears it was changed to a more descriptive error in 19.9.0rc1.
$ python3.9 -m venv venv

$ venv/bin/pip install --pre towncrier
Collecting towncrier
  Using cached towncrier-19.9.0rc1-py2.py3-none-any.whl (28 kB)
Processing /home/altendky/.cache/pip/wheels/f1/e3/67/f79591b232f0deb8e51317fa288eef8b996e2d6cf033bdc1a0/click_default_group-1.2.2-py3-none-any.whl
Collecting incremental
  Using cached incremental-17.5.0-py2.py3-none-any.whl (16 kB)
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting jinja2
  Using cached Jinja2-3.0.0a1-py3-none-any.whl (121 kB)
Processing /home/altendky/.cache/pip/wheels/5f/b9/dd/472dc449d66ee87116e227569d91c5a5a70d5288bbad1a4c77/MarkupSafe-2.0.0a1-cp39-cp39-linux_x86_64.whl
Collecting click
  Using cached click-8.0.0a1-py3-none-any.whl (89 kB)
Installing collected packages: MarkupSafe, click, toml, jinja2, incremental, click-default-group, towncrier
Successfully installed MarkupSafe-2.0.0a1 click-8.0.0a1 click-default-group-1.2.2 incremental-17.5.0 jinja2-3.0.0a1 toml-0.10.2 towncrier-19.9.0rc1
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the '/home/altendky/tmp/tmp/venv/bin/python3.9 -m pip install --upgrade pip' command.

$ venv/bin/towncrier build --draft
No configuration file found.
Looked in: /home/altendky/tmp/tmp
Traceback (most recent call last):
  File "/home/altendky/tmp/tmp/venv/bin/towncrier", line 8, in <module>
    sys.exit(cli())
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/click/core.py", line 1025, in __call__
    return self.main(*args, **kwargs)
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/click/core.py", line 955, in main
    rv = self.invoke(ctx)
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/click/core.py", line 1517, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/click/core.py", line 1279, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/click/core.py", line 710, in invoke
    return callback(*args, **kwargs)
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/towncrier/build.py", line 63, in _main
    return __main(
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/towncrier/build.py", line 92, in __main
    base_directory, config = load_config_from_options(directory, config_file)
  File "/home/altendky/tmp/tmp/venv/lib/python3.9/site-packages/towncrier/_settings.py", line 48, in load_config_from_options
    raise ConfigError(
towncrier._settings.ConfigError: No configuration file found.
Looked in: /home/altendky/tmp/tmp

@htgoebel, are you comfortable closing this issue?  It looks to me to have been resolved, though it still needs a non-RC release.

Well, this still is ugly. This is a quite common and clearly defined error case. This should not
I expect this case to quit with a clear but brief error message and no stacktrace.

@htgoebel, thanks for the prompt follow up.  Your comment makes sense to me and I'll go ahead and make a PR to implement it.


Problem with python bindings and AIE xclbin

Hi all,
I am having some issues with the compiler Python bindings and AIE support.
In my setup, I have the XRT and XDNA driver built in debug mode.
For the following code:
!A_TYPE = tensor<64x64xbf16>
!B_TYPE = tensor<64x64xbf16>
!C_TYPE = tensor<64x64xf32>
func.func @matmul_small_1(%lhs : !A_TYPE,
    %rhs : !B_TYPE) -> !C_TYPE {
  %empty = tensor.empty() : !C_TYPE
  %cst = arith.constant 0.0 : f32
  %fill = linalg.fill ins(%cst : f32) outs(%empty : !C_TYPE) -> !C_TYPE
  %2 = linalg.matmul ins(%lhs, %rhs : !A_TYPE, !B_TYPE)
      outs(%fill : !C_TYPE) -> !C_TYPE
  return %2 : !C_TYPE
}

I can build it with the following command:
iree-compile --mlir-disable-threading --iree-hal-executable-debug-level=3 --iree-hal-target-backends=amd-aie test.mlir --iree-amd-aie-mlir-aie-install-dir=/opt/iree/deps/mlir-aie/my_insta
ll/mlir_aie --iree-amd-aie-peano-install-dir=/opt/iree/deps/ -o test.vmfb

And I get this output:
> iree-compile --mlir-disable-threading --iree-hal-executable-debug-level=3 --iree-hal-target-backends=amd-aie test.mlir --iree-amd-aie-mlir-aie-install-dir=/opt/iree/deps/mlir-aie/my_insta
ll/mlir_aie --iree-amd-aie-peano-install-dir=/opt/iree/deps/ -o test.vmfb
Generating: /tmp/amdaie_xclbin_fb-17e446/aie_cdo_elfs.bin
Generating: /tmp/amdaie_xclbin_fb-17e446/aie_cdo_init.bin
Generating: /tmp/amdaie_xclbin_fb-17e446/aie_cdo_enable.bin

****** Bootgen v2024.1
  **** Build date : Jun 18 2024-22:04:45
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
    ** Copyright 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.

[INFO]   : Bootimage generated successfully

XRT Build Version: 2.18.0 (master)
       Build Date: 2024-06-24 16:35:34
          Hash ID: e1a296a6b8769204088d16867c1553821835c272
Creating a default 'in-memory' xclbin image.

Section: 'MEM_TOPOLOGY'(6) was successfully added.
Size   : 88 bytes
Format : JSON
File   : '/tmp/amdaie_xclbin_fb-17e446/mem_topology.json'

Section: 'AIE_PARTITION'(32) was successfully added.
Size   : 4624 bytes
Format : JSON
File   : '/tmp/amdaie_xclbin_fb-17e446/aie_partition.json'
Info: Embedded Metadata section is missing project.platform.device.core element, adding it.
Successfully wrote (11080 bytes) to the output file: /tmp/amdaie_xclbin_fb-17e446/matmul_small_1_dispatch_0_matmul_64x64x64__0.xclbin
Leaving xclbinutil.

The problem seems to be the output from the binary utilities for the AIE. When using the Python bindings, this text is prepended into the compiler's output.
Let's take an example of a python code:
import iree.runtime as rt
import iree.compiler as cp

import numpy as np

## This is the code that will be compiled

AIE_MATMUL_ASM = """
!A_TYPE = tensor<64x64xbf16>
!B_TYPE = tensor<64x64xbf16>
!C_TYPE = tensor<64x64xf32>
func.func @matmul_small_1(%lhs : !A_TYPE,
    %rhs : !B_TYPE) -> !C_TYPE {
  %empty = tensor.empty() : !C_TYPE
  %cst = arith.constant 0.0 : f32
  %fill = linalg.fill ins(%cst : f32) outs(%empty : !C_TYPE) -> !C_TYPE
  %2 = linalg.matmul ins(%lhs, %rhs : !A_TYPE, !B_TYPE)
      outs(%fill : !C_TYPE) -> !C_TYPE
  return %2 : !C_TYPE
}
"""

def compile_for_AIE():
    """
    Compile code for the AMD GPU via the `rocm` backend.
    Device flag used is for the Phoenix machine:
    --iree-rocm-target-chip=gfx1103. We must also specify the
    location for llvm-aie (Peano), and mlir-aie
    """

    binary = cp.tools.compile_str(
        AIE_MATMUL_ASM,
        target_backends=["amd-aie"],
        extra_args=[
            "--iree-amd-aie-mlir-aie-install-dir=/opt/iree/deps/mlir-aie/my_install/mlir_aie",
            "--iree-amd-aie-peano-install-dir=/opt/iree/deps/",
        ],
    )
    return binary

def execution():
    """
    Execute code in both devices
    """

    aie_code = compile_for_AIE()
    config = rt.Config("xrt")
    ctx = rt.SystemContext(config=config)
    vm_module = rt.VmModule.copy_buffer(ctx.instance, aie_code)
    # ctx.add_vm_module(vm_module)
    # arg0 = np.ones((64,64), dtype=np.float16)
    # arg1 = np.ones((64,64), dtype=np.float16)
    # f = ctx.modules.module['matmul_small_1']
    # result_aie = f(arg0, arg1).to_host()

execution()

I get the following error:
> python3 test.py
50: PID(350954): Created KMQ pcidev
119277458: PID(350954): Device opened, fd=3
119363449: PID(350954): Allocated KMQ BO (userptr=0x7f0dec000000, size=50331648, flags=0x0, type=2, drm_bo=1)
119375232: PID(350954): Created KMQ device (0000:c5:00.1) ...
Traceback (most recent call last):
  File "/home/jmonsalv/tmp/iree/test.py", line 60, in <module>
    execution()
  File "/home/jmonsalv/tmp/iree/test.py", line 52, in execution
    vm_module = rt.VmModule.copy_buffer(ctx.instance, aie_code)
ValueError: Error creating vm module from aligned memory: iree/runtime/src/iree/vm/bytecode/archive.c:122: INVALID_ARGUMENT; FlatBuffer length prefix out of bounds (prefix is 707398154 but only 17609 available)
196583671: PID(350954): Destroying KMQ pcidev
196613928: PID(350954): Device node fd leaked!! fd=3

If I try to print the output of the compilation, I get the following:
Python code:
def compile_for_AIE():
    """
    Compile code for the AMD GPU via the `rocm` backend.
    Device flag used is for the Phoenix machine:
    --iree-rocm-target-chip=gfx1103. We must also specify the
    location for llvm-aie (Peano), and mlir-aie
    """
    text = cp.tools.compile_str(
        AIE_MATMUL_ASM,
        target_backends=["amd-aie"],
        output_format=cp.tools.OutputFormat.MLIR_TEXT,
        extra_args=[
            "--iree-amd-aie-mlir-aie-install-dir=/opt/iree/deps/mlir-aie/my_install/mlir_aie",
            "--iree-amd-aie-peano-install-dir=/opt/iree/deps/",
        ],
    )

    print(text.decode("utf-8"))

    binary = cp.tools.compile_str(
        AIE_MATMUL_ASM,
        target_backends=["amd-aie"],
        extra_args=[
            "--iree-amd-aie-mlir-aie-install-dir=/opt/iree/deps/mlir-aie/my_install/mlir_aie",
            "--iree-amd-aie-peano-install-dir=/opt/iree/deps/",
        ],
    )
    print(binary)
    return binary

The text output [trunkated]:
> python3 test.py

****** Bootgen v2024.1
  **** Build date : Jun 18 2024-22:04:45
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
    ** Copyright 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.

[INFO]   : Bootimage generated successfully

XRT Build Version: 2.18.0 (master)
       Build Date: 2024-06-24 16:35:34
          Hash ID: e1a296a6b8769204088d16867c1553821835c272
Creating a default 'in-memory' xclbin image.

Section: 'MEM_TOPOLOGY'(6) was successfully added.
Size   : 88 bytes
Format : JSON
File   : '/tmp/amdaie_xclbin_fb-48e170/mem_topology.json'

Section: 'AIE_PARTITION'(32) was successfully added.
Size   : 4624 bytes
Format : JSON
File   : '/tmp/amdaie_xclbin_fb-48e170/aie_partition.json'
Info: Embedded Metadata section is missing project.platform.device.core element, adding it.
Successfully wrote (11080 bytes) to the output file: /tmp/amdaie_xclbin_fb-48e170/matmul_small_1_dispatch_0_matmul_64x64x64__0.xclbin
Leaving xclbinutil.
Generating: /tmp/amdaie_xclbin_fb-48e170/aie_cdo_elfs.bin
Generating: /tmp/amdaie_xclbin_fb-48e170/aie_cdo_init.bin
Generating: /tmp/amdaie_xclbin_fb-48e170/aie_cdo_enable.bin
vm.module public @module attributes {ordinal_counts = #vm.ordinal_counts<import_funcs = 19, export_funcs = 2, internal_funcs = 2, global_bytes = 4, global_refs = 2, rodatas = 6, rwdatas = 0>} {
  vm.global.i32 private mutable @_device_query_0 {ordinal = 0 : i32} : i32 loc(callsite("<stdin>":10:8 at "<stdin>":5:1))
...

The binary output [Trunkated]:
b'\n\n****** Bootgen v2024.1\n  **** Build date : Jun 18 2024-22:04:45\n    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.\n    ** Copyright 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.\n\n\n[INFO]   : Bootimage generated successfully\n\nXRT Build Version: 2.18.0 (master)\n       Build Date: 2024-06-24 16:35:34\n          Hash ID: e1a296a6b8769204088d16867c1553821835c272\nCreating a default \'in-memory\' xclbin image.\n\nSection: \'MEM_TOPOLOGY\'(6) was successfully added.\nSize   : 88 bytes\nFormat : JSON\nFile   : \'/tmp/amdaie_xclbin_fb-d75b5d/mem_topology.json\'\n\nSection: \'AIE_PARTITION\'(32) was successfully added.\nSize   : 4624 bytes\nFormat : JSON\nFile   : \'/tmp/amdaie_xclbin_fb-d75b5d/aie_partition.json\'\nInfo: Embedded Metadata section is missing project.platform.device.core element, adding it.\nSuccessfully wrote (11080 bytes) to the output file: /tmp/amdaie_xclbin_fb-d75b5d/matmul_small_1_dispatch_0_matmul_64x64x64__0.xclbin\nLeaving xclbinutil.\nGenerating: /tmp/amdaie_xclbin_fb-d75b5d/aie_cdo_elfs.bin\nGenerating: /tmp/amdaie_xclbin_fb-d75b5d/aie_cdo_init.bin\nGenerating: /tmp/amdaie_xclbin_fb-d75b5d/aie_cdo_enable.bin\nPK\x03\x04-\x00\x00\
...

You can notice the text at the beginning:
\n\n****** Bootgen v2024.1\n  **** Build date : Jun 18 2024-22:04:45...

Which causes the corruption of the module in the copy_buffer function.
A current trick I use is to search for PK\x03\04 and remove all the previous content. That seems to work.
def execution():
    """
    Execute code in both devices
    """

    aie_code = compile_for_AIE()
    clear = aie_code.find(b"PK\x03\x04")
    if clear != -1:
        aie_code = aie_code[clear:]

    config = rt.Config("xrt")
    ctx = rt.SystemContext(config=config)
    vm_module = rt.VmModule.copy_buffer(ctx.instance, aie_code)
    # ctx.add_vm_module(vm_module)
    # arg0 = np.ones((64,64), dtype=np.float16)
    # arg1 = np.ones((64,64), dtype=np.float16)
    # f = ctx.modules.module['matmul_small_1']
    # result_aie = f(arg0, arg1).to_host()

But this is not a propper solution.

Makes sense, thanks for the clear description. I can confirm that when I run
iree-compile --mlir-disable-threading --iree-hal-target-backends=amd-aie test.mlir --iree-amd-aie-mlir-aie-install-dir=dir0 --iree-amd-aie-peano-install-dir=dir1 --iree-amd-aie-vitis-install-dir=dir2 -o test.vmfb

I see
Generating: /tmp/amdaie_xclbin_fb-085db8/aie_cdo_elfs.bin
Generating: /tmp/amdaie_xclbin_fb-085db8/aie_cdo_init.bin
Generating: /tmp/amdaie_xclbin_fb-085db8/aie_cdo_enable.bin

****** Bootgen v2024.1
  **** Build date : Jun 14 2024-13:59:59
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
    ** Copyright 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.

[INFO]   : Bootimage generated successfully

XRT Build Version: 2.18.22 (master)
       Build Date: 2024-05-21 20:14:13
          Hash ID: c678a9469f9b20fcb9a04bbedb5c51f8473faec0
Creating a default 'in-memory' xclbin image.

Section: 'MEM_TOPOLOGY'(6) was successfully added.
Size   : 88 bytes
Format : JSON
File   : '/tmp/amdaie_xclbin_fb-085db8/mem_topology.json'

Section: 'AIE_PARTITION'(32) was successfully added.
Size   : 76592 bytes
Format : JSON
File   : '/tmp/amdaie_xclbin_fb-085db8/aie_partition.json'
Info: Embedded Metadata section is missing project.platform.device.core element, adding it.
Successfully wrote (82706 bytes) to the output file: /tmp/amdaie_xclbin_fb-085db8/matmul_int32_dispatch_0_matmul_128x128x256_0.xclbin
Leaving xclbinutil.

And that logging should really be off by default (I'm not even sure if there's an option to remove it). I'll investigate this
I suppose that's a partial solution (better than your current solution!) but I also wonder if there's a better fix at the python level, do separate any logging which might appear, from the vmfb. i.e. an equivalent of the "-o test.vmfb" we use at the command-line. I'm not sure if this already exists (I haven't used the python API) --maybe a good question for the public discord IREE channel.

Yes, I felt this was more of an IREE binding bug, than a AIE bug. But since it is hard to reproduce outside of this right now, I might as well start here.

Removed some of the printing
here: https://github.com/Xilinx/mlir-aie/pull/1583/files and
here: https://github.com/Xilinx/bootgen/pull/34
So that should make it nice and quiet on the iree-compile side.
No idea how long it will take for the above PRs to filter through to us though


Error not properly triggered with http decorators.

try/catch doesnt work when using http decorators.

Issues is not covalent.


QTextCursor::setPosition: Position '16786' out of range

Description
This is a continuation of issue #1392 I have found a test case that reproduces the problem almost reliably, hopefully this might help us converge on the problem. It is a program that tests indexed images, reading their pixel values and printing to the IPython terminal. The source code and image follow.
QTextCursorError.py.gz

What steps will reproduce the problem?
To reproduce the problem:
[1]: Run the program, move your cursor around in the image, observe (x,y) coordinates printed continuously on the IPython command line.
[2]: Move the image window to a different location
[3]: In the IPython console type some text, preferably meaningful text like "dir()"
[4]: Move your cursor around in the image again.
**What is the expected output?
A continuous output of coordinates on the IPython command line
x= 14, y=  8, pixel=  0
x= 14, y=  8, pixel=  0
x= 14, y=  8, pixel=  0
x= 15, y=  8, pixel=  0
x= 14, y=  8, pixel=  0
x= 14, y=  8, pixel=  0
x= 14, y=  8, pixel=  0
What do you see instead?**
Repeat steps 2-4 and eventually step 4 will produce the error
QTextCursor::setPosition: Position '13547' out of range
QTextCursor::setPosition: Position '13619' out of range
QTextCursor::setPosition: Position '13691' out of range
QTextCursor::setPosition: Position '13763' out of range
QTextCursor::setPosition: Position '13811' out of range
QTextCursor::setPosition: Position '13835' out of range
QTextCursor::setPosition: Position '13907' out of range
...
appearing back in the console window (where I typed "spyder&" to launch spyder) whenever you move the mouse in the image.
So the problem seems to involve a loss of synch between the window coordinates or something.
QTextCursorError.py.gz

Please provide any additional information below
Version and main components

Spyder Version: 2.3.7
Python Version: 2.7.10
Qt Versions:  4.8.7, PyQt4 (API v2) 4.11.4 on Darwin

Optional dependencies
pyflakes >=0.5.0   :  1.0.0 (OK)
pep8 >=0.6         :  1.6.2 (OK)
pygments >=1.6     :  2.0.2 (OK)
IPython >=1.0      :  4.0.0 (OK)
zmq >=2.1.11       :  14.7.0 (OK)
qtconsole >=4.0    :  4.1.0 (OK)
pandas >=0.13.1    :  0.17.0 (OK)
sphinx >=0.6.6     :  1.3.1 (OK)
psutil >=0.3       :  3.2.2 (OK)
rope >=0.9.2       :  0.9.4 (OK)
jedi >=0.8.1;<0.9.0:  0.9.0 (NOK)
matplotlib >=1.0   :  1.4.3 (OK)
sympy >=0.7.3      :  <IP_ADDRESS> (OK)
pylint >=0.25      :  None (NOK)

This is an error in qtconsole, and it's fixed already.


update EA Desktop

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

My bad, this is why I usually use wingetcreate to submit but its broken right now

just going to open a new one, this one is fubar


Update README.md

Added my name and GitHub profile
Related issue

What changes does this PR do?
Added my name and GitHub profile
Screenshots (If any)
Questions

Added my name and GitHub profile

Added my name and GitHub profile


infra: add k3d plugin

Added k3d support for k3ai through infra plugin.
We can update the docs and README once we test it out after merging.

I have read the CLA Document and I hereby sign the CLA

Sounds great! I'll work on the docs on Monday, in the meantime once is merged if you run a 'k3ai up' it should show immediately.
Thanks this is awesome!


Bug: lualine.lua:187: bad argument #1 to 'ipairs' (table expected, got nil)

I'm not sure what's causing it, but something is giving me this error:
E5108: Error executing lua ...nvim/site/pack/packer/start/lualine.nvim/lua/lualine.lua:187: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
        [C]: in function 'ipairs'
        ...nvim/site/pack/packer/start/lualine.nvim/lua/lualine.lua:187: in function 'get_extension_sections'
        ...nvim/site/pack/packer/start/lualine.nvim/lua/lualine.lua:297: in function <...nvim/site/pack/packer/start/lualine.nvim/lua/lualine.lua:287>

Using evilline theme

Extensions table shouldn't be nil. Even if user doesn't provide it it should be filled with default value by the config system . Can you provide an isolated minimal config for reproduction. https://github.com/nvim-lualine/lualine.nvim/blob/master/scripts/nvim_isolated_conf.sh should help


Font Issue in firefox

The fantasy font in Firefox 70.0 on Fedora is not displayed. Manually changing to e.g. arial helps... but I think it is some addon causing this, as others on firefox do not have this issue

Hi, thanks for reporting this. I should probably embed (or link to) a specific font to ensure consistency across browsers.

The issue should be fixed now when the CI/CD pipeline is done redeploying. Please don't hesitate to reopen if you still have problems with the font.
Also, please don't hesitate to open other issues if you see something wrong.


Paying for College: Migrate disclosures feedback form to jinja templates

Migrates disclosure feedback templates off legacy base_update template and into jinja templates. Drops the social media molecule and uses our standard layout classes.
Changes

Paying for College: Migrate disclosures feedback form to jinja templates

How to test this PR

Visit http://localhost:8000/paying-for-college2/understanding-your-financial-aid-offer/feedback/ and test entering text and submitting the form.
Compare to https://www.consumerfinance.gov/paying-for-college2/understanding-your-financial-aid-offer/feedback/

Screenshots
Before:

After:

Before:

After:

Could we just move this form to a Wagtail page instead?

Could we just move this form to a Wagtail page instead?

Maybe both? Move it off the legacy template here and then move it to Wagtail down the line?
This page is based on the activity log template. Do we have another page type in Wagtail that doesn't have a sidebar? If not, we'd probably want to rename the Activity log page page type and use that, or create a new full-width page type. I'm not sure what the best practice would be. Then maybe it could use our existing feedback module from the ask pages.

I'd just put it on a Learn page with an empty or nearly-empty sidebar.


Sprint 3 - Robot Drivetrain & Arm coding

Main Description in Sprint 3 - Build/Test/Revise Issue Page.
My Goals:

[ ] Debugging the Drive Train because the .java code for the drive train originally did not show up in the FTC Driver Hub when selecting an Op Mode. Need to find out why that is and debug it so that the drive train is functioning as intended with field-orientated movement to have a robot moving as efficiently as possible across the field.

My Goals

[ ] Programming the intake to work using my controller
[ ] Practicing scenarios with max

Monday - Tuesday:
Didn't know if the reason the code didn't show up is because the Control Hub was older and different. Was not able to test as the newer Control Hubs and Expansion Hubs were not available yet. Helped Ambrose with whatever he needed to fix on the robot arms.

Wednesday:

Realized the code still did not work and Mr. Fabroa was not here so I could not ask him for the reason behind that.
Decided to convert the code from java to blocks to see if the problem would be fixed and I would be able to run the OpMode and move the robot.
Converted the code from java to blocks. However, the code did not work as intended. The code was supposed to get the direction of the left joystick using atan and then translate that value into motor power to make the robot go in the direction that the joystick is pointing to. Instead, it made the robot move forwards and backwards with the right stick x value and rotate clockwise and counterclockwise with the left stick y value. I changed the power code for the front right and back left wheels by reversing their rotation and that swapped the roles of the left stick y and right stick x so that the left stick y would make the robot move forwards and backwards. The right stick x would make the robot rotate clockwise or counterclockwise. The main problem here is that the robot is seemingly insensitive to the left stick x. The robot does not give the slightest recognition of input when the left joystick is moved left or right. It doesn't strafe left or right when given the input which is strange.

Wednesday

Now that we were all back, I showed my code to Jaydon and he had added a few things
He made it so that when you move the joystick up, the arm would move up at a multiple of the amount (to more you move the joystick up, the faster it would go)
He did this by multiplying the power by the position/degree the stick was pushed
After that, Jaydon wanted to try fixing the drivetrain code, and me and Max decided to start practicing, to see if we knew what to do
We spent the rest of the period practicing and were able to sort of get the hang of it, however, the intake still wasn't working

Thursday

This day was more of a filler day, where I worked around with everyone to see if they needed help
I started by working with Jaydon a bit, but he seemed to be on top of things (I tried to help with the moving left and right all from one joystick, but we didn't get anywhere)
After that, I helped Ambrose a bit with holding things and screwing stuff in
I ended off the day by helping Mateo with the code for the servo so that once he got it to work, it would be able to function properly
However, it turned out that he needed to turn the servo into motor code ("set power"), so some of my original code had to be replaced

Friday

I started the day by coming up with solutions for a problem we had for a long time
If I were to move the intake too far up, it would flip behind, and be unable to return back
First I was coming up with a solution to use a bar or something to stop it
Then, Mateo suggested that we should implement it in the code, but that would be too finicky and wouldn't work properly
Instead, I decided to preload a screw into the bar that holds the intake
This makes it so that whenever the intake rises, the screw hits the pillow block every time it gets to the right point
That took a while to make, as I had to nut both sides fo the screw, so that the screw would be perfect length
After that was done, I decided to check in with everyone and see if they needed help, after testing the intake

Successes and Failures

Overall, this week was more of a break weak, where we were getting everything polished so that it would be ready for testing and competition
I did achieve my goals of coding the intake to work on the controller and practicing a little with Max
However, I do believe that we could have achieved more during this week, and the code problem held us back a bit (with ti not being able to move side to side)
However, now that we are rested and have finished our polishing, we plan to make the most of next week

Thursday-Friday:

I found a new code for the drivetrain entirely as the previous one was not working due to a variable bug. https://gm0.org/en/latest/docs/software/tutorials/mecanum-drive.html#field-centric-final-sample-code
the new code now uses field-orientated-movement based on the direction the USB ports are facing and also the direction where the logo is facing
the code:


ItemPaged[CertificateProperties] KeyVault Certificate list_properties_of_certificates does not honor the include_pending optional parameter after the first page

The call to fetch the first page sets the appropriate query parameters based on the input parameter value:
https://github.com/Azure/azure-sdk-for-python/blob/e821a490762956edf8c285ae9cba21c9ca267a7b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_client.py#L641-L649
But subsequent pages do not have that value set. This is done in the generated code. That means, if the include_pending param is set to true, it will not return all the certificates (including pending ones), if the pending certificate happens to be listed in a page other than the first.
https://github.com/Azure/azure-sdk-for-python/blob/e821a490762956edf8c285ae9cba21c9ca267a7b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_generated/_operations/_operations.py#L784-L816
Here's the swagger (not sure if this requires some fix to the swagger):
https://github.com/Azure/azure-rest-api-specs/blob/4a4acecea9901c29e19ba50f2d4cf65b20115b69/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.5/certificates.json#L30-L83
Sample repro:
from azure.identity import DefaultAzureCredential
from azure.keyvault.certificates import CertificateClient

# Pre-req: Create 25 certificates first so a page is full (either through the portal or programmatically)

# Case 1: Create a certificate (either on the portal or programmatically) on the first page, and run this, right away.
# Works as expected.
# Case 2: Create a certificate (either on the portal or programmatically) on any subsequent page, and run this, right away.
# Doesn't work as expected.

credential = DefaultAzureCredential()

# TODO: Set to your own KeyVault URL
certificate_client = CertificateClient(vault_url="https://<keyvault-name>.vault.azure.net/", credential=credential)

countFalse = 0
print("Certificates in the key vault (includePending = false):")
certificates = certificate_client.list_properties_of_certificates()
for certificate in certificates:
    print(certificate.name)
    countFalse += 1

countTrue = 0
print("Certificates in the key vault (includePending = true):")
certificatesTrue = certificate_client.list_properties_of_certificates(include_pending=True)
for certificate in certificatesTrue:
    print(certificate.name)
    countTrue += 1

# Expected countFalse < countTrue in both cases, since there's a certificate pending.
# Case 1: In the case where the certificate gets created on the first page:
#  -> countFalse < countTrue
# Case 2: But, in the case where the certificate gets created on any other subsequent page:
#  -> countFalse = countTrue
print(f"countFalse = {countFalse} vs countTrue = {countTrue}")

The issue is pervasive across all the ItemPaged methods that follow this pattern within the KeyVault SDKs, but list_properties_of_certificates and list_deleted_certificates (along with list_role_assignments in KeyVault Administration) seem to be the only ones that have optional parameters which are settable by the SDK methods (unlike maxResults) and hence have an actual behavioral bug here.
It's possible that some other service SDKs have similar concerns here.
Related issues in other languages:
https://github.com/Azure/azure-sdk-for-net/issues/47202
https://github.com/Azure/azure-sdk-for-cpp/issues/6235
https://github.com/Azure/azure-sdk-for-python/issues/38589
https://github.com/Azure/azure-sdk-for-go/issues/23772
https://github.com/Azure/azure-sdk-for-js/issues/31803
https://github.com/Azure/azure-sdk-for-java/issues/42988

As discussed offline, this is by design, see guidelines:
https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#collections

Re-open, as we discovered that the service was doing the wrong thing, so it may require some custom code to make it work.


Events: Remove Solr dependency

Currently, we discover minutes related to a Board Meeting using the Solr search engine: https://github.com/datamade/la-metro-councilmatic/blob/master/lametro/templatetags/lametro_extras.py#L101
Let's find a way to do this without using Solr.

Per Reginia's email 11/9/2017, it's anticipated this will be addressed by the end of January.

@shrayshray - this issue does not directly relate to issue #232 (which we'll address by the end of January). Rather, this issue makes a change to the Solr-dependency on the events page.

We have a fix for this! PR #424. @hancush will deploy it to production tomorrow and close the issue!

update: i'm out of the office today, will deploy this (and #425) on monday!

fixed a bug in the implementation of this issue in #429, insodoing also debugged some mysterious behavior in the import in https://github.com/datamade/django-councilmatic/pull/243.
tested successfully locally, but the aforementioned mysterious behavior ("complete" data imports actually being incomplete) is precluding testing on staging because agenda items for this year's board meetings have not been imported, so the associated minutes are not associated with the events and are not showing up. this will be fixed next week (and will also close #430).
in the meantime, because we've tested successfully locally and the production database is in good shape, i think it is safe to deploy this to production.

aaaannnnd, it's deployed! @shrayshray, do things look in order to you? (that is, do board meetings that should have minutes, have minutes?)

@hancush looks good to me!


Tests are polluting each other's sets of extensions

Somehow the tests are being polluted by each other; on #696, the migration test I added is having extensions it doesn't specify loaded, which breaks the test. I've managed to fix this on a debugging branch by running the migration tests in their own travis instance:
https://travis-ci.org/zenhack/hil/builds/187775909
(We may want to split more things out that way, since it would allow things to finish faster. We probably don't need to run the apache setup with sqlite, and it would be nice to speed things up, but that's another issue).
I suspect that some of the tests are importing extensions at top level, which are safe for the modules they're in, but that these are getting processed when the tests are collected, before separate processes are forked off to actually run the tests. If this is the case, a solution may be to just move all of these imports in fixtures.

This is an interesting topic, and probably we can contribute our experience afterwards. For our own sake, I don't mind adopting the solution to move all of these imports into fixtures, as long as it can fix our problems.
@henn @SahilTikale @knikolla   Any thoughts?

My hunch was right; submitted a pr that fixes this. Once that's merged, rebasing #696 on top of it should solve the problems there.


Create patterns examples

This is a good issue for anyone who wants to contribute to Mesop as there's many different patterns we could add to the demo gallery!
I'm basically calling "pattern" a multi-component examples which demonstrates a common use case.
Ideas:

Submitting feedback (thumbs up / thumbs down + reasons)
SxS output rating
Nav menu
Header (text)
Card
Tile
Grid tile
Carousel

Also things like Modal, Accordion, Tab, and Toasts could be useful (until we have the Angular Component equivalents created - Dialog, Tab, Snackbar, etc)

I was working on the submitting feedback feature and am unsure if this is how we want to implement it.

If so, I am getting this error,

Can anyone explain where did I go wrong?
Here's the colab notebook for reference:
https://colab.research.google.com/drive/1xma-cG7hcU3vgFjHkZGZK8E2hmGEdn21#scrollTo=hL11Su8HQm9G

@iiakshat The issue is in the buttons for feedback
on_click is assigned the lambda function for the func call on_feedback(value), adding a variable made it work for me.
Use this in on_click -  on_click=lambda _: on_feedback(True)

Looks like you resolved your error. When I ran the colab, it seemed ran for me.

One thing to note is that Mesop event handler functions have a non-intuitive behavior if you try to reuse the same function. You should read: https://google.github.io/mesop/guides/interactivity/#avoid-using-closure-variables-in-event-handler

Can anyone contribute to this and add those components??
If so I would also like to have a go at it...

@srivats22, yes, you're right free to contribute any patterns you'd feel would be helpful.

Nice, let me clone the repo and see what I can work on... and will try and get it done


Prerequisites not clearly listed in Quick Start Guide

Discussed in https://github.com/microsoft/vcpkg/discussions/29237

Originally posted by sivan-koren January 28, 2023
Trying to use this with VS Code.
PS C:\Users\User\src\CAPITest> vcpkg install curl
Computing installation plan...
The following packages will be built and installed:
    curl[core,non-http,schannel,ssl,sspi]:x86-windows -> 7.87.0
  * vcpkg-cmake[core]:x64-windows -> 2022-12-22
  * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06#1
  * zlib[core]:x86-windows -> 1.2.13
Additional packages (*) will be modified to complete this operation.
error: in triplet x64-windows: Unable to find a valid Visual Studio instance
Could not locate a complete Visual Studio instance
The following paths were examined for Visual Studio instances:
    C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary/Build\vcvarsall.bat

Note that VS 2022 Community is installed with all defaults and English language pack. The above path is in fact not valid, there is no VC folder in actuality.
Side note, I don't use Visual Studio.
VS Code is using the Microsoft C/C++ extension which debugs with GDB/LLDB, it seems.
How can I get vcpkg to work with VS Code?

I've resolved the above by adding "Desktop Development with C++" from the Visual Studio installer, but I'm converting this to an issue because this is notably missing from the Quick Start guide which lists only Visual Studio. A default Visual Studio installation doesn't include the Desktop Development with C++ packages unless the user selects them. Without any indication that we should, this was frustrating.
Also, the intention when using VS Code is to avoid a bulky IDE, so it would make a lot of sense to clearly list which specific components from the Visual Studio or Build Tools for Visual Studio installers are required for vcpkg (unless the whole C++ workload environment is required for C package management).

Additional notes: the above only gets you beyond this error. I'm still not able to get VS Code to see the packages that vcpkg downloads even after modifying the settings.json as described.
It may simply be that a guide for setting up VS, VS Code, and vcpkg from scratch on Windows may be needed.

If you want to compile something you need a compiler & toolchain to make it work. I don't think this needs explicit mentioning.

I'm not sure what you mean. GCC is a compiler. More so, it's a compiler that VS Code's Microsoft C/C++ extension instructions recommend.
If vcpkg doesn't work with VS Code, why list it there?

If vcpkg doesn't work with VS Code, why list it there?

VS Code is an editor nothing more. It is not a compiler.
In short, you need to provide the minimum to configure a cmake project. If you don't provide that vcpkg won't work.
If you want to use GCC you are not going to use the x64-windows triplets and won't need the stuff installed by VS Installer at all.

I think you've missed the issue. You should reread the OP.

VS Code is an editor by Microsoft
When users open a c file in VS Code it walks the user through installation of GCC via mingw.
At this point, the environment is functional for basic C development.
When you type include in a c file, it refers the user to vcpkg quick start guide. Note that we are still following a completely Microsoft guided recommendation to another Microsoft product.
When users follow the quick start guide, they then install Visual Studio (without the C/C++ add on).
Now the environment is no longer functional.
User will search around the docs to find what component is missing, what steps were missed, or search for issue reports on VS Code GitHub pages, vcpkg GitHub pages, etc.

Is it the goal to walk users through to create a functional development environment? If so, then Microsoft docs should be updated, either here, or on C/C++ VSCode extension, or elsewhere.
I believe that Microsoft's guided installations are not meant to guide users to a non-functional environment.

Anyway, is there some reason that we shouldn't list dependencies?
I think software dependencies should be listed because users expect them to be. Among countless other reasons.

Now the environment is no longer functional.

The environment is still functional. The vcpkg guide is just simply written for VS and not Code.
Switch your triplet to x64-mingw-static or x64-mingw-dynamic.
Using mingw with vcpkg is already an advanced topic outside the responsibility of the quick guide. Especially since the mingw triplets are community triplets.
(of course somebody could add a section about it somewhere if coming from Code.)

The vcpkg guide is just simply written for VS and not Code.

Yes. Thank you. This is exactly the issue.
Microsoft VS Code C/C++ extension directs to the vcpkg Quick Start guide. If the Microsoft VCPKG team is not working in collaboration with the Microsoft VS Code C/C++ extension team, that's okay, but it's customary to tell them that.

Thanks for posting this issue. This issue has been fixed. So I am closing this issue for now.

Microsoft VS Code C/C++ extension directs to the vcpkg Quick Start guide. If the Microsoft VCPKG team is not working in collaboration with the Microsoft VS Code C/C++ extension team, that's okay, but it's customary to tell them that.

We need to confirm this.


Run refparse JSON example in README is out of date

In the README the example of running refparse includes using "s3://datalabs-data/scraper-results/msf/20190117.json". This won't work anymore since the newer code relies on a file_hash column, but in this json the column is just called hash.
Furthermore, the old format didn't have the section texts as lists:
"sections":{"Reference": '....', "Bibliograph": '....', "Endnote": '....'}
Now:
"sections":{"Reference": ['....'], "Bibliograph": ['....'], "Endnote": ['....']}
Do we have a suitably new JSON that will work in S3?
Temporary hack whilst we don't have a new format JSON

Change file_hash to hash in refparse.py and /utils/file_manager.py
Old JSON version is not a list, so remove things which suggest this in refparse.py
namely, around line 57 comment out:

assert isinstance(section_list, list)
for section in section_list:

the data is in a .json.gz in each organisation folder here: s3://datalabs-dev/reach-airflow/output/policy/parsed-pdfs/

Do we need to close this? Or we need to change the README first?

change the README to use the datalabs-dev location I think. I can work on this this week

Go for it 👍

fixed in #245


synced_to_chain turns false and never recovers

Background
I am trying to setup an lnd node. I already have a bitcoind fully synced and ready.
I run lnd and it successfully connects to bitcoind and both synced_to_chain and synced_to_graph turn to true after a while. The moment a new block is found block_height is updated (which indicates ZMQ connection is alive and working), but synced_to_chain turns to false and never becomes true again unless I restart lnd.
I thought this was because I didn't have any active channels, so I opened a channel but it didn't change the result and synced_to_chain still turns to false and never recovers, no matter there are active channels or not.
I also tried these things both behind Tor and with an external IP that didn't make any changes either.
Environment

lnd v0.13.1-beta, lnd v0.13.1-beta.rc2, lnd v0.12.1-beta, 49f1169d7cb7d2fb1fa1b9905dd4aaf3717b6d6c
Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
bitcoind-0.21.1
lnd.conf:

[Application Options]

rpclisten=<IP_ADDRESS>:10009
restlisten=<IP_ADDRESS>:10010

[Bitcoin]

bitcoin.active=true
bitcoin.mainnet=true
bitcoin.node=bitcoind

[Bitcoind]
bitcoind.dir=~/data/bitcoin
bitcoind.rpchost=localhost:8030
bitcoind.rpcuser=xxxxxxxx
bitcoind.rpcpass=xxxxxxxxx
bitcoind.zmqpubrawblock=tcp://<IP_ADDRESS>:38331
bitcoind.zmqpubrawtx=tcp://<IP_ADDRESS>:38330

[wtclient]
wtclient.active=true

bitcoin.conf:

daemon=1
server=1
mainnet=1
txindex=1
disablewallet=1

zmqpubhashtx=tcp://<IP_ADDRESS>:38330
zmqpubhashblock=tcp://<IP_ADDRESS>:38331

[main]
rpcallowip=<IP_ADDRESS>
rpcauth=xxxxx
rpcport=8030

Expected behaviour
After a block is found, synced_to_chain should eventually become true after a while.
Actual behaviour
After a block is found, synced_to_chain turns false and never becomes true.

Closing as a duplicate of https://github.com/lightningnetwork/lnd/issues/5132

Your bitcoin.conf is not configured properly:
zmqpubhashtx=tcp://<IP_ADDRESS>:38330
zmqpubhashblock=tcp://<IP_ADDRESS>:38331

It should instead be:
zmqpubrawtx=tcp://<IP_ADDRESS>:38330
zmqpubrawblock=tcp://<IP_ADDRESS>:38331

Bingo! That was exactly my problem. It's fixed now. Thank you very much @wpaulino ! but I hope I don't get into the duplicated problem mentioned by @Roasbeef


Oliver's blog post on the d3-wrapper for Empirical

Start of my blog post

I am going to be working on writing a new D3-wrapper for Empirical.
The new wrapper will be based on the old one, but with full support for the new version of D3 (version 5). For certain types of common visualizations, the new wrapper will also provide classes that deal with the complexities of D3 behind the scenes so that users can simply pass in data and obtain a visualization.
I will also be making an example web app (and accompanying blog post) that utilizes some of the new features of this wrapper.

As far as nitpicking goes, I saw no grammatical or typographical errors at all.  All of the sections are well-written and informative, and I definitely appreciated all the links to additional information.
The only real issue I have is the fact that you don't go into much detail about exactly what you did and how you did it.  The place where you go into the most detail is line 60, where you discuss your work on scales.h and Data objects.  I'd really like to see some code and explanations of it, since converting JavaScript datatypes to a C++ struct is an interesting problem.  Maybe show us the struct?  You talk about the "unpleasantness of passing a C++ Date into JavaScript", but you don't say exactly what was unpleasant.  Maybe discuss some of the sticking points and issues you faced?
Apart from anything else, if you decide to attach your blogpost to your resume as a description of what you did with WAVES, it'll be a better way of demonstrating your skills, both with coding and problem solving, if you show a prospective employer how difficult your task was and how you accomplished it.

I really like your blogpost and your writing style. Specifically, it describes the problem very clearly and the different tools you are using. I like the examples of how D3 is used to visualize different types of data. It is easy to understand your contributions and I also really like your sorting visualization. It is also useful that you provide many resources for more info on D3 and other topics.
Regarding the overall structure, I think it could be helpful to move the description of your work above the more technical details about the Empirical, Emscripten and D3. I think your work will keep attention of the reader better and then they will want to learn the details (well, some of them and others will just want to see that you did something cool). Let me know if you want to talk more about the structure.
In the introduction section (before the "Why D3"), it is not clear what is D3 and how it is used in Empirical - I would add a brief one-two sentences explanation.
I like the figures with the examples on how D3 is used for different data visualization, but I also feel like the figures do not really show the interactive nature of these visualizations. It would be great if you could make a gif of you interacting with one of those visualizations and then link the others (maybe such gifs already exist?).
I would rename the section "A (super) brief intro to D3" to something like "Resources to get started with / learn about D3". Also consider moving it to the end and adding a sentence like "For the resources on how to get started and tutorials on D3 see the Resources section".
I think you could rephrase the text in the section "How to use the D3-wrapper without knowing D3" in a way to focus on what you did (you did a lot of work in a very short time!) and how it will be useful for someone, who will continue your work with the ultimate goal of "create stand alone visualizations ...".
In the paragraph about your C++ Date structure, it would be useful if you added some code examples (if it is not too large).
Finally, some typos I noticed: "deisgn" in the third paragraph; "greatful" in the "Thank You!" section; "deicded" in the first sentence of "How to use the D3-wrapper" section.
Nice work! Let me know if you have questions.


Unable to Zero Collective due to Rounding

Related to #1073
Collectives need to zero their balance in order to change Hosts or shut down and deactivate. The system rounds amounts in some places, making this impossible. We often end up with a Collective having a few cents left and getting stuck. There should be an option to pay/transfer 100% of the balance, or the system should stop rounding and show them the actual exact total.

Linked to #1524
@znarf Do you think we should re-allow float numbers in amount input to avoid these two issues? As the step payment is after the step details in the contribution flow, the only alternatives I can imagine is to show, on step payment, a confirm like:

The balance left on this payment method is very low, we need to round your donation to $1.42 for it to be valid. Do you agree?
[ Yes, pay $1.42 ] ............ [ No, I'll use another payment method ]

This is not easy. Good reason to allow again float amounts.

Collectives really don't care about the very small amount that is left in the balance, so maybe we could just delete it? Can there just be an option when trying to transfer or expense out all the money to select "full balance" or "zero your balance" and then the system can do the math behind the scenes? Like, they can put in $50 and if there's another 36 cents, that can just be deleted. Or how about this option for host admins only, so if we know they want it zeroed we can just delete the balance with a click?

@alannallama Whatever we do it has to be clear to the user where the difference go. We cannot delete amounts.
But yes, either:

We offer the user to empty the payment method's balance (see https://github.com/opencollective/opencollective/issues/1871#issuecomment-476876943)

Or we allow float amounts for all orders.

I prefer (1) because it will only impact the users that need it and because we probably don't want to end up with people making multiple $0.01 donations.

@Betree even if we implement 1) I think it will still be confusing for users to not be able to put the precise amount at the "Contribute Details" step. So, I would still do 2)
And if we do 2), do we still need 1)? Potentially yes, it's also useful when I initially set I want to give $10 and then there is not enough funds: "Do you want to give the full balance $8.99" instead?
So, let's do both?

@znarf this is already fixed with the new feature, right?

@alannallama yes.
Maybe we also want to follow up and reopen the discussion on donating float amounts.


Add readme

@njsmith, let's trade README-reviews :-)

Deal! :-)
This looks great to me.

I guess the text will need tweaking if/when we move the repo to pypa/ -- should we do that now?

+1. Can you do that?

Sure. For future reference, it's pretty trivial -- just go to repo settings, scroll down, and click "Transfer ownership"


Add gaussian blur as option for transparent background color?

First of all thanks for this great component!!! This is more a kind of feature request than an issue:
Would it be possible to think about adding a gaussian blur as option to transparent background color? This would enable Cupertino-Style Apps which have the same style on status bar and bottom navigation bar (CupertinoTabBar).

@rafaelmaeuer Thanks for giving the component a try!   I am actually currently working on adding a blur effect.  I just created a new branch just for this feature.   The pictures below show my current progress, though I am not ready to officially add it to the package because of the issue in the 2nd image.  This problem occurs when any of the sides of the ColorfulSafeArea touch, making the blurring look inconsistent.

If anyone wants to try out the new branch for the blur effect, use this in your pubspec.yaml
  colorful_safe_area:      git:       url: git://github.com/ejprok/colorful_safe_area       ref: blur

Thanks for the quick reply, I tried it using the branch 'blur' and it works very nice for me.

Latest version of the package now has the blur effect.

👍🏻


ValidationError VariableTypeNotFound despite presence in the schema

Might anyone know what might cause the VariableTypeNotFound error from compileQuery being generated despite, what seems like a valid schema that includes the type requested type definition?
Here is what I'm seeing: The call
  let query =
        compileQuery
        schema
        [r|query($vi: RequestInput!) {

             wrap {       # Object :: Commands.Validate
                          # (wraps a Field "validate" with Argument "request" :: RequestInput)

              validate(request: $vi)  {
                      subReq  { subjectType }
                      meaReqs { measurementType }
               }
             }
           }
           |]

... generates a Left error implying a missing type definition
Left (ValidationError (VariableTypeNotFound (Variable (Name {unName = "vi"}))
(Name {unName = "RequestInput"}) :| []))

... despite the definition being present in the successful makeSchema call
-- snippet of the compiled schema

... (Name {unName = "Validate"},TypeDefinitionObject (ObjectTypeDefinition
(Name {unName = "Validate"}) [] (FieldDefinition (Name {unName = "validate"})
[ArgumentDefinition (Name {unName = "request"})
(TypeNonNull (NonNullTypeNamed
(DefinedInputType
(InputTypeDefinitionObject
(InputObjectTypeDefinition
(Name {unName = "RequestInput"})       <<< definition of RequestInput

(InputObjectFieldDefinition (Name {unName ="subReq"}) (TypeNonNull (NonNullTypeNamed (DefinedInputType (InputTypeDefinitionObject (InputObjectTypeDefinition (Name {unName =
"QualityMixInput"}) (InputObjectFieldDefinition (Name {unName = "subjectType"})
(TypeNamed (BuiltinInputType GString)) Nothing :| [InputObjectFieldDefinition
(Name {unName = "qualityMix"}) ... etc.

Thank you to anyone that might have some ideas.
- E

hey @EdmundsEcho can you try to execute:
lookupType yourSchema "RequestInput"  And see what it returns ?

Great question.  It returns Nothing.

One last observation for this evening.  In the GraphQL.Internal.Validation module the getInputTypeDefinition relies on lookupType.
-- | Ensure that a variable has a correct type declaration given a schema.
validateTypeAssertion :: Schema -> Variable -> AST.GType -> Validation (AnnotatedType InputType)
validateTypeAssertion schema var varTypeAST =
  astAnnotationToSchemaAnnotation varTypeAST <$>
  case lookupType schema varTypeNameAST of
    Nothing -> validateVariableTypeBuiltin var varTypeNameAST
    Just cleanTypeDef -> validateVariableTypeDefinition var cleanTypeDef
  where
    varTypeNameAST = getName varTypeAST

-- | Validate a variable type which has a type definition in the schema.
validateVariableTypeDefinition :: Variable -> TypeDefinition -> Validation InputType
validateVariableTypeDefinition var typeDef =
  case getInputTypeDefinition typeDef of
    Nothing -> throwE (VariableTypeIsNotInputType var $ getName typeDef)
    Just value -> pure (DefinedInputType value)

Conclusion: lookupType is being relied on to retrieve both ObjectTypes and ObjectInputTypes.  Based on what I outlined in the previous post, the getDefinedTypes used to populate the collection searched by lookupType does not seem to record ObjectInputTypes defined in the Schema.

Does the library support using variables :: InputObject, instances of hasAnnotatedInputType, in a query that gets compiled at runtime? Has anyone had success doing so?  Thank you in advance.  - E


⚠ Bofrost.lu has degraded performance

In 3a960da, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1896 ms

Resolved: Bofrost.lu performance has improved in 3e677d4 after 6 minutes.


When the application is started, a large black dialog appears before the application main screen is displayed

When I start to launch the application, a large black dialog appears before the application main page is displayed
The user experience is not good
Describe the results you expected:
First，display like this:

1 second later, the main page displayed
Flet version (pip show flet):
Name: flet-core
Version: 0.8.4
Summary: Flet core library
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: D:\Python\Python311\Lib\site-packages
Requires: repath
Required-by: flet-runtime
Operating system:
Windows 11 professional
Additional environment details:

When I compile code in pycharm,also like this

I resolved it,insert these codes:
**page.window_visible =True
ft.app(target= main, view=ft.AppView.FLET_APP_HIDDEN**)


Code processing data

Can you public source code to process original video data of UVG? Thank you so much.

Hi, the data processing uses the image compression technique to compress the UVG keyframes. It consists of the following steps:

extract frames from original YUV videos on the UVG dataset, and crop 1080x1920 frames to 1024x1920
apply the image compression method on the selected keyframes with gop_size = 8. You can follow this repo or this repo for the image compression method.
split the decoded (compressed) key-frames into 256x320 patches, which will be regarded as the input frames for the D-NeRV
Sorry, the original source code is not cleaned yet, will take some time to clean it.

hi, which kinds of crops do you perform,regarding to "crop 1080x1920 frames to 1024x1920" , did you adopt center crop?

Hi, I adopt the upper left crop instead of the center crop.


Update pin win

increase build number
remove ignore_run_export
add necessary Windows dependencies for building with fontconfig/freetype support

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_d2kw_shr1r/clone/recipe/meta.yaml:24: patch_unnecessary: patch should not be in build when source/patches is not set
ERROR: /tmp/abs_d2kw_shr1r/clone/recipe/meta.yaml:56: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_d2kw_shr1r/clone/recipe/meta.yaml:122: documentation_overspecified: Using doc_url and doc_source_url is overspecified
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_32x8scfor9/clone/recipe/meta.yaml:57: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found


Create versioned shared libraries

In accordance with PR for generating versioned shlib for otel-cpp - https://github.com/open-telemetry/opentelemetry-cpp/pull/2109, this PR adds changes to optionally generate versioned shlib for Geneva Metrics Exporter.

Is there anyone who is asking this version feature?

Thanks for approving. Yes there are few asks.


[Synapse] Add create/execute pipeline sample

The base class in SampleFixture is [LiveOnly], so I think I don't need checked in json.
Tested on Windows locally.

Hmm, I based this off PipelineSampleSnippets.cs but it looks like I should have used Sample1_SubmitSparkJob.cs instead. The snippet thing was because of that.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/synapse/Azure.Analytics.Synapse.Spark/tests/samples/Sample1_SubmitSparkJob.cs

@christothes this closer to what you were expecting?

@christothes this closer to what you were expecting?

I think the format was fine as before, I just meant that adding the snippet only lines to initialize the variables would create a snippet md file that has the full context to copy paste the code and run it somewhere else.

/azp run net - synapse - ci


New RadioCard + overall Choice component updates

New RadioCard + overall Choice component updates

(GIF shows the new RadioCard components, with new Fab icons)
RadioCard
This is another healthy sized update! It refactors the Checkbox and Radio components (and the internal Choice base) with the latest Blue conventions, including CSS-in-JS styling, internal namespacing, and propConnect. Once that was done, Radio was extended to support the new custom Radio UI, which powers the radio within RadioCard.
The ChoiceGroup component was also enhanced to allow for the alignment of the RadioCard children.
Let's go "native"

(GIF shows updated Radio)
The interactions and styling of both Radio and Checkbox have been updated to match the latest designs, and mimic (as closely as possible) OSX's default radio and checkbox components.
New icons!

5 new fab icons were added to complete the RadioCard UI. A new copy icon was also added to allow for the creation of the Input/Copy combo:

Coverage remained the same at 100.0% when pulling 16e4f2712dd729d8075fd3fd1cb85a5f84c9ecf9 on custom-radio into feb02ab3970516e4dbcb3505504edd4a96f28b8d on master.

Going to merge this one up and try to wrap up the initial Builder work!


Bernoulli RNG throws exceptions too aggressively

Description:
Describe the issue as clearly as possible.
Right now the bernoulli_rng function throws an exception if the input probability is 0 or 1, even though the actual generator can handle those cases fine.
Reproducible Steps:
Try evaluating stan::math::bernoulli_rng(0, rng) or stan::math::bernoulli_rng(1, rng).
Current Output:
stan::math::bernoulli_rng: Probability parameter is {0/1}, but must be between (0, 1)
Expected Output:
{0/1}, depending on the input probability.
Additional Information:
The call to check_bounded(function, "Probability parameter", theta, 0, 1); should just be replaced with
  check_less_or_equal(function, "Probability parameter", theta, 1.0);
  check_greater_or_equal(function, "Probability parameter", theta, 0.0);

as in binomial_rng.hpp.
Current Version:
v2.11.0

I take it back -- it looks like check_bounded is indeed inclusive and those tests run fine.  Instead I was seeing a probability that was some epsilon above 1 due to floating point precision that triggered the exception.  That said, it would make sense to change the error message to [lower, upper] to make that more clear.  I can make a new issue if anyone thinks that's relevant.

You can just patch it at the same time and submit a pull
request.  Should be easier to just fix it than try to
communicate what you want to someone else.

Bob

On Aug 2, 2016, at 5:00 AM, Michael Betancourt<EMAIL_ADDRESS>wrote:
I take it back -- it looks like check_bounded is indeed inclusive and those tests run fine. Instead I was seeing a probability that was some epsilon above 1 due to floating point precision that triggered the exception. That said, it would make sense to change the error message to [lower, upper] to make that more clear. I can make a new issue if anyone thinks that's relevant.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.


Include like count for video info

When there is viewCount then why not include like count?

This is indeed missing.

This is not present in /player request, thus we cannot add it to Video class. It's present in /next request, which I'm not going to implement.


Check that VOIP does not break audio pathes

On IOS, the music player does not work anymore when Vector is backgrounded.

https://github.com/vector-im/vector-android/commit/7427ab0a86bf94450f63c0f480eabb078718b3dc


Slowing / Hanging page white scrolling up

I have just include this in my project it working fine when swipe but while scrolling the page up it will keep hanging but works fine while scrolling down
 PullToRefresh.init({
	mainElement: '.PageBodyContainer ',
	shouldPullToRefresh: function() {
		console.log(document.querySelector('#contentdivid').scrollTop);
		return (document.querySelector('.PageBodyContainer').scrollTop === 0);
	},
	instructionsPullToRefresh: '',
	instructionsReleaseToRefresh: '',
	instructionsRefreshing: ' ',
	iconRefreshing: '',
	onRefresh: function() {
		console.info('refresh')
	}
  });

Please don't delete the template for the issue as it's required for us to see what's happening. The included snippet won't help us at all because we can't see your markup.

This can be helpful: shouldPullToRefresh: () => !window.scrollY,