proposal: all: decouple standard library from runtime/compiler

At the moment, the Go standard library is strongly coupled with the particular compiler in use. This is problematic for other compilers that would like to use a different runtime. For example:

The reflect package is bundled with the standard library, while the specific RTTI format may differ between compilers. Other compilers will have to override this package to implement their own.
The time package calls runtime.nanotime directly, runtime.nanotime is not exported by the runtime, of course, but the time package calls it with some //go:linkname magic. This is not a public nor stable API. Compilers that use a different runtime will need to keep track of such changes and play catch-up every Go release. It would be much more useful if there was a more-or-less stable interface that is at least well documented.
A compiler must use one of the supported GOOS/GOARCH combinations in build tags, otherwise the standard library will fail to compile. For example, if you use GOOS=none or GOARCH=avr for bare-metal targets, many standard library packages will fail to compile.
Go uses a special assembly syntax only supported by gc. The rest of the world uses standard assembly formats leading to friction (see c2goasm, for example). This problem comes up in a few places, for example many functions in the math package are implemented in assembly, even though they might just call fallback functions written in Go. A new Go compiler would either have to parse this custom assembly format with uncommon calling convention, or provide the necessary symbols that call through to the fallback functions.

This close coupling is painful for Go compilers that try to do something unconventional. For example:

TinyGo compiles Go code for bare metal microcontrollers. Because the standard library doesn't support it, it pretends to be linux/arm for all baremetal targets which is not optimal but ~works. TinyGo also overrides a select list of standard library packages (reflect, runtime, os but not os/user). This feels like a hack. (Note: I'm the original author of TinyGo).
GopherJS had to resort to hacks to get the standard library to compile by supplementing and overriding some symbols on the AST level.

I would like to propose to somehow separate the standard library from the compiler and runtime implementation. For example, the platform- and compiler-independent bits of the standard library could be shipped as a new Go module while packages that are closely related to the compiler/runtime could be bundled with the compiler. This may not only be useful for other compilers, but also for more invasive changes to the standard library in the future.
This is not a new proposal. @ianlancetaylor has proposed something like this before and I support this, although I might disagree with the exact list of core packages in this proposal.

I believe @bradfitz had similar ideas in the past for the http-related packages, since the need to move faster pushed the development onto the x/net repository.
I think this is a great idea and it should happen in the long run; my only worry is making the process smooth and well executed.
I also imagine @bcmills @ianthehat @rsc will have some strong opinions here.

Another feature in this area is to let the runtime and stdlib support third-party compilers implementing other languages, as with Kotlin & Clojure in the Java ecosystem.

As someone who works on custom Go compilers and special environments like embedded software and kernel-level software, I fully support this.

For example, the platform- and compiler-independent bits of the standard library could be shipped as a new Go module while packages that are closely related to the compiler/runtime could be bundled with the compiler.

Partially related discussion in #30241 and golang-dev thread, which focus on the creation of two special modules std and cmd in 1.13.

As an idea, I support this.  But as always the details are complex.  To make this happen will require more than expressing a desire: it will require a plan for an end goal and specific steps to reach that goal.

In the abstract, separating these pieces sounds like a good idea, but the concrete details matter and their costs may outweigh the benefit. What this proposal needs specifically is concrete detail about exactly what to do to achieve this idea, what the implications would be for other parts, and so on. This separation would be a major change so there would be a lot to consider.
For example, the first concern I would have is how this interacts with the release process and making sure that Go releases remain well tested. If the runtime/compiler and standard library have to be released separately then there is twice as much testing, more combinations to worry about, and so on. That's an example of a cost to doing this. There are more.
If the motivation is TinyGo and GopherJS, then perhaps a narrower focus would be equally helpful. If there are specific packages that could be made easier to drop into other systems (for example by moving code between files and/or adding appropriate build tags), that is much simpler with lower cost.
It's hard to believe the runtime package in particular would ever be separated from the compiler, but maybe the rest could.

Probably should be re-opened and tagged NeedsInvestigation instead of WaitingForInfo.
@bcmills @rsc

I think leaving this closed is correct for now.  We don't need issues open for abstract ideas.  Those kinds of issues just sit around untouched for years without adding any value to the project.

Hmmm, it's not really an abstract idea.  It's something that's really desirable to get thought through then implemented.  Can't really do that if it's been closed. :frowning:

Experience shows pretty clearly that the issue tracker is not a good place to think through a complex subject.  The biggest problem is the lack of threading, and a secondary problem is the fact that when there are many comments GitHub hides the ones in the middle.  Without a specific focus we see that conversations on the issue tracker spin off and become impossible to track.

I agree there is no concrete proposal yet. I'll work on one when I get to that again...
But to reply to a few specific concerns:

If the runtime/compiler and standard library have to be released separately then there is twice as much testing, more combinations to worry about, and so on.

This is not my intention. Basically everything would mostly stay as it is. In particular:

It's hard to believe the runtime package in particular would ever be separated from the compiler, but maybe the rest could.

No, that's not the intention. There are basically 3 components here, (over)simplifying a bit:

The compiler.
The runtime. With this I mean the packages runtime, reflect, sync, and various internal packages used by the net and os packages related to scheduling. Also: the implementation of time.Sleep that actually lives in the runtime package.
The standard library, which is all importable packages under the src directory in the source tree excluding the runtime packages.

My proposal would be to define a clearly defined (and perhaps versioned) API between the runtime and the stdlib. The compiler<->runtime interaction would mostly remain an implementation detail, just as it is now. This allows compilers to provide their own runtime implementation while reusing the (rest of) the standard library.
Probably the most difficult part here is namespacing. For example, while the net package is closely coupled with the runtime, the net/http package is not. Same with os and os/exec (I think).

I hope to write down a more formal proposal in the future, but hope that this makes it all a bit more clear what this proposal is and is not about.


⚠ Processors has degraded performance

In 1e19a2f, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 135 ms

Resolved: Processors performance has improved in 615a736.


ci: update-deps.yml is failing

Description
After updating it to @v2 the api-token seems to cause the workflow to fail / not even run
example: https://github.com/getsentry/sentry-kotlin-multiplatform/actions/runs/7270442573

my guess is secrets.CI_DEPLOY_KEY is empty in the repo settings?


Error downloading stash for standard

[13-12-2015 16:23] Error downloading stash for Standard, exception details: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, Boolean refresh)
at POEApi.Transport.CachedTransport.GetStash(Int32 index, String league, Boolean refresh)
at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)
at POEApi.Model.POEModel.GetStash(String league, String accountName)
[13-12-2015 16:23] System.Exception: Downloading stash for Standard, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues
at POEApi.Model.POEModel.GetStash(String league, String accountName)
at Procurement.ViewModel.LoginWindowViewModel.LoadStashItems(Character character)
at Procurement.ViewModel.LoginWindowViewModel.d__6.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.b__1()
at System.Threading.Tasks.Task.Execute()
any thoughts on this trying to do the new league for procurement, version 1.9.6 up to date

Please see https://github.com/Stickymaddness/Procurement/issues/284


Feature: limit method

This PR adds a limit() method to Ray.  The method allows limiting the number of payloads sent by a particular ray() call, and is meant to be used when debugging loops.
for($i = 1; $i <= 10; $i++) {
    ray()->limit(2)->text("A counter: $i"); // counts to 2
    ray()->limit(3)->text("B counter: $i"); // counts to 3
}

This PR also:

Is meant to complement PR #457.
Is related to issue #456.
Includes unit tests.
Updates the documentation with limit() examples and reference.

I think the added complexity for determing whether a rate limit message was sent is not worth it.
Could you remove those parts again and make the PR as simple as it can be.
My apologies for the extra work.

