outboundTrafficPolicy not found in istio configmap in istio-system namespace

Bug description
Unsure if this is a docs bug or a bug in Istio.
Following https://preliminary.istio.io/docs/tasks/traffic-management/egress/egress-control/
when I run Step 1 kubectl get configmap istio -n istio-system -o yaml | grep -o "mode: ALLOW_ANY" | uniq nothing is returned.
When I look at the istio configmap in the istio-system namespace it is not present.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[X] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
meshConfig:
  outboundTrafficPolicy:
    mode: ALLOW_ANY

is in the configmap.
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
1.6.0-beta.1
How was Istio installed?
istioctl manifest apply
Environment where bug was observed (cloud vendor, OS, etc)
Kops cluster running on AWS

cc @howardjohn @ostromart Do either of you have any information?

encounter same issue

Its a docs bug. The default is ALLOW_ANY. We are hoping to make the mesh config file just overrides for the defaults, so it should be empty for new installs in the future


Support universal links on iOS

Supports universal links on iOS
The example app had a bunch of issues so I had to regenerate the iOS native code

Thank you very much! I will let this open until I (or rather someone else) can confirm that both the old method and Universal links work now :)

I tested the branch on IPhone 6s iOS 14.4 on:
--  example project from the repository with the default foobar schema
-- my own  project with https schema and universal links setup.
It works in both scenarios.
Adding universal links support to the iOS app is quite challenging, but here is the documentation:
https://developer.apple.com/documentation/Xcode/supporting-associated-domains?language=objc

@rafalbednarczuk Also here, thank you very much for testing and confirming!
I will merge and publish this PR as soon as I am home again.

Again, thank you very much to the both of you! I have merged the PR and published version 2.0.3 with those changes included :)
Let me know if there is something that broke in the mean time! Otherwise, have fun with the new version :)


Darwin signing, notarizing, and universal binaries

This PR does a few things:

Creates universal binaries that work on both amd64 and arm64 for darwin.
Signs the binaries using key material owned by defined.net
Notarizes the resulting zip file using an Apple account owned by defined.net
Modernizes the action plugins used in the github release action

This will break existing automations as we no longer publish architecture specific binaries for darwin, only a single nebula-darwin.zip will be available going forward.
Interestingly, you still can not execute these binaries in Finder.app but it should not complain if you execute them in a terminal.
Closes #24, closes #29

Hey there,
Thanks for adding notarisation support!
I worked on a similar issue of signing Mac binaries. Even though for some reason zipping is required before uploading the binary for notarisation, it could actually be distributed as a binary (not archived). It seems that Apple stores all binaries from .zip separately and Gatekeeper correctly validates signature in this case.

That's good to know but since we ship 2 binaries per os and architecture (nebula and nebula-cert) we need some way to package them. Previously we used tar.gz and it felt silly to move between that and zip, certainly given that the use of universal binaries changed the name of the package we ship for Darwin (nebula-darwin-$arch.tar.gz -> nebula-darwin.zip).


Editor support

Hey, cool project! I was looking for typesafe templating solutions and came across your project via google. I find it crazy that there isn't more in this space...
I'm working on a project where I'm using templating as a form of code generation. As an example, see this file which generates an auth module based on some user configuration: https://github.com/hpx7/rtag/blob/be5b3c365b415aa7888152f4fc4f4472959ef022/templates/base/auth.ts.hbs
I've been thinking about how it would be nice to have type-safe templating so I could do things like validate exhaustive checking of enums/unions etc. I first thought of switching to using template literals but quickly realized they don't work great for this use case (precise text formatting, lots of control flow).
ETS seems like a great option, but obviously the huge advantage of template literals is the editor support -- you get in your IDE (1) compile errors and (2) autocomplete. I've been brainstorming ideas for how to achieve the best of both worlds, just dropping this issue in case you had any thoughts on this topic.

Thanks @hpx7! I was pretty surprised too that there aren't more options in the space.
That file looks exactly like the problem I was working on that prompted me to write this: templating for code generation. I also tried template literals and came to the same conclusion as you.
Completely agree on the IDE integration. I almost tried tackling that in December, but ultimately held off to see if anyone else would be interested in this project. I'd love to hear your thoughts.
I was looking at https://github.com/lifeart/els-addon-typed-templates for inspiration. A TypeScript language server plugin might work? If not, writing a language server is another option.

Completely agree on the IDE integration. I almost tried tackling that in December, but ultimately held off to see if anyone else would be interested in this project. I'd love to hear your thoughts.

If this project had good VSCode integration and we posted it around a bit, I think it would immediately get popular.
I don't have any experience with language servers or ts language server plugins, but my first thought is that this may be difficult to implement as a plugin because we're fundamentally operating on text files, not typescript files. That els-addon-typed-templates looks like exactly what we want to achieve -- but looks like it's building on top of https://github.com/ember-tooling/ember-language-server.
Have you seen https://code.visualstudio.com/api/language-extensions/embedded-languages?

my first thought is that this may be difficult to implement as a plugin because we're fundamentally operating on text files, not typescript files.

Yeah I think so too.

Have you seen https://code.visualstudio.com/api/language-extensions/embedded-languages?

Awesome, thanks for sharing this. I like that the language service implementation would enable integrations with other editors as well.

Hi @tatethurston just curious if you had any more recent thoughts on this?

Hey @hpx7 I've been heads down at work and haven't had a chance to build this yet. Have you seen any open source implementations of a visual studio language extension you like? I poked around a bit but I couldn't find anything concrete -- lots of packages wrapping packages.

The Vue one is quite good: https://github.com/vuejs/vetur

Another good reference: https://github.com/bash-lsp/bash-language-server

I released a very MVP of visual studio code editor support: https://marketplace.visualstudio.com/items?itemName=embedded-typescript.embedded-typescript-vsc
Right now, only errors from the ets compiler appear in editor, and there isn't any completion.
Next steps will be:

Integrate with TS. Completions and errors.
Think about fault tolerance. Right now the compiler halts on the first error encountered.

Related to the first point above, the compiler should probably use the TS compiler as a peer dependency and type check templates so that users do not encounter TS errors in the generated files.

This is awesome! As soon as there is typescript integration I'm going to replace handlebars with this in my project.
How hard would it be to skip the yarn ets step? Handlebars exposes a compile method which lets me compile my .hbs templates programmatically without a separate cli step.

How hard would it be to skip the yarn ets step? Handlebars exposes a compile method which lets me compile my .hbs templates programmatically without a separate cli step.

My understanding is that this is not currently possible with the current TypeScript compiler API. The compiler would need to expose a plugin API that enabled custom functions to run and return a TS AST, similar to https://webpack.js.org/contribute/writing-a-loader. A Webpack loader would get close, but  AFAICT we wouldn't have the necessary type information available in the importing file (because TS wouldn't know the contents).
Would a watch mode achieve sufficient parity with the DX you are envisioning?

Oh I didn't realize you needed to act on the AST, so then I suppose tools like esbuild wouldn't help either?
A watch mode sounds pretty good, but the way I use handlebars right now is to compile files like foo.ts.hbs to foo.ts. So ideally it would be possible to go from foo.extension.ets directly to foo.extension without the .ets.ts intermediary.

