Add shortcuts help dialog

@bakkot The multipage baseline is failing in a way I don't quite understand. Maybe this shortcuts div needs to be inserted elsewhere?

Running npm run update-baselines should fix baselines.

Running npm run update-baselines should fix baselines.

Sorry, I meant update-baselines on multipage is failing in a way I don't understand:

  1) baselines
       test/baselines/sources/multipage.html:
     Error: non-clause children are not yet implemented: DIV
      at Spec.<anonymous> (lib/Spec.js:615:31)
      at Generator.next (<anonymous>)
      at /usr/local/google/home/syg/tc39/ecmarkup/lib/Spec.js:8:71
      at new Promise (<anonymous>)
      at __awaiter (lib/Spec.js:4:12)
      at Spec.buildMultipage (lib/Spec.js:559:16)
      at Spec.<anonymous> (lib/Spec.js:385:28)
      at Generator.next (<anonymous>)
      at fulfilled (lib/Spec.js:5:58)

Sorry, I meant update-baselines on multipage is failing in a way I don't understand:

Ah. It's complaining because it sees the div as being basically a clause, since it's at the top level and comes after the intro, and it doesn't know how to split that into a page.
Presumably we want this to be on every page of the multipage build, like the table of contents and unlike the rest of the boilerplate. So, easiest fix is to move this out of buildBoilerplate and into its own step of build, and then to add it to the tocEles list passed to buildMultipage so that it gets cloned onto every page like the table of contents does (which should at that point get renamed to something like sharedEles).

Presumably we want this to be on every page of the multipage build, like the table of contents and unlike the rest of the boilerplate. So, easiest fix is to move this out of buildBoilerplate and into its own step of build, and then to add it to the tocEles list passed to buildMultipage so that it gets cloned onto every page like the table of contents does (which should at that point get renamed to something like sharedEles).

Perfect, thanks for the help.

Ah jeeze, now it's failing because of a baseline-like test that isn't a baseline. I can push up a fix for that one.


Support proxychains

Hello,
first of all thanks a lot for your tool.
I have no issue using gobuster with a socks proxy (tor), but it's not working with proxychains:
With proxy (Tor) ✅
gobuster -m dir -r -u "http://target" -t 20 -e -k -l -w raft-medium-directories.txt -o gobusterDir.log -p socks5://<IP_ADDRESS>:9050

=====================================================
Gobuster v2.0.1              OJ Reeves (@TheColonial)
=====================================================
[+] Mode         : dir
[+] Url/Domain   : http://target/
[+] Threads      : 20
[+] Wordlist     : raft-medium-directories.txt
[+] Status codes : 200,204,301,302,307,403
[+] Proxy        : socks5://<IP_ADDRESS>:9050
[+] Show length  : true
[+] Follow Redir : true
[+] Expanded     : true
[+] Timeout      : 10s
=====================================================
2020/08/18 10:35:45 Starting gobuster
=====================================================

Result:
w00t@lab:~$ sudo nc -v -l -p 80
listening on [any] 80 ...
connect to [<IP_ADDRESS>] from tor-exit-relay-2.anonymizing-proxy.digitalcourage.de [<IP_ADDRESS>] 15876
GET / HTTP/1.1
Host: <IP_ADDRESS>
User-Agent: gobuster 2.0.1
Accept-Encoding: gzip