@freekmurze I've significantly reduced the complexity of the PR by removing the 'rate limit active' message and making a few other changes.
The PR description has been updated to reflect these changes.

Very nice, I'm glad that we could get rid of the extra complexity 👍


Update distributed-workload manifests for v0.0.4 Release

This is an automated PR to update distributed-workload manifests

Testing only


WIP: Platform specific api

Not sure from where you should be able to access it, currently it is exposed in Window

Closed due to inactivity and it'll be a pain to merge master with this anyway


why is  process of Eclipse on Console different from IntelliJ IDEA

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.04.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.04.17

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
data from console on Eclipse
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-o', 'C:\\Users\\mgr001\\Desktop\\%(id)s.%(ext)s', 'pic.twitter.com/H87RNTZfQq']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2017.04.17
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-85469-gf1d80bc, ffprobe N-85469-gf1d80bc
[debug] Proxy map: {}
[generic] H87RNTZfQq: Requesting header
WARNING: The url doesn't specify the protocol, trying with http
[generic] H87RNTZfQq: Downloading webpage
[generic] H87RNTZfQq: Extracting information
WARNING: Falling back on generic information extractor.
[redirect] Following redirect to https://twitter.com/CNN/status/855295172220813312/video/1
[twitter]<PHONE_NUMBER>20813312: Downloading webpage
[twitter:card]<PHONE_NUMBER>20813312: Downloading webpage
[twitter:card]<PHONE_NUMBER>20813312: Downloading m3u8 information
[debug] Invoking downloader on 'https://video.twimg.com/amplify_video/855295033481625600/pl/1280x720/y2x3pTEVOXNY40as.m3u8'
[download] Destination: C:\Users\mgr001\Desktop\855295172220813312.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
' -i https://video.twimg.com/amplify_video/855295033481625600/pl/1280x720/y2x3pTEVOXNY40as.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:C:\Users\mgr001\Desktop\855295172220813312.mp4.part'
ffmpeg version N-85469-gf1d80bc Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 92.100 / 57. 92.100
  libavformat    57. 72.100 / 57. 72.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.100 /  4.  7.100
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Input #0, hls,applehttp, from 'https://video.twimg.com/amplify_video/855295033481625600/pl/1280x720/y2x3pTEVOXNY40as.m3u8':
  Duration: 00:01:24.12, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:C:\Users\mgr001\Desktop\855295172220813312.mp4.part':
  Metadata:
    encoder         : Lavf57.72.100
    Stream #0:0: Video: h264 (Main) ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   51 fps=0.0 q=-1.0 size=     303kB time=00:00:01.76 bitrate=1405.5kbits/s speed=2.84x
frame=   89 fps= 70 q=-1.0 size=     476kB time=00:00:03.01 bitrate=1291.7kbits/s speed=2.39x
frame=  133 fps= 73 q=-1.0 size=     611kB time=00:00:04.45 bitrate=1123.5kbits/s speed=2.46x
frame=  171 fps= 73 q=-1.0 size=     802kB time=00:00:05.73 bitrate=1145.7kbits/s speed=2.45x
.............

frame= 2427 fps= 60 q=-1.0 size=   11173kB time=00:01:21.01 bitrate=1129.8kbits/s speed=2.01x
[ffmpeg] Downloaded 11670829 bytes
frame= 2488 fps= 60 q=-1.0 size=   11301kB time=00:01:23.03 bitrate=1114.9kbits/s speed=2.01x
frame= 2521 fps= 61 q=-1.0 Lsize=   11397kB time=00:01:24.10 bitrate=1110.2kbits/s speed=2.04x
video:10011kB audio:1315kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.628751%

[download] 100% of 11.13MiB

---
data from console on  IntelliJ IDEA

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-o', 'C:\\Users\\mgr001\\Desktop\\%(id)s.%(ext)s', 'pic.twitter.com/H87RNTZfQq']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2017.04.17
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-85469-gf1d80bc, ffprobe N-85469-gf1d80bc
[debug] Proxy map: {}
[generic] H87RNTZfQq: Requesting header
WARNING: The url doesn't specify the protocol, trying with http
[generic] H87RNTZfQq: Downloading webpage
[generic] H87RNTZfQq: Extracting information
WARNING: Falling back on generic information extractor.
[redirect] Following redirect to https://twitter.com/CNN/status/855295172220813312/video/1
[twitter]<PHONE_NUMBER>20813312: Downloading webpage
[twitter:card]<PHONE_NUMBER>20813312: Downloading webpage
[twitter:card]<PHONE_NUMBER>20813312: Downloading m3u8 information
[debug] Invoking downloader on 'https://video.twimg.com/amplify_video/855295033481625600/pl/1280x720/y2x3pTEVOXNY40as.m3u8'
[download] Destination: C:\Users\mgr001\Desktop\855295172220813312.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Language: en-us,en;q=0.5
' -i https://video.twimg.com/amplify_video/855295033481625600/pl/1280x720/y2x3pTEVOXNY40as.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:C:\Users\mgr001\Desktop\855295172220813312.mp4.part'
ffmpeg version N-85469-gf1d80bc Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 92.100 / 57. 92.100
  libavformat    57. 72.100 / 57. 72.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.100 /  4.  7.100
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Input #0, hls,applehttp, from 'https://video.twimg.com/amplify_video/855295033481625600/pl/1280x720/y2x3pTEVOXNY40as.m3u8':
  Duration: 00:01:24.12, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:C:\Users\mgr001\Desktop\855295172220813312.mp4.part':
  Metadata:
    encoder         : Lavf57.72.100
    Stream #0:0: Video: h264 (Main) ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[ffmpeg] Downloaded 11670829 bytes
[download] 100% of 11.13MiB
frame= 2521 fps= 61 q=-1.0 Lsize=   11397kB time=00:01:24.10 bitrate=1110.2kbits/s speed=2.04x
video:10011kB audio:1315kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.628751%

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):
- Single video: pic.twitter.com/H87RNTZfQq

---

### Description of your *issue*, suggested solution and other information
I download the video from twitter, but I found one  problem in different IDE. I also found different in youtube.
I run the  code on Eclipse and Intellij IDEA, but I found on IDEA it losts the process of the download  just like "frame=  171 fps= 73 q=-1.0 size=     802kB time=00:00:05.73 bitrate=1145.7kbits/s speed=2.45x
.............", so I need to kown why and hope   Eclipse also has the  process of the download.
Thank you !

Offtopic.


Lookahead optimizer: Initialize slow vars when adding slot

Description
Initialize the "slow" vars of the lookahead optimizer when adding the slot instead of during the first iteration.
Sine variables might not be present during the first initialization, so that they are never be initialized to the correct value with the old behavior.
Fixes #2351.
Type of change

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

Checklist:

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

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

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

How Has This Been Tested?
@axeldavy tested the change in #2351. I ran a short training with the modified optimizer and confirmed that it still works.

@cyberzhg
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

@cyberzhg
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.


feat: HTML report framework

Tell us about the problem you're trying to solve
As a user, I want to generate an HTML report for all the metrics, so that It is easily sharable
Describe the solution you’d like

CLI: While running the inspect command we will add the optional parameter --report and it will generate an HTML single page report for all the metrics
Programeric: Inspect class will have another method generate_report which will take the file name and generate dashboard for all the metrics.

Closed by #116


Update documentation concerning dockerhub IPv6 support

How to categorize this PR?

/area documentation
/area networking
/kind enhancement
What this PR does / why we need it:
Update documentation concerning dockerhub IPv6 support.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
Release note:

/ping @ScheererJ

@acumino @ialidzhikov PTAL.

/cla


Plugin order

Is there a specific order in which it needs to be inserted in the plugins array? I have other plugins in my setup like DefinePlugin, ExtractTextPlugin, OccurenceOrderPlugin, DedupePlugin, etc...
I tried putting it at the end but webpack doesn't output any files anymore.