I may be misunderstanding, but right now foo.ets compiles to foo.ets.ts. The later is what is imported by application code (TS implicitly adds the ts extension when you import from 'foo.ets'.
foot.ets => foo.ets.ts.
I opted for appending an extension (.ts) similar to how many graphql compilers will generate a .graphql.ts from a .graphql file. That said, I don't feel particularly strongly about this approach. I'm open to the handlebars output file naming foo.extension.ets => foo.extension.

It would be pretty straightforward to export compile from embedded-typescript so that the source file compilation can be invoked programmatically instead of through the cli invocation -- is that desirable?
For clarity, this wouldn't be the same as var template = Handlebars.compile("Handlebars <b>{{doesWhat}}</b>"); -- we can't do runtime generation of the template file because TypeScript won't have any of the type information from the source file. In the Handlebars case the output of compile is always (...args: any[]): string;.
Before your application ran you would need compile to have been invoked so the output files are generated.
Could you point me to some code where you're programmatically invoking handlebars compiler to generate foo.ts from foo.ts.hbs? I want to make sure I'm understanding correctly.

This is the code where I do codegen using handlebars templates: https://github.com/hpx7/rtag/blob/67d907187e2adaac2134b85a0839bc781be03fc2/generate.ts#L199-L200
I guess if you expose a compile function, I could generate the .ets.ts file, import this generated file dynamically, call render with my data context, and then delete the intermediary .ets.ts file afterwards?

This is the code where I do codegen using handlebars templates: https://github.com/hpx7/rtag/blob/67d907187e2adaac2134b85a0839bc781be03fc2/generate.ts#L199-L200
I guess if you expose a compile function, I could generate the .ets.ts file, import this generated file dynamically, call render with my data context and save the output to a file, and then delete the intermediary .ets.ts file afterwards?

Are clients supplying templates to your codegen tool? Or does your tool define the templates and clients supply the values?

The templates are bundled with my tool (see https://github.com/hpx7/rtag/tree/develop/templates/base/server/.rtag for example). Users have to write a yml file which ultimately ends up supplying the values.

The general workflow I have in mind is:

Write your .ets template file. Check this into version control, because it's your source code.
Generate the .ets.ts files from your templates via yarn ets. Check this into version control as well, so that collaborators only need to compile when they change a template file. Generally I don't advocate for version controlling generated files, but in this case these generated files are imported by your source code, so I would for the DX improvement.
Build your TS project for distribution: either via tsc, esbuild, or another tool. Your distribution can either be a single js file or multiple files. Either way, the .ets template files won't be present in the distribution, only the compiled .ets.ts contents will be present.

If I'm understanding correctly, in your case it looks like compile is ran on the consuming client as part of invoking generate? If so, I would move compilation into your pre-distribution step, and only execute the generated template contents on the consuming client.

Thanks for walking me through that, yes that would work!
The only real downside I see is for folks who are using a locally checked out version of my tool rather than the packaged one in npm. I would have to publish additional instructions for them (as well as for potential contributors) on the workflow, but not the end of the world.

Awesome!

The only real downside I see is for folks who are using a locally checked out version of my tool rather than the packaged one in npm.

If you commit the generated ets.ts files from your templates into git, then only users who change the templates locally would need to know about the ets compiler. Same for contributors -- only those who change the template files need to know about the compiler. For the later group, having a build:watch script or similar could help mitigate any onboarding issues:
// package.json
scripts: {
   build:watch: "yarn ets --watch & tsc --watch"
}

This would require the addition of a watch mode to the ets compiler


PyramidBuilder as cuboids app

Want cuboid api to enable stepfunction code agains cuboids, and it scales as needed
Under the hood it's Lambda distributed via chunkflow/SQS
Leverage Countless' fast mode

i.e. the one that memoizes (2,2,2) => (1,1,1)
(2,2,2):(1,1,1) :: 8:1
countless cares about categorical data. Irrelevant here; want memoization.

The Lambdas are the slaves building the pyramid.
Chuckflow already implement countless. See also #16

Point is: FFN and bossDB are not storing cuboids as cubes and this slows down the down/up sample pyramid building. They were storing physical cubes of anisotropic voxels; perhaps store digital cubes is more scalable.  So cubes via Lamba might be very fast and scalable.

Granted, COUNTLESS is concerned with segmentation labels, not pyramids of raw cuboids from microscopy imaging. Nonetheless, it's relevant. First build pyramids for raw images and later pyramids of segmentation labels. Even the output of brightfield reconstructors will have multiple segments.
COUNTLESS papers

Original 2D
Extension to 3D

Note that the latter states:

While COUNTLESS 2D can outperform naive algorithms, using COUNTLESS 3D for high throughput applications is not advisable as it is much slower than the standard approach. However, in Python, it can be implemented without resorting to extra compilation steps and still provides reasonable performance.

[ ] What about numba?


[WIP] mobile/ci: Pass through traffic test key

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@abeyad i made this WIP because i wasnt sure if this required more than one key


Update default.rb

Added a condition to handle default attribute for the sftp subsystem that maps to the incorrect location on Ubuntu 14.04. I added this change so the end user does not need to be aware when un-commenting the sftp subsystem attribute in attribute/default.rb will not correctly enable sftp in the sshd_config file.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@gnilchee

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

Thanks @gnilchee


Compatibility fix for 6.0.2

With change of hipPointerAttribute_t in 6.0.2, a change was required, changing variable name of struct from memoryType to type.
Issue #, if available:
#10
Description of changes:
Small changes that make code compatible with 6.0.2. However, it is not clear to me how to generalise this change and ensure backward compatibility.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This is fixed by another PR, #9 . Closing this PR


Upgrade bblfsh to sdk v2

It would be great to soon be able to use the new semantic concepts/UAST structure from gitbase.
cc @dennwc @ajnavarro @smola

I can't see any v2 in the sdk releases. Is that something not yet released?

@erizocosmico Not released yet.

AFAIK it was already released, right?

@erizocosmico Yes, sdk v2 was released, but not all drivers are updated yet. So it should be possible to start the migration now, but not ready for merging.
cc @juanjux @dennwc to provide further insights on when gitbase should upgrade.

Please wait for libuast and client-go to be ready. Will track the progress in https://github.com/bblfsh/sdk/issues/293.

Done in #439


Thread-safety and single-initialisation of shared members.

The documentation should clarify what happens if multiple threads reference a shared member defined like this:
Public Shared ReadOnly Instance As SomeClass = New SomeClass()

As I understand it (and this is what I want to be sure about), the run-time will ensure that Instance is initialised exactly once and that if SomeClass has no mutable members, then all access to Instance is thread-safe. Ideally, an example will be given showing a (thread-safe) implementation of singletons which is a very common use case for shared fields/properties.

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

ID: 1a7eed7e-92ba-239a-8162-591b666ad6ab
Version Independent ID: 04d245fd-2a6a-725d-9b86-8e50998afdc3
Content: Shared (Visual Basic)
Content Source: docs/visual-basic/language-reference/modifiers/shared.md
Service: unspecified
Product: dotnet-visualbasic
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

@KathleenDollard can you comment on this issue and confirm the behavior? Thanks!

Ping @KathleenDollard

So I tried writing code to test my theory (i.e: that the run-time will ensure Instance is initialised exactly once) and it appears to be exactly what happens. Try this code in a console project:
Imports System.Threading

Public Module Module1
  Public Class CSharedTest
    Public Shared Instance As New CSharedTest()

    Public Sub New()
      Console.WriteLine($"Constructor running from thread: {Thread.CurrentThread.Name}")
    End Sub

    Public Sub SayHello()
      Console.WriteLine($"{Thread.CurrentThread.Name} says hello!")
    End Sub
  End Class

  Public Sub Main()
    Dim threads = New List(Of Thread)
    Dim rnd = New Random()

    Dim ThreadCode As ThreadStart =
      Sub()
        Console.WriteLine($"{Thread.CurrentThread.Name} starting.")
        Thread.Sleep(TimeSpan.FromSeconds(rnd.Next(1, 3)))

        CSharedTest.Instance.SayHello()

        Console.WriteLine($"{Thread.CurrentThread.Name} exiting.")
      End Sub

    For n = 1 To 10
      threads.Add(New Thread(ThreadCode) With {.Name = $"Thread{n}"})
    Next

    Console.WriteLine($"Starting {threads.Count} threads.")
    For Each t In threads
      t.Start()
    Next

    Console.WriteLine($"Waiting for {threads.Count} threads.")
    For Each t In threads
      t.Join()
    Next

    Console.WriteLine($"Finished.")
    Console.ReadLine()
  End Sub
End Module

The code creates 10 threads and tries to ensure that they concurrently call  CSharedTest.Instance.SayHello(). No matter how many times you do it, the CSharedTest.Instance property defined as Shared is initialised by only one of the threads (the console output will say "Constructor running from ThreadX" just once).
It may be worth it to explicitly state this in the Behaviour section of the current docs on the Shared keyword (I can do the PR if approved).
Before discovering that the run-time took care of thread-safe initialisation of shared members, I would write code like the following which handles locking manually and is so much more complex:
  Public Class CSharedTest2
    Private Shared ReadOnly mLockInstance As New Object

    Private Shared mInstance As CSharedTest2

    Public Shared ReadOnly Property Instance As CSharedTest2
      Get
        SyncLock mLockInstance
          If mInstance Is Nothing Then
            mInstance = New CSharedTest2()
          End If

          Return mInstance
        End SyncLock
      End Get
    End Property
  End Class

However, when you know that the run-time takes care of thread-safe initialisation, that entire class can be reduced to just three lines (which is a big win):
  Public Class CSharedTest2
    Public Shared ReadOnly Instance As New CSharedTest2()
  End Class

CC: @KathleenDollard.

I'd like to see this up front in the first paragraph as it is core to the purpose of Shared.
That paragraph is currently

Specifies that one or more declared programming elements are associated with a class or structure at large, and not with a specific instance of the class or structure.

Which isn't even clear. Our docs are Open Source for a reason. This is low hanging fruit for someone that wants to contribute, they are really working to streamline the process and myself or @mairaw are happy to help. You can either propose something here for broad feedback and then add it, or change it in the docs (which I'd suggest for most changes).

@KathleenDollard You can either propose something here for broad feedback and then add it, or change it in the docs (which I'd suggest for most changes).

OK, I will do a PR when I get a chance :+1:


Log the port when starting zoekt-webserver

umm, excuse me?

@ijt I think you accidentally opened a PR against upstream zoekt. You probably want to close this out.

Sorry! Closing it...
On Thu, Aug 8, 2019 at 1:04 AM Keegan Carruthers-Smith <
<EMAIL_ADDRESS>wrote:

@ijt https://github.com/ijt I think you accidentally opened a PR
against upstream zoekt. You probably want to close this out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/zoekt/pull/100?email_source=notifications&email_token=AAADZKUS4ULGLTNWOK6DHHTQDPHQDA5CNFSM4IKEGZMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD322AXA#issuecomment-519413852,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAADZKVIJZY5OAEXVYEMSTDQDPHQDANCNFSM4IKEGZMA
.


updateTestingRollback should have an option for execution order

Description
This enhancement request comes from a comment from the issue #1535, where @molleafauss explained an alterantive use for
updateTestingRollback at this moment the order is
update changeset1; update changeset2; update changeset3
rollback changeset3; rollback changeset2; rollback changeset1
update changeset1; update changeset2 update changeset3

This allows the user to test a group of changsets rollbacks, but in the next example you can see that this behavior doesnt fit all the situations:
Imagine a set of 4 migrations: M_01, M_02, M_03, M_04.
M_02 and M_03 have a wrong rollback.
Running upgradeTestingRollback would do this:
apply - in order - M_01, M_02, M_03, M_04
rollback correctly M_04
fail to rollback M_03 and exit with an error.
the developer now fixes M_03, rolls it back manually, and then runs again upgradeTestingRollback, this is what liquibase does:
liquibase finds only M_03 and M_04 missing.
applies M_03 and M_04.
rolls back M_04 and M_03 (fine this time)
applies again M_03 and M_04
the wrong rollback of M_02 isn't discovered and will remain hanging in the code, potentially causing disruptions when an effetive rollback is needed.
Now for this situation the next behavior would be more helpful:
    update changeset1; rollback changeset1; update changeset1
    update changeset2; rollback changeset2; update changeset2
    update changeset3; rollback changeset3 update changeset3

We should have this behavior as an option for  updateTestingRollback  command.

Hey we are looking at this as well as an important fix which needs to be provided. Thanks


Integrate a headless browser to render Slices as images

If we had a toolkit to render slices (and dashboards) as images, it could be useful to use in emails, and to create thumbnails to use in the UI. For instance a gallery of dashboards or slices would be very nice.
It seems like Phantom.js may works nicely for that.

you can see an implementation here - https://github.com/apache/incubator-superset/pull/5294
Easy to wrap an API around it.


Added RTL languages support (Correct Reveal animation and Back key)

Fixed Reveal animation direction for RTL languages
Fixed Back arrow key for RTL languages
Added Toolbar with Back key version (Useful for result page)

Thanks. I will believe you that it is working because I am not able to read from right to left :-P


pass existing secret when using helm

Using helm I would like to be able to pass the secretName instead of creating the secrets.
I'm using external-secrets plugin to generate the secrets from other sources, so no need to have helm create them manually.
It would be great to pass the secret name as a helm setting.

I'd be happy to accept a PR for this feature :D


[SourceKit] When Cursor infor resolves to the start of an expression,  we always get the outermost expression.

The reason is that for clients, getting the offspring of an expression is
much easier that getting parents.

@swift-ci please smoke test and merge

@swift-ci please smoke test


Need to update README after #66 fix

After #66 fix README needs to be updated, because today I spent a lot of time to find what am I doing wrong, I saw that in change log it is written that issue with default language is fixed, but I still had it
Only when I found commit I discovered where my mistake was))
Change:
override fun attachBaseContext(newBase: Context) {
⠀⠀⠀super.attachBaseContext(localizationDelegate.attachBaseContext(newBase))
}
To:
override fun attachBaseContext(newBase: Context) {
⠀⠀⠀super.attachBaseContext(localizationDelegate.attachBaseContext(newBase))
⠀⠀⠀if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
⠀⠀⠀⠀⠀⠀applyOverrideConfiguration(localizationDelegate.updateConfigurationLocale(newBase))
⠀⠀⠀⠀⠀⠀super.attachBaseContext(newBase)
⠀⠀⠀} else {
⠀⠀⠀⠀⠀⠀super.attachBaseContext(localizationDelegate.attachBaseContext(newBase))
⠀⠀⠀}
}