With proxychains ⛔🆘:
proxychains gobuster -m dir -r -u "http://target" -t 20 -e -k -l -w raft-medium-directories.txt -o gobusterDir.log
ProxyChains-3.1 (http://proxychains.sf.net)

=====================================================
Gobuster v2.0.1              OJ Reeves (@TheColonial)
=====================================================
[+] Mode         : dir
[+] Url/Domain   : http://target/
[+] Threads      : 20
[+] Wordlist     : raft-medium-directories.txt
[+] Status codes : 200,204,301,302,307,403
[+] Show length  : true
[+] Follow Redir : true
[+] Expanded     : true
[+] Timeout      : 10s
=====================================================
2020/08/18 10:38:08 Starting gobuster
=====================================================

Result  (i replaced the public ip of my box):
w00t@lab:~$ sudo nc -v -l -p 80
listening on [any] 80 ...
connect to [<IP_ADDRESS>] from mybox [666.666.666.666] 33426
GET / HTTP/1.1
Host: <IP_ADDRESS>
User-Agent: gobuster 2.0.1
Accept-Encoding: gzip

So if I use proxychains gobuster connect directly to the target, exposing my scanning box ip.
proxychains is working, I use it with nmap/nc with no issues.

Nevermind:
proxychains hooks to dynamically loaded libc.

go doesn't even use libc, it uses its own syscall wrappers
go doesn't use dynamic linking, it uses static linking


Customize help

We have namespaced the KV commands; however it would be nice if a user could type
$ wrangler kv --help

and get help on all kv subcommands organized by namespace. This should be in addition to the help commands generated by clap automatically for each subcommand (i.e. kv:key).

I've tried to make this work today, and with Clap, it looks like I'm stuck having to add another kv subcommand to the list of options:
USAGE:
    wrangler [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    kv                            ??????
    kv:namespace     Interact with your Workers KV namespaces
    kv:key           Interact with individual Workers KV key-value pairs
    kv:bulk          Interact with bulk sets of Workers KV key-value pairs
    ...

I wish we could simply make kv a subcommand and have the other kv:namespace, kv:key, kv:bulk commands fall underneath it (like Heroku's CLI does) but this is seemingly not possible with Clap. If we were to approximate something like this in Clap, we'd end up with a situation where invoking kv commands would look like
$ wrangler kv kv:namespace...

This honestly makes me kinda wish we went with
$ wrangler kv namespace <action>

invocations instead. But for the meantime, I'm going to mark this issue as blocked--I don't think there is a good way for us to implement this as is.

thanks for trying @gabbifish . This was a nice to have for sure, perhaps if there is need we can request a feature in clap, but it's non-blocking on our work for kv subcommands. i'll remove the issue from the milestone and we can decide at next triage whether to close it entirely.

Sounds great @ashleymichal! We could definitely open up a feature request in Clap :D it would be lovely to see this functionality supported in the future...

closing as won't do. wrangler --help gives plenty of context on kv  commands.


Testing

Great job!  Someone can get the line number with "git diff" if they want it. I would just say "Fix bug ..." and put in a short description.


Example Stocks and others failing on Mac due to opengl issue

Hover doctor

x-MacBook-Pro:stocks apple$ pwd
/Users/apple/workspace/go/src/github.com/go-flutter-desktop/examples/stocks
x-MacBook-Pro:stocks apple$ hover doctor
hover: Running on darwin
hover: Docker installed: true
hover: Sharing flutter version
Flutter 1.10.15-pre.423 • channel master • https://github.com/flutter/flutter.git
Framework • revision 1f0c3d462e (2 hours ago) • 2019-11-05 21:40:48 -0800
Engine • revision 6c763bb551
Tools • Dart 2.7.0
hover: Flutter engine commit: https://github.com/flutter/engine/commit/6c763bb551
hover: ⚠ The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: ⚠     It's advised to use the beta channel: `flutter channel beta`
hover: Finding out the C compiler version
Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
hover: Sharing the content of go.mod
module github.com/go-flutter-desktop/examples/stocks/desktop

go 1.12

require (
        github.com/go-flutter-desktop/go-flutter v0.31.0
        github.com/pkg/errors v0.8.1
)
hover: Warning: No hover.yaml file found: open go/hover.yaml: no such file or directory
hover: Sharing the content of go/cmd
go/cmd/main.go  go/cmd/options.go
x-MacBook-Pro:stocks apple$

Error output

Using hover build [...] --XXX to build my application, I get the following
error:

cd /Users/apple/workspace/go/src/github.com/go-flutter-desktop/examples/stocks && hover build darwin
hover: Using engine from cache
hover: Cleaning the build directory
hover: ⚠ The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: ⚠     It's advised to use the beta channel: `flutter channel beta`
hover: Bundling flutter app
hover: Compiling 'go-flutter' and plugins
# github.com/go-gl/glfw/v3.2/glfw
In file included from ../../../../../../pkg/mod/github.com/go-gl/glfw@v0.0.0-20190409004039-e6da0acd62b1/v3.2/glfw/c_glfw_darwin.go:8:
../../../../../../pkg/mod/github.com/go-gl/glfw@v0.0.0-20190409004039-e6da0acd62b1/v3.2/glfw/glfw/src/cocoa_window.m:989:9: warning: multiple methods named 'center' found [-Wobjc-multiple-method-names]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:601:19: note: using
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:312:1: note: also found
hover: Successfully compiled

cd /Users/apple/workspace/go/src/github.com/go-flutter-desktop/examples/stocks && hover run
hover: Using engine from cache
hover: Cleaning the build directory
hover: ⚠ The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: ⚠     It's advised to use the beta channel: `flutter channel beta`
hover: Bundling flutter app
Running "flutter pub get" in stocks...                              1.2s
hover: listing available plugins:
hover: Compiling 'go-flutter' and plugins
# github.com/go-gl/glfw/v3.2/glfw
In file included from ../../../../../../pkg/mod/github.com/go-gl/glfw@v0.0.0-20190409004039-e6da0acd62b1/v3.2/glfw/c_glfw_darwin.go:8:
../../../../../../pkg/mod/github.com/go-gl/glfw@v0.0.0-20190409004039-e6da0acd62b1/v3.2/glfw/glfw/src/cocoa_window.m:989:9: warning: multiple methods named 'center' found [-Wobjc-multiple-method-names]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:601:19: note: using
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:312:1: note: also found
github.com/go-flutter-desktop/examples/stocks/desktop/cmd
hover: Successfully compiled
hover: Build finished, starting app...
hover: Running stocks in debug mode
go-flutter: WARNING error creating the resource window: VersionUnavailable: NSGL: Failed to create OpenGL context
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(107)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(107)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
go-flutter: calculated pixelRatio limited to a minimum of 1.0. metrics: {"dpi":81.00996677740864,"monitorWidthMm":602,"monitorWidthSc":1920,"mscpi":81.00996677740864,"pixelRatio":0.5063122923588039,"ppsc":1,"windowWidthPx":800,"windowWidthSc":800}
flutter: Observatory listening on http://<IP_ADDRESS>:50300/_PDfzh6Pdww=/
go-flutter: no handler found for channel flutter/isolate
Syncing files to device Flutter test device...
11,064ms (!)

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on Flutter test device is available at: http://<IP_ADDRESS>:50300/_PDfzh6Pdww=/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
go-flutter: closing application
hover: App 'stocks' exited.
hover: Closing the flutter attach sub process..
Lost connection to device.
x-MacBook-Pro:examples apple$ pwd
/Users/apple/workspace/go/src/github.com/winwisely99/bootstrap/example/flutter/go-flutter-desktop/examples

I don't think MacOS is broken.
The stocks example relies on third party API to display the stocks list.
If the Api is down, the app displays a blank widget.
Some ui of the example is displayed meaning go-flutter isn't broken.
If there where an issue the windows would stay black or transparent.
Are others example (draggable_borderless) down?
(nothing gets displayed)?
I don't know why the resources context isn't properly created, maybe a driver or gpu error. But either way, it's not related, and don't affect you seens you aren't using texture plug-in (video_plugin)
go-flutter: WARNING error creating the resource window: VersionUnavailable: NSGL: Failed to create OpenGL context
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(107)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(107)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.

ok thanks for the feedback. Will check on our side

will clsoe out


Package 'pvt.cppan.demo.leptonica' not found.

I am not sure if this is cppan issue or tesseract, but when I run cppan I got message:
Downloading database
Cannot get dependencies from local database: Package 'pvt.cppan.demo.leptonica' not found.
Trying origin remote
Requesting dependency list...
Some packages (1) are unresolved

It's true. What file are you processing?
https://cppan.org/pvt.cppan.demo.danbloomberg.leptonica

I just try to build tesseract 3.05 on windows with fresh VS2015 installation ;-)...

I did not fix cppan.yml in old version branches.

See https://github.com/tesseract-ocr/tesseract/commit/73890c38bb522b0b3312c070a29c8db8ea25efab

Thanks.


Vaccine_Scenario

Dear Lisphilar,
i have some doubt regarding following output:-
             max(Infected)	argmax(Infected)	Infected on 17Aug2020	Fatal on 17Aug2020

No actions	232807	2020-03-23	                          104	                 57457
Lockdown	74113	2020-04-14	                         4197	                 37796
Medicine	       160879	2020-03-26	                           83	                          5919
Vaccine	        221598	2020-03-23	                           22	                          50508
Here, we see that in case of lockdown the no of max infected is less as compared to medicine and vaccine...,similar type of situations in other columns too...,i don't think that these columns are providing any valuable information...,the effect of medicine and vaccine is not looking effective..,what's your opinion?? Apart from that please provide me clear and full explaination  of these four rows and column attributes...,if possible...
With regards,
Rakesh

Dear Rakesh,
Thank you for your feed-back.
Please kindly note that the simulation is under the assumptions of parameter values.
I think the output of Scenario.describe() should include the parameter values to clearfy the assumptions. How do you think about this idea?

Dear Lisphilar,
Thanks for the response.Including parameters will be good idea..,it will might give better outlook...

Dear Rakesh,
I edited the code of Scenario.describe() to show the difference of reprodution numbers in version 2.6.0-iota.


⚠ Bofrost.at has degraded performance

In e7b7e40, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1921 ms

Resolved: Bofrost.at performance has improved in 3e7dfe3 after 10 minutes.


Integrate Assignment Service with Frontend

This task might be easier, so when finished, please help in researching ITS API.


[Simulator] WASM doesn't seem to be compressed by CloudFront

WASM doesn't seem to be compressed by CloudFront. It should compress well. Config issue?

This has been fixed in CloudFront. application/wasm is now on the list linked above and it's now ~40% of the uncompressed size. Closing.


Missing overload xt::unique(xt::view(...))

I was trying to
#include <xtensor/xarray.hpp>
#include <xtensor/xview.hpp>
#include <xtensor/xsort.hpp>
#include <xtensor/xio.hpp>

int main()
{
  xt::xarray<size_t> a = xt::arange<size_t>(5*5).reshape({5,5});
  auto b = xt::view(a, xt::range(0,3), xt::range(0,3));
  auto c = xt::unique(b);
  return 0;
}

but this gives the following compiler error:
In file included from test.cpp:3:
/usr/local/include/xtensor/xsort.hpp:136:15: error: no matching constructor for initialization of 'xt::xview<xt::xarray_container<xt::uvector<unsigned long, std::__1::allocator<unsigned long> >,
      xt::layout_type::row_major, xt::svector<unsigned long, 4, std::__1::allocator<unsigned long>, true>, xt::xtensor_expression_tag> &, xt::xrange<long>, xt::xrange<long> >'
            R ev;
              ^
/usr/local/include/xtensor/xsort.hpp:149:24: note: in instantiation of function template specialization 'xt::detail::flat_sort_impl<xt::xview<xt::xarray_container<xt::uvector<unsigned long,
      std::__1::allocator<unsigned long> >, xt::layout_type::row_major, xt::svector<unsigned long, 4, std::__1::allocator<unsigned long>, true>, xt::xtensor_expression_tag> &, xt::xrange<long>, xt::xrange<long>
      >, xt::xview<xt::xarray_container<xt::uvector<unsigned long, std::__1::allocator<unsigned long> >, xt::layout_type::row_major, xt::svector<unsigned long, 4, std::__1::allocator<unsigned long>, true>,
      xt::xtensor_expression_tag> &, xt::xrange<long>, xt::xrange<long> > >' requested here
        return detail::flat_sort_impl(e);
                       ^
/usr/local/include/xtensor/xsort.hpp:924:23: note: in instantiation of function template specialization 'xt::sort<xt::xview<xt::xarray_container<xt::uvector<unsigned long, std::__1::allocator<unsigned long> >,
      xt::layout_type::row_major, xt::svector<unsigned long, 4, std::__1::allocator<unsigned long>, true>, xt::xtensor_expression_tag> &, xt::xrange<long>, xt::xrange<long> > >' requested here
        auto sorted = sort(e, xnone());
                      ^
test.cpp:10:16: note: in instantiation of function template specialization 'xt::unique<xt::xview<xt::xarray_container<xt::uvector<unsigned long, std::__1::allocator<unsigned long> >, xt::layout_type::row_major,
      xt::svector<unsigned long, 4, std::__1::allocator<unsigned long>, true>, xt::xtensor_expression_tag> &, xt::xrange<long>, xt::xrange<long> > >' requested here
  auto c = xt::unique(b);
               ^
/usr/local/include/xtensor/xview.hpp:411:18: note: candidate constructor template not viable: requires at least 2 arguments, but 0 were provided
        explicit xview(CTA&& e, FSL&& first_slice, SL&&... slices) noexcept;
                 ^
/usr/local/include/xtensor/xview.hpp:617:18: note: candidate constructor template not viable: requires at least 3 arguments, but 0 were provided
        explicit xview(std::true_type, CTA&& e, FSL&& first_slice, SL&&... slices) noexcept;
                 ^
/usr/local/include/xtensor/xview.hpp:620:18: note: candidate constructor template not viable: requires at least 3 arguments, but 0 were provided
        explicit xview(std::false_type, CTA&& e, FSL&& first_slice, SL&&... slices) noexcept;
                 ^
/usr/local/include/xtensor/xview.hpp:413:9: note: candidate constructor not viable: requires 1 argument, but 0 were provided
        xview(const xview&) = default;
        ^
1 error generated.

That's fast! Thanks!

@JohanMabille
Would you also want this to work?
auto c = xt::unique(xt::where(xt::greater(b,2), 1, 0));

@tdegeus sorry for the late reply, I was off yesterday afternoon. I'll fix that before releasing 0.20.

Awesome!

This should be fixed with #1472


Keysign - Project Proposal

How would you describe your project?
Chrome/firefox extension for transaction signing.
What problem does it solve?
Decentralized interaction with the chain from browser
Who is the target market?
Everyone and Site operators
What do you think is the opportunity of this project?
To allow decentralized logins and communication to the chain from the browser.
How does it integrate with thenewboston digital currency work?
Partnering with the thenewboston-js team for API features. Creating a handshake between sites and the browser that allows them to connect to the chain.
Are there any competitors?
As of now? Not that I know of.
Will, you need specific information or advice?
Yes, I will need to work with the TNB JS API team to build out the documentation and API's to make the browser extension have more features.
What are your goals and objectives?
Wide-scale adoption of the currency and to keep it decentralized.
How will you evaluate project success?
By seeing wide adoption from online services and users.
What risks should you plan to manage?
Honestly, there isn’t much risk. It’s a decentralized application. It all depends on how the community takes the app and uses it. But from what I have seen from most chains that have browser plugins. Having something like this makes adoption a lot easier.
Milestones?

Scope
Design: Both Firefox and Chome plugin designs
Feature - Secure wallet login/creation
Feature - Key Storage
Feature - Wallet creation
Feature - Public servers, Coin sending
Feature - Secure handshake for websites
More - Depends on API's

GitHub usernames and roles of all team members:

mrbusysky - Lead Developer/Lead Design
More: I'm willing to bring on others

Extra information:
Feature set:

Store an unlimited number of account keys, encrypted with AES
Api to allow public/private key matches to allow for a decentralized login system.
Api to allow fast coin sending via the browser from just the click of buttons.
Wallet creation
List of public servers to sign transactions with.
And much more

Example:
Decentralized login:
Browser handshake: calls to chrome or firefox extension
If private key matches public key send true if valid send confirmation
Slack
MrSky - already messaged Manish
More details on the project to show I have it scoped out.

Hey, @mrbusysky we replaced the field How many total coins are you requesting? with project milestones. So please update your proposal. Please add your slack name as well so we can contact you if required. Also, update the title of the proposal with your project name.

Hi @mrbusysky Do you have specification how many Team you would like to join in to this project and what are the requirement and qualifications?

Congratulations @mrbusysky, we liked your project proposal. Now you need to provide your project repository link (You can comment down here). You can provide an empty repository link also if you have not started working on your project yet.

Hi @mrbusysky Do you have specification how many Team you would like to join in to this project and what are the requirements and qualifications?

Honestly, i don't really need teammates. But I'm open to finding some even if it's on my own.

Congratulations @mrbusysky, we liked your project proposal. Now you need to provide your project repository link (You can comment down here). You can provide an empty repository link also if you have not started working on your project yet.

https://github.com/mrbusysky/keysign

Congratulations @mrbusysky !! I understand but incase you will need some Team mates just let me know.

@mrbusysky , your project has been added to https://github.com/thenewboston-developers/Project-Proposals/tree/master/projects/6-Keysign.


Make sure users of zombie Vue extension get migrated to the new version

Due to https://github.com/vuejs/language-tools/issues/4227 we have quite some users on the outdated Vue extension 2.0.10.
Marketplace will clean the search index to make sure the outdated Vue extension is no longer showing up. But we need to make sure that the users of the zombie vue extension get auto-updated.
They have the same vscode id, but a different MP metadata.

This works nicely now. Closing


Problem when change gpio_out topic

Hi
Good work....
I have write the firmware on my Wemos D1 R2 and ESP8266-01.
I have a problem when change gpio_out topic (i think the command is "mqtt_gpio_out_topic")
the respons is  : "Invalid Command".
And another help......
On one of my projects I inserted an IR on the GPIO-0 of my ESP8266-01.
How can I manage with this firmware ....?
Thank you

Hi
[Solved] as already described on your documentation (https://github.com/martin-ger/esp_wifi_repeater) in the "GPIO Config" paragraph it is possible to set:
"gpio [0-16] trigger [0-16] [monostable_NO | monostable_NC | bistable_NO | bistable_NC]"
In my case it was enough to configure the gpio to "monostable_NO", in this way I have the value 0 and if it intervenes IR the value goes to 1.
Thank you

Sorry I have omit one information:
gpio 0 mode in
gpio 1 mod out
gpio 0 trigger 1 monostable_NO
....
result:
GPIO 0: in, triggers GPIO 1 as a monostable normally open                                                               GPIO 1: out


Change this title, poorly formatted issues will not be handled

System Operating System (OS)
Linux
Python Version
3.9 (CPython)
Install Source
pip / PyPi
Install version / commit hash
3.9.6
Expected Behavior vs Actual Behavior
No response
Steps to reproduce
I just installed spotdl as git page said but it does not work. No matter which network or vpn I use, it just fails
Traceback
Traceback (most recent call last):
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
    conn.connect()
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/connection.py", line 414, in connect
    self.sock = ssl_wrap_socket(
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:1106: The handshake operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
    retries = retries.increment(
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
    raise value
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 389, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='music.youtube.com', port=443): Read timed out. (read timeout=30)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hoshyar/virtualenv/bin/spotdl", line 5, in <module>
    from spotdl import console_entry_point
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/__init__.py", line 1, in <module>
    from .__main__ import console_entry_point
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/__main__.py", line 1, in <module>
    from spotdl.console import console_entry_point
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/console/__init__.py", line 6, in <module>
    from spotdl.download import ffmpeg, DownloadManager
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/download/__init__.py", line 1, in <module>
    from spotdl.download.tracking_file_handler import DownloadTracker
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/download/tracking_file_handler.py", line 4, in <module>
    from spotdl.search import SongObject, song_gatherer
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/search/__init__.py", line 3, in <module>
    from spotdl.search.song_gatherer import (
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/search/song_gatherer.py", line 7, in <module>
    from spotdl.providers import (
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/providers/__init__.py", line 2, in <module>
    from spotdl.providers import ytm_provider as youtube_music
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/spotdl/providers/ytm_provider.py", line 18, in <module>
    ytm_client = YTMusic()
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/ytmusicapi/ytmusic.py", line 99, in __init__
    self.headers.update(get_visitor_id(self._send_get_request))
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/ytmusicapi/helpers.py", line 34, in get_visitor_id
    response = request_func(YTM_DOMAIN)
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/ytmusicapi/ytmusic.py", line 148, in _send_get_request
    response = self._session.get(url,
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/requests/sessions.py", line 600, in get
    return self.request("GET", url, **kwargs)
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/home/hoshyar/virtualenv/lib/python3.9/site-packages/requests/adapters.py", line 578, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='music.youtube.com', port=443): Read timed out. (read timeout=30)

Other details
No response

Looks like a connection issue on your end, try using other vpn (proton vpn - free)


Omitted End Time Should Not Default to Now

Feature description 📝
Granular deployment eventing requires that in some cases, the end time not be sent in the event. We should not default to Now in the case that it is omitted. Or make it more obvious to a user how they are expected to omit the end time from their event.
Acceptance criteria ✅

Granular deployment and build events can be sent to Faros where the end time can be omitted and not defaulted to Now.
Docs show how to provide granular events to Faros

We no longer default omitted times to Now


Edited lendingPoolAddressesProvider address

Changed the lendingPoolAddressesProvider, According to Aave V2 docs (goerli) lendingPoolAddressesProvider address!

@PatrickAlphaC

Oh they do have v2 on goerli??

Oh they do have v2 on goerli??

@PatrickAlphaC : Yes, Sir!


Use Theano's cuDNN batch normalization for training

The Theano backend currently uses the cuDNN batch normalization for inference (theano.sandbox.cuda.dnn.dnn_batch_normalization_test), but does not yet use the training function theano.sandbox.cuda.dnn.dnn_batch_normalization_train. This training function directly computes the means and variances. Instead, keras.backend's normalize_batch_in_training computes the variance and mean on its own.
This patch would let normalize_batch_in_training use the cuDNN training function, similar to what batch_normalization already does.
A simple benchmark suggests that using the cuDNN BN training function can be much faster:
Without dnn_batch_normalization_train:
    Time per iteration: 435.557 ms
With dnn_batch_normalization_train:
    Time per iteration: 357.126 ms

To check the implementation I computed the differences between the normalized variables, the variances and means computed by the old implementations. Apart from small rounding errors the results were the same.

Code used to run the benchmarks:
import time
import numpy as np

import keras.layers as kl
import keras.models as km

input_shape = (64, 128, 128)
batch_size = 32

print 'Constructing model'
inputs = kl.Input(shape=input_shape)
x = kl.BatchNormalization(mode=0, axis=1)(inputs)
x = kl.Flatten()(x)
outputs = kl.Dense(1, activation='sigmoid')(x)

model = km.Model(input=inputs, output=outputs)
model.compile(optimizer='sgd',
              loss='binary_crossentropy',
              metrics=['accuracy'])

print 'Generating data'
data = 5 + 30 * np.random.randn(batch_size, *input_shape)
labels = np.random.rand(batch_size, 1)

print 'Warmup'
model.train_on_batch(data, labels)

print 'Measuring'
t0 = time.time()
n = 0
while n < 100:
    tstart = time.time()
    model.train_on_batch(data, labels)
    tend = time.time()
    print "Iteration: %d train on batch time: %7.3f ms." %( n, (tend - tstart)*1000 )
    n += 1
t1 = time.time()

print "Image shape:", input_shape
print "Batch size: %d" % batch_size
print "Iterations: %d" % n
print "Time per iteration: %7.3f ms" % ((t1 - t0) * 1000 / n)

LGTM, thanks


Fix Spec has no expectations errors

Description
Currently there are some tests (in total 60) who don't have any expecations, this is often because of Observables who only emit after the test has already finished. In this PR I enabled a rule to always throw Spec has no expectations for tests without expectations, this PR also fixes those tests. Some tests also don't expect anything because they only exist to check if an error is thrown, for those tests I added expect.nothing() at the end to make sure they also succeed with this rule (I also always added some inline explanation on the places where I used this). Enabling this rule would mean that small errors like this one would be catched earlier, instead of making you think that everything is working.
Instructions for Reviewers
I committed every test I fixed seperatly with a short explanation with the reason of the change in the commit description, I think this will make it easier to review 🤷.
Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[ ] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

There are still 2 tests failing, in my opinion they can be removed, but I would prefer having someone else's feedback before deleting them:

For the failing test in Notifications reducer, the test ChangeDetectorRef part needs to be removed and then you can see that the test fails. The problem is that tick() & flush() don't work well with ngrx, this means that you can't use those to increment the time, I tried using delay(), but while fixing the tests from ObjectUpdatesEffects, the only way I found to correctly wait that the actions where handled there was to add expect(updatesEffects.mapLastActions$).toBeObservable(cold()). I tried reusing this approach here but it didn't work, the failing test also doesn't actually test code from the NotificationsReducer, but rather code from  ObjectUpdatesEffects.removeAfterDiscardOrReinstateOnUndo$, because this timeout code has already been tested I thought that maybe it could be removed
For the failing test in ExternalSourceService, it's normal that this test fails, it's because of this code. The code prevents that stale objects from the cache are returned, this way a backend request can be made, and it will update the store. That value can't be returned from the backend in the tests because there is no backend, so this test can't be fixed. The only thing you could do is put the correct value in the store and check that the correct value is in the store but this is pointless. There is already a test who checks that the backend request is made here, so in my opinion this test can be removed.

@alexandrevryghem : I finally got around to reading this PR and your comments above about the failing tests.  I agree with your logic that it seems reasonable to remove both of the failing tests.
So, if you find time to update this to delete the failing tests & get this passing tests...then I'll do my best to move this forward soon as it seems like a very useful change before we start doing major code updates (to Angular 16, etc)

@tdonohue: All tests are fixed now


RpmTest.java:43-46: Don't change metadata when invalid...

The puzzle 190-d298c6d5 from #190 has to be resolved:
https://github.com/artipie/rpm-adapter/blob/19556b01d1294a33853eb6a65b7711bc2539349e/src/test/java/com/artipie/rpm/RpmTest.java#L43-L46
The puzzle was created by @olegmoz on 02-Jun-20.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@g4s8/z please, pay attention to this issue

@g4s8 could you please assign me on this issue, so I solve original problem?

The job #218 assigned to @olegmoz/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; @olegmoz/z is not a member of this project yet, but they can request to join, as §1 explains; there will be no monetary reward for this job

Job #218 is not in the agenda of @olegmoz/z, can't set title

Job was finished in 41 hours, bonus for fast delivery is possible (see §36)

Job #218 is not in the agenda of @olegmoz/z, can't set title

@sereshqua/z please review this job completed by @olegmoz/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat quality good


Fix demo

Problems found:

There were two different Spring Boot apps on the server.
The WebSocket configuration was not configured to only return an id.

@joshlong Please merge when you get a chance.


Update owners for 2021

Fix #13801

Codecov Report

Merging #14206 (08bb046) into master (b003116) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #14206   +/-   ##
=======================================
  Coverage   42.01%   42.01%
=======================================
  Files         733      733
  Lines       78715    78715
=======================================
  Hits        33069    33069
  Misses      40213    40213
  Partials     5433     5433

Impacted Files
Coverage Δ

modules/indexer/stats/db.go
48.00% <0.00%> (-12.00%)
:arrow_down:

modules/git/repo_language_stats_nogogit.go
57.44% <0.00%> (-6.39%)
:arrow_down:

modules/queue/workerpool.go
60.00% <0.00%> (+1.22%)
:arrow_up:

modules/git/blame.go
67.14% <0.00%> (+1.42%)
:arrow_up:

modules/log/file.go
75.20% <0.00%> (+1.60%)
:arrow_up:

Continue to review full report at Codecov.

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


Daily Publishing 8/18 3:30PM

Docs Build status updates of commit f0f086f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-8.2.0/index.yml
:white_check_mark:Succeeded
View (azps-8.2.0)

docs-conceptual/azps-8.2.0/toc.yml
:white_check_mark:Succeeded
View (azps-8.2.0)

docs-conceptual/azps-8.2.0/upcoming-breaking-changes.md
:white_check_mark:Succeeded
View (azps-8.2.0)

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


Create new Docker image

We will need a new docker image for the pytorch backend. Let's make sure to build it nicer this time with a proper DOCKERFILE. This should be part of the spacer code-base.

Closing this issue here and will create a new one. I'm working on this and other dev-ops related to the spacer codebase.


Can't remove Target from Ingress: Create after selecting one

Steps:

Go to Ingresses list page
Click on Create
Select Default Backend tab
Click on Target Service and select one
Try to remove target service.

Result:  I can't remove it.  There should be a none field so I can set it back to none.  As it is I have to cancel and get back in to remove that. (It's not a required field).

Verified fixed


Change the barBackgroundColor based on condition

Hi @maberalc @MaTeMaTuK @Janlaywss @hexagonatron @VikariiCGI
I want to change the barBackgroundColor based on condition.
Inline is allowing me to pass only progressColor and progressSelectedColor
styles: { progressColor: '#ffbb54', progressSelectedColor: '#ff9e0d' }

Please let me know how I can set individual bar background color differently?
Thank you,
Sunil

The task allows for the background color to be set  in the styles for the task
https://github.com/MaTeMaTuK/gantt-task-react#task
    {
      start: new Date(currentDate.getFullYear(), currentDate.getMonth(), 1),
      end: new Date(currentDate.getFullYear(), currentDate.getMonth(), 1,4),
      name: "Research",
      id: "Task 1",
      progress: 25,
      dependencies: ["Task 0"],
      type: "task",
      styles: {
        backgroundColor: '#FF0000'
      },
      project: "ProjectSample",
      displayOrder: 3,
    },


[release-0.24] hack cherry picks

cherry-picking hack fixes due to tag naming scheme changes

/retest


Can't reopen projects from 1.19beta7 in 1.20beta0

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Note that clearing the state would fix this issue, but the issue should still be fixed in some other way.
Description
Can't open projects from the previous version of Atom Beta
Steps to Reproduce

Install 1.19 beta 7
Open a project, some tabs, and the About page (maybe the Settings View too)
Update to 1.20 beta 0 automatically (Squirrel should download the update and you need to Restart and Install once it's downloaded)
Reopen Atom once the update completes (the error should happen automatically)
If the error doesn't appear, open a project from File > Reopen Project

Note that if you manually add a project with Add Project Folder or open a project you had already opened in 1.20 the issue doesn't appear
Expected behavior: Projects should open in tree view and tabs should be restored
Actual behavior: Instead, the error pop-ups and no editor is opened
Reproduces how often: Always
Versions
This happened when updating to 1.20.0 beta0 on Windows 10 x64
> apm --version

apm  1.18.3
npm  3.10.10
node 6.9.5 x64
python 2.7.13
git 2.13.0.windows.1
visual studio 2015

Additional Information
Stack trace:
Uncaught (in promise) TypeError: Cannot read property 'node_modules\about\styles\about.less' of undefined
    at ThemeManager.module.exports.ThemeManager.loadLessStylesheet (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\theme-manager.js:294:65)
    at ThemeManager.module.exports.ThemeManager.loadStylesheet (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\theme-manager.js:271:27)
    at C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package.js:545:60
    at Array.map (native)
    at Package.module.exports.Package.loadStylesheets (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package.js:543:65)
    at C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package.js:137:23
    at Package.module.exports.Package.measure (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package.js:99:21)
    at Package.module.exports.Package.finishLoading (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package.js:133:25)
    at PackageManager.module.exports.PackageManager.loadAvailablePackage (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package-manager.js:521:38)
    at C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package-manager.js:479:25
    at Config.module.exports.Config.transact (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\config.js:321:22)
    at PackageManager.module.exports.PackageManager.loadPackages (C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\package-manager.js:473:25)
    at C:\Users\nano0\AppData\Local\atom\app-1.20.0-beta0\resources\app\src\atom-environment.js:810:34

My settings can be found on this Gist

Some other notes, after having this error, I can't Reopen any other project, nor Add Project Folder since the TreeView doesn't exist...
I had some other problems with 1.20 like the disappearance of the apm and atom commands from the command line (the PATH variable wasn't correctly updated when Squirrel installed the new 1.20 update). So once I have helped debugging this I'll go to 1.19 stable

Exactly the same here, but since Restart and updatenever works for me (https://github.com/atom/atom/issues/6612) I waited a few seconds after Atom closed and then manually started it with having the option to restore with my usual project enabled.

Same issue just upgrade and can't open projects now.

If it helps track things down, running atom --clear-window-state doesn't help with this issue, but I might be seeing something slightly different as I am unable to open anything, even "projects" that Atom hasn't seen before.

I'm able to repro the issue on windows and am not able to open anything.  Following up with team now on this issue.

This turned out to be a complete break for me, I had to use Open in Dev Mode to open projects, I'll roll to 1.19 stable because I cannot wait for the fix.

Just to add to the pool. I got completely blocked out from Atom. All I get is the blank screen as shown below. I've tried running atom --safe, atom --clear-window-state, delete storage directory, uninstall and reinstall from standalone installer, none of it works.

I can replicate just by downloading and launching the current Atom Beta, but rebuilding from the tip of 1.20-releases seems to be working. It might be a broken installer?

In the console, you can see that snapshotAuxiliaryData.lessSourcesByRelativeFilePath is undefined. Tracing through the source, that should be being populated by this part of the build:
https://github.com/atom/atom/blob/1dd776f237e36d0fba95ad3ada3ec2b9117ac9c3/script/lib/prebuild-less-cache.js#L107-L109
That function did run as part of the build that produced the 1.20-beta installer, so I'm not sure why it isn't there.
The only key that is present in snapshotAuxiliaryData is snapshotSections. On my successful install from source, snapshotAuxiliaryData has three keys: importedFilePathsByRelativeImportPath, lessSourcesByRelativeFilePath, and snapshotSections. So we're missing the auxiliary data from the build somehow.

Could that be related to that faulty installer not updating the PATH variable correctly?

No, PATH stuff is handled by Squirrel.  There's a separate issue for that at #12124.

I was having the same issue. I use this as my daily driver so I downgraded to 1.19.0-beta7 by deleting the 1.20 directory from \AppData\Local\atom and \AppData\Local\atom\packages. I'm not sure if this is the correct downgrade procedure, but it worked for me.

@nihiven You should install v1.19.0 (stable) for now, not v1.19.0-beta7.

@Arcanemagus Thanks, I hadn't thought of that.

I'm experiencing the same issue using the built-in updater.
However, I got it working by (somwhat) following on the findings of @smashwilson.
Instead of building it myself I simply downloaded the zip-file for 1.20.0-beta0, and it ran without hiccups.

Same issue on Win 8.1 x64, blank screen with menu bar and nothing else.
As nihiven suggested, I deleted the 1.20 files from \AppData\Local\atom and \AppData\Local\atom\packages, which allowed the editor to load as normal.

We've published 1.20.0-beta1 which should resolve this issue.
If you run into any problems auto-updating from 1.20.0-beta0 to 1.20.0-beta1, you may need to uninstall your current Atom Beta app and then install the latest beta release. If you're still seeing this issue after installing 1.20.0-beta1, please let us know.


metrics(ticdc): fix min resolved ts/checkpoint table ID metrics

What problem does this PR solve?
Issue Number: close #4374
What is changed and how it works?
Remove avg.
Check List
Tests

Manual test (add detailed scripts or steps below)

Release note
Fix min resolved ts/checkpoint table ID metrics

Codecov Report

Merging #4375 (22ecb75) into master (ab62e6b) will decrease coverage by 0.1449%.
The diff coverage is 48.6885%.

Flag
Coverage Δ

cdc
59.2555% <54.6042%> (-0.3604%)
:arrow_down:

dm
52.1091% <45.6647%> (+0.0435%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4375        +/-   ##
================================================
- Coverage   55.5183%   55.3733%   -0.1450%
================================================
  Files           495        495
  Lines         61151      61051       -100
================================================
- Hits          33950      33806       -144
- Misses        23789      23838        +49
+ Partials       3412       3407         -5

/merge


Rounding Precision (UI)

https://imgur.com/VoK5e1l
.00001 becomes .0000099999999..

this is the tx fee of a transaction. It will reduce your balance.

I think you're mistaken; .99998 + .00001 = .99999, not .9999899999999999


IPC_NRF5340_NET_GPIO doesn't allow for more than a single pin value (?)

The MYNEW_VAL(IPC_NRF5340_NET_GPIO) is used below both as an expression to the preprocessor #if statement and as the initialiser for the gpios vector here:
https://github.com/apache/mynewt-core/blob/8a853d0e841b48259f8c5e8c77e0cb29fa88f03c/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c#L164-L167
Which, from what I can see, only works if IPC_NRF5340_NET_GPIO is a single pin. It fails for any of the below attempts of using more than one value in syscfg.vals:
IPC_NRF5340_NET_GPIO: 28, 29
Error: In file included from repos/apache-mynewt-core/kernel/os/include/os/os.h:26,
                 from repos/apache-mynewt-core/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c:21:
repos/apache-mynewt-core/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c: In function 'ipc_nrf5340_init':
bin/targets/pca10095_blinky/generated/include/syscfg/syscfg.h:190:44: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
 #define MYNEWT_VAL_IPC_NRF5340_NET_GPIO (28, 29)
                                            ^
bin/targets/pca10095_blinky/generated/include/syscfg/syscfg.h:15:49: note: in expansion of macro 'MYNEWT_VAL_IPC_NRF5340_NET_GPIO'
 #define MYNEWT_VAL(_name)                       MYNEWT_VAL_ ## _name
                                                 ^~~~~~~~~~~
repos/apache-mynewt-core/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c:165:30: note: in expansion of macro 'MYNEWT_VAL'
     unsigned int gpios[] = { MYNEWT_VAL(IPC_NRF5340_NET_GPIO) };

IPC_NRF5340_NET_GPIO: '"28, 29"'
Error: In file included from repos/apache-mynewt-core/kernel/os/include/os/os.h:26,
                 from repos/apache-mynewt-core/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c:21:
bin/targets/pca10095_blinky/generated/include/syscfg/syscfg.h:190:42: error: token ""28, 29"" is not valid in preprocessor expressions
 #define MYNEWT_VAL_IPC_NRF5340_NET_GPIO ("28, 29")
                                          ^~~~~~~~
bin/targets/pca10095_blinky/generated/include/syscfg/syscfg.h:15:49: note: in expansion of macro 'MYNEWT_VAL_IPC_NRF5340_NET_GPIO'
 #define MYNEWT_VAL(_name)                       MYNEWT_VAL_ ## _name
                                                 ^~~~~~~~~
repos/apache-mynewt-core/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c:24:5: note: in expansion of macro 'MYNEWT_VAL'
 #if MYNEWT_VAL(IPC_NRF5340_NET_GPIO)
     ^~~~~~~~
repos/apache-mynewt-core/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c: In function 'ipc_nrf5340_init':
bin/targets/pca10095_blinky/generated/include/syscfg/syscfg.h:190:42: error: token ""28, 29"" is not valid in preprocessor expressions
 #define MYNEWT_VAL_IPC_NRF5340_NET_GPIO ("28, 29")

(slightly over complicated) fix fot this
https://github.com/apache/mynewt-core/pull/2628

Solved by #2629.


Gif play speed varies from device to device

I noticed that on an older device I have (Galaxy S4 - 4.4.4) and on the emulators running 6.0, the gif I am using plays back at normal speed. However I just tried running it on a Galaxy S7 (6.0.1) and the playback speed of the gif seems to be about half. Any ideas on what could cause this?

Same issue here.

Same issue here.


:wrench: added more fastlane file types

Thanks for the extension, good work.
I added syntax highlighting to couple more fastlane files.
I'm assuming there nothing else to do.

Yep, that's it

Publishing<EMAIL_ADDRESS>Successfully published<EMAIL_ADDRESS>

Nice one - thanks


Feature: SCP (Samsung Cloud Platform) Support Contribution

Overview
I have developed code to support SCP (Samsung Cloud Platform) and would like to contribute it. I have completed testing and followed all the procedures in the contributing guide.
Details

Contributor: sangjun-kang (aau213)
https://github.com/skypilot-sds/skyplane/tree/scp-contribution
Branch: scp-contribution

Progress

Code development and testing completed
Issue and discussion registration

Notes

This feature introduces support for SCP, and I have followed the contributing guide for the required tasks.
Initiating a discussion on the related work.

Upon confirmation, I will create the scp-contribution branch and submit a pull request.

Closed by #926


⚠ Bofrost.at has degraded performance

In f262409, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1615 ms

Resolved: Bofrost.at performance has improved in 3a7e5a9.


Fix scheduling for jobs

Job scheduling was corrupted due to change in parameters order in https://github.com/apache/beam/pull/6097.
Updating order to safe one.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

@Ardagan, thanks! I am a bot who has found some folks who might be able to help with the review:@pabloem, @kennknowles and @chamikaramj

R:@pabloem, @yifanzou

Run Seed Job

LGTM!

Thanks!


Fetch imdb rating and genre for movies

Description
Script to fetch movie ratings
Idea
We have a directory which contains huge amount of movie files and we want to see movies by rating and genre.

Follow Steps

[ ] Accept input directory path(Which contains different movies).
[ ] Check IMDB(from IMDB website).
[ ] Store result in CSV(name,ratings,genre)

Type of issue

[ ] Feature (New Script)

Checklist:

[ ] I have read the project guidelines.
[ ] I have checked all the existing projects, before submitting a new project issue.
[ ] I have checked previous issues to avoid duplicates.
[ ] This issue will be meaningful for the project.

Hey, I would like to work on this

sure @utkarshbajaj

It is mentioned to check from IMDB Website, is it okay if I get the ratings using the OMDb API - The Open Movie Database

Description
Script to fetch movie ratings
Idea
We have a directory which contains huge amount of movie files and we want to see movies by rating and genre.
Follow Steps

[ ]  Accept input directory path(Which contains different movies).
[ ]  Check IMDB(from IMDB website).
[x]  Store result in CSV(name,ratings,genre)

Type of issue

[ ]  Feature (New Script)

Checklist:

[ ]  I have read the project guidelines.
[ ]  I have checked all the existing projects, before submitting a new project issue.
[ ]  I have checked previous issues to avoid duplicates.
[ ]  This issue will be meaningful for the project.

It is mentioned to check from IMDB Website, is it okay if I get the ratings using the OMDb API - The Open Movie Database, one more doubt, will I check these checkboxes while making PR?

If you use an API it won't be scraping

It is mentioned to check from IMDB Website, is it okay if I get the ratings using the OMDb API - The Open Movie Database, one more doubt, will I check these checkboxes while making PR?

If you use an API it won't be scraping

Okay, I don't know much about web scraping


Bug: Agent renames with Free Customization not persisting after closing and re-opening the game

Agent renames seem to stay for the duration of the game session, including going to the Main Menu and re-loading the save, but after closing and re-opening the game the agent reverts to their prior name. Appearance changes are still there so it just seems to be an issue with the name.
Steps to reproduce:

Rename an existing agent
Begin management to save changes
Exit game
Re-open game
Continue saved game

Expected result: Agent still has their new name.
Actual result: Agent has reverted to their original name.
Version: 4.0

Looks like it only affects agents that were randomly generated and then later customized. Agents that were created customized don't seem to be affected.

I had a duplicate of the special agent "Aran" before using the Free Re-Customization mod.  "Samus" has kept their changed name and altered appearance up to this point.  Dunno if that helps with narrowing the issue, but there ya go.

@SabinStargem Thanks for the confirmation! That matches up with what I'm seeing too, that custom agents like the special agents keep their name changes, but pre-generated ones don't. I only happened to notice this because I started from Day 1 for testing and decided to modify the starting agent who now shows the bug.
Luckily this should be an easy fix from what I'm seeing.


API to get current overdue tasks

RFC - https://github.com/Real-Dev-Squad/website-dashboard/issues/300
Brief

Create an API for SUPERUSER to get overdue tasks.
Added support for username in create extension request.

Unit tests

Integration tests

Due to rebase, this PR is unusable. will create a new one

New - https://github.com/Real-Dev-Squad/website-backend/pull/1402


Improving storybook for current widgets and in general

Summary
Changing the theme and improving the overall usage of storybook for the existing widgets.
Ticket Link
MM-18212
QA Notes
I moved the MenuItemBlockableLink component outside of the widgets library because is too specific to be there. You can test it going to the admin console, modifying something and trying to use the admin console menu to "switch to team X"

This PR was merged in error so will be tested post-merge for 5.18


update codecov settings

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@a6c2f98). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage        ?   92.59%
=======================================
  Files           ?        1
  Lines           ?       27
  Branches        ?        0
=======================================
  Hits            ?       25
  Misses          ?        2
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


KATA-3270: pod overhead for peer pods reduce actual worker capacity

- Description of the problem which is fixed/What is the use case
Peer pods' overhead reduce actual worker capacity, however most of the RAM/CPU allocated in cloud instance.
Fixes: KATA-3270
- What I did
Operator create 'kata-remote' runtime class without overhead.
- How to verify it

create KataConfig for a peer pods
check 'kata-remote' runtime class created without overhead,
'kata' runtime class still created with required overhead

- Description for the changelog
Remove peer pods' overhead related constants and create peerpod's runtime without overhead

Hi @gkurz!
Thank you for the review. I've updated the PR according to your comments.


Visual-diff: Input-time: Combine evals in input-helper to try to help with flakiness

Ran several times locally and with this pattern I didn't see flake. I'll try several times here too and we'll see.

This has passed visual diff several times in a row so I think it's stable. The change to the helper didn't end up helping but cleans things up a bit.
I also tried listening for d2l-input-time-dropdown-toggle from input-time and awaiting an updatecomplete but that was still flaky. The timeout seems to be most reliable. I can try reducing it as well - 100 was just a starting point.


[FEATURE] Support search_pipeline query parameter for search API requests

Is your feature request related to a problem?
The Search API supports specifying a search pipeline as a query parameter in search requests. Currently there is no way to specify this parameter through this client.
What solution would you like?
Add a new parameter to the SearchRequest structure and add this as a query parameter during URL construction.
What alternatives have you considered?
Not using this client for cases which require specifying a search pipeline.
Do you have any additional context?
Planning to put up a PR momentarily!

Apologies, I didn't see that this was recently added in the 4.0 changes.


Cant Authenticate To Enterprise IBM Git

Expected Behavior
The pod I am working on should be created properly
Actual Behavior
Tekton git:(master) ✗ tkn taskrun describe flow-and-policy-automation-task-run
Name:        flow-and-policy-automation-task-run
Namespace:   tekton-pipelines
Task Ref:    flow-and-policy-automation
Service Account:   tekton-service

🌡  Status

STARTED        DURATION     STATUS
1 minute ago   35 seconds   Failed

Message

"step-git-source-git-sq2p6" exited with code 1 (image: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init@sha256:18ffa2bfc14b1fa6d39f62271beacf6bbc38e7cd2e255184dec477c2936270bc"); for logs run: kubectl -n tekton-pipelines logs flow-and-policy-automation-task-run-pod-ctbgs -c step-git-source-git-sq2p6

📨 Input Resources

 NAME               RESOURCE REF
 ∙ git                   git

📡 Output Resources

No resources

⚓ Params

No params

🦶 Steps

 NAME                                STATUS
 ∙ unnamed-1                         Error
 ∙ unnamed-2                         Error
 ∙ git-source-git-sq2p6   Error

Steps to Reproduce the Problem

Create a secret in kubernetes

kubectl create secret generic git-ssh-key --from-file=ssh-privatekey=/Users/auser/.ssh/id_rsa --from-literal=known_hosts='https://github.ibm.com/'

Annotate the secret

kubectl annotate secret git-ssh-key --overwrite 'tekton.dev/git-0'='github.ibm.com'

Deploy resource, service account, task and task run

Additional Info
I have changed some of the names so as to not match the actual secrets and tasks that I am using

@hectotruj it would be good to see the log of step-git-source-bluefringe-git-sq2p6

Tekton git:(master) ✗ kubectl -n tekton-pipelines logs flow-and-policy-automation-task-run-pod-ctbgs -c step-git-source-git-sq2p6
{"level":"info","ts":1583935089.2905705,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/refs/heads/master: no such file or directory"}
{"level":"info","ts":1583935113.3329186,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/refs/heads/master: no such file or directory"}
{"level":"error","ts":1583935113.5813289,"logger":"fallback-logger","caller":"git/git.go:41","msg":"Error running git [fetch --recurse-submodules=yes --depth=1 origin master]: exit status 128\nCould not create directory '/root/.ssh'.\r\nHost key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:41\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:90\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:51\nruntime.main\n\truntime/proc.go:203"}
{"level":"error","ts":1583935113.808133,"logger":"fallback-logger","caller":"git/git.go:41","msg":"Error running git [pull --recurse-submodules=yes origin]: exit status 1\nCould not create directory '/root/.ssh'.\r\nHost key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:41\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:93\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:51\nruntime.main\n\truntime/proc.go:203"}
{"level":"warn","ts":1583935113.8082743,"logger":"fallback-logger","caller":"git/git.go:94","msg":"Failed to pull origin : exit status 1"}
{"level":"error","ts":1583935113.8097844,"logger":"fallback-logger","caller":"git/git.go:41","msg":"Error running git [checkout master]: exit status 1\nerror: pathspec 'master' did not match any file(s) known to git\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:41\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:96\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:51\nruntime.main\n\truntime/proc.go:203"}
{"level":"fatal","ts":1583935113.8098214,"logger":"fallback-logger","caller":"git-init/main.go:52","msg":"Error fetching git repository: exit status 1","stacktrace":"main.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:52\nruntime.main\n\truntime/proc.go:203"}

It looks like something's wrong in your secret creation step, since you get Host key verification failed. .
I think this --from-literal=known_hosts='https://github.ibm.com/' does not look of, you may want to try --from-literal=known_hosts=<base64 encoded content of your known_hosts file>

/kind question

I think fixing that solved the problem, thank you!


create github repo/pages for job-seeker-app

I'm going to pick a somewhat arbitrary name from pascal's list & the index.html will be a placeholder
This issue originally created by @antislice as codeforamerica/nola-2016-fellows#99.

Created new repo
Set it up as primarily a gh-pages site with a placeholder index.html
Moved all the relevant issues to this repo (and added repo to waffle)


[ISSUE #3487] Benchmark supports custom AK/SK

What is the purpose of the change
#3487
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.02%) to 55.116% when pulling 7418addf38f7df998959124a5aff63f6d540d55a on Git-Yang:dev-benchmark into 4b8b307901da19a1e562c883adc1bdaf8e111cfb on apache:develop.

Codecov Report

Merging #3488 (7418add) into develop (4b8b307) will increase coverage by 0.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #3488      +/-   ##
=============================================
+ Coverage      48.80%   48.82%   +0.01%
+ Complexity      4652     4648       -4
=============================================
  Files            555      555
  Lines          36724    36724
  Branches        4839     4839
=============================================
+ Hits           17924    17930       +6
+ Misses         16553    16543      -10
- Partials        2247     2251       +4

Impacted Files
Coverage Δ

...ain/java/org/apache/rocketmq/test/util/MQWait.java
43.24% <0.00%> (-10.82%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
78.21% <0.00%> (-1.49%)
:arrow_down:

...mq/client/impl/consumer/RebalanceLitePullImpl.java
48.52% <0.00%> (-1.48%)
:arrow_down:

...a/org/apache/rocketmq/store/StoreStatsService.java
29.50% <0.00%> (-1.32%)
:arrow_down:

...e/rocketmq/client/impl/consumer/RebalanceImpl.java
39.45% <0.00%> (-1.18%)
:arrow_down:

...ketmq/client/impl/consumer/PullMessageService.java
75.55% <0.00%> (ø)

...etmq/client/latency/LatencyFaultToleranceImpl.java
50.00% <0.00%> (ø)

.../apache/rocketmq/logging/inner/LoggingBuilder.java
63.92% <0.00%> (+0.31%)
:arrow_up:

...n/java/org/apache/rocketmq/store/ha/HAService.java
71.28% <0.00%> (+0.33%)
:arrow_up:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
69.55% <0.00%> (+0.51%)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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


trealla: 2.52.9 -> 2.52.15

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/trealla-prolog/trealla/releases.
meta.description for trealla is: A compact, efficient Prolog interpreter written in ANSI C
meta.homepage for trealla is: https://trealla-prolog.github.io/trealla/
meta.changelog for trealla is: https://github.com/trealla-prolog/trealla/releases/tag/v2.52.15
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.52.15 with grep in /nix/store/lb0djbrxsg12spvb151b7vv5gqnawarf-trealla-2.52.15
found 2.52.15 in filename of file in /nix/store/lb0djbrxsg12spvb151b7vv5gqnawarf-trealla-2.52.15

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

trealla

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lb0djbrxsg12spvb151b7vv5gqnawarf-trealla-2.52.15 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A trealla https://github.com/r-ryantm/nixpkgs/archive/0bdb15e38fac26110af9c0ed9d74c876f817a452.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0bdb15e38fac26110af9c0ed9d74c876f817a452#trealla

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lb0djbrxsg12spvb151b7vv5gqnawarf-trealla-2.52.15
ls -la /nix/store/lb0djbrxsg12spvb151b7vv5gqnawarf-trealla-2.52.15/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

trealla

Maintainer pings
cc @siraben @AndersonTorres for testing.

Result of nixpkgs-review pr 315673 run on x86_64-linux 1

1 package built:

trealla

Result of nixpkgs-review pr 315673 run on aarch64-darwin 1

1 package built:

trealla


rewrite the file into lowercase to solve all issues about cases in startup yml

#859

I would appreciate it if more testing was done. So far, it works on my Linux box but that doesn't inspire confidence.
I've tried
github.com/CYBERREBOOT
github.com/CyBerReboot
github.com/CyberReboot
and they worked fine. I also tried those cases on the tool names and build. So far so good.

Codecov Report

Merging #866 into master will increase coverage by 1.27%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #866      +/-   ##
==========================================
+ Coverage   76.86%   78.14%   +1.27%
==========================================
  Files          52       52
  Lines        5503     5508       +5
==========================================
+ Hits         4230     4304      +74
+ Misses       1273     1204      -69

Impacted Files
Coverage Δ

vent/api/actions.py
78.26% <100%> (+2.04%)
:arrow_up:

vent/api/plugins.py
81.12% <0%> (-0.2%)
:arrow_down:

vent/api/menu_helpers.py
93.11% <0%> (+0.4%)
:arrow_up:

vent/menus/main.py
79.21% <0%> (+1.31%)
:arrow_up:

vent/core/network_tap/ncontrol/rest/nlist.py
100% <0%> (+33.33%)
:arrow_up:

vent/menus/ntap.py
57.6% <0%> (+33.6%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix border-radius on list group items in collapsible panels

Fixes #15830.
Demo of fix at https://jsbin.com/qomede/1/edit.

:+1:


Invalidate API does not invalidate files

I have encountered the following problem: https://github.com/jackfranklin/jspm-dev-builder/issues/3#issuecomment-147658392
I have debugged what happens during invalidation using this test project https://github.com/OrKoN/jspm-dev-builder/tree/master/test-project:

invalidationModuleName equals main.js.
It looks like this.cache.trace is an object w/o keys so nothing is invalidated. The subsequent calls to bundle the expression triggers re-build of entire app.

It looks like the build function in dev builder will create a new builder instance - https://github.com/jackfranklin/jspm-dev-builder/blob/master/index.js#L38. This will obviously lose the cache.

Thanks @guybedford

@guybedford @jackfranklin
I have found another problem. Somehow incremental builds work in the jspm-dev-builder project but not in my app - whenever I change main.js the bundle is rebuilt with the old contents of main.js. I traced it down to lib/trace.js:
  if (this.tracing[canonical])
    return this.tracing[canonical];

on rebuild, the old source is still being found in this.tracing.  I tried to fix it by invalidating cache like this:
  var cache = this.getCache();
  Object.keys(cache.trace).forEach(function(canonical) {
    var moduleName = loader.normalizeSync(canonical);
    if (matchesInvalidation(moduleName)) {
      invalidated.push(moduleName);
      cache.trace[canonical] = undefined;
    }
  });
  this.setCache(cache);

So that tracer.tracing is destroyed by setCache. But that didn't work either - now main.js has no source on re-builds. I assume that something else depends on this tracing object but I cannot figure out what exactly.

@OrKoN thanks for the detailed analysis as always. I've added a fix in https://github.com/systemjs/builder/commit/a96fa363edf10fa455bccf94dac9cd5841aa52eb, just let me know if you notice anything further at all.

@guybedford I still have the same problem as after the fix I applied myself: the module that is being invalidated becomes empty. For example, System.register("mappings.js", [], function() { return { setters: [], execute: function() {} } }); I have edited mappings.js, saved and got the following builder output:
jspm-dev-builder Invalidated mappings.js from cache
jspm-dev-builder jspm build starting main.js
jspm-dev-builder Building non-SFX bundle
builder.build is deprecated. Using builder.bundle instead.
jspm-dev-builder jspm build finished 332

Here is my gulp task:
gulp.task('watch', function(done) {
  var browserSync = require('browser-sync');
  var DevBuilder = require('jspm-dev-builder');
  var reload = browserSync.reload;
  var path = require('path');
  var baseURL = new jspm.Builder().loader.baseURL.replace('file://', '');

  var appDevBuilder = new DevBuilder({
    jspm: require('jspm'), // so you can use your local version of jspm
    expression: path.join('main.js'), // path to your app's entry point
    outLoc: path.join('app', 'app-bundle.js'), // where you want the output file
    logPrefix: 'jspm-dev-builder', // put at the beginning of log messages from dev builder
    buildOptions: {
      minify: false,
      mangle: false,
      sourceMaps: false
    }
  });

  appDevBuilder.build().then(function() {
    done();
    browserSync({
      online: false,
      open: false,
      server: {
        baseDir: ['app-data', 'app', 'dist']
      }
    });

    gulp.watch([
      'app/*.html',
      'app-data/css/**/*.css',
      'app-data/imgs/**/*'
    ], function(file) {
      reload(file.path);
    });

    gulp.watch([
      'app/**/*.js',
      'app/**/*.hbs',
    ], function(file) {
      var moduleId = path.relative(baseURL, file.path);
      if (moduleId !== 'app-bundle.js') {
        appDevBuilder.build(moduleId);
      }
    });
  });
});

Maybe I am doing something wrong? I can't spot the problem.
The simpler test project in jspm-dev-builder still works fine.

@OrKoN this should definitely work ok. Are you sure the right change of SystemJS Builder is applying. To investigate further, could you send the contents of JSON.stringify(appDevBuilder.cache) immediately after invalidation?

@guybedford the systemjs-builder version is 0.14.9. The output JSON.stringify(appDevBuilder.cache) is huge. What exactly should I check? I have captured trace and load state for mappings.js:
Load for mappings.js =
{
  "hash": "599f817c6d3ff483fde0de18ac97a933",
  "output": {
    "source": "System.register('mappings.js', ['application/application.js', 'index/index.js', 'event/event.js', 'event/event-list.js', 'event/event-add.js', 'event-day/event-day.js', 'event-slot/event-slot.js', 'event-table/event-table.js', 'event-table/event-table-row.js', 'address/address.js', 'payment/payment.js', 'cart/cart.js', 'event-reservation/event-reservation.js', 'cron_service/cron_service.js', 'job_service/job_service.js', 'event-specifications/event-specification-list.js', 'event-specifications/event-specification.js', 'vouchers/voucher-list-item.js', 'vouchers/voucher-add.js', 'vouchers/voucher.js', 'invoices/invoice-list-item.js', 'invoices/invoice.js', 'orders/order-list-item.js', 'orders/order.js', 'components/status-operation-toolbar.js'], function (_export) {\n  'use strict';\n\n  // single event\n\n  // event list\n\n  // event add\n\n  // event day component for agenda in list\n\n  // other components\n\n  // management\n\n  // overwrites\n\n  // components\n\n  return {\n    setters: [function (_applicationApplicationJs) {\n      for (var _key in _applicationApplicationJs) {\n        if (_key !== 'default') _export(_key, _applicationApplicationJs[_key]);\n      }\n    }, function (_indexIndexJs) {\n      for (var _key2 in _indexIndexJs) {\n        if (_key2 !== 'default') _export(_key2, _indexIndexJs[_key2]);\n      }\n    }, function (_eventEventJs) {\n      for (var _key3 in _eventEventJs) {\n        if (_key3 !== 'default') _export(_key3, _eventEventJs[_key3]);\n      }\n    }, function (_eventEventListJs) {\n      for (var _key4 in _eventEventListJs) {\n        if (_key4 !== 'default') _export(_key4, _eventEventListJs[_key4]);\n      }\n    }, function (_eventEventAddJs) {\n      for (var _key5 in _eventEventAddJs) {\n        if (_key5 !== 'default') _export(_key5, _eventEventAddJs[_key5]);\n      }\n    }, function (_eventDayEventDayJs) {\n      for (var _key6 in _eventDayEventDayJs) {\n        if (_key6 !== 'default') _export(_key6, _eventDayEventDayJs[_key6]);\n      }\n    }, function (_eventSlotEventSlotJs) {\n      for (var _key7 in _eventSlotEventSlotJs) {\n        if (_key7 !== 'default') _export(_key7, _eventSlotEventSlotJs[_key7]);\n      }\n    }, function (_eventTableEventTableJs) {\n      for (var _key8 in _eventTableEventTableJs) {\n        if (_key8 !== 'default') _export(_key8, _eventTableEventTableJs[_key8]);\n      }\n    }, function (_eventTableEventTableRowJs) {\n      for (var _key9 in _eventTableEventTableRowJs) {\n        if (_key9 !== 'default') _export(_key9, _eventTableEventTableRowJs[_key9]);\n      }\n    }, function (_addressAddressJs) {\n      for (var _key10 in _addressAddressJs) {\n        if (_key10 !== 'default') _export(_key10, _addressAddressJs[_key10]);\n      }\n    }, function (_paymentPaymentJs) {\n      for (var _key11 in _paymentPaymentJs) {\n        if (_key11 !== 'default') _export(_key11, _paymentPaymentJs[_key11]);\n      }\n    }, function (_cartCartJs) {\n      for (var _key12 in _cartCartJs) {\n        if (_key12 !== 'default') _export(_key12, _cartCartJs[_key12]);\n      }\n    }, function (_eventReservationEventReservationJs) {\n      for (var _key13 in _eventReservationEventReservationJs) {\n        if (_key13 !== 'default') _export(_key13, _eventReservationEventReservationJs[_key13]);\n      }\n    }, function (_cron_serviceCron_serviceJs) {\n      for (var _key14 in _cron_serviceCron_serviceJs) {\n        if (_key14 !== 'default') _export(_key14, _cron_serviceCron_serviceJs[_key14]);\n      }\n    }, function (_job_serviceJob_serviceJs) {\n      for (var _key15 in _job_serviceJob_serviceJs) {\n        if (_key15 !== 'default') _export(_key15, _job_serviceJob_serviceJs[_key15]);\n      }\n    }, function (_eventSpecificationsEventSpecificationListJs) {\n      for (var _key16 in _eventSpecificationsEventSpecificationListJs) {\n        if (_key16 !== 'default') _export(_key16, _eventSpecificationsEventSpecificationListJs[_key16]);\n      }\n    }, function (_eventSpecificationsEventSpecificationJs) {\n      for (var _key17 in _eventSpecificationsEventSpecificationJs) {\n        if (_key17 !== 'default') _export(_key17, _eventSpecificationsEventSpecificationJs[_key17]);\n      }\n    }, function (_vouchersVoucherListItemJs) {\n      for (var _key18 in _vouchersVoucherListItemJs) {\n        if (_key18 !== 'default') _export(_key18, _vouchersVoucherListItemJs[_key18]);\n      }\n    }, function (_vouchersVoucherAddJs) {\n      for (var _key19 in _vouchersVoucherAddJs) {\n        if (_key19 !== 'default') _export(_key19, _vouchersVoucherAddJs[_key19]);\n      }\n    }, function (_vouchersVoucherJs) {\n      for (var _key20 in _vouchersVoucherJs) {\n        if (_key20 !== 'default') _export(_key20, _vouchersVoucherJs[_key20]);\n      }\n    }, function (_invoicesInvoiceListItemJs) {\n      for (var _key21 in _invoicesInvoiceListItemJs) {\n        if (_key21 !== 'default') _export(_key21, _invoicesInvoiceListItemJs[_key21]);\n      }\n    }, function (_invoicesInvoiceJs) {\n      for (var _key22 in _invoicesInvoiceJs) {\n        if (_key22 !== 'default') _export(_key22, _invoicesInvoiceJs[_key22]);\n      }\n    }, function (_ordersOrderListItemJs) {\n      for (var _key23 in _ordersOrderListItemJs) {\n        if (_key23 !== 'default') _export(_key23, _ordersOrderListItemJs[_key23]);\n      }\n    }, function (_ordersOrderJs) {\n      for (var _key24 in _ordersOrderJs) {\n        if (_key24 !== 'default') _export(_key24, _ordersOrderJs[_key24]);\n      }\n    }, function (_componentsStatusOperationToolbarJs) {\n      for (var _key25 in _componentsStatusOperationToolbarJs) {\n        if (_key25 !== 'default') _export(_key25, _componentsStatusOperationToolbarJs[_key25]);\n      }\n    }],\n    execute: function () {}\n  };\n});\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJtYXBwaW5ncy5qcyIsInNvdXJjZXNDb250ZW50IjpbXX0=",
    "sourceMap": null
  }
}
Trace for mappings.js =
undefined

@OrKoN after re-running the load, is the trace cache then correctly populated again?

Hey guys,
I'm running into this same issue using the jspm-dev-builder.
After running the bundle the 2nd time through, the file I changed disappears from my bundle.
gulp.task('build-watch', [], function () {
	let appBuilder = new DevBuilder({
		jspm: jspm, // so you can use your local version of jspm
		expression: [app/**/*.js], // path to your app's entry point
		outLoc: 'public/jsa.js', // where you want the output file
		logPrefix: 'jspm-app', // put at the beginning of log messages from dev builder
		buildOptions: bundleOptions
	});

	$.watch('src/js/app/**/*.js', function(vinyl) {
		// this is how you get the relative path from a vinyl file instance
		log(`Path: ${vinyl.path}`);
		log(`Cwd: ${vinyl.cwd}`);
		log(`Base: ${vinyl.base}`);
		log(`Relative: ${vinyl.relative}`);
		appBuilder.build(`src/js/app/${vinyl.relative}`)
			.then(function success(builder) {
                // this function performs DI annotation for angular (works fine)
				buildScripts.scriptsAnnotate();
				log("Finished annotation");
			});
	});
});

Running the watch looks like this in the console
$ gulp build-watch
[14:47:24] Using gulpfile C:\dev\demos\jspm-systemjs-angular-1x\gulpfile.js
[14:47:24] Starting 'build-watch'...
[14:47:25] Finished 'build-watch' after 1.48 s
[14:47:30] Path: C:\dev\demos\jspm-systemjs-angular-1x\src\js\app\jsa.module.js
[14:47:30] Cwd: C:\dev\demos\jspm-systemjs-angular-1x
[14:47:30] Base: C:\dev\demos\jspm-systemjs-angular-1x\src\js\app\
[14:47:30] Relative: jsa.module.js
jspm-app Invalidated src/js/app/jsa.module.js from cache
jspm-app jspm build starting [app/**/*.js]
jspm-app Building non-SFX bundle
builder.build is deprecated. Using builder.bundle instead.
jspm-app jspm build finished 1456
[14:47:31] Angular-annotating jsa.js in ./public/
[14:47:32] Finished annotation

The contents of my main app entry point src/js/app/jsa.module.js looks like this in my bundle after the second (cached) pass through the DevBuilder.build
System.register("app/jsa.module", [], function() { return { setters: [], execute: function() {} } });

But after the first build it looks like this
System.register('app/jsa.module'<EMAIL_ADDRESS><EMAIL_ADDRESS>'app/common/common.module', 'app/home/home.module', 'app/rep/rep.module', 'public/templates', 'styles/styles-adapter'], function (_export) {
	'use strict';

	var angular, uiRouter, commonModule, homeModule, repModule, templatesModule, styles, moduleName, appModule;

	function config($locationProvider) {
		"ngInject";
		console.log("ABCDEFG");
		$locationProvider.html5Mode(true).hashPrefix('!');
	}
	config.$inject = ['$locationProvider'];

	return {
		setters: [function (_githubAngularBowerAngular147) {
			angular = _githubAngularBowerAngular147['default'];
		}, function (_githubAngularUiUiRouter0215) {
			uiRouter = _githubAngularUiUiRouter0215['default'];
		}, function (_appCommonCommonModule) {
			commonModule = _appCommonCommonModule['default'];
		}, function (_appHomeHomeModule) {
			homeModule = _appHomeHomeModule['default'];
		}, function (_appRepRepModule) {
			repModule = _appRepRepModule['default'];
		}, function (_publicTemplates) {
			templatesModule = _publicTemplates['default'];
		}, function (_stylesStylesAdapter) {
			styles = _stylesStylesAdapter['default'];
		}],
		execute: function () {
			moduleName = "jsa";
			appModule = angular.module(moduleName, ['ui.router', commonModule.name, homeModule.name, repModule.name, 'jsa.templates']).config(config);
			angular.element(document).ready(function () {
				angular.bootstrap(document, [appModule.name], { strictDI: true });
			});
		}
	};
});

Note: There might be copy/paste typos in the code, but the output is the same

I tried doing this process with cache & invalidation without jspm-dev-builder
gulp.task('build-watch', [], function () {
	let appCache = {};
	let builder = new Builder('/', './config.js');
	builder.setCache(appCache);

	$.watch('src/js/app/**/*.js', function(vinyl) {
		builder.invalidate(`app/${vinyl.relative}`);
		builder.bundle(
			config.app.module.app,
			config.dir.public + config.file.bundle.app,
			config.setting.bundleOptions,
			appCache)
			.then(function () {
				appCache = builder.getCache();
				log(`Completed bundle ${config.file.bundle.app} in ${config.dir.public}`);
			}).catch(function (err) {
				log(`Error : ${err}`);
			});
	});
});

I still end up with this at the end of my app bundle file right before the sourcemaps.
System.register("app/jsa.module", [], function() { return { setters: [], execute: function() {} } });

and there is no other System.register("app/jsa.module", ...); in the bundle.

after re-running the load, is the trace cache then correctly populated again?

@guybedford  Sorry, I have missed your question. What does re-running the load mean? If I bundle anew, everything works as expected. But if I invalidate a file by its name, and then bundle using the same instance, the file gets registered as an empty module. So the source file is not read again after the re-validation. Btw, the<EMAIL_ADDRESS>still works fine for me.

Fixed in https://github.com/systemjs/builder/commit/a1c15201698dd7cf01813285767da2a2e178fd31.

Thanks! Do you think if it's a good idea to bring jspm-dev-builder functionality into jspm? jspm.watch that watches app files and invalidates/rebuilds would be super helpful in my opinion?

@OrKoN did the  patch fix your issue?

@iksose Haven't tried yet. I will give it a try on Monday

@iksose works for me

I see. We still have not switched to the long-awaited feature of plugins via configuration. Totally makes sense.

@OrKoN what happens if you try to invalidate the same .js multiple times consecutively?

@iksose .js files work fine for me. Do you have any problems?

If I have, say, 5 files and I change any of them, with guy's patch, it works.
But if I change the same one twice in a row, it gives me an error ENOENT for my/directory/24.js where 24 is any random number. Might be jspm-dev-builder and not a jspm issue.

Is there a pause between changes?

@iksose How did you patch the changes/fix into jspm-dev-builder? Did you modify your local jspm or the one in jspm-dev-builder?
@guybedford I see you marked this as pending release, but since these are fixes to systemjs-builder, when will the fix be pulled into a jspm release?

I just added the changes inline myself

@iksose are you running an sfx bundle there specifically?

yes

Will it be supported for sfx?

SFX support is not guaranteed currently, which sounds like the issue. Happy to work towards supporting that as well though.

Released in 0.14.10.

@guybedford Thanks for all the work on this! I just tested this with jspm-dev-builder and the issue https://github.com/jackfranklin/jspm-dev-builder/issues/7 appears to be resolved as long as I use my local updated jspm. With this fix I feel pretty good about having jspm/systemjs as part of my workflow.

@sgwatgit perfect, I'll update jspm-dev-builder today with the latest jspm by default and that should be that :+1:


Nested virtualization does NOT work for D3_v3

If you try to install Hyper-V on a Windows Server 2022 using D3_v3 VM it will complain that virtualization is not enabled in the BIOS.
This page was also last updated a year ago.

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

ID: ad3e8dba-4c99-47d6-ac9f-6d110ec5a43c
Version Independent ID: 308f299a-5bb2-cf20-a97d-47dd9485d574
Content: Overview of the Azure Compute Unit - Azure Virtual Machines
Content Source: articles/virtual-machines/acu.md
Service: virtual-machines
Sub-service: sizes
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@viktoreinars
Thanks for your feedback! We will investigate and update as appropriate.

Hi @viktoreinars Nested virtualization is not supported for the D3_v3 size of Azure virtual machines. According to the Azure Compute Unit (ACU) documentation, the D3_v3 size has an ACU of 160, which is below the minimum requirement of 180 ACU for nested virtualization support.
Still if you are facing same issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.


Remove HP/MPE and Tru64 Unix support

According to Wikipedia,  Tru64 was last released in 2010 and MPE was last released in 1998

I posted about this nearly a month ago, https://mta.openssl.org/pipermail/openssl-users/2019-June/010772.html, and there was no feedback.  Okay to move on this?

This goes against the stated compatibility plans so I'm closing this. If someone wants to recreate for a future release, feel free to adopt the branch. :)


Importing png image to Adobe Indesign

Description
Hi, I'm trying to discontinue some png indesign but something goes wrong. When I use explorer it transfers correctly but in your application the background of the picture is also included.
Steps To Reproduce
No response
Expected behavior
PNG images should be imported correctly
Files Version
latest
Windows Version
win 10
Relevant Assets/Logs
?

@mak-inter can you upload a screenshot?


Removed PHP 5.6

Fixes https://github.com/shopwareLabs/shopware-vagrant/issues/63
PHP 5.6 no longer seems to be available in the PPA repository.

Thanks 💙


[documentation] Sign inconsistency for inductive energy between Transmon and TunableTransmon?

In the online documentation, I believe the sign of the inductive part of the Hamiltonian for the tunable transmon is wrong (inconsistent with the code and with the documentation for non-tunable transmon).
Transmon:

TunableTransmon:

Implementation for Transmon...
https://github.com/scqubits/scqubits/blob/e59e8588bf90103efcea6ee72381edb0e45630c5/scqubits/core/transmon.py#L150-L151
...which is inherited by TunableTransmon:
https://github.com/scqubits/scqubits/blob/e59e8588bf90103efcea6ee72381edb0e45630c5/scqubits/core/transmon.py#L436-L443

Thank you for taking the time to report and post this, @loganbvh.
I suspect that, technically speaking, the sign in question is merely a gauge choice without consequences. Consider the map:
|n>  ->  |n>   for n odd,
|n>  -> -|n>  for n even
In any case, I agree that  consistency in that sign choice is valuable to avoid confusion, so I have made changes to the docstring in TunableTransmon (pulled for API docs generation) and the text in the User Guide/Qubits section. This has been pushed to scqubits/master and scqubits-doc/rtd and changes should be reflected in the online documentation. If you have a moment, please check and confirm before I close the issue.

Thanks for the quick response and fix! User Guide/Qubits looks consistent now, but I think that the docstrings for Transmon and TunableTransmon (which had the same sign in the previous commit, in contrast with User Guide/Qubits) are now inconsistent:
https://github.com/scqubits/scqubits/blob/dfe5693278173a2c757e78c8d964f36ec4ccf142/scqubits/core/transmon.py#L45-L47
https://github.com/scqubits/scqubits/blob/dfe5693278173a2c757e78c8d964f36ec4ccf142/scqubits/core/transmon.py#L374-L380

@loganbvh Should be fine now, but if there's anything left, please reopen. Thanks again for your time and help to improve this!