Show me your plugins array.
I tested plugin with obfuscator at the end of array:
     plugins: [
            new webpack.optimize.CommonsChunkPlugin({
                name: 'vendor',
                filename: 'vendor.js',
                minChunks: Infinity
            }),
            new webpack.optimize.CommonsChunkPlugin({
                name: 'app',
                filename: 'app.js',
                minChunks: 4,
                chunks: [
                    'app'
                ]
            }),
            new webpack.optimize.UglifyJsPlugin({
                compress: {
                    warnings: false
                },
                sourceMap: false,
                minimize: true,
                mangle: true
            }),
            new WebpackObfuscator({
                disableConsoleOutput: false,
                rotateUnicodeArray: true,
                encodeUnicodeLiterals: true
            }),
        ]

and before Uglify but at the end of array anyway
     plugins: [
            new webpack.optimize.CommonsChunkPlugin({
                name: 'vendor',
                filename: 'vendor.js',
                minChunks: Infinity
            }),
            new webpack.optimize.CommonsChunkPlugin({
                name: 'app',
                filename: 'app.js',
                minChunks: 4,
                chunks: [
                    'app'
                ]
            }),
            new WebpackObfuscator({
                disableConsoleOutput: false,
                rotateUnicodeArray: true,
                encodeUnicodeLiterals: true
            }),
            new webpack.optimize.UglifyJsPlugin({
                compress: {
                    warnings: false
                },
                sourceMap: false,
                minimize: true,
                mangle: true
            })
        ]

I tired also with just the obfuscator in the plugins array and still no luck.
What version of webpack are you testing with?

OK, it seems to have a problem with ExtractTextPlugin, removing that from the array it works. I'll investigate further.

Excluding the chunks named extract-text-webpack-plugin-output-filename should make it work. But the shouldExclude function doesn't seem to be called. Is this a webpack api? I don't seem to find it anywhere documented.

I updated package to 0.6.2 version, added missing shouldExclude call. Try exclude extract-text-webpack-plugin-output-filename now.


Other constraint to the vulnerable config

Seems like the SCRIPT_FILENAME also has to be filled from the split info. If the SCRIPT_FILENAME is pointing to a fixed file the exploit is not working.
E.g.:
fastcgi_param SCRIPT_FILENAME $document_root/script.php
Used for example in FaaS installs. Also the reproducer is not reliable building a vulnerable container. Would be better to point to a vulnerable tag

Seems like the SCRIPT_FILENAME also has to be filled from the split info

That's correct, added.

reproducer is not reliable

What do you mean? The reproducer builds the exact version of php before the patch.

Tried it and got the " Detect() returned error: no qsl candidates found, invulnerable or something wrong" message. Changed the dockerfile to the commit id from the 7.3.10 tag and it worked

Very strange, I just rebuilt the docker from scratch and everything works.
The idea behind providing such unusual dockerfile instead of just tag is that if someone wants to debug the exploit it will be easier to do having the source code nearby.

Okay. Didn't tried it again now but maybe it was some left over from my experiments with static SCRIPT_FILENAME. So issue can be closed


Webhook fixes

updated to deviceID
print out Hook ID upon successful creation
removed redundant if (eventName && !url && !coreID) as it is never
executed due to the if statement above
check that file extension is a .json before parsing
add prompt for empty deviceID since that’s a require param

Output:

particle webhook create my_event my_url my_id

Successfully created webhook with id: 55752ff469928dd61748b0a0

Gonna clean up and send a new PR!


Retry in waiting for pods to get running in kf addon

Fixes: https://github.com/ubuntu/microk8s/issues/1613
Adds a retry in waiting for the pods to get into Running state.

Thank you for the review @knkski


Support other Motd/Advertisements

The currently supported motd is the motd used by mojang, but other games might use another motd structure.
This could easily be added with a simple enum like:
enum Advertisement {
   MinecraftBedrock(McMotd),
   Other(String),
}

This would also allow other advertisements to be supported, from other games/applications.

I like this idea, however I will more than likely isolate MCPE behind a feature flag like it is currently. I'm also not sure if I would do this with a enum, and i'd probably go more with a trait. I'll look into this.


Company Details | Add Addresses to Fuel Suppliers |3|

https://trello.com/c/GlO1UtPh/718-company-details-add-addresses-to-fuel-suppliers-3
Story:
As a Fuel Supplier User, I want to be able to see the address of my organization in the Company Details page.
Scenario:
GIVEN that I am a Fuel Supplier User
WHEN I click on the Company Details tab
THEN I can see the address of  my Organization
Demo:
Show the Address of the Organization in the Company Details tab

 Company Details | Add Addresses to Fuel Suppliers |3|


Overlapping lines

Is it possible to resolve these overlapping lines... the last set assign referal should goto save activation_id but I'm seeing overlapping lines which is confusing...
https://www.dropbox.com/s/ky7oi5fxqecrkci/Screenshot 2014-08-05 16.42.47.png
st=>start: Create New Multisite Site
e=>end
op1=>operation: Check if URL has activation ID
sub1=>subroutine: Create Activation ID
sub2=>subroutine: Create User
sub3=>subroutine: Create Domain
sub4=>subroutine: Create Subscription
sub5=>subroutine: Assign Referal
cond=>condition: Yes or No?:
cond2=>condition: User Exists?:
io=>inputoutput: Save activation_id in plugin
io2=inputoutput: Get User
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->cond2
cond2(no)->sub2(right)->sub3
cond2(yes)->sub3->sub4->sub5->io

https://github.com/adrai/flowchart.js/pull/191 may fix this


Added Ammo to Weapon ESP

Taken from Daniel's "GOESP"

cool thanks

cool thanks

:)

I think we can add a reload time

ammo reload

what do you mean?

I think we can add a reload time

what do you mean?

i think he means the reload progress feature on GOESP

I think we can add a reload time

what do you mean?

i think he means the reload progress feature on GOESP

ok okay, i'll take a look

i can't even see what it does @Cyk-Fad i just injected GOESP enabled it and reloaded and legit nothing is happening

Oly i think it shows when other people are reloading they reload progress, like bomb defusal timer.

@RyDeem incorrect
"if (localPlayerData.inReload) {"

can you add ammo to player esp ?

@Mistrz1337 i tried it and for some reason it just displays 0 / 0

@Mistrz1337 i tried it and for some reason it just displays 0 / 0

for me too that's why i was asking

@Oly-UK  My means we can add players ammoreload time


Fix VARCHARACTER syntax

Index Issue: pingcap/tidb#11486
These are bad (incompatible) SQL cases:
create table t (a varcharacter(1));
create table t (a varcharacter(255));
create table t (a varcharacter(255), b varcharacter(1));

Claim this subtask based on the comments below this issue.

Let me fix it.


Every time it create a blank video

Describe the bug
Whenever I run the command it generate a blank video of 2KB. Please help.
Information about environment

Which version of nexrender are you using?
1.31.0
What kind of the setup do you have? (server+worker or cli)
cli
Are you using pre-built binaries or globally installed npm packages?
npm
Which kind (and version) of operating system you are running it in?
windows10