Updated. Thank you for your notice.


Add Pictures to Documentation

Definitely need to add some screenshots to the documentation and readme to make it easier to read and follow... and more importantly, to show off how cool the real-time editor looks! (....yeah I know it looks like ass right now, but it will eventually look better! I think!)

Added a few. Will update later with the debugger view. (Also added an In Progress Label. woo!)


KeyDB compile error (CentOS)

ENV:
CentOS 6.5 x86_64  with devtoolset-3-gcc (4.9.2)
I use
make CFLAGS="-march=haswell -m128bit-long-double -m64 "  MALLOC=jemalloc
I get this info:
server.cpp: In function 'char* genRedisInfoString(const char*)':
server.cpp:4453:29: error: expected ')' before 'PRIu64'
"long_lock_waits:%" PRIu64 "\r\n",
^
server.cpp:4459:36: warning: spurious trailing '%' in format [-Wformat=]
fastlock_getlongwaitcount());
^
server.cpp:4459:36: warning: too many arguments for format [-Wformat-extra-args]
make[1]: *** [server.o] Error 1
make[1]: Leaving directory `/opt/opstoolset/source/redis/src/KeyDB-0.9.4-r2/src'
How to fix this ?  very very thanks :-)

I use make CFLAGS="-march=haswell -m128bit-long-double -m64 -D__STDC_FORMAT_MACROS"  MALLOC=jemalloc
compile finished  and keydb-server work fine.

Thanks for the update.  Your the second bug in the past few days with a CentOS compile issue, I'll be looking at it ASAP.

__STDC_FORMAT_MACROS is required by the C++ standard, the Ubuntu compiler must be patched to enable it by default.  I've added it to the makefile and verified with CentOS 6 (GCC 7 toolchain)

Fixed in change 272d9297b


Update release.json

testing deployment to stage

deploying from dev to state testingcicd process the process "testingcicd" is a simple process that just has a message shape


chore: remove annotated tag recreation

:tada: This PR is included in version 0.2.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use an element other than  for external GSS files

Would it be possible to add support for an element other than the <link> tag to link to external GSS files? The problem with <link> tags is that the browser always makes a request for them (at least in FireFox) even though they aren't CSS, then the GSS engine makes an additional request, essentially doubling the number of requests the browser makes. This can really bog down page load times.
A very simple solution would be to overload the <style> tag so that if it has a data-href attribute the engine will make a request for it.
External GSS:
<style type="text/gss" data-href="my-file.gss"></style>

Inline GSS
<style type="text/gss">
    .a[width] === .b[width];
</style>
```

Possibly both?

@Inviz maybe we could add a warning if the engine encounters rel="stylesheet"

Website updated in https://github.com/gss/gss.github.io/commit/df877935ec0d6c74f64c0aab4bb9be6154db377b

:+1:


Shortcode escapes closing HTML tags

When creating a shortcode with more than one level of nested HTML tags, the closing tags between {{ .Inner }} and the final closing tag are escaped (< becomes <) so that the tags get rendered on the page.
This issue appears to affect 0.55.0 and above (so possibly in this change set based on some local bisecting).
Steps to reproduce
Firstly, run this code in a place where you don't mind creating the quickstart directory:
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke
echo 'theme = "ananke"' >> config.toml
mkdir layouts/shortcodes
cat <<EOF > layouts/shortcodes/details.html

        {{ .Inner }}

EOF
cat <<EOF > content/test.md
# Just testing

{{% details %}}
Here are some details.
{{% /details %}}
EOF

Hopefully the above has created a very simple site. Run Hugo as normal:
hugo server -w
and visit http://localhost:1313/test/
(incidentally, you could just run hugo and check the HTML output; the bug behaves the same way).
Expected behaviour
Rendered code wraps the contents of {{% details %}} into the provided HTML, i.e. should look like this:

        Here are some details.

Actual behaviour
Closing tag gets escaped:

Here are some details.

</p>

(there seem to be too many
 tags but that's a lesser issue).

Yes, it's already documented here 0.55.0 Release Notes/shortcodes-revised.
If you want the previous behaviour,  put this line in your shortcode template:
{{ $_hugo_config := `{ "version": 1 }` }}

Thanks, the config switch solves my immediate problem.
However, I don't understand the new behaviour after reading the docs you mentioned and the docs here.
Given a shortcode block like this:

        {{ .Inner }}

invoked like this:
{{% details %}}
Here are some details.
{{% /details %}}

why does the new behaviour escape the closing
, making it appear on the page, but not the opening
?
The behaviour I'm trying to get is for {{ .Inner }} to be rendered as Markdown and then inserted into the middle of the block of HTML specified in the shortcode block. As I say, I can get that by reverting to the old behaviour, but it would be useful to understand if we should ever adopt the new behaviour.

I suspect this is a Go template issue -- and possibly a bug there, but I have not looked closely at this.


Different between WakefulBroadcastReceiver and WakefulIntentService

Hello CommonsWare,
Firstly, thank you so much for this library. Can you tell me the different between using WakefulBroadcastReceiver and your library.  I am using WakefulBroadcastReceiver  but sometime (just sometime), the alarm not fire. This issue happen on so many devices. I do not know why.  Does this library fix this issue ?
Thank you and hop you reply to me.

This is an issue tracker. It is not a support board. Please use the support options from the project README.

Does this library fix this issue ?

Probably not. As of Android 6.0, AlarmManager, JobScheduler, and similar mechanisms become erratic, due to Doze mode and app standby.


edge problem? I'm getting vertical of zero pixels at tile edge here

I want to use the glo30 DEM with ISCE. I basically use the notebook here, 'staging for isce2', but with a boundary [-74, 41,-70, 44].
The result is a vertical line of 0 valued pixels (~1 pixel wide) going across the stitched tile at about the -72.00000 coordinate through the entire region. This results in a problem with ISCE2 processing. Here is a picture:

Dear @sgk0,
The ISCE2 portion of this tool is difficult to track down because dependencies and whatnot.
I just ran the notebook you mentioned and it did run to completion with quite a large DEM.
It's important you launch your notebook from a kernel with that ISCE2 environment because that notebook is sending ISCE2 commands to the command line.
Follow up questions:
A. Do you see this error, when you run:
bounds =  [-74, 41,-70, 44]

X, p = stitch_dem(bounds,
                  dem_name='glo_30',  # Global Copernicus 30 meter resolution DEM
                  dst_ellipsoidal_height=False,
                  dst_area_or_point='Point')

i.e.  what is the shape of X?
B. What version of this package are you running? Installed through conda?

"Thanks for sharing this. Will have to look into this. I think I understand the issue better after re-reading - it's not a 1 pixel wide DEM; it's an issue at the boundary between tiles within the DEM. Is that correct" Correct!
Old:

yes I'm running isce2 environment and it is working well.
I used this stitcher in past at other areas and didn't notice artifacts.

A. I did the command as suggested, and changed bounds to be even smaller = [-73, 41, -71, 42]. There is no line now.
Shape of X is (3600, 7200)
B.
-I used v2.0.0, then upgraded to v2.5.0 (updated notebooks accordingly), both showed the line of zero values.

conda install -c conda-forge dem-stitcher didn't work (cant find package) so I used my condaenv's pip to do pip install dem-stitcher --upgrade

Upgraded to v2.5.0, looks like it works fine now.


refactor(interactive): Support Nested Branch Logical Plan

What do these changes do?
In the previous implementation, a branch node in the GIE logical plan was required to correspond to exactly one merge node. However, it is common to encounter nested branch plans in real-world scenarios, where a branch node may correspond to multiple merge nodes at different levels.
For example:
root(1)
/   |
2    3    4
\   /      /
5     /
\   /
6
To support these situations, this pull request updates the implementation of get_branch_plans, sub_plans, get_merge_node, and other related methods. As a result, the logical plan can theoretically accommodate arbitrary branches, as long as they are reasonable.

Codecov Report

Merging #3151 (f9af8b8) into main (6ed225b) will decrease coverage by 31.36%.
Report is 2 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #3151       +/-   ##
===========================================
- Coverage   73.70%   42.35%   -31.36%
===========================================
  Files         102      101        -1
  Lines       10979    10892       -87
===========================================
- Hits         8092     4613     -3479
- Misses       2887     6279     +3392

see 63 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


v2 Istio fails to completely install/upgrade when Ingress Gateway is not installed

rancher/rancher:v2.5.0-rc8

Deploy Rancher
Deploy a cluster
In Cluster Explorer, deploy Istio app, while deselecting Ingress Gateway in components during installation

Istio fails to install with an error:

Checked 0 Istio Deployments
No Istio installation found
Error: no Istio installation found

The same occurs if you try to upgrade an installation to remove ingress gateway

Seems to be related to this issue: https://github.com/istio/istio/issues/24374 where verify install fails when the default ingress gateway is not present

Tested with disabling other components and istio-ingress-gateway seems to be the common link

rancher/rancher:master-head 0390ff5

Deploy Rancher
Create a cluster
Install Istio 1.7.3 without Ingress Gateway selected
Install is successful
Upgrade to add/remove Ingress Gateway successfully

This is still a problem in 1.8.3. Recommend to reopen.

@murphye you mean in upstream Istio or via Rancher ? We haven't released 1.8.3 yet.


API Related Track List

[x] Learn how to use fetching to use all these APIs + the StrafesNET API. (I don't even know if I'm allowed to have this checked.)
[ ] Use the RoVer and Bloxlink API to fetch user information.


[Selective Retirement] Community Feedback

Recording useful community feedback from Garmon#6089. NOTE: This needs to be reviewed by Professor and approved before dedicating time to it.

It would be nice if it's possible to use the filter without needing to select a carbon offset token. The token required for said project could be displayed after you hit find project. Otherwise it's quite time consuming to go through each carbon pool.

It's not obvious that to go to the corresponding Verra page for the project, you need to click the VCS code of the project. "Project Details Page" or something could be a band aid solution.

CC: @theprofessora @0xAeterno @jabby09

thanks @ShimonD-KlimaDAO for capturing this feedback and @0xAeterno for your review/assessment.
I figured (1) would be a bigger change. Given we are moving towards bezos and eventually migration of selective retirement in that application is is unlikely we would prioritize this feature in the aggregator. However, I will capture this in my Feature Request page in Notion in case it comes up again or does become a priority.
Re: (2) that sounds like an easy but high value enhancement, I will create a new enhancement ticket for that and assign to @theprofessora for a quick design.

See #863 which is the action item and closes this issue.


[DOCUMENTATION] How To Install?

I was curious about how to set-up and install GaiaDB but the instructions like here: https://ohdsi.github.io/GIS/geocodingFull.html#Connect_to_gaiaDB_server leads to a dead end. How do I set-up and install the database?
Thanks!
~ tcp :deciduous_tree:

HI @TheCedarPrince ! Thanks for reporting this. We've been rebuilding the docs and this was clearly an oversight... I'll get this fixed by the end of next week

You the bomb dot com @kzollove ! Also, happy holidays! Hope you are staying warm! :christmas_tree: :santa: :coffee:

@TheCedarPrince thanks again for reporting this! The docs website should now be updated here.
Sorry for the delay and let me know if anything remains unclear

Glorious @kzollove ! I shall try this out very soon and will report back any issues I run into! Thanks!!!


Video tutorial for second pull request

How to do Second PR with git bash

@naveenkala make sure someone else adds to the resources list, or if nobody is volunteering, you can create a PR today or tomorrow

@naveenkala was this added?

@naveenkala was this added?

PR #488


deploy-downloader fails to execute when called by cron.

We have a functioning teletraan stack which works wonderfully except for one crucial issue - the deploy agent completely fails when called by cron. It works fine when called directly on the shell, but during execution called by cron, it fails during the deploy-downloader command with the following error:
  File "build/bdist.linux-x86_64/egg/deployd/common/executor.py", line 80, in run_cmd
    preexec_fn=os.setsid, **kw)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