here is my json :
{   "template": {     "src": "file:///F:\\Users\\YvesDenan\\Desktop\\RUDY A RANGER\\greetandgreen POC\\assets\\template-wedding.aep",     "composition": "_MAIN Wedding Invitation",     "frameStart": 1,     "frameEnd": 9   },   "assets": [     {       "type": "data",       "layerName": "Couple NAME",       "property": "Source Text",       "expression": "Yael & Rudy",       "composition": "Couple Name"     },     {       "type": "data",       "layerName": "Your DATE",       "property": "Source Text",       "expression": "ASAP Plan A",       "composition": "Save the DATE/ Your Address"     },     {       "type": "data",       "layerName": "Wedding ADRESS",       "property": "Source Text",       "expression": "N'importe où mais vite !",       "composition": "Save the DATE/ Your Address"     }   ],   "actions":{     "postrender": [       {         "module": "@nexrender/action-encode",         "preset": "mp4",         "output": "encoded.mp4"       },       {         "module": "@nexrender/action-copy",         "input": "encoded.mp4",         "output": "F:\\Greet And Green\\results\\video.mp4"       }     ]   } }
and a screenshot of my template compositions :

Hey there, It seems there are some issues in the data you're providing to nexrender.

I think the address for template file is incorrect. Correct format would be like file:///C:/Users/Administrator/Documents/Templates/blahblahblah/blah.aep for windows file addressing. It's the same in your post-render copy action.

framestart:1 to frameend:9 means you'll render 9 frames of the video which will be 0.5 sec if it's a 20fps video.

It'd be better if you don't use spaces and uppercase letters in your composition and layer names which can lead to typo and other stuff.

I think you need the field value on assets, not expression. go take a look here: data-assets.

Hello I tried and it same :
https://gist.github.com/rudddy/281cbda51776dbcaeaa6582f56fca6bb
Thanks

Ok great
I put "composition": "main" and it generates a complete video (without personal items but a real video !)

Well done 👍🏼 .
If by personal items you mean the assets didn't work, I think you should put the data inside value field, not expression.
{       "type": "data",       "layerName": "Couple NAME",       "property": "Source Text",       "value": "Sarah & Rudy",       "composition": "Couple Name"     }
however I think you can remove composition name from assets if your layernames are unique.
{       "type": "data",       "layerName": "Couple NAME",       "property": "Source Text",       "value": "Sarah & Rudy"   }


Android HeadlessJS Crash - Tried to finish non-existent task with id

Just received a random Android crash from the crash reporting tool. I haven't been able to reproduce it, but the headless task runs every 60 minutes and is intended to finish before the 30s timeout it is given. The crash happened from a headless task that didn't run with the app previously initialized (with an UI / main activity). Crash
java.lang.AssertionError Tried to finish non-existent task with id 2.
    Assertions.java:72 com.facebook.infer.annotation.Assertions.assertCondition
    HeadlessJsTaskContext.java:164 com.facebook.react.jstasks.HeadlessJsTaskContext.finishTask
    HeadlessJsTaskContext.java:202 com.facebook.react.jstasks.HeadlessJsTaskContext$3.run
    Handler.java:873 android.os.Handler.handleCallback
    Handler.java:99 android.os.Handler.dispatchMessage
    Looper.java:214 android.os.Looper.loop
    ActivityThread.java:6986 android.app.ActivityThread.main
    Method.java:-2 java.lang.reflect.Method.invoke
    RuntimeInit.java:494 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run
    ZygoteInit.java:1445 com.android.internal.os.ZygoteInit.main

After tracing the error, I ended up here: https://github.com/facebook/react-native/blob/0.61-stable/ReactAndroid/src/main/java/com/facebook/react/jstasks/HeadlessJsTaskContext.java#L202 , here https://github.com/facebook/react-native/blob/0.61-stable/ReactAndroid/src/main/java/com/facebook/react/jstasks/HeadlessJsTaskContext.java#L111 and here https://github.com/facebook/react-native/blob/0.61-stable/ReactAndroid/src/main/java/com/facebook/react/jstasks/HeadlessJsTaskContext.java#L165
From the above I can't really tell if the task timed out and it failed to be notified, or if it finished on time, but the timeout also fired (a race condition between the is running check and the actual finish call?) causing the crash. For me this assertion seems a bit to aggressive, and it should be just a warning rather than an app crash.
React Native version:

System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
    Memory: 221.69 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.3 - /usr/local/bin/node
    npm: 6.13.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2
  IDEs:
    Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
    Xcode: 11.2.1/11B53 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.12.0 => 16.12.0
    react-native: 0.61.5 => 0.61.5
  npmGlobalPackages:
    create-react-native-app: 2.0.2
    create-react-native-module: 0.10.2
    react-native-cli: 2.0.1

Steps To Reproduce

Create a headless js task with 30 seconds timeout or so. The JS code should not exceed the timeout.
Run the task from an alarm manager, or something that allows you to run it periodically (e.g., react-native-background-fetch)
Observe the crash. Note, this crash is quite random, and happened once in a 30d time period of about 350 android devices.

Still happening.
El lun., 23 de marzo de 2020 01:24, stale[bot]<EMAIL_ADDRESS>escribió:

Hey there, it looks like there has been no activity on this issue
recently. Has the issue been fixed, or does it still require the
community's attention? This issue may be closed if no further activity
occurs. You may also label this issue as a "Discussion" or add it to the
"Backlog" and I will leave it open. Thank you for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/27597#issuecomment-602377519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALU263BOQMWEMBTXV7VKRCLRI3P67ANCNFSM4J6ZJ5CQ
.

We are also seeing this issue affect our App: 0.61.5 across a range of Android versions.
We haven't yet investigated it fully but I wonder if it might it be related to the power settings on Android devices and some of the issues which are detailed here: https://dontkillmyapp.com/
Or as you say @cristianoccazinsp a race condition that is very hard to reproduce.


Fix README.md according to Stack implementation

Conflicts #1 and #3 – Personally, I would prefer #3 over this one.
Please note: this a predecessor of #4, which subsumes it.
See #6 for deatils.

I agree with preferring #3.


Newsletter Timeline: Drop Date 1/18/17

12/20 - Open Call for Topics to Community (Tweet, Google Group, DevCall)
12/27 - Last Call for idea submissions
12/28 - Close Call for Topics
12/28 - Ana to begin initial draft + find headliner image (request design help if needed)
1/5 - Ana to finish draft
1/6 - Send email requesting feedback to Medium editors (BG, CW, FP, JW, MB)
1/12 - Send email reminder to editors - last chance to respond on 1/13
1/13 - Close feedback process for editors, make final edits
1/18 - Publish on Medium

Newsletter was not published on 1/18 delayed to February.


Invalid CVE ids in the DB

This issue records found invalid CVE id in the DB and may help to track where they come from in vulnerability processing.

CVE-2016-3092-FU

CVE-2016-3092 is valid.
http://research-fasten:9001/api/mvn/vulnerabilities/CVE-2016-3092-FU

CVE-2016-5007-SEC

CVE-2016-5007 is valid.
http://research-fasten:9001/api/mvn/vulnerabilities/CVE-2016-5007-SEC

CVE-2017-4995-JK

CVE-2017-4995 is valid, and related to Spring Security. However, CVE-2017-4995-JK mapped to FasterXML:jackson-databind

FIxed in b582e879f2c89734180c23793fcbaacf3d2ee0d5.


⚠ Fortnite has degraded performance

In 240a625, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1654 ms

Resolved: Fortnite performance has improved in 7388dbe.


Add option to disable default listeners

Problem:
When a user saves a file in the app/javascript directory, the page reloads even when using a build tool with HMR.
Solution:
This PR adds the ability to disable listing to the default paths such as 'app/javascript' by setting config.hotwire_livereload.disable_default_listeners to true like so:
config.hotwire_livereload.disable_default_listeners = true

Thanks for the contribution! Included in v1.1.0.


Assembly conflict in Azure in process function v4

Library name and version
Azure.Data.AppConfiguration
Describe the bug
Azure.Data.AppConfiguration: Method 'AsPages' in type 'FuncAsyncPageable`1' from assembly 'Azure.Data.AppConfiguration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=92742159e12e44c8' does not have an implementation.
Expected behavior
We are converting a .net3.1 inprocess function to .net6 function v4.
The assembly is getting resolved properly on the localhost, but when it is deployed to Azure fails with the following error
Azure.Data.AppConfiguration: Method 'AsPages' in type 'FuncAsyncPageable`1' from assembly 'Azure.Data.AppConfiguration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=92742159e12e44c8' does not have an implementation.
Actual behavior
Azure.Data.AppConfiguration: Method 'AsPages' in type 'FuncAsyncPageable`1' from assembly 'Azure.Data.AppConfiguration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=92742159e12e44c8' does not have an implementation.
Reproduction Steps
These are the libraries referenced in the project file:
"Azure.Identity" Version="1.4.1"
"AzureExtensions.Swashbuckle" Version="3.3.2"
"AspNetCore.HealthChecks.CosmosDb" Version="3.1.2"
"Elevate.CacheServices.Client" Version="1.1.1"
"FluentValidation" Version="10.3.3"
"Microsoft.ApplicationInsights" Version="2.20.0"
"Microsoft.Azure.Cosmos" Version="3.22.1"
"Microsoft.Azure.WebJobs.Extensions.CosmosDB" Version="3.0.9"
"Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="5.2.0"
"Microsoft.Extensions.Logging" Version="6.0.0"
"Microsoft.Extensions.Options.DataAnnotations" Version="6.0.0"
"Microsoft.NET.Sdk.Functions" Version="4.1.1"
"Newtonsoft.Json" Version="13.0.1"
Environment
No response

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

I found a StackOverflow post that describes this exact scenario and recommends adding an explicit dependency for Microsoft.Extensions.Configuration.Abstractions to 6.0.0, as the issue appears to be due to an incompatible with 7.x which is pulled in transitively via your AppConfig reference. Would you be able to try this workaround?
@fabiocav Is there any other docs we can point customers to for this issue? Is the above workaround accurate to your knowledge? I can also move this issue over to the functions host repo.

I tried as per your suggestion, but I am getting the same error:
Azure.Data.AppConfiguration: Method 'AsPages' in type 'FuncAsyncPageable`1' from assembly 'Azure.Data.AppConfiguration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=92742159e12e44c8' does not have an implementation.

@xztmp1 could you share a minimal repo?

Sorry I won't be able to share the code as it has proprietary information. This is a simple Http trigger function

Given that this appears to be an issue with the dependency resolution happening on the function host, and not locally, I will go ahead and transfer this issue to the functions host repo. The functions team should be able to debug further including having access to any server logs that may help them track down the issue.


feat: support static routes

Support optional static routes in the CNI CmdAdd result.

coverage: 69.546% (-0.05%) from 69.594%
when pulling f83e3df3e0826fd7696255ef883c190eb51c1e8b on rollandf:routes
into e033180cb3e0b766f5b60577b761c21fd286b5e8 on Mellanox:main.


This ValueListenableBuilder widget cannot be marked as needing to build because

Hi Jamal.
In my project I have 2 different page view. User view and pro view. When I switch beetwen of them I got this error and SideMenu does not display.
======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for DisplayModeNotifier:
setState() or markNeedsBuild() called during build.
This ValueListenableBuilder widget cannot be marked as needing to build because the framework is already in the process of building widgets. A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: ValueListenableBuilder
state: _ValueListenableBuilderState#6926a
The widget which was currently being built when the offending call was made was: SideMenu
dirty
dependencies: [MediaQuery]
state: _SideMenuState#27f8c
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49      throw

On my side, this error occurs when either of the two widgets are in auto mode. It won't appear if the sidebars have fixed size(either open or compact mode ) and are not bound to change with change in screen size. If one sidebar is compact and other is open, then also the issue is absent. There must be some issue with update of display mode variables. Any follow up on this ?


Inconsistent hostname naming behavior between push/map/create

Command
cf push myapp -n CRAZYTOWN  and cf map-route myapp -n CRAZYTOWN
What occurred
push downcased the hostname whereas map-route maintained the custom casing supplied.
What you expected to occur
The casing is consistently downcased (based on push being the gold standard / pattern we have used).
CLI Version
cf version 6.36.1+e3799ad7e.2018-04-04
CC API Endpoint Version
2.113.0
Platform & Shell Details
OSX 10.13.4 / regular ol bash
Any other relevant information
We've clearly got the downcasing behavior for push here but we do not downcase anywhere else.

Note: This appears to work as intended (uppercase hostname is preserved on push) on cf version 6.28.0+9e024bdbd.2017-06-27. However cf version 6.37.0+3caf345b3.2018-05-21 on push, the hostname is pushed as lowercase. Marking as a bug for eng review.

Hi,
I noticed this "good first issue" and want to start to contribute.
Since this issue has been opened long time ago, I want to ask if this is still waiting to be fixed.

Thanks for your contribution @liuxh0.
We've merged #1853  so I'm going to close this issue.


DayJS Localizer - Setting default timezone does not adjust min/max correctly in TimeGrid

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/sandbox/react-big-calendar-example-forked-kr3qfv?file=%2Fsrc%2FApp.js%3A25%2C1&workspaceId=aefb4e6d-7522-4f03-91d7-f1d6177ccdfa
Bug description
When using the dayJS localizer, setting the default timezone incorrectly and unexpectedly shifts the min/max time range.
Expected Behavior
When switching timezones, the min/max should remain as is set (or default of 12:00am -> 11:59pm)
Actual Behavior
When switching timezones, the min/max are rendered/displayed as the tz set time but min/max is still the local time (not tz adjusted)
react-big-calendar version
1.16.3
React version
17.0.2
Platform/Target and Browser Versions
Chrome
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

I can confirm I'm seeing the same issue


Bug Report - Internal Error and Console errors

What is your Quests version / build number (do not say "latest")?
Quests 4.0.0-rc. 1
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
Hello the quest plugin seems to work fine when I tested it out but it doesn't work on my public production server. When I type /quest an internal error shows up.
Console Error: https://gyazo.com/3f173e255ad1e3cb0034724487b3c21c
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
N/A (I provided the screenshot above)

@AccioAce Thanks for the report. Please try https://ci.codemc.io/job/PikaMug/job/Quests/149/


Error: active.DebugSession.configuration.python is not a string

error 10:46:51.633: Error: active.DebugSession.configuration.python is not a string: ["/root/software/miniconda3/envs/gwlan/bin/python"]

as mentioned here: https://github.com/microsoft/vscode-jupyter/issues/10012#issuecomment-1157268664

more detaiils:
error 10:47:39.392: Error: active.DebugSession.configuration.python is not a string: ["/root/software/miniconda3/envs/gwlan/bin/python"]
    at I.onVariablePanelShowDataViewerRequest (/root/.vscode-server/extensions/ms-toolsai.jupyter-2022.5.1001601848/out/extension.node.js:2:53329)
    at I.<anonymous> (/root/.vscode-server/extensions/ms-toolsai.jupyter-2022.5.1001601848/out/extension.node.js:2:805636)
    at o._executeContributedCommand (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:83:62521)
    at o.$executeContributedCommand (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:83:63225)
    at s._doInvokeHandler (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:13828)
    at s._invokeHandler (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:13512)
    at s._receiveRequest (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:12173)
    at s._receiveOneMessage (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:10843)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:8949
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at a.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:19025)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:102:34863
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at a.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:19025)
    at r._receiveMessage (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:23606)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:21140
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at v.acceptChunk (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:15856)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:14986
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at f._processReadQueue (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:102:21280)
warn 10:47:39.392: DataScience Error Error: active.DebugSession.configuration.python is not a string: ["/root/software/miniconda3/envs/gwlan/bin/python"]
    at I.onVariablePanelShowDataViewerRequest (/root/.vscode-server/extensions/ms-toolsai.jupyter-2022.5.1001601848/out/extension.node.js:2:53329)
    at I.<anonymous> (/root/.vscode-server/extensions/ms-toolsai.jupyter-2022.5.1001601848/out/extension.node.js:2:805636)
    at o._executeContributedCommand (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:83:62521)
    at o.$executeContributedCommand (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:83:63225)
    at s._doInvokeHandler (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:13828)
    at s._invokeHandler (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:13512)
    at s._receiveRequest (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:12173)
    at s._receiveOneMessage (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:10843)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:86:8949
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at a.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:19025)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:102:34863
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at a.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:19025)
    at r._receiveMessage (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:23606)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:21140
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at v.acceptChunk (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:15856)
    at /root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:66:14986
    at g.invoke (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:145)
    at w.deliver (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:2265)
    at v.fire (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:58:1843)
    at f._processReadQueue (/root/.vscode-server/bin/30d9c6cd9483b2cc586687151bcbcd635f373630/out/vs/workbench/api/node/extensionHostProcess.js:102:21280)