We patched common/executor.py to print the contents of cmd to stdout so we could debug the issue and found that the following was occurring during the cron executed command:
[u'/data/nodejs/artifactname/teletraan/PRE_DOWNLOAD']
['deploy-downloader', '-f', '/etc/deployagent.conf', '-v', u'UUID-OG-A_1bb1b62', '-u', u's3://s3url/20/artifact.tar.gz', '-e', u'Environment-Name']
['deploy-downloader', '-f', '/etc/deployagent.conf', '-v', u'UUID-OG-A_1bb1b62', '-u', u's3://s3url/20/artifact.tar.gz', '-e', u'Environment-Name']
['deploy-downloader', '-f', '/etc/deployagent.conf', '-v', u'UUID-OG-A_1bb1b62', '-u', u's3://s3url/20/artifact.tar.gz', '-e', u'Environment-Name']

The respective crontab entry is:
* * * * * /usr/local/bin/deploy-agent -f /etc/deployagent.conf >> /var/log/deployd.log 2>&1

All of the respective files in the config (log directory, deployd directory, builds directory etc.) exist and are writable by the user. Everything works like a charm when the command /usr/local/bin/deploy-agent -f /etc/deployagent.conf is called on the shell, it's just cron which fails.
Any ideas about this issue would be greatly appreciated!
This is on Debian 8 with python 2.7.9 and the latest version of master (as of this morning).

This has to do with the environment variables crontab inherit - try something like:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /usr/local/bin/deploy-agent -f /etc/deployagent.conf >> /var/log/deployd.log 2>&1
and see if it works

I could have sworn that I tried setting the path last week, but that worked! Thanks @sbaogang, and sorry to bother you for something that trivial! 👍

Not at all, thanks for using Teletraan!


2 controls bind to same chained/nested property won't update each other

I'm binding a chained/nested property to both NumericUpDown and Slider like this:
<NumericUpDown Increment="1" Minimum="12" Maximum="72" Value="{Binding CurrentSetting.FontSize}" />
<Slider Minimum="12" Maximum="72"  Value="{Binding CurrentSetting.FontSize}" />

But when I changing the value with Slider or NumericUpDown, the other control won't update. I checked the value of  CurrentSetting.FontSize, which is actually changed, but the other control's UI just won't update.
But, if bind to a Non-chained/nested property like this:
<NumericUpDown Increment="1" Minimum="12" Maximum="72" Value="{Binding FontSize}" />
<Slider Minimum="12" Maximum="72"  Value="{Binding FontSize}" />

Then both control work fine, I can change value with one control, the other one will update.

Don't tell me it is designed to not work with chained/nested property.

Avalonia version: v11.07
.net target: .net 7.0
Platform: windows 11

How is CurrentSetting.FontSize defined?

FontSize must be observalbe, not CurrentSetting

So it is designed to not work with chained/nested property, ok.

@butaixianran I talked to @grokys and he also thinks this should be supported. So in case it does not work using nightly builds, please upload a minimal sample for us to analyze.

I just tested it with WPF, it works perfectly!
In wpf, I did the exactly same binding with nested/chained property. And when adjusting slider, text box will adjust with it automatically. Also tested nested string property with 2 text boxes, works too.
Now I'm thinking it gonna work with maui too.

Uploaded an Avalonia example project for testing.
https://drive.google.com/file/d/1lCGTHeDDwG1adwwwgXZUyBNJFosadXiw/view?usp=sharing

video:
wpf (work):
https://github.com/AvaloniaUI/Avalonia/assets/5558722/fd5b751d-213a-4a3b-8d47-523077f0ddde
avalonia (not work):
https://github.com/AvaloniaUI/Avalonia/assets/5558722/01905c49-260b-49c0-81b4-65e27996e4b7

Thanks for sharing this. We will look into, but I cannot tell a due date yet.

So it is designed to not work with chained/nested property, ok. This is Avalonia team's choice, I won't argue on this. As a user, I can only choose to not use avalonia.

It's not how it is.
Chained and nested property bindings ARE supported, as it's pretty obvious use case.
But as it mentioned before FontSize must be observable. How would you expect change notifications to be raised to the second control, if there is no PropertyChanged event?
Now, WPF example is different, as WPF creates a proxy class that wraps your data - PropertyDescriptor. I.e. with WPF you binding is created not to your data directly, but to that proxy class. That's where it comes to our choice to NOT support this feature.
PropertyDescriptor is known to heavily rely on Reflection usage, which is banned for any new feature in Avalonia. And it might cause heavy memory leaks as well. It's not recommended in WPF community to rely on PropertyDescriptor, and it is recommended to use observable properties just like in Avalonia.

You can find some more info on this topic by these links:
https://stackoverflow.com/questions/7767218/why-does-the-binding-update-without-implementing-inotifypropertychanged
https://stackoverflow.com/questions/19784028/propertydescriptor-and-wpf-binding-mechinsm


[ResourceManager] Case-insensitive file collisions

When cloning the .NET repo on a default Windows machine, the following warnings are printed:
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'sdk/resources/Azure.ResourceManager.Resources/tests/SessionRecords/DeploymentScriptContainerTests/ListByRG().json'
  'sdk/resources/Azure.ResourceManager.Resources/tests/SessionRecords/DeploymentScriptContainerTests/ListByRg().json'
  'sdk/resources/Azure.ResourceManager.Resources/tests/SessionRecords/DeploymentScriptContainerTests/ListByRG()Async.json'
  'sdk/resources/Azure.ResourceManager.Resources/tests/SessionRecords/DeploymentScriptContainerTests/ListByRg()Async.json'

These files were added in https://github.com/Azure/azure-sdk-for-net/pull/23090.
@fengzhou-msft: Do you know how this PR ended up containing these files which only differ by case?  Is it an issue in our test recording and playback infrastructure?  Or maybe the PR was created on both Windows and Linux/Mac which caused this?
These files should be deleted or renamed to avoid the collision, but we should also try to understand how this happened so we can prevent it going forward.

Thanks for your feedback. Let me explain how this problem happened. The test ListByRg was initially named ListByRG, which leads to the existence of test records named ListByRG().json and ListByRG()Async.json. So it's not an problem in the test recording and playback infrastructure. I have created #23974 to delete the unnecessary test records.


Add Hang Man Game in CPP

Kindly merge the pull request under Hacktoberfest2024, Thanku

Thanks for your contribution!

PR has been merged under Hacktoberfest!

Happy contribution!


Unable to generate the Udev rules file

Error:
$ iscan.make-policy-file \
    --mode udev \
    --desc-file /snap/iscan/current/usr/share/iscan-data/epkowa.desc \
    --force \
   -o 60-iscan.rules
make-policy-file: error: file not found (/snap/iscan/current/usr/share/iscan-data/epkowa.desc)

It seems that the installation prefix of the iscan-data is not /usr but /usr/local:
$ find /snap/iscan/current/ -name 'epkowa.desc'
/snap/iscan/current/usr/local/share/iscan-data/epkowa.desc

Seems to be fixed now:


Add lineterminator to the csv parsing options

This is required for consistency reasons, as both the python csv parser and the CSV dialect spec support it

@akariv
What's use case for it? A client could pass lineterminator but it will be ignored by python parser so the client could be confused.

Right now tabulator receives all parameters from the dialect (see here: https://github.com/frictionlessdata/datapackage-py/blob/master/datapackage/resource.py#L280), so right now any data package with a valid CSV dialect fails to parse.
So we have to add special treatment for all implementations to remove lineterminator, which is something that I would prefer to avoid, or allow setting lineterminator in tabulator. I prefer to do it tabulator as it's more cleaner and future proof: Python might ignore this setting now but it may change in the future (as per the docs). Also, important is that it's currently ignored only when reading, but not when writing CSVs...


Issue invisible

Hi
I've added invisible reCaptcha in your project

Thanks!

Hi. I set the  'size'=> 'invisible'. but in this way there is something wrong with me. I set '
uncheckedMessage' => 'Please confirm that you are not a bot.' and ii caused to get this error because of being unchecked. what's the solution of it?

Hi! Open issue, please.


Set up the development environment

As a [role]
I need [function]
So that [benefit]
Details and Assumptions
* [document what you know]

Acceptance Criteria
gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

@@@ Fazendo o commit das alterações
$ git commit -am "added nose arguments"
$ git push --set-upstream origin dev-setup


Sei Madou Monogatari [PCSG00168]

Game summary

Game name: Sei Madou Monogatari
Game serial: PCSG00168
Game version: 1.03

Vita3K summary

Version: v0.1
Build number: 1073
Commit hash: https://github.com/vita3k/vita3k/commit/87635c2

Test environment summary

Tested by: Zangetsu38
OS: Windows 10
CPU: AMD Ryzen 2700X
GPU: NVIDIA GTX 1080 Ti
RAM: 16 GB DDR4 3600 mhz

Issues

Crash

Log
vita3k.log

game is ingame-, playable without issues until this part


Add path and hash of genesis file for each env.

Description
path and hash is necessary to run cardano-node clusters.
Linked issue
DEVOPS-1261
Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

Screenshots (if available)

How to merge
Send the message bors r+ to merge this PR. For more information, see
docs/how-to/bors.md.

bors r+

bors r+


Feat/va-file-upload

close #526

[x] restyle
[x] docs
[x] demo

@nastassiadanilova
In general - everything is fine.
Questions / suggestions:

No indent under the button on small resolutions - http://piclair.com/data/jnamm.jpg
Delete icon looks pressed to the righ in list - http://piclair.com/data/5w9pb.jpg
Why do you use a fixed size for items in gallery? It may be better to use flex and make them responsive

@asvae , can we move defaultFiles feature to the vuestic2.1 and merge this?

@nastassiadanilova sure. Let's do that.
I have split to issue: #600

@smellyshovel please check/fix if themes operate correctly in this component. Then squash + merge when everything is fine.


Station names should be visible longer when zooming out

it appears (mainline) station names appear only when at Z18. This is way too late.
OSM has them appear at Z14, which seems a lot more natural too me.
The same goes for the dedicated raillayer: currently at Z18.
In ORM it appears a lot faster, I think Z11. Which seems logical to me given the purpose of the layer.
The same goes for the station dots. They appear at Z17 currently. in OSM at Z13.
I didn't look up or test the values for tram / metro systems.

cc related to #653 (could work on in tandem ✅ )

These will appear at z14 in next release (Demo style example)
Also see in rail demo style

This is live


Review request for Microsoft.BotService to update version stable/2021-03-01

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[x] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[x] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Suppose to fix S360 issues:
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=D129AFEC-4C7A-45B1-88DA-A333FE934C71
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=CB67AE13-5847-4A24-BB00-54BA97F118C8
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=2B3103A3-64FC-4B79-8705-DDF944066300
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=C6002FEC-E0FA-427E-9A7A-1554A4F9FCD8
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=90EAC8E4-7A57-4346-BA0A-3C381A89CB19
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=EF2628B3-D0E7-4FF8-9119-6597E41294EE
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=8A1A2BE9-CA1C-415A-B702-934C97DB6E9E

@chunyu3 Can you help review this? it's very similar to the last already merged PR
https://github.com/Azure/azure-rest-api-specs/pull/16012


bug fix for refreshment

Bug fix for PR #6

LG2M, if you are done let me know and I merge.

Done.


adding initial Mvc files (based on MVC Template)

This basic Mvc structure generates a tabbed view with labeled tabs.

LGTM


[SPARK-17982][SQL][BACKPORT-2.0] SQLBuilder should wrap the generated SQL with parenthesis for LIMIT

What changes were proposed in this pull request?
Currently, SQLBuilder handles LIMIT by always adding LIMIT at the end of the generated subSQL. It makes RuntimeExceptions like the following. This PR adds a parenthesis always except SubqueryAlias is used together with LIMIT.
Before
scala> sql("CREATE TABLE tbl(id INT)")
scala> sql("CREATE VIEW v1(id2) AS SELECT id FROM tbl LIMIT 2")
java.lang.RuntimeException: Failed to analyze the canonicalized SQL: ...

After
scala> sql("CREATE TABLE tbl(id INT)")
scala> sql("CREATE VIEW v1(id2) AS SELECT id FROM tbl LIMIT 2")
scala> sql("SELECT id2 FROM v1")
res4: org.apache.spark.sql.DataFrame = [id2: int]

Fixed cases in this PR
The following two cases are the detail query plans having problematic SQL generations.

SELECT * FROM (SELECT id FROM tbl LIMIT 2)
Please note that FROM SELECT part of the generated SQL in the below. When we don't use '()' for limit, this fails.

# Original logical plan:
Project [id#1]
+- GlobalLimit 2
   +- LocalLimit 2
      +- Project [id#1]
         +- MetastoreRelation default, tbl

# Canonicalized logical plan:
Project [gen_attr_0#1 AS id#4]
+- SubqueryAlias tbl
   +- Project [gen_attr_0#1]
      +- GlobalLimit 2
         +- LocalLimit 2
            +- Project [gen_attr_0#1]
               +- SubqueryAlias gen_subquery_0
                  +- Project [id#1 AS gen_attr_0#1]
                     +- SQLTable default, tbl, [id#1]

# Generated SQL:
SELECT `gen_attr_0` AS `id` FROM (SELECT `gen_attr_0` FROM SELECT `gen_attr_0` FROM (SELECT `id` AS `gen_attr_0` FROM `default`.`tbl`) AS gen_subquery_0 LIMIT 2) AS tbl

SELECT * FROM (SELECT id FROM tbl TABLESAMPLE (2 ROWS))
Please note that ((~~~) AS gen_subquery_0 LIMIT 2) in the below. When we use '()' for limit on SubqueryAlias, this fails.

# Original logical plan:
Project [id#1]
+- Project [id#1]
   +- GlobalLimit 2
      +- LocalLimit 2
         +- MetastoreRelation default, tbl

# Canonicalized logical plan:
Project [gen_attr_0#1 AS id#4]
+- SubqueryAlias tbl
   +- Project [gen_attr_0#1]
      +- GlobalLimit 2
         +- LocalLimit 2
            +- SubqueryAlias gen_subquery_0
               +- Project [id#1 AS gen_attr_0#1]
                  +- SQLTable default, tbl, [id#1]

# Generated SQL:
SELECT `gen_attr_0` AS `id` FROM (SELECT `gen_attr_0` FROM ((SELECT `id` AS `gen_attr_0` FROM `default`.`tbl`) AS gen_subquery_0 LIMIT 2)) AS tbl

How was this patch tested?
Pass the Jenkins test with a newly added test case.

Hi, @gatorsmile .
This is a backport of #15546 for branch-2.0.

Test build #68542 has started for PR 15856 at commit 92d901b.

LGTM pending jenkins

Thank you again, @gatorsmile !

Test build #68542 has finished for PR 15856 at commit 92d901b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68542/
Test PASSed.

@dongjoon-hyun Thanks! It has been merged. Could you close it?

Thank you!


Cannot remove the heatmap layer

I am trying to create a heatmap using this library and it does display perfectly using my data. However, the issue us that I want my web app to work with filters. So when a filter is applied, a request is sent to get the filtered the data. Now I want this heatmap to be created on this filtered data. I am trying to remove this existing layer and then add a new heatmap layer from the filtered data but the issue is that when I try to remove it, it shows me an error. This is the error:
Uncaught TypeError: Cannot read properties of undefined (reading '_leaflet_id')
I am trying to use this line of code to remove the layer from the layer control and the map:
var heat =
map.removeLayer(heat);
layerControl.removeLayer(heat);
If I just add the new layer, it still works but I am able to remove the existing heatmap layer. I also tried making the data in it empty before using the filtered data using this line of code:
heat.setData({});
Just a few things that I think may cause problem:
I am removing the layer when a form is submitted. For that I am using jquery to see when the form is submitted. When I try to see the layer properties within the jquery listener, it says that the layer is undefined but when I do it outside the  jquery listener, it works so maybe it has to do something with the jquery (I am not an expert so I just caught this observation). Below is the example of what I am saying:
This does not work
$('form').on('submit', function(e){   e.preventDefault();   map.removeLayer(heat);
This works but it does not fulfill my purpose as I cant track when the form was submitted before removing the heat layer:
map.removeLayer(heat); $('form').on('submit', function(e){   e.preventDefault();
Can you please help me in sorting this issue.
Thank you!

I also tried making the data in it empty before using the filtered data using this line of code:

Hi, heat.setData({data: []}) should work


[iOS][WebSocket] use correct delegate queue in RCTRSWebSocket

Motivation
This commit makes the websocket's delegate dispatch queue use RCTWebSocketModule's method queue.
This fixes a bug where didReceiveMessage was called on the wrong queue, which is especially harmful if the websocket has a contentHandler expects to be running on the RCTWebSocketModule's method queue.
This also fixes the race condition where _contentHandlers and _sockets can be mutated from the main dispatch queue (the default in RCTRSWebSocket) and RCTWebSocketModule's method queue.
Test Plan
Websockets still work, and hopefully crash less now.
Release Notes

[iOS][BUGFIX][WebSocket] fix crashes caused by a race condition in websocket delegates.

Android CI failed but it seems to be unrelated to this PR 🤔

@facebook-github-bot shipit


react-app-rewire-preact blows away default resolve configuration

In the Preact rewire, the entire config.resolve object in the CRA Webpack config is blown away and replaced with the object provided in the rewire. The Preact aliases should be added to the existing config.resolve.alias object instead.

PR Merged


Define the interfaces for all the functions in Config

Config provides all the data that is needed to run the facilitator. It reads data from mosaic-config and facilitator-config JSON files and provides getter functions that can be used in other parts of the facilitator code base.
This ticket is about defining the interfaces of all the functions in the Config.
The proposed functions are provided for reference.
The implementer can think this in detail and can add/remove functions.

[ ] constructor

Accepts mosaic-config and facilitator-config as params
Validates config (against schema for facilitator-config : mosaic-config)
Validate worker addresses

[ ] function to get DB path.
[Check DB tickets if more functions related to DB are needed]

[ ] function to get RPC endpoints for the given chain.

[ ] function to get all the worker addresses for the given chain.

[ ] function to get encrypted_account for a given address.

[ ] function to get OSTComposer contract address

[ ] function to get all Gateway contract addresses.

[ ] function to get Gateway contract address for a given chain.

[ ] function to get CoGateway contract address for a given chain.

[ ] function to get worker addresses for a given chain.

Example of mosaic-config.json is given below.
{
  "originChain": {
    "chainId": 3,
    "contractAddresses": { // Contracts deployed on origin chain, should be reused for all auxiliary chains.
      "simpleTokenAddress": "",
      "merklePatriciaLibAddress": "",
      "GatewayLibAddress": "",
      "messageBusAddress": ""
    }
  },
  "auxiliaryChains": {
    "1406": {
      "chainId": 1406,
      "bootNodes": [], //List of boot nodes
      "genesis": {},
      "contractAddresses": { // Contract addresses specific to single auxiliary chain
        "origin": { // Contracts deployed on origin chain specific to single auxiliary chain
          "anchorOrganizationAddress": "",
          "anchorAddress": "",
          "ostGatewayOrganizationAddress": "",
          "ostEIP20GatewayAddress": "",
          "ostComposerAddress": ""
        },
        "auxiliary": { // Contracts deployed on the auxiliary chain
          "ostPrimeAddress": "",
          "anchorOrganizationAddress": "",
          "anchorAddress": "",
          "merklePatriciaLibAddress": "",
          "GatewayLibAddress": "",
          "messageBusAddress": "",
          "ostCoGatewayOrganizationAddress": "",
          "ostEIP20CogatewayAddress": ""
        }
      }
    },
    "1407": {
      "chainId": 1407,
      "bootNodes": [], //List of boot nodes
      "genesis": {},
      "contractAddresses": { // Contract addresses specific to single auxiliary chain
        "origin": { // Contracts deployed on origin chain specific to single auxiliary chain
          "anchorOrganizationAddress": "",
          "anchorAddress": "",
          "ostGatewayOrganizationAddress": "",
          "ostEIP20GatewayAddress": "",
          "ostComposerAddress": ""
        },
        "auxiliary": { // Contracts deployed on the auxiliary chain
          "ostPrimeAddress": "",
          "anchorOrganizationAddress": "",
          "anchorAddress": "",
          "merklePatriciaLibAddress": "",
          "GatewayLibAddress": "",
          "messageBusAddress": "",
          "ostCoGatewayOrganizationAddress": "",
          "ostEIP20CogatewayAddress": ""
        }
      }
    }
  }
}

Example of facilitator-config.json is given below.
{
    "db": {
            "db_path": "<db_path>",
            // other params
    },
    "chains": {
        <chain_id_1>: {
                   "rpc": "http://localhost:3000",
                   "workers": [0xaddress1, 0xaddress2],
		},
	<chain_id_2>: {
                  "rpc": "http://localhost:4000",
                  "workers": [0xaddress3, 0xaddress4]
		}
	}
    "encrypted_accounts": {
        "0xaddress1": {

        },
        "0xaddress2": {

        },
        "0xaddress3": {

        },
        ,
        "0xaddress4": {

        }
    }
}

validate mosaic-config, also does on-chain checks?

answer: mosaic-config will have mandatory fields (entry points into contract constellation) and optional fields that can be filled out by querying the contracts and reading the links (eg. Organization address);  Mosaic-chains will have a verifier functionality to assert and fill out the optional config fields

i updated the ticket description to remove the validation functions from the interface; the constructor should fail if the schema is not matched correctly

Just a note Config.ts can change based on learnings of below ticket:
https://github.com/OpenST/facilitator/issues/50


更新内容/github/设置-up-and-managing-organizations-and-teams...

…/managing-access-to-your-organizations-repositories.md

Why:

Closes [issue link]
What's being changed:

Check off the following:

[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

lp9921:patch-12


nimble/ll: Fix missing Read Remote Version Info in supported commands

Read Remote Version Information command bit was not set in supported
HCI commands bitmask.

tested, works


Fix Recommendations dialog & flow

Description of design change:
Fix the Recommendations dialog and flow as follows:

When the user closes the questionnaire and their answers give them new/updated recommendations, they should see a confirmation dialog that says: "New topics have been recommended based on your answers" with the Recommendation icon & a button to "See recommendations". (The screen should look as such: https://zpl.io/bLWB8wQ)

Note: please increase the bottom padding from the existing dialog (should at least match the top padding)

When the user closes the questionnaire and their answers have not changed, there should be no dialog. Remove the dialog that says "no new topics recommended based on your answers" ... it seems excessive and should be self evident to the user.

Rationale:

Users are consistently confused by the dialog and want to click the recommended items that are listed within (which doesn't work).
Showing the number of topics recommended has been shown through our user research to add no value to the user. They are not sure if a bigger or smaller number is good, in general they feel neutral about it.
Adding "See recommendations" as the button clarifies to the user where they are going next.
The language in the dialog overall reinforces to the user what the result of the questionnaire is, without being complicated.

Difficulty, impact:
|-- Difficulty: should be relatively easy as the dialog already exists and needs just a design change --| -- Impact: medium to high importance to user, since it currently causes confusion -- |
Possible Roadblocks:

although the text is similar to what already exists, it'll still need to be translated and QA'ed. We can consider simpler (existing) translations as alternate text, I'm open to your suggestions

I think we should remove the "No new topics recommended dialogue"
@cherrielam make final decision, update the spec or make a new issues.
Also include requirements for tracking in GA so we can answer the questions:

How many users click on "Go back to questionnaire"?
Do people actually go back to the questionnaire and answer more questions?
How many people actually see the "New topics recommended" dialogue?
How many users close the questionnaire before completing?

Recommendations dialog looks great and works properly on iOS and Android. "No new recommended topics" dialog no longer exists/shows.
I have added the following issue to capture Arti's GA questions above:
https://github.com/pg-irc/pathways-frontend/issues/949


CIS Product Info and Linking

The hyperlinked text “CIS Implementation Group 1, Group 2, Group 3” should be changed to “CIS Critical Security Controls Implementation Group (IG) 1, IG 2, IG 3”, if possible. The hyperlink on that text should also be removed, please. The second bullet should be changed to "CIS Microsoft 365 Foundations Benchmark Level 1 and 2" and should link to the URL that is currently being used for the first bullet. Please and thank you!

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

ID: a406f24f-e0c1-9143-9130-ce0459a66235
Version Independent ID: e040197a-12cc-281a-d75d-16395b24c46f
Content: Microsoft Purview Compliance Manager templates list - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/compliance-manager-templates-list.md
Service: o365-seccomp
GitHub Login: @chvukosw
Microsoft Alias: chvukosw

@mialavada Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/10851
Once the author approves, the changes will be live.
Thanks
Sri

@yogkumgit  As per Author These updated names don't match what's in the UI for the templates. He has confirmed with the PM today that we should leave the names as-is, not make these changes.
This can be closed.

@msbemba Thank you very much for the contribution and sharing this explanation. @mialavada Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Hi - I work at CIS and am the Product Manager for the CIS Benchmarks. Can I request a reconsideration on this, please? It is an inaccurate representation of our products.
Thank you,
Mia LaVada


Auto scroll chat not working on mobile

The jQuery code to scroll to the bottom doesn't seem to work on /gchat

Sometimes also on desktop

Sometimes also on desktop


Include Python development headers

Describe the Enhancement
Currently,  the buildpack does not contain Python development headers which makes it hard to install any Python packages implemented in C that don't provide wheels for the platform. One such package is psycopg2 which purposefully doesn't provide source distribution to allow usage of system's own libraries on production systems.
In order to see the problem, you can run these commands:
git clone https://github.com/paketo-buildpacks/samples
cd samples/python/pip
echo "psycopg2==2.9.5" >> requirements.txt
pack build pip-sample --buildpack paketo-buildpacks/python --builder paketobuildpacks/builder:full

which results in an error about missing Python headers:
      ./psycopg/psycopg.h:35:10: fatal error: Python.h: No such file or directory
       #include <Python.h>
                ^~~~~~~~~~
      compilation terminated.

Possible Solution
Include development headers in appropriate environments (potential candidates: CPATH, CPPPATH, PKG_CONFIG_PATH, INCLUDE_PATH) or symlink them into one of the default include directories (not sure that will work properly).
Motivation
The lack of development headers makes it hard to install any Python packages implemented in C (C extensions) that don't provide wheels for the platform. One such package is psycopg2 which purposefully doesn't provide source distribution to allow usage of system's own libraries on production systems.

@Jackenmen thanks for reporting this. I agree it's an issue. Thank you for provide a clear, simple reproduction. I was able to reproduce the issue quickly.
I'll prioritize this for us to fix, and keep you updated with our progress.

For maintainers' reference, the header files are present on the resultant image, so the pre-compiled CPython dependency is probably fine. It's more likely that we need to set/append an environment variable to point to the correct location (as suggested above).
git clone https://github.com/paketo-buildpacks/samples
cd samples/python/pip
# no modifications to the requirements.txt file
pack build pip-sample --buildpack paketo-buildpacks/python --builder paketobuildpacks/builder:full
docker run --rm -it --entrypoint launcher pip-sample ls -alh /layers/paketo-buildpacks_cpython/cpython/include/python3.10/Python.h
-rw-r--r-- 1 cnb cnb 3.2K Jan  1  1980 /layers/paketo-buildpacks_cpython/cpython/include/python3.10/Python.h

Also for reference, this is the run-time environment using the same app image as above. It might be slightly different from the build-time environment, but should be a useful starting-off point.
docker run --rm -it --entrypoint launcher pip-sample env
LD_LIBRARY_PATH=/layers/paketo-buildpacks_pip-install/packages/lib:/layers/paketo-buildpacks_cpython/cpython/lib
HOSTNAME=00e87b622780
OLDPWD=/workspace
PWD=/workspace
HOME=/home/cnb
PYTHONPYCACHEPREFIX=/home/cnb/.pycache
TERM=xterm
SHLVL=1
PYTHONPATH=/layers/paketo-buildpacks_pip-install/packages/lib/python3.10/site-packages:/layers/paketo-buildpacks_cpython/cpython
PATH=/layers/paketo-buildpacks_pip-install/packages/bin:/layers/paketo-buildpacks_cpython/cpython/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_=/usr/bin/env

Btw this is likely due to https://github.com/pypa/setuptools/issues/3657 which was a setuptools regression in header autodetection, which first appeared in setuptools 65.2.0 and was fixed in setuptools 67.2.0.
The Heroku Python CNB currently explicitly sets CPATH to work around the issue (though it's less important now that the issue has been fixed in setuptools):
https://github.com/heroku/buildpacks-python/blob/e618353b041f00c4b57201ecfbcfd9b69d3fcc58/src/layers/python.rs#L270-L283


code blocks not rendered online when using code::

I export .rst files from jupyter notebooks to create tutorials.
in this export, code blocks are encoded as:
.. code:: ipython3
When I generate html with sphinx locally, the code blocks render correctly.
But on readthedocs, the blocs are invisible.
I checked that if I just change the line from:
.. code:: ipython3
to
.. code-block:: ipython3
Then it works both locally and online.

Looks like a problem related to your build on read the docs, I'm guessing a mismatch of the sphinx version. You need to use a requirements file with the same sphinx version you are using locally https://docs.readthedocs.io/en/stable/guides/specifying-dependencies.html If your problem persists, please open an issue in https://github.com/readthedocs/readthedocs.org with a link to your project


How does cabernet sync m3u file updates

My stream urls have a token in them http://blahblah.blah/TOKEN/streamid/
These change when the m3u file refreshes.
How does cabernet sync the updates with custom changes? will it think these are new channels or does ot match up on the EXTINF information?
Only, i made some changes and then they disappeared after i forced a refresh.
Thanks

There is little info you have provided in order to answer your question.

What plugin are you talking about?
What stream url are you talking about?  Is it the one in the M3U file or something the M3U stream pulls in from that M3U URL?

If you are saying the M3U file changes and you want to pull the new M3U file, often.  The simple answer is to add a scheduler event that meets your update requirement and to change the minimum channel update rate to under that time.

Hi,

Using the m3u plugin
The url to the m3u file itself.

This file appears to change on a schedule i do not know, out of my control, and it changes in such a way that the urls for the streams all change.
My query is that if the urls per-stream change, will cabernet be able to cope with this, or will it view them as new channels?
How does it determine what is a 'new' channel in the list vs something it already had?
m3u4u for example, thinks that there is an entirely new set of channels so and custom configuration such as enabled/disabled is lost.
Thanks

First, if the m3u URL changes, then that is a big issue since the M3U plugin assume the M3U URL is static.  You can write a plugin to handle such issues, but the M3U plugin assume the m3u setting is static.
If you have the correct m3u URL, then when it pulls things down, it will determine channel uniqueness based on the channel UID in the m3u file.  If that stays the same, then the channel will not change.  If the UID is not present, then I believe it will use the channel name to determine uniqueness.

Thanks for the info. My url does indeed change so i will just proxy this somehow.
I do not have UID but the name does not change so i should be ok in this case.
Thanks


fix: Fixed Assert_util function to prevent False pass in Timeout

Fixed Assert_util function to prevent False pass in Timeout

:tada: This PR is included in version 1.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add checking es5 task to build cycle but, the es-check module has some problem

I added a task to our build cycle to check whether bundled javascript is es5 or not. but the es-check module has some problems.
I think we have to find another module or fix the es-check.
1. Feature
1. When pass build (no have es6 syntax)
> Task :ngrinder-frontend:checkES5
ES-Check: Going to check files using version 5
ES-Check: checking ../ngrinder-controller/build/classes/main/static/js/app.js
ES-Check: there were no ES version matching errors!  🎉

BUILD SUCCESSFUL in 50s
24 actionable tasks: 23 executed, 1 up-to-date

2. When failed build (have es6 syntax)
> Task :ngrinder-frontend:checkES5
ES-Check: Going to check files using version 5
ES-Check: checking ../ngrinder-controller/build/classes/main/static/js/app.js
ES-Check: failed to parse file: ../ngrinder-controller/build/classes/main/static/js/app.js
 - error: SyntaxError: The keyword 'const' is reserved (102:144568)
ES-Check: there were 1 ES version matching errors.

          ES-Check Error:
          ----
          · erroring file: ../ngrinder-controller/build/classes/main/static/js/app.js
          · error: SyntaxError: The keyword 'const' is reserved (102:144568)
          · see the printed err.stack below for context
          ----

          SyntaxError: The keyword 'const' is reserved (102:144568)
    at Parser.pp$4.raise (/Users/user/.npm/_npx/55223/lib/node_modules/es-check/node_modules/acorn/dist/acorn.js:2825:15)

...

> Task :ngrinder-frontend:checkES5 FAILED

FAILURE: Build failed with an exception.

BUILD FAILED in 33s
21 actionable tasks: 18 executed, 3 up-to-date

2. es-check module issue
It does not catch some es6 keywords like Object.assign, Promise
Actually, When I test with the below script, es-check passes the task even if it has es6 syntax.
// es-check-testing.js

var myPromise = new Promise(function(resolve, reject) {
	resolve();
	reject();
});

var o1 = { a: 1 };
var o2 = { b: 2 };
var o3 = { c: 3 };

var obj = Object.assign(o1, o2, o3);

npx es-check es5 ./es-check-testing.js --verbose

ES-Check: Going to check files using version 5
ES-Check: checking ./es-check-testing.js
ES-Check: there were no ES version matching errors!  🎉

Relevant issues below.
https://github.com/dollarshaveclub/es-check/issues/122
https://github.com/dollarshaveclub/es-check/issues/72

As far as I understand ,es-check checks if it contains illegal syntax or not. Object.assign, Promise is not syntax but Identifier (which is provided by node).  Object.assign, Promise stuff should be handled by something else. However, embedding es-check is better to have, otherwise we may miss the syntax error stuff.
Just adopt es-check.

As far as I understand ,es-check checks if it contains illegal syntax or not. Object.assign, Promise is not syntax but Identifier (which is provided by node).  Object.assign, Promise stuff should be handled by something else. However, embedding es-check is better to have, otherwise we may miss the syntax error stuff.
Just adopt es-check.

@junoyoon
Yes, It can't completely check that the bundled code can run in IE, but I have adopted it.


Daux cleans target directory

Expected: replace target files leave the rest of the files alone
This can be a problem when the documentation points to file you want to keep in the same directory.

Is this still a request ?
If yes can you explain a bit more on why you would need that feature ?
Thanks in advance.

If you have files you refer to from the documentation which you want to keep in the same directory. Then every time you regenerate the documentation you would have to copy those files back into the directory (because they have been deleted). Which requires you to create additional scripts.

Now you can put any kind of files in the documentation source directory and they will be copied to the compiled documentation. Can you try it with the latest development branch ?

I close this as there is no news, you can put any type of file in the documentation source and it is tranferred on compilation


Calling "vmq-admin bridge show" under high load

Apparently this can crash the bridge application, when called under high load. (haven't directly experienced it).
Investigation is needed to make vmq-admin bridge show fail or timeout safely.

Did you get any logs or traceback from this?

It's not entirely clear. The following snippet might be related (or not). High load means a lot of messages in the buffer of the bridge. I also need to test whether it's safe to call when the bridge plugin is offline (or trying to re-connect actually). It's almost like a situation where you would trace something and by tracing affecting the performance.
So my idea was just to think through it and ensure the queries are 'safe'.

[error] <0.439.0> Supervisor vmq_bridge_sup had child {vmq_bridge,"<IP_ADDRESS>",1883} started  with vmq_bridge:start_link(tcp, "<IP_ADDRESS>", 1883, {vmq_reg,direct_plugin_exports,[vmq_bridge]}, [{cleansession,false},{client_id,"bridgeclient.br0"},{keepalive_interval,60},{restart_timeout,10},...]) at <0.22112.2> exit with reason {timeout,{gen_fsm,sync_send_all_state_event,[<0.22115.2>,info]}} in context child_terminated

Getting this too... memory utilisation of beam.smp was slowly creeping up so I ran bridge show and looks like I lost 55,000 messages...
2020-05-21 07:59:22.202 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,38240}] #Port<0.4719>
2020-05-21 08:14:55.810 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,47711}] #Port<0.4719>
2020-05-21 08:18:11.535 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,40404}] #Port<0.4719>
2020-05-21 08:19:57.315 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erts_internal,port_command,3}},{message_queue_len,36456}] #Port<0.4719>
2020-05-21 08:30:53.107 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,23925}] #Port<0.24185>
2020-05-21 08:38:30.916 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{prim_inet,send_recv_reply,2}},{message_queue_len,44288}] #Port<0.24185>
2020-05-21 08:39:33.579 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{prim_inet,send_recv_reply,2}},{message_queue_len,46890}] #Port<0.24185>
2020-05-21 08:43:46.481 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{prim_inet,send_recv_reply,2}},{message_queue_len,49500}] #Port<0.24185>
2020-05-21 08:44:56.364 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{prim_inet,send_recv_reply,2}},{message_queue_len,51294}] #Port<0.24185>
2020-05-21 08:44:58.274 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,51363}] #Port<0.24185>
2020-05-21 08:48:01.685 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erts_internal,port_command,3}},{message_queue_len,55302}] #Port<0.24185>
2020-05-21 08:48:48.015 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{prim_inet,send_recv_reply,2}},{message_queue_len,55525}] #Port<0.24185>
2020-05-21 08:48:57.400 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.26018.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{prim_inet,send_recv_reply,2}},{message_queue_len,55865}] #Port<0.24185>