Thanks for filing this issue. We'll discuss this issue in standup.
@IanMatthewHuff I believe you have more background on this, i recall you mentioning the fact that we probably made an incorrect assumption about this being a string or not.

@DonJayamanne Yeah, this shows the new logging that I added. Looks like it can be an array now. I can submit a fix.

Dupe of #10007 I should be submitting a fix for this today.


what's the different between the requests-html and none-JavaScript browser?

I assume requests-html should work as a none-javascript browser, if I don't use render(). Correct me if I am wrong.
so, I met this problem with url='http://www.mysupermarket.co.uk/shelves/PersonalOffers_my_Top_Offers_in_ASDA.html':
when I open this url in a new incognito window (js disabled) to check the source code:
view-source:http://www.mysupermarket.co.uk/shelves/PersonalOffers_my_Top_Offers_in_ASDA.html, it shows me a stack of js code, but when I refresh this page, and I can see the source code which I expected. after this processing, I can easily visit any pages in this site without seen the 'stack of js code' again, which I guess I have some cookies been set up in session.
but in requests-html, it's different, when using get to retrieve page first time, r=session.get(url), the r.html.html backs the same as none-javascripted browser, but when I tried 2nd retrieve, it backs me a different source, which basically shows me 'page does exist': Sorry we couldn't find the page you requested.
here is the full code I tried (yes, I know it looks silly, but I don't know how to do the refresh in request-html):
r=session.get(url)
r=session.get(url)
print(r.html.html)

so, what am asking is, how can I deal with this in requests-html to retrieve the correct source I need? and
I don't want to use render() as the site seems support none-js visit.

Closed due to inactivity and it also seems not relevant.

Hi @2anyone
I have checked the website. Actually, the site does not support none-js visit, i have tested it my self disabling js for the site. So if you want to access you would need to call render at lest once.


Improvement for k8s.io/docs/tasks/access-application-cluster/connecting-frontend-backend/

Replace 'hello' with something else so it's easier to distinguish where which name is being used.. hard to follow the guide.
An example I can give is from the 'Creating the frontend' section, in particular the nginx configuration.
upstream hello {
    server hello;
}

server {
    listen 80;

    location / {
        proxy_pass http://hello;
    }
}

Since both the backend and frontend are named hello, it's unclear which 'hello' this refers to.

/kind cleanup
/language en
/help
/triage accepted
Thanks @BunnyFiscuit

Hi @sftim - looking for my first opportunity for contributing and I don't think it gets any safer than this ;) don't see a good first issue label on it though. Would this issue be assignable to a first timer?

I feel like to patch up things simply, we can refer it as "Hello" instead of hello at the required places where it affects the workflow. If I'm not wrong, @BunnyFiscuit is referring to the guide here : https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/

I feel like to patch up things simply, we can refer it as "Hello" instead of hello at the required places where it affects the workflow. If I'm not wrong, @BunnyFiscuit is referring to the guide here : https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/

@murillodigital you can go to the service/access/frontend.conf codenew file.  Also I think there would be some changes needed in the documentation also, this looks like a great work to get your feet wet.

@murillodigital you can go to the service/access/frontend.conf codenew file.  Also I think there would be some changes needed in the documentation also, this looks like a great work to get your feet wet.

@Aut0R3V thnx for feedback and we're on the same page ;) will work on changes - @sftim please confirm you're cool with this, not sure if I can assign the issue to myself or one of you will have to.

@Aut0R3V thnx for feedback and we're on the same page ;) will work on changes - @sftim please confirm you're cool with this, not sure if I can assign the issue to myself or one of you will have to.

you can assign yourself with the /assign  command.
Anything I can do here?

you can assign yourself with the /assign  command.
Anything I can do here?

/assign

/assign

all good @Aut0R3V appreciate the availability, have assigned and will issue a PR. Will reach out if I need any directions.

all good @Aut0R3V appreciate the availability, have assigned and will issue a PR. Will reach out if I need any directions.


Unsqueeze memlet fails while Inlining SDFG

Describe the bug
While applying Inline SDFG, it may happens that unsqueeze_memlet fails because the internal memlet does not have a subset
To Reproduce
Use the following test (matrix inversion + lib node expansion + Inlining)
import dace
import numpy as np
from dace.transformation.interstate import InlineSDFG

@dace.program
def inv(A: dace.float64[64, 64]):
    A_inv = np.linalg.inv(A)
    return A_inv

A = np.random.rand(64, 64).astype(np.float64)

A_ref = np.linalg.inv(A)

sdfg = inv.to_sdfg(simplify=True)
sdfg.expand_library_nodes()
sdfg.apply_transformations_repeated([InlineSDFG], print_report=True)
A_dace = sdfg(A=A)
diff = np.linalg.norm(A_dace - A_ref) / np.linalg.norm(A_ref)
assert np.allclose(A_dace, A_ref)

Expected behavior
Successfully inline the SDFG

Looks like this has been resolved!


Update TensorRT-LLM

Features

Supported FP8 for MoE LoRA.
Supported KV cache reuse for P-Tuning and LoRA.
Supported in-flight batching for CogVLM models.

API

[BREAKING CHANGE] Enabled strongly_typed by default in builder API.
[BREAKING CHANGE] Renamed maxNewTokens, randomSeed and minLength to maxTokens, seed and minTokens following OpenAI style.

@kaiyux Supported KV cache reuse for P-Tuning and LoRA, so, it means that we can enable kv_cach_reuse while using prompt_table for multimodal models?

@kaiyux Supported KV cache reuse for P-Tuning and LoRA, so, it means that we can enable kv_cach_reuse while using prompt_table for multimodal models?

Yes, you just need to take a look at https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/kv_cache_reuse.md#enable-kv-cache-reuse-for-p-tuning to set extra_ids correctly. And in addition, how to keep track and manage the extra_ids from different user requests is a job for the serving system. TensorRT-LLM just makes multimodal reuse possible


Is there any way to ignore conflicts when using upsertGraph?

I have unique constraints in a table that belongs to one. Is there any way to ignore conflicts and insert?

Could you be more specific? An example would help.

Flight has many FlightSchedules. Flight schedules has a unique constraint on (flight_id, departue_time and arrival_time).
So if the flight graph is like:
{
    id: 1,
    flightSchedules: [
        {
            departureTime: "xyz",
            arrivalTime: "xyz",
            flightId: 1
        }
    ]
}

And if I try to insert the same graph again, it gives a conflict error, as I have a unique constraint on (flight_id, departure_time, arrival_time)
Docs suggest that if I supply id in the object to be inserted, then they will be updated, but that will be cumbersome as I'll have to fetch all the schedules and then merge them with new ones and then upsertGraph.
Is there any way to ignore conflict errors so that I don't have to fetch already existing schedules?

Unfortunately there's no easy way to do that. You could be able to use onError combined with the objection-db-errors plugin's UniqueViolationError.


Add type-erased contiguous storage for Differentiable and EuclideanVector types.

This storage will be used to store differentiable and vector values for factor graph variable assignments and for factor graph error vectors.
This uses the Penguin ArrayStorage data structure, and this is modeled on the example here.
This doesn't include the user-facing wrapper that manages these and lets users store values of multiple different types.
(@ProfFan, @dellaert, here is the first in a series of small incremental PRs for the real implementation of the generic factor graph prototype that I showed you ~2 weeks ago. I want to get reviews on each of the small pieces, and @dabrahams has agreed to review them, so you can pay as much or as little attention as you like to the small pieces. I will merge all the small pieces into feature/generic_factor_graph. When the implementation is complete enough to be useful, I'll create a PR to merge it into master.)

@ProfFan, @dellaert, could you add @dabrahams as a contributor on this repo so that I can set him as a reviewer?

@ProfFan, @dellaert, could you add @dabrahams as a contributor on this repo so that I can set him as a reviewer?

Done

(@ProfFan, @dellaert, here is the first in a series of small incremental PRs for the real implementation of the generic factor graph prototype that I showed you ~2 weeks ago. ... you can pay as much or as little attention as you like to the small pieces.

Understood!

I'm going to merge now so that I can create more PRs without having a terribly confusing chain of dependent PRs, but let me know if you have more comments that I haven't addressed.


acrylic navigationview

I would like to see the ability to do transparency navigationview.
Example:

This is beyond the scope of this package. We only provide UI controls. Having control of the window should be done on the native side. There are packages, such as flutter_acrylic that do this job.
On the example app, you can change the window transparency on the Settings page. When enabled, it makes the navigation view background color transparent and trigger the flutter_acrylic APIs.


What are $ID and $VERSION?

Type of issue
Code doesn't work
Description
What are $ID and $VERSION?
Page URL
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the-microsoft-package-repository
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/install/linux-ubuntu.md
Document Version Independent Id
1d732b15-9e64-633a-000c-ad96d9d3818a
Article author
@adegeo
Metadata

ID: 80707602-f283-e796-d3b8-3287fbc011dc
Service: dotnet-fundamentals
Sub-service: install

@rwb196884 Our automation closed this issue instantly because you didn't type anything in the description field, which is a common in spam comments. However, I noticed your subject is valid, so I reopened this.
You're write, this info is missing. While moving things around for this article something got out of sync. I'll work on getting it fixed.
$ID is the distro and $VERSION is the version of the distro. You can browse the URL here: https://packages.microsoft.com/config/


Update Finnish data

This PR adds links to slides and recordings for out meetups, and a placeholder for the next Helsinki one. @netumoliver and Anton Lindholm can fill in with the latest Tampere and Turku data in a later PR. This also fixes a typo earlier where Weaveworks sponsored out meetup instead of DO.

/LGTM as well


doc: announce the latest repo

I noticed that the Chinese README has already been updated with the announcement.

I noticed that the Chinese README has already been updated with the announcement.

Aha, yes, as I recalled we added a notice, but came to see it's not there ;), it turned out only CN README was added.


Modifier keys don't work with History and Bookmarks + History items

For some reason, I cannot use modifier keys with search results from bh and hi, while on bm and rl they are properly showing up. It's important to note, that using Command modifier key to go to "Other actions..." list works as expected in all cases.

Thanks for finding this. Fixed in v0.7.1.


Add support for applying delegate scopes

The graphql API now supports adding custom scopes to a delegate.

On hold until API's are available for querying list of available scopes and scopes currently applied to the delegate.


Hide "source links form" when creating / editing a response

Adding sources it's an advanced feature not often used, but the default "source form" take a lot of space in edit answer form. I propose to hide it, and just have the "More source" button to add a "source link".
Of course, when editing, if there are already source links, they are displayed.
before

after

Changes

replace the "Sources :" title by a "Add source link" button
hide the empty "source link" form
bonus: replace "Edit" button name by "Save answer"

Closed by #51


feat(client): add new contact us option for billing issues

Localizations have been dumped: https://github.com/Jigsaw-Code/outline-apps/commit/89fc593eb82839beb172d1b89771d29ecb7f3689. Going to merge.

Localizations have been dumped: https://github.com/Jigsaw-Code/outline-apps/commit/89fc593eb82839beb172d1b89771d29ecb7f3689. Please take a look @fortuna and/or @daniellacosse.


Fix for recent Nez Tiled runtime changes

tile position is just a calculation now, and not a property of a tile object.

I think you forgot to push the submodule update with the commit!

Think it's good now? Thanks


Uncaught TypeError: e.defaults.global is undefined

Hi,
First of all thank you very much for ChartJs, it's a great tool that I've been using for more than 10 years.
FYI, I have an error using the compiled and downloaded version at https://github.com/chartjs/chartjs-plugin-deferred/releases/download/v1.0.2/chartjs-plugin-deferred.min.js:
"Uncaught TypeError: e.defaults.global is undefined"
This error disappears if I use it from the sources :
"git clone ... > npm install > npm build ..."
Thanks again.

Chart.js v3.7.0
chartjs-plugin-deferred v1.0.2
chartjs-plugin-datalabels v2.0.0

We are waiting for a new release
see https://github.com/chartjs/chartjs-plugin-deferred/pull/21

Version 2.0.0-beta.1 has been released and is compatible with Chart.js v3.


Uprade Arkime to 3.0.0

A new version of arkime is available, it should be interesting to upgrade it and it supports ES >= 7.10.0

I will search for integrate Arkime 3.0.1

I have upgrade the solution with Arkime 3.0.0


Assess and memoize (if appropriate) VerificationKey::address_bytes

We should run an ad hoc test under semi-realistic conditions which counts how many times VerificationKey::address_bytes is a repeated call on a VerificationKey instance.  In other words, if we only ever call this once per instance, the total will be zero.  If we call it exactly thrice per instance, the total will be twice the number of instances.
Once we have this information, we can decide whether to implement memoization of the address bytes as a field in the verification key, or leave as is.
┆Issue Number: ENG-696

Having run the smoke test, the sequencer indicates that this method is called between 8 and 11 times on a given key, so it seems like memoizing is worthwhile.


Test using with test vectors

Hello,
I looked into RFC7748 and found some test vectors:
  Test vector:

   Alice's private key, a:
     77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a
   Alice's public key, X25519(a, 9):
     8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98eaa9b4e6a
   Bob's private key, b:
     5dab087e624a8a4b79e17f8b83800ee66f3bb1292618b6fd1c2f8b27ff88e0eb
   Bob's public key, X25519(b, 9):
     de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e146f882b4f
   Their shared secret, K:
     4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742

Using these values i get different result for the shared secret between bob and alice. Also, none of the calculated shared secrets will match the shared secret from test vectors.
Am i missing something here? Endianess?
static int testx25519WithVectors(void) {

    int r = 0;

    uint8_t alice_sec[X25519_KEY_SIZE] = { /* 77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a*/
        0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
        0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
        0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
        0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a
    };

    uint8_t alice_pub[X25519_KEY_SIZE] = { /* 8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98eaa9b4e6a*/
        0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
        0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
        0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
        0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a
    };

    uint8_t bob_sec[X25519_KEY_SIZE] = { /* 5dab087e624a8a4b79e17f8b83800ee66f3bb1292618b6fd1c2f8b27ff88e0eb*/
        0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
        0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
        0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
        0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb
    };

    uint8_t bob_pub[X25519_KEY_SIZE] = { /* de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e146f882b4f*/
        0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
        0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
        0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
        0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f
    };

    uint8_t expected_shared[X25519_KEY_SIZE] = { /* 4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742*/
        0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
        0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
        0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
        0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42
    };

    uint8_t shared1[X25519_SHARED_SIZE];
    uint8_t shared2[X25519_SHARED_SIZE];

    compact_x25519_shared(shared1, alice_sec, bob_pub);
    compact_x25519_shared(shared2, bob_sec, alice_pub);

    for (uint8_t i = 0; i < 32; i++)
    {
        printf("%02x", shared1[i]);
    } printf("\r\n");

    for (uint8_t i = 0; i < 32; i++)
    {
        printf("%02x", shared2[i]);
    } printf("\r\n");

    if (memcmp(shared1, shared2, X25519_SHARED_SIZE) != 0) {
        printf("Fail\n");
        r--;
    }

    if (memcmp(shared1, expected_shared, X25519_KEY_SIZE) != 0) {
        printf("Fail\n");
        r--;
    }

    return r;

Interesting.
I've used golang as a way to "verify" if it worked:
https://github.com/DavyLandman/compact25519/blob/master/test/algamize-test.go
But I didn't port the reference values.

I don't have time this week to take a look. Can you try recalculating the Public key from the private key if that works as expected?
And I'm assuming you ruled out typo's in the key arrays?

At least i think so, always good to have another pair of eyes looking at it. I also tried reverting the order of the input if it was wrong endinaness or so, but i didn't get any better result.
Should the seed from the RFCs give the same keys if using this library?

The above mentioned test vectors are for X25519, not  Ed25519.
Nice post that describes the difference:
X25519 vs Ed25519

Actually, it turned out that @sijohans was right.
The reason why the test vector given in RFC7748 section 5
doesn't work is because the provided secret keys are raw, i.e. BEFORE clamping applied to them.
Adding
c25519_prepare(alice_sec);
c25519_prepare(bob_sec);

before calling compact_x25519_shared in his code fixes the issue.
At the same time, the tests provided by this library work fine because
clamping is applied to secret keys immediately after their creation.
In order to fix this issue, I suggest to call c25519_prepare inside
compact_x25519_shared function as well.
c25519_prepare can be safely applied multiple times to the secret key, and it is very short
so no extra performance penalty will occur.

P.S. Please, check if I am correct this time :)

Okay, reopening until I have time to take a look.

Also, note that my goals is not compliance with a single RFC. There exists multiple RFCs that use Curve25619 operations.
We maybe we could develop some specific wrappers that make it compatible with specific RFCs?

As I understand,  the library is already compatible with that RFC. This issuer a minor bug which can be fixed with a single line of code.
If you want, I can can do that and create a pull request.

Okay, we can close the issue, primarily due to the help of @iotanbo who took the time to figure out what went wrong.
In essence, the API assumption was that  you would always use keys calculated bye the compact_x25519_keygen function. (if you would have run the private key through that first it would have worked). We're now taking a more safe API approach, to always re-clamp the key (at the cost of an extra memory copy, but compared to the rest of the code, that's negligible).

There's a new release out: https://github.com/DavyLandman/compact25519/releases/tag/v1.1.0


Update recover command to use CMakeLists parser to obtain node sources

@schmerl I believe that this was implemented by your recent pull request, right?

Yep.
On Wed, Sep 15, 2021 at 2:55 PM Chris Timperley @.***>
wrote:

@schmerl https://github.com/schmerl I believe that this was implemented
by your recent pull request, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rosqual/rosdiscover/issues/177#issuecomment-920294341,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7X6AH4RTFCJ7HFHFFRMY3UCDT3NANCNFSM5D6IIT6A
.

Closed by #181


 There ended up being additional races in the conntrack table and they were sometimes unresolvable. This is a temporary improvement, and expect some more tweaks in the near term.
...now for the good news: Hole punching works extremely well now! If you have the stomach for it, I'd encourage you to try this branch and see if things are oh-so-much-better.
I'll write up a much more detailed breakdown of the intention of the original feature and the issues it caused to share with the community soon.

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

I was experiencing issues similar to #33 and decided to try out this branch. Specifically:
A. DigitalOcean Lighthouse (Rain)
B. Local NAS on LAN (Acheron)
C. Local laptop on LAN (Macbook)
The LAN is using Google Wifi mesh routers, which some others in #33 are also using.
Prior to trying this patch, Lighthouse<->NAS communication worked, and Lighthouse<->Laptop communication worked. Attempting to communicate between Laptop<->NAS resulted in a debug log noting the other side an attempt at hole punching, followed by silence and no communication. (Neither ICMP pings nor SSH traffic succeeded.)
I should note that occasionally, communication between Laptop<->NAS would succeed, perhaps roughly until the Nebula service was restarted on one of the hosts. This led me to believe that a race may be the culprit.
I have only run this branch briefly - and I am only running it on the NAS as the CI seems to indicate it will not build on macOS, but it seems to resolve the issue. Laptop<->NAS communication is now working. I am able to ping the hosts from each other, and establish SSH connections.

After more testing I believe the rest of my issues were caused by the numerous Docker bridge devices on this host. Once they were excluded from reporting to Lighthouse, connections seem to be established much faster and reliably.
The mobile app Pending tunnel view was very useful for figuring this out.

@rawdigits this PR sounds promising to me since I am having connectivity issues behind NATs...
Do you still plan on pushing this across the finish line? I notice there's a build failure here on this branch.


update: Package registry refactoring

This PR refactors package registry. Please only review files inside registry folder.
The original registry package is moved into the internal folder. Once this PR is merged, internal/registry folder shall be removed in a separate PR.
Signed-off-by: Patrick Zheng<EMAIL_ADDRESS>

Codecov Report

Merging #190 (c6015b5) into main (a44d663) will decrease coverage by 1.49%.
The diff coverage is 75.52%.

@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
- Coverage   80.76%   79.27%   -1.50%
==========================================
  Files          22       24       +2
  Lines        1716     1824     +108
==========================================
+ Hits         1386     1446      +60
- Misses        258      305      +47
- Partials       72       73       +1

Impacted Files
Coverage Δ

registry/repository.go
0.00% <0.00%> (-91.54%)
:arrow_down:

verification/verifier.go
83.33% <ø> (ø)

verification/verifier_helpers.go
68.85% <ø> (ø)

registry/repositoryClient.go
57.69% <57.69%> (ø)

internal/registry/repository.go
91.53% <91.53%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ionic input label missing with type: 'number'

Description
{
   key: 'someKey',
   type: 'input',
   props: {
    type: 'number',
    label: 'Some Label',
    placeholder: `Please input`,
  },
}

field with config above has no label on number type input using<EMAIL_ADDRESS>introduced with #3845 and the number type template was missed here
Workaround
add legacyLable: true for number type inputs
{
   key: 'someKey',
   type: 'input',
   props: {
    type: 'number',
    legacyLabel: true, // 👈
    label: 'Some Label',
    placeholder: `Please input`,
  },
}

Your Environment

Ionic version: 7.7.0
Angular version: 17.1.2
Formly version: 6.3.0

This issue has been fixed and released as part of v6.3.3 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


Messenger app (from microsoft app store) is detected as Microsoft Edge

Microsoft PowerToys version
0.85.1
Installation method
GitHub, Microsoft Store
Running as admin
None
Area(s) with issue?
Workspaces
Steps to reproduce
i have a new desktop with outlook, whatsapp and the messenger app. Detects outlook and whatsapp correctly but not the messenger apps. Detected as Microsoft edge.
✔ Expected Behavior
expect to detect and launch the correct app (in this case the messenger app)
❌ Actual Behavior
detects and will launch microsoft edge
Other Software
No response

/dup #34572