I ran `vmq-admin bridge show` here and and got a similar message to this from a similar failure another time:
RPC to '<user>@<ip>' failed: {'EXIT',
                                            {timeout,
                                             {gen_server,call,
                                              [<8973.25657.0>,info]}}}

2020-05-21 08:50:30.743 [error] <0.26015.0> gen_server <0.26015.0> terminated with reason: {timeout,{gen_fsm,sync_send_all_state_event,[<0.26018.0>,info]}} in gen_fsm:s
ync_send_all_state_event/2 line 273
2020-05-21 08:50:30.744 [error] <0.26015.0> CRASH REPORT Process <0.26015.0> with 2 neighbours exited with reason: {timeout,{gen_fsm,sync_send_all_state_event,[<0.26018
.0>,info]}} in gen_fsm:sync_send_all_state_event/2 line 273
2020-05-21 08:50:30.744 [error] <0.452.0> Supervisor vmq_bridge_sup had child {vmq_bridge,"<IP_ADDRESS>",1883} started with vmq_bridge:start_link(tcp, "<IP_ADDRESS>
", 1883, {vmq_reg,direct_plugin_exports,[vmq_bridge]}, [{cleansession,false},{client_id,"CCMINTMQT01.br0"},{keepalive_interval,60},{restart_timeout,10},...]) at <0.2601
5.0> exit with reason {timeout,{gen_fsm,sync_send_all_state_event,[<0.26018.0>,info]}} in context child_terminated

2020-05-21 08:56:22.900 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.8115.6> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,698}] #Port<0.24371>
2020-05-21 08:56:23.507 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.8115.6> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erts_internal,port_command,3}},{message_queue_len,713}] #Port<0.24371>
2020-05-21 08:58:01.515 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.8115.6> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,444}] #Port<0.24371>
2020-05-21 08:58:09.113 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.8115.6> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,419}] #Port<0.24371>
2020-05-21 08:58:10.270 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.8115.6> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,417}] #Port<0.24371>

And by memory utilisation, I am talking about it had crept up from ~3% to ~7% on a 32GB server

When we do a vmq_admin bridge show command, we ask the MQTT worker in the bridge for information:
https://github.com/vernemq/vernemq/blob/9a328f053b7ee0d8e3fe4aadf9629d0fed2ea567/apps/vmq_commons/src/gen_mqtt_client.erl#L164
We do this in a synchronous call because we expect an answer:
https://github.com/vernemq/vernemq/blob/9a328f053b7ee0d8e3fe4aadf9629d0fed2ea567/apps/vmq_commons/src/gen_mqtt_client.erl#L540
This is a lightweight call, it just asks the process to send back what some of its state variables are.
But: I believe there is the default timeout of 5000 here (5 seconds).
Now, the FSM mailbox is always FIFO. But even if the info call is an all-state event (the info event could be consumed from the mailbox in any state), in case of overload, there could be a lot of other events to be handled before the state machine gets to the info call.
And the timeout terminates the calling function by design.
This gives us a couple of options, one is setting the timeout to infinity, another switching to an async event (using  send_all_state_event() and handling the reply out of band.

An additional note on the busy_port logs:
This is the virtual machine monitoring itself telling us that it has detected a port (TCP socket here) that is suspending its sending process, because internally the buffers are full.
What busy means, is defined by the following configuration values for the TCP socket.

high_msgq_watermark
high_watermark
low_msgq_watermark
low_watermark

The default for this is 8KB upper watermark and half of it for the lower watermark. This is a default set by the VM, but it can be changed.
When there's more than 8KB buffered, the sending process is suspended until buffered data falls under 4KB.
The monitor tells us what port is busy, and what process is being punished by the VM. It's the MQTT bridge worker, and it has a queue (mailbox) of up to 55k events here. (the message_queue_len is the mailbox of that process, not the watermark queue).
Those events are anything: MQTT Publishs, Acks, Retries, even the vmq-admin bridge show command somewhere in there...
On a higher level, the solution to similar problems is probably more concurrency, but I wonder what actually setting the high_watermark and low_watermark would do here. I actually do not know why they are at 8KB/4KB as a default, and if that was meant by VM authors to be kept.
Second, we want to minimise ACKS by setting the max_inflight_window very high in the vernemq.conf (a couple of hundreds probably).
Third: specifics like TCP buffer sizes... and actual bandwidth delay product.

Yeah, I think experimenting with the watermarks is not a bad idea here, it could even be a setting the user can set. RabbitMQ mqtt actually allows that. and yeah usually this issue could be solved with more concurrency

The bandwidth delay in this bridge is nominally about 4MB. System networking buffers have been tuned accordingly.
net.core.rmem_default = 2043712
net.core.rmem_max = 8388608
net.core.wmem_default = 2043712
net.core.wmem_max = 8388608
net.ipv4.tcp_mem = 383196       2043712 8388608
net.ipv4.tcp_rmem = 65535       2043712 8388608
net.ipv4.tcp_wmem = 65535       2043712 8388608
After a restart of the vernemq service:
2020-05-22 07:46:52.844 [info] <0.172.0>@vmq_sysmon_handler:handle_event:95 monitor busy_port <0.2229.0> [{initial_call,{gen_mqtt_client,init,1}},{almost_current_function,{erlang,port_command,3}},{message_queue_len,2010}] #Port<0.28>
2020-05-22 07:46:53.824 [info] <0.172.0>@vmq_sysmon_handler:handle_event:100 monitor got {suppressed,port_events,7}
Send_Q on the bridge TCP socket is currently 21751

@elduds allright, for context, how many messages per second does the bridge have to forward at this point?

Attaching to Verne (sudo vernemq attach), you could verify buffer sizes etc.
For instance, asking for the 5 sockets that sent out the most data, then inspecting that socket:
(VerneMQ@<IP_ADDRESS>)9> recon:inet_count(send_cnt, 5).
[{#Port<0.44>,125,[{send_cnt,125}]},
 {#Port<0.48>,1,[{send_cnt,1}]},
 {#Port<0.5>,1,[{send_cnt,1}]},
 {#Port<0.17>,0,[{send_cnt,0}]},
 {#Port<0.16>,0,[{send_cnt,0}]}]
(VerneMQ@<IP_ADDRESS>)10> rp(recon:port_info(#Port<0.44>)).
[{meta,[{id,352},{name,"tcp_inet"},{os_pid,undefined}]},
 {signals,[{connected,<0.2817.0>},
           {links,[<0.2817.0>,<0.60.0>]},
           {monitors,[]}]},
 {io,[{input,8264},{output,48}]},
 {memory_used,[{memory,44},{queue_size,0}]},
 {type,[{statistics,[{recv_oct,8585},
                     {recv_cnt,68},
                     {recv_max,476},
                     {recv_avg,126},
                     {recv_dvi,18},
                     {send_oct,13515},
                     {send_cnt,137},
                     {send_max,1524},
                     {send_avg,98},
                     {send_pend,0}]},
        {peername,{{127,0,0,1},35552}},
        {sockname,{{127,0,0,1},35472}},
        {options,[{active,true},
                  {broadcast,false},
                  {buffer,1460},
                  {delay_send,false},
                  {dontroute,false},
                  {exit_on_close,true},
                  {header,0},
                  {high_watermark,8192},
                  {keepalive,false},
                  {linger,{false,0}},
                  {low_watermark,4096},
                  {mode,binary},
                  {nodelay,true},
                  {packet,4},
                  {packet_size,0},
                  {priority,0},
                  {recbuf,1062000},
                  {reuseaddr,true},
                  {send_timeout,infinity},
                  {sndbuf,2626560}]}]}]
ok
(VerneMQ@<IP_ADDRESS>)11>

To detach from Verne, use ctrl+g, then q

Attaching to Verne (sudo vernemq attach), you could verify buffer sizes etc.

This is great, thanks. I've verified that sndbuf on the bridge socket is about what I expected at  {sndbuf,4105728}]}]}]
Seems to have been stable with max_inflight_messages = 500 will continue to monitor.


Add a Web Dynpro ABAP App to Your Portal Site

Tutorial URL: https://developers.sap.com/tutorials/cp-portal-cloud-foundry-webdynpro-app.html
Please specify the step you are referring to
Step 5: Launch the app:
Upon opening the WebDyn Pro application via Launchpad, the following error is yielded:

Service cannot be reachedWhat has happened?URL call was terminated because the corresponding service is not available.
NoteThe termination occurred in system with error code 404 and for the reason Not found.

What can I do?Select a valid URL.HTTP 404 - Not foundYour SAP Internet Communication Framework Team

Hi - can you please open up a ticket for this issue.  It seems to be something technical that only the dev team can help with.
Thanks Lindsay

Sure, Lindsay.
Where can I open up such a ticket?

Trying to find out for you - will get back to you soon.

Hi,
Can you try to add /sap/bc to the ES5 destination URL, can you try to see if this solved the issue?
Here is the complete URL: https://sapes5.sapdevcenter.com/sap/bc
Thanks,
Iris.

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


No force_matplotlib in current version

The force matplotlib feature is awesome! Big thank you to who created it. When I do the pip install this feature is not in the package. Not sure why this is, I'm pretty new to this. Looks like there is a version 25 but the pip install gives version 24. I was able to get it to work by downloading the code from GIT and modifying the shap package directly.
Just thought you may like to know that this awesome functionality is tough to get right now. That being said I could be doing something incorrectly on my end!

That's because I still need to tag a new release for pip. I'll do that here shortly.