Bump to Neovim 0.3.0

Depends on my open PR in the oni-neovim-binaries being merged first.

Do you know what this package does for each OS? Just wondering how this could impact Linux Distros.

Yep, the code is pretty simple:
https://github.com/onivim/oni-neovim-binaries/blob/master/lib/postinstall.js
    await releaseDownloader.downloadGithubRelease(path.join(__dirname, ".."),  {
        "user": "neovim",
        "repo": "neovim",
        "tag": "v0.3.0",
        "platforms": {
            "win32": {
                "name": "nvim-win32.zip"
            },
            "win64": {
                "name": "nvim-win64.zip"
            },
            "darwin": {
                "name": "nvim-macos.tar.gz"
            }
        }
    })

So this will not change Linux behaviour at all. If a Linux user wants Nvim 0.3.0 they'd simply have to update their nvim binary on their machine in whatever way they normally do (download an appimage, apt/pacman etcetc)
Since we only bundle Neovim for Window and Mac, we don't need to make any changes to the Linux side of things, except for maybe Arch AUR build scripts and similar, though they aren't kept in the repo.

@CrossR Thanks for the detailed explanation.
Do we have a place where we state the minimum neovim version Oni supports? If this change gets merged, does that change to 0.3.0?

The Wiki has some stuff here, and perhaps in other places : https://github.com/onivim/oni/wiki/Installation-Guide#linux
That said, we aren't using any features of 0.3.0 yet, so its not going to break anything. However, once #2302 is added, we will need to bump the required version number.

@CrossR Great, thanks! I'll keep that in mind when #2302 is merged and a new version is released!

Awesome, thanks @CrossR ! I just published the new version of<EMAIL_ADDRESS>and verified it picks up the latest nvim. I'll restart the builds here.

Woohoo! Build is good now - thanks @CrossR for getting us upgraded to the latest Neovim! I'll bring this in now in preparation of our next release 👍


Make "Show Me More" table more appealing on mobile

Summary
The "Show Me More" table currently requires users to scroll horizontally on mobile, which is unpleasant

[ ] Display the "Show Me More" table in a more user-friendly way on mobile, perhaps in multiple rows per observation. react-device-detect is a good package for this.

Motivation
We want the UX to be as smooth as possible, and users are saying this is a pain point

I will rebuild the table component

When I day rebuild I mean I will make sure that it is good for mobile and easy, but I will look into that package


LineChart X-axes data collapses to 0 on update of source data

Describe the bug
LineChart X-axes data collapses to 0 on update of data.
To Reproduce
codesandbox

See chart render initially fine with 7 data points along X axis.
Change the select to 3 days, see chart re-render but lose the X axis data.

Things Tried
Manual update as described here
onMounted(() => {
      lineRef.value.update();
});

Has no effect. Also tried onUpdated().
Version of vue-chart-3
v3.1.8
Version of Vue

[x] Vue 3
[ ] Vue 2
[ ] Nuxt 2
[ ] Nuxt 3

FYI this looks to be related to the use of the parsing option. Removing that and suppling the X-axes value through labels resolves the issue: https://codesandbox.io/s/vue-3-line-chart-reactive-issue-no-parsing-fboke6

Can confirm this issue occurs on:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>


docker daemon version out of date

Is this a request for help?:
Yes
Is this an ISSUE or FEATURE REQUEST? (choose one):
Issue
What version of acs-engine?:
All
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
All
What happened:
Docker engine version in ACS Engine is pinned to:
"dockerEngineVersion": "1.12.*"
What you expected to happen:
ACS Engine should be updated to newer docker engine version e.g.: 17.09.0-ce
Originally reported by @bacongobbler here: https://github.com/Azure/AKS/issues/63

+1, as they say. This really torques things out of whack to have one this old.


The clear backlog command is hanging

Describe the bug
When using pulsar-admin to clear a backlog, the pulsar-admin is hanging.
I use the pulsar-admin to create a subscription then using the pulsar-admin
to clear the backlog, pulsar admin is hanging and the broker has NPE.
To Reproduce

Build the master code
Start a standalone service:

bin/pulsar standalone -nss -nfw

Create a subscription:

bin/pulsar-admin topics create-subscription -s test1 test1

Clear the backlog:

bin/pulsar-admin topics clear-backlog -s test1 test1

Expected behavior
An error returned or has detailed information about the operations.
Additional
Broker log:
11:20:19.751 [BookKeeperClientWorker-OrderedExecutor-1-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught
java.lang.NullPointerException: null
	at org.apache.pulsar.broker.service.persistent.PersistentSubscription$4.clearBacklogComplete(PersistentSubscription.java:504) ~[pulsar-broker.jar:2.8.0-SNAPSHOT]
	at org.apache.bookkeeper.mledger.impl.ManagedCursorImpl$14.markDeleteComplete(ManagedCursorImpl.java:1363) ~[managed-ledger.jar:2.8.0-SNAPSHOT]
	at org.apache.bookkeeper.mledger.impl.ManagedCursorImpl$17.operationComplete(ManagedCursorImpl.java:1732) ~[managed-ledger.jar:2.8.0-SNAPSHOT]
	at org.apache.bookkeeper.mledger.impl.ManagedCursorImpl.lambda$persistPositionToLedger$21(ManagedCursorImpl.java:2509) ~[managed-ledger.jar:2.8.0-SNAPSHOT]
	at org.apache.bookkeeper.client.AsyncCallback$AddCallback.addCompleteWithLatency(AsyncCallback.java:92) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.client.PendingAddOp.submitCallback(PendingAddOp.java:431) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.client.LedgerHandle.sendAddSuccessCallbacks(LedgerHandle.java:1832) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.client.PendingAddOp.sendAddSuccessCallbacks(PendingAddOp.java:415) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.client.PendingAddOp.writeComplete(PendingAddOp.java:409) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.proto.PerChannelBookieClient$AddCompletion.writeComplete(PerChannelBookieClient.java:2149) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.proto.PerChannelBookieClient$AddCompletion.handleResponse(PerChannelBookieClient.java:2206) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.proto.PerChannelBookieClient$AddCompletion.handleV2Response(PerChannelBookieClient.java:2185) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.proto.PerChannelBookieClient$ReadV2ResponseCallback.safeRun(PerChannelBookieClient.java:1380) ~[bookkeeper-server-4.12.0.jar:4.12.0]
	at org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36) [bookkeeper-common-4.12.0.jar:4.12.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_201]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_201]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.51.Final.jar:4.1.51.Final]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]

@zymap Is this a bug that can be reproduced stably? I think this might be related to some race condition cause the dispatcher of the subscription is cleanup but the clear backlog request is onging.

Yes. It is a bug and it can be reproduced every time.


Configure platforms for multiarch globally

On the webinar I saw that you can specify --platform= to build multiarch, but it would be really nice if you could list them in an .acornrc in your home folder or something so it always does it without needing to keep specifying those params every time.

This is a good idea.  This would be the first need for a config file, but I'm sure there are more to come.


Add Kaleido-BERT: Vision-Language Pre-training on Fashion Domain

RT

Thanks for your contribution.


Uploading any asset causes all other assets of the same type to disappear from the Featured Page

Describe the bug
Uploading any asset causes all other assets of the same type to disappear from the Featured Page
(Might be specific to docker compose)
More specifically, uploading a model causes all other models to lose their publish_approved and featured values.
To Reproduce
Steps to reproduce the behavior:

Start up the docker compose quickstart
Upload a new model

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
MLX Version [e.g. 22]

Additional context
Add any other context about the problem here.

@drewbutlerbb4 -- I cannot reproduce this bug. How did you enable the upload in the Quickstart with Docker Compose since that was not working anymore (#97)?

I have a separate image I was working on for admin routing that I was using. I can't reproduce this issue on my image either so I will close it until/if I am able to reliably reproduce it.

I have been able to reproduce this issue, although not reliably. I will try and provide as much information as I can on the context.
Steps Followed:

docker compose pull
docker compose up
Navigate using components sidebar button
Navigate using register a component button
Upload the component yaml that Romeo links in #102

Resulting network requests:

upload
publish_approved OPTIONS
publish_approved POST
featured OPTIONS
featured POST

I detail some of the info on these requests below
upload request info from Chrome developer tools:
General:
Request URL: http://localhost:8080/apis/v1alpha1/components/upload?
Request Method: POST
Status Code: 201 CREATED
Remote Address: [::1]:8080
Referrer Policy: strict-origin-when-cross-origin

Response Headers:
Access-Control-Allow-Origin: http://localhost
Content-Length: 401
Content-Type: application/json
Date: Tue, 06 Jul 2021 17:38:32 GMT
Server: Werkzeug/2.0.1 Python/3.9.6
Vary: Origin

Request Headers:
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 1216
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary58GIa1D2o8T6ajOT
Host: localhost:8080
Origin: http://localhost
Pragma: no-cache
Referer: http://localhost/
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"
sec-ch-ua-mobile: ?0
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
uploadfile: (binary)
enterprise_github_token:

Response:
{
  "created_at": "2021-07-06T17:38:31.942004Z",
  "description": "Gets the specified number of lines from the input file.",
  "id": "get-lines",
  "metadata": {},
  "name": "Get Lines",
  "parameters": [
    {
      "description": "Data for input 1",
      "name": "Input 1"
    },
    {
      "default": "100",
      "description": "Number of lines to copy",
      "name": "Parameter 1"
    }
  ]
}

publish_approved request info from Chrome developer tools
General:
Request URL: http://localhost:8080/apis/v1alpha1/components/publish_approved
Request Method: OPTIONS
Status Code: 200 OK
Remote Address: [::1]:8080
Referrer Policy: strict-origin-when-cross-origin

Request Headers:
Access-Control-Allow-Headers: content-type
Access-Control-Allow-Methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT
Access-Control-Allow-Origin: http://localhost
Allow: OPTIONS, GET, POST, DELETE, HEAD
Content-Length: 0
Content-Type: text/html; charset=utf-8
Date: Tue, 06 Jul 2021 17:38:32 GMT
Server: Werkzeug/2.0.1 Python/3.9.6
Vary: Origin

Response Headers:
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Access-Control-Request-Headers: content-type
Access-Control-Request-Method: POST
Cache-Control: no-cache
Connection: keep-alive
Host: localhost:8080
Origin: http://localhost
Pragma: no-cache
Referer: http://localhost/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

Second publish_approved request info from Chrome developer tools
General:
Request URL: http://localhost:8080/apis/v1alpha1/components/publish_approved
Request Method: POST
Status Code: 200 OK
Remote Address: [::1]:8080
Referrer Policy: strict-origin-when-cross-origin

Response Headers:
Access-Control-Allow-Origin: http://localhost
Content-Length: 0
Content-Type: application/json
Date: Tue, 06 Jul 2021 17:38:32 GMT
Server: Werkzeug/2.0.1 Python/3.9.6
Vary: Origin

Request Headers:
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 13
Content-Type: application/json
Host: localhost:8080
Origin: http://localhost
Pragma: no-cache
Referer: http://localhost/
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"
sec-ch-ua-mobile: ?0
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

Request Payload:
["get-lines"]
0: "get-lines"

Let me know of anything else I can do to help @ckadner

Hi @drewbutlerbb4 -- I have been trying to reproduce this without luck. Could this have been a issue with concurrent requests or maybe related to caching?

I'm not sure, it has been very infrequent for me. I have not seen it again since July 6th. I do not believe it is caching because the original PR for caching in the UI was July 13th a month after this was reported (and I believe the API caching was implemented at a similar time?). Not sure on concurrent requests. To be honest, I'm not sure how to pursue this but I figured it should be logged nonetheless.


Take a ticket do not work anymore

the thing is there is no due_date_* in the POST.
My ugly fix is this:
diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py
index d16ed3d..c7ddc9f 100644
--- a/helpdesk/views/staff.py
+++ b/helpdesk/views/staff.py
@@ -250,10 +250,13 @@ def update_ticket(request, ticket_id, public=False):
     public = request.POST.get('public', False)
     owner = int(request.POST.get('owner', None))
     priority = int(request.POST.get('priority', ticket.priority))
-    due_date = datetime(
-            int(request.POST.get('due_date_year')),
-            int(request.POST.get('due_date_month')),
-            int(request.POST.get('due_date_day')))
+    try:
+        due_date = datetime(
+                int(request.POST.get('due_date_year')),
+                int(request.POST.get('due_date_month')),
+                int(request.POST.get('due_date_day')))
+    except TypeError:
+        due_date = ticket.due_date
     tags = request.POST.get('tags', '')

     # We need to allow the 'ticket' and 'queue' contexts to be applied to the

This was fixed in my pull request #113 in commit b9d36de, but it has not been merged yet.

Fixed in pull request #113.


BREAKING CHANGES(web-react): Introduce PasswordField component (refs …

…#DS-149)

TextField prop type is now required to display TextField or
PasswordField
new validationState of success and warning is available

I'm afraid this means there is no reason to have PasswordField as a standalone component in CSS. We will consider removing it in favor of TextField. cc @crishpeen

@adamkudrna This was already suggested by @kasparo. If you look closely at _PasswordField.scss, it is just a copy.


Keyboard layout

Versions

Python: 3.5.3
OS: Raspbian Stretch Lite 4.9.59-v7+
Kivy: v1.10.1.dev0, git-3c88636, 20171030
Kivy installation method: pip3 install --upgrade --force-reinstall git+https://github.com/kivy/kivy.git@master

Description
Trying to change keyboard layout from US-English to German:

Changed /etc/default/keyboard to:

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"

Changed /home/pi/.kivy/config.ini to:

[kivy]
keyboard_layout = qwertz

What happened: I start the kivy application from bash. In the bash I have the correct keyboard layout (e.g. German umlauts) but when I start my application and try to enter something in a text input field the whole thing switched to some strange behavior.
What went wrong: When I enter "z" on the keyboard, it prints out "y".When i enter "<" it prints out "pipe".
What I expected: The same behavior of the text input field as when I'm in the bash.
Furthermore I did not find examples or possible values anywhere for keyboard_layout. Here are no further infos or links for possible layout options.
Please help me. I did not find any more possible solutions.

Does it happen in your application even on non-RPi devices?

On OS X 10.12.6 with Kivy 1.10.0 and Python 3.5.2 the problem did not appear.
When I execute examples/demo/showcase/main.py with Python 3 on the Raspberry Pi the problem also occurs. So it may be no problem with my Kivy application.

The same problem appears with buster.

Okay ! I begin to figure out what's happening.
In a conventional linux system, kivy works with sdl2 as window provider. In this case, sdl2 is the input provider. We can see this : [INFO   ] [Window      ] auto add sdl2 input provider
When I start a kivy app on the pi, I can force the use of sdl2 as window provider. I also see this : [INFO   ] [Window      ] auto add sdl2 input provider
In this case, the key mapping is corect (azerty for me)
But if I use egl_rpi as window provider, the keyboard inputs are kept by hidinput and it seems that no keymapping is performed.
The problem is that sdl2 is very painful on the pi for the graphics. egl_rpi is far better.
Two solutions (are they possible ?):

use egl_rpi for the graphics and sdl2 for the input.
or
add a key mapping filter on hidinput based on the config.ini (keyboard_layout parameter)

What is possible ?
note : using raspbian buster and kivy master (2.0.0rc1)

Obsoleted by #8434
Closing.


Add a "Exclude keys of front matters" option

https://github.com/tadashi-aikawa/obsidian-another-quick-switcher/issues/122#issuecomment-1312689031

Fixed in v7.4.0 🚀

Released in v7.4.0 🚀

Working perfect on version v7.4.0 on Obsidian Mobile [iPadOS] v1.4.1
Thank you very much @tadashi-aikawa !!!!!!
This new feature has a huge impact on my notes.
I am starting to using obsidian as a Database and using YAML to store information for Specific Notes.
AQS is gonna be able to let me search for this notes and easily see this information that is located in the YAML easily
→ AQS is getting a new super power :)

Add a "title" attribute to the front matter span

Fantastic idea !!!!!!

P.S. I am starting to migrate my environment from v15.9 to v1.x on Mobile. BUT I already can say that AQS and VC are spectacular on Mobile @tadashi-aikawa . Both look 100% equal on Mobile and Desktop.
Have a great day !!!!


Fix NuGet API Key

Looks like the wrong one is in the AppVeyor settings:
https://ci.appveyor.com/project/cakebuild/frosting/builds/34116433/job/4jxd38uv6ltdmdi7#L385
Will finish the release manually.

Looks like it expired so would need to be fixed for Cake too.


allow the capped feature to output to a new feature family

@hectorgon as we discussed yesterday, sometimes we may want to keep both capped an non-capped features, therefore add this change

LGTM

:+1:


MINIFICPP-1626: Upgrade PCAP++ to a more recent release

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file?
[x] If applicable, have you updated the NOTICE file?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI results for build issues and submit an update to your PR as soon as possible.

With this update we will lose one patch
https://github.com/apache/nifi-minifi-cpp/commit/0a85355f8208f7cabd81e5fee9a72075289a1b28#diff-d5fb6148c112e5a8e71e9461291971936c683b6217ecc35b2af427dfd68edf68R94-R95
volatile keyword was added to PcapLiveDevice::m_StatsThreadStarted and PcapLiveDevice::m_StopThread for some reason during SUSE and SLES12 release support.
Unfortunetly I am not sure why this was added, or that it is still needed.

With this update we will lose one patch
0a85355#diff-d5fb6148c112e5a8e71e9461291971936c683b6217ecc35b2af427dfd68edf68R94-R95
volatile keyword was added to PcapLiveDevice::m_StatsThreadStarted and PcapLiveDevice::m_StopThread for some reason during SUSE and SLES12 release support.
Unfortunetly I am not sure why this was added, or that it is still needed or not.

Looking at the change, I'm pretty sure whatever the intention was, it didn't achieve it, so I think it's safe to remove it.

Waiting for #1138 before this is merged

#1138 added -fPIC flag to thirdparty/pcap++/3rdParty/LightPcapNg/Makefile thirdparty/pcap++/Common++/Makefile thirdparty/pcap++/Packet++/Makefile thirdparty/pcap++/Pcap++/Makefile to facilate using them in shared libs
Fortunetly this has already been in added to this new version https://github.com/seladb/PcapPlusPlus/commit/79a27431a6bebf87dc74a58d2f7d85db4b7d1fc1


Adding a "Welcome to Haskell" demo notebook

Includes an intro to the Jupyter interface, a few Haskell code snippets, and links to other materials.

Rad. Thanks!

Awesome! What's a rough ETA for when this notebook will show up on try.jupyter.org? I'd like to show it to the greater Haskell community and ask for input on the code snippets. (I dunno if that's an automatic update, someone has to restart the server, or what, etc)

Usually Kyle rebuilds on week-end. See here for more info.

Build is pretty easy. It's the cycling out of old users that takes time.

*old containers


Help to check why this code fail in ios

PLEASE READ
If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.
Check for answers on StackOverflow with the google-maps tag.

this code is failing in ios side objetive c. Tested in iphone xs, ios 14
please I need support
-(void)addToPath:(long long)param param1:(double)param1 param2:(double)param2{
GMSMutablePath path = (GMSMutablePath) param;
[path addLatitude:param1 longitude:param2];
}

Can you provide more context? Looking at the short snippet you shared that won't compile because param is not of type GMSMutablePath.


learn from CPAN perl hackers

Perl hackers have been writing great READMEs in a consistent format for ages: http://search.cpan.org/~lloydg/List-Zip-0.04/lib/List/Zip.pm
Key elements:

Name + Tagline: a tiny sentence that describes what the module does.
A "Description" section that gives people without necessary background the means to understand the module's purpose.
A concrete, runnable example that the user can copy locally and experiment with.
A Methods listing that documents the public API, complete with examples where it helps.
See Also: a mechanism for discovering other modules that work great with this one. (audio-lab does a great job with this throughout their audio modules)
Copyright / License (I'm more interested in the latter)

Thanks! This is great.

Thanks! Worked some of these in. I think they are perl specific, sometimes, and I want to keep this as general as possible.

Here are a few tidbits that are pretty general but extremely spot on:
from perlmodstyle:

The level of detail in Perl module documentation generally goes from
less detailed to more detailed.  Your SYNOPSIS section should
contain a minimal example of use (perhaps as little as one line of
code; skip the unusual use cases or anything not needed by most
users); the DESCRIPTION should describe your module in broad terms,
generally in just a few paragraphs; more detail of the module's
routines or methods, lengthy code examples, or other in-depth
material should be given in subsequent sections.
Ideally, someone who's slightly familiar with your module should be
able to refresh their memory without hitting "page down".  As your
reader continues through the document, they should receive a
progressively greater amount of knowledge.

from http://mathforum.org/ken/perl_modules.html#document:

Your documentation is complete when someone can use your module without ever
having to look at its code. This is very important. This makes it possible for
you to separate your module's documented interface from its internal
implementation (guts). This is good because it means that you are free to
change the module's internals as long as the interface remains the same.
Remember: the documentation, not the code, defines what a module does.

I should merge these thoughts in with a reasoning for each section in the spec. Reopening to remind myself to.

Can we credit both? (Ken Williams is the author of the first quote btw)

yes!


setup_user_contexts.sh - Halt if kubectl fails

Script would otherwise lie and state that "All kubeconfig files have been created".

FYI , this script is a temporary work around that is removed in https://github.com/bitcoin-dev-project/warnet/pull/545 (altho I did notice the PR doesn't actually delete the script, which it should!)


Update Composer dependencies (2021-12-15-00-12)

Visual regression test passed!
View the visual regression test report


ARTEMIS-5150: ActiveMQServerControlImpl.getHAPolicy() gets NPE

When you start the broker without configuring HAPolicy, if clients call this management api it'll get NPE because it doesn't check if the HAPolicyConfiguration is null.

With just the change to check for null, would a junit test for ActiveMQServerControlImpl make sense rather than the embedded use case test?

Makes sense. I think I can move the test to org.apache.activemq.artemis.tests.integration.management.ActiveMQServerControlTest


Descend mode when GPS fails needs checking

The case where RC and GPS, both have failed, needs to be checked. It should go into open-loop descend mode, however, it doesn't seem to execute it correctly and just drifts off.
Additionally, it can't auto-disarm after landing because the landing detector doesn't work when GPS is lost.

Probably this is the reason I had almost terrible accident with a friend of mine. My VTOL flipped after rough landing, far away in pretty deep grass. So in the rush I did not disarm the machine thinking that auto disarm will trigger. My friend went to pick up the VTOL, He saw that the machine is upside down spinning the props on idle. Once he picked up the machine it gave full throttle in his hands. It was almost fatal. I heard the props but was away from my RC. Finally I was able to disarm. But THIS IS DANGEROUS! It happened probably because when flipped the VTOL did not have GPS reception. I could not find the reason until now and could not explain how is it possible that the auto disarm did not trigger for 3 minutes obviously on the ground flipped over.

@tubeme I don't think that your issue is directly connected to the GPS fail (unless a log proves it). If it flips, the impact is likely to throw off the position estimator, so it might just not have detected the landing.
I agree that it would be good if an upside down landing would get detected properly, it's something to chase up in a separate issue.
However, I would argue that the "danger" in this case clearly came from approaching and picking up a vehicle when it is still armed.

@tubeme I created an issue for your case: #4558.

@julianoes We are preparing an end user product, so I'm expecting a lot of inconsistent behavior around this machines and many other machines based on PX4. The situation I got in proves that even experienced user like me could do the mistake of not disarming... Partly because I thought the VTOL is a total crash and the batteries are disconnected which is the usual case... The user that got the VTOL had no idea about what is quad-copter and how it works neither for the idle speed etc. So he just picked it up by not knowing what will follow. I expect a lot of similar situations the more user choose PX4, so there should be protection.  I had an incident two weeks ago with our VTOL and had my tow fingers almost chopped by the props, with blood etc. These things just can make a mess.

@julianoes Thanks for the new issue. Safety will distinguish the future players in the robot and drone industry.

@tubeme: Sorry, don't get me wrong. I totally agree that there should be protection (that's why I created thr separate issue) and I'm sorry to hear about your accident. This said, it's not always easily possible to detect failures without creating risks to detect false positives.

@tubeme would the solution to your incident be crash detection and not land detection?  With APM any mild landing auto disarms because I have the crash detection set very low because I once had a similar issue when a plane went down and a farmer found it and picked it up.

Fixed in #4559.


Swift 4.1

Xcode 9.3, Swift 4.1
import SwiftPageMenu //<- Error: Module compiled with Swift 4.0.3 cannot be imported in Swift 4.1: /Users/yury/Developer/.../Carthage/Build/iOS/SwiftPageMenu.framework/Modules/SwiftPageMenu.swiftmodule/x86_64.swiftmodule
/Users/yury/Developer/.../ViewController/Common/Tabbars/UnderlinePagerOption.swift:10:8: Module compiled with Swift 4.0.3 cannot be imported in Swift 4.1: /Users/yury/Developer/.../Carthage/Build/iOS/SwiftPageMenu.framework/Modules/SwiftPageMenu.swiftmodule/x86_64.swiftmodule
$ carthage update --platform iOS
...
*** Building scheme "SwiftPageMenu" in SwiftPageMenu.xcworkspace
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/yury/Developer/.../Carthage/Checkouts/SwiftPageMenu/SwiftPageMenu.xcworkspace -scheme SwiftPageMenu -configuration Release -derivedDataPath /Users/yury/Library/Caches/org.carthage.CarthageKit/DerivedData/9.3_9E145/SwiftPageMenu/1.2.2 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/zf/qpdrm77s3ss7xcpycw681q4m0000gn/T/SwiftPageMenu SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /Users/yury/Developer/.../Carthage/Checkouts/SwiftPageMenu)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/zf/qpdrm77s3ss7xcpycw681q4m0000gn/T/carthage-xcodebuild.MGAZA2.log

@YuryRadchenko I'm going to deal with it.

@YuryRadchenko Pls use "swift-4.1" branch
github "tamanyan/SwiftPageMenu" "swift-4.1"

It works. Thanks.


[FT] minor fix to the instance spinning

Description
Fix the instance spinning issue

Codecov Report
Patch coverage: 71.70% and project coverage change: +1.50 :tada:

Comparison is base (bb5073f) 72.08% compared to head (8a1d4e1) 73.59%.

:exclamation: Current head 8a1d4e1 differs from pull request most recent head 3870cb7. Consider uploading reports for the commit 3870cb7 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2606      +/-   ##
============================================
+ Coverage     72.08%   73.59%   +1.50%
- Complexity     5126     6947    +1821
============================================
  Files           473      684     +211
  Lines         21970    30332    +8362
  Branches       2351     3138     +787
============================================
+ Hits          15838    22322    +6484
- Misses         4925     6488    +1563
- Partials       1207     1522     +315

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...djl/modality/cv/transform/RandomFlipLeftRight.java
25.00% <0.00%> (-25.00%)
:arrow_down:

...djl/modality/cv/transform/RandomFlipTopBottom.java
25.00% <0.00%> (-25.00%)
:arrow_down:

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

.../modality/cv/translator/ImageFeatureExtractor.java
0.00% <0.00%> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
27.77% <0.00%> (+18.95%)
:arrow_up:

...ain/java/ai/djl/modality/cv/util/NDImageUtils.java
67.10% <0.00%> (+7.89%)
:arrow_up:

api/src/main/java/ai/djl/modality/nlp/Decoder.java
63.63% <ø> (ø)

... and 227 more

... and 354 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How can I train the YOLOX and Feature aggregation module seperately?

Hello, I'm working on if I can replace the YOLOX with YOLOv5, so I'm finding how can I train the YOLOX and Feature aggregation module seperately?

For training YOLOX, you can configure files in exps/yolov/yoloxs_vid.py and run the script in tools/train.py to train YOLOX. Then, YOLOV, you can simply run: python tools/vid_train.py -f exps/yolov/yolov_s.py -c weights/[path to your yolox model] --fp16

Hello, I'm working on if I can replace the YOLOX with YOLOv5, so I'm finding how can I train the YOLOX and Feature aggregation module seperately?

For more details on training YOLOX, please refer to https://github.com/Megvii-BaseDetection/YOLOX

So I can train YOLOX with tools/train.py , and then train the feature aggregation module with python tools/vid_train.py -f exps/yolov/yolov_s.py -c weights/[path to your yolox model] --fp16?
So how can I change the training strategies like ''When integrating the feature aggrega- tion module into the base detectors, we fine-tune them for 150K iterations with batch size of 16 on a single 2080Ti GPU''?

So I can train YOLOX with tools/train.py , and then train the feature aggregation module with python tools/vid_train.py -f exps/yolov/yolov_s.py -c weights/[path to your yolox model] --fp16? So how can I change the training strategies like ''When integrating the feature aggrega- tion module into the base detectors, we fine-tune them for 150K iterations with batch size of 16 on a single 2080Ti GPU''?

Sorry, we find the coco annotation for training have wrong path and we have updated it. For training base detector yolox, you just make a "annotations" directory in the dataset path and run the training script.  Thanks for helping us debug.

So I can train YOLOX with tools/train.py , and then train the feature aggregation module with python tools/vid_train.py -f exps/yolov/yolov_s.py -c weights/[path to your yolox model] --fp16? So how can I change the training strategies like ''When integrating the feature aggrega- tion module into the base detectors, we fine-tune them for 150K iterations with batch size of 16 on a single 2080Ti GPU''?

Sorry, we find the coco annotation for training has the wrong path and we have updated it. For training base detector yolox, you just make a "annotations" directory in the dataset path and copy the annotation files to it or change the code in coco.py.  Then, run the training script. Thanks for helping us debug.

So I can train YOLOX with tools/train.py , and then train the feature aggregation module with python tools/vid_train.py -f exps/yolov/yolov_s.py -c weights/[path to your yolox model] --fp16? So how can I change the training strategies like ''When integrating the feature aggrega- tion module into the base detectors, we fine-tune them for 150K iterations with batch size of 16 on a single 2080Ti GPU''?

Hello, I'm working on if I can replace the YOLOX with YOLOv5, so I'm finding how can I train the YOLOX and Feature aggregation module seperately?

YOLOv5 is an anchor-based detector, which means you have to change the feature selection strategy. For changing the training process, please refer to our code for more details.

So I can train YOLOX with tools/train.py , and then train the feature aggregation module with python tools/vid_train.py -f exps/yolov/yolov_s.py -c weights/[path to your yolox model] --fp16? So how can I change the training strategies like ''When integrating the feature aggrega- tion module into the base detectors, we fine-tune them for 150K iterations with batch size of 16 on a single 2080Ti GPU''?

Hello, I'm working on if I can replace the YOLOX with YOLOv5, so I'm finding how can I train the YOLOX and Feature aggregation module seperately?

YOLOv5 is an anchor-based detector, which means you have to change the feature selection strategy. For changing the training process, please refer to our code for more details.

Sorry I'm a little confuse. I think the idea of aggregate features after prediction head can be helpful, but why anchor-based detector need to change the feature selection strategy?

So I can train YOLOX with tools/train.py , and then train the feature aggregation module with python tools/vid_train.py -f exps/yolov/yolov_s.py -c weights/[path to your yolox model] --fp16? So how can I change the training strategies like ''When integrating the feature aggrega- tion module into the base detectors, we fine-tune them for 150K iterations with batch size of 16 on a single 2080Ti GPU''?

Hello, I'm working on if I can replace the YOLOX with YOLOv5, so I'm finding how can I train the YOLOX and Feature aggregation module seperately?

YOLOv5 is an anchor-based detector, which means you have to change the feature selection strategy. For changing the training process, please refer to our code for more details.

Sorry I'm a little confuse. I think the idea of aggregate features after prediction head can be helpful, but why anchor-based detector need to change the feature selection strategy?

Because multiple bounding boxes may correspond to the same feature. We have not tried this practice and look forward to yours.

Fine, I found it's not easy to directly try it on yolov5. So can you share the code based on ppyoloe?


Custom fpm metrics. Add metric exporter to local and deployment.

This is giving us metrics locally.

Lets test if these are working on dev. Then I'll try and set the prometheus rules.

Having swapped out the 3rd party exporter, we can still access the following metrics.


Add control-plane chart

A first version of control-plane chart

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


Write README for library and example

react-doxygen should help with the library's README - autowrite props?

Include screenshots of the example project in its README

Use RIDDC howto images in the example's README?
example README should show how to use the volume viewer, react-volume-viewer how to develop it


Add support for gradle incremental annotation processing

Issue
resolves https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/473
Overview
This PR adds incremental compilation support. I suppose right now this feature is only for Java? 🤔
Ref

doc: https://docs.gradle.org/nightly/userguide/java_plugin.html#sec:incremental_annotation_processing
Dagger's issue and commit: https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/473#issuecomment-446132000

Kotlin does not have support for incremental annotation processing yet. There's an open issue, can't find the link...

@autonomousapps thank you I've just founded on Dagger's repo 🙇 https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/473#issuecomment-446445332

@hotchemi for incremental AP to work you also need to provide an originating element for every generated file.
From the Gradle documentation:

They must provide exactly one originating element for each file generated with the Filer API. If zero or many originating elements are provided, Gradle will recompile all source files.

For Java you can use TypeSpec.Builder.addOriginatingElement but I'm not sure what to use for Kotlin.
Here is relevant commit from Dagger: https://github.com/google/dagger/commit/baf235794459ea8318b89c9c3eb2f9ef5ede846a

@technoir42 ooh thank you let me address!


Change cursor consistently when panning in the 2D Editor

Fixes #75871

I messed up the rebase.
I'll create a new PR since it's a 1-line change.


Update model.py

Please update it on your repo, when i try to get pickle file for it, it gives error that getstate is not defined in RWKV function.


Add history tab

Think about introduce classes Translations and TranslationsHistory.
It may be singletone that just collect functions for first time.
But later it should provide method registerListeners and unregisterListeners to manage handlers subscriptions.
And we should have to implement another class that receive this class and send registered messages.
Probably it's big refactoring for another issue

[ ] Move component to popup tab
[ ] Improve styles to use in popup with small screen size
[ ] Add search

Let's implement search and pagination

[ ] Fix blinking "History clear" text while loading data
[ ] Add text "Not found translations" for case with empty results of search
[ ] Fix TODOs

Add options to disable history logging and to pause logging with no cleaning

Add date range to search in history

Add pagination to dictionary

Before merge

[ ] Review the code
[ ] Attach issue id to commit headers
[ ] Make issues

Try to use new bookmarks button everywhere instead of checkbox


Increased the port drop zone size as well as added a highlight for it

Description
Increased the drop zone as well as added a highlight for the drop zone when the port is the right type.
Testing instructions
Add a set up instructions describing how the reviewer should test the code

Review code
Check Travis build
Review changes to test coverage
Run the site and see that you can pick up or drop a link within a wider area. See also that there is a drop highlight for sink ports of the same type if starting from a source port.

Agile board tracking
connect to #331
connect to #338
closes #331
closes #338

Codecov Report

Merging #375 into version1 will decrease coverage by 0.12%.
The diff coverage is 42.85%.

@@             Coverage Diff              @@
##           version1     #375      +/-   ##
============================================
- Coverage      84.1%   83.98%   -0.13%
============================================
  Files            77       77
  Lines          2794     2803       +9
  Branches        485      488       +3
============================================
+ Hits           2350     2354       +4
- Misses          394      398       +4
- Partials         50       51       +1

Impacted Files
Coverage Δ

src/layout/block/blockWidget.component.js
77.77% <ø> (ø)
:arrow_up:

src/layout/layout.component.js
69.09% <0%> (+2.42%)
:arrow_up:

src/malcolm/actions/layout.action.js
89.7% <33.33%> (-2.61%)
:arrow_down:

src/layout/blockPort/blockPortWidget.component.js
65.38% <50%> (-12.4%)
:arrow_down:

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 fdbd22d...0f0775d. Read the comment docs.


Update README.md

name: feat: Add new awesome thing
about: Add a new awesome thing related to shadcn/ui
labels: feature

Describe the awesome thing you want to add
What is it?
Share your thoughts and experiences anonymously by posting on the platform. Crafted using t3-stack
What category does it belong to? (Libs and Components, Apps, Ports, Design System, Boilerplates/Templates)
Platforms
Anything else? (optional) (e.g. screenshots, additional information, etc.)

Checklist

[x] I checked that it is in alphabetical order.
[x] I have checked that the awesome thing is not already listed.
[x] I have provided a clear and concise description of the awesome thing.
[x] I have provided a link to the awesome thing.
[x] I have assigned the correct category to the awesome thing.

Please note: If you are adding a new category, you will need to create a new section in the README.md file. Please make sure to update the table of contents as well.
Important: The idea of this repository is to bring together free projects for open-source contributions. If the proposed addition is an entirely paid project, the PR will be closed.

i have a doubt, why not add a section for showcasing your open-source shadcn projects that way you will get more stars and more lists


Angular build fails at 92% chunck asset optimization and dist folder is not getting created

@angular/cli : 1.3.1
node 12.18.0
getting error on angular build shows 92% chunk asset optimization and dist failed
showing additional errors like
/src/app/components/helpdesk/queue/queue.component.ts expected 3-8 arguments but got 10

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem still exists in your application, please open a new issue and follow the instructions in the issue template.

@angular/cli 1.3.1 is very old, consider updating to a supported version.


feat: count string by codepoint

Abstruct
Unicode says that there are 4 ways to count string length. https://unicode.org/faq/char_combmark.html#7
This commit supports counting by Code points.
Motivation
When we write text something like Japanese, surrogate pair will be used as usual. In such context, restricting string length is painful without considering surrogate pair.

@azu Thank you for your review! I applied your suggestions.

FYI: new Intl.Segmenter("ja-JP", { granularity: "grapheme" }) is more precise, but also more complex to implement due to language dependencies.

I just now noticed the API. When we pass undefined as locale, it will cause unstable lint result. So, we need to decide what is to be specified and how to specify it.
However, I think it's out of this PR's scope. countBy? can be extendable to some thing like countBy?: "codeunits" | "codepoints" | "grapheme";.

However, I think it's out of this PR's scope. countBy? can be extendable to some thing like countBy?: "codeunits" | "codepoints" | "grapheme";.

Yes, I agree.


LedMatrix lib is missing.

LedMatrix lib is needed to build the project even though it is no longer included.
As a workaround I pulled it from the zowiLibs repo.

hi Quark
is not missing is just in other repository the one call Matrix arms, because for this simple Otto DIY want to foucs on the basic build


Add annoation into template deployment of ssc

Into the helm chart. The annotation part is missing from the webapp deployment. This pull request add variable into value.yaml and inject this into webapp deployement.

Thank you @Simbalala . Unfortunately, SSC chart enhancement requests need to follow official support channels.
I'm closing this issue.


.envrc fails

Not sure if you meant to add .envrc, but it includes julia_args, which fails on my machine.  It's not part of direnv, so I'm guessing it must be part of your local configuration.

As I initially suspected, julia_args comes from https://fredrikekre.se/posts/direnv-with-julia/
I think it might make sense to remove .envrc since having in a public Julia repository is a bit unconventional.

Yes you are probably correct. I didn't even know it was possible to use direnv without frederikekre 's additons.


HTTP 429 Too Many Requests https://vscode.dev/codeExchangeProxyEndpoints/github/login/oauth/access_token

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Web Version https://vscode.dev/
OS Version: Windows 2 22H2
Browser: Firefox 115

Steps to Reproduce:

Goto https://vscode.dev/
Press F1
Run command Remote-Tunnels: Connect To Tunnel
Click "Allow"
A window will briefly popup and then disappear
HTTP 429 can be observed into browser dev tools

Notes:

I was having problems logging in at first, so I logged out of Github, and then cleared all site data for vscode.dev.
I don't use https://vscode.dev/ very often, maybe once a week, maybe every two weeks. Almost always I have to logout of Github and login again.

Yes, appears to be working thank you. I'll re-open this issue if the problem occurs again.


Cannot use system certificates when fetching latest release

When fetching the latest release, axoupdater uses reqwest with just the default Mozilla Web PKI certificates, and does not pick up the system certificate store. There should be an option to support using the system certs.
The reason for wanting this is basically that some corporate network security software substitutes certificates with ones managed by the organization, and those substituted certs are rooted in one or more certs in the local system certificate store. If that store isn't picked up, then any request whose certs are substituted will fail certificate validation.

closed by https://github.com/axodotdev/axoupdater/pull/136


[WIP] emoji: Update unicode emoji regex.

This update is done through an external
dependency - rgi-emoji-regex-pattern.
This update was necessary via an external
dependency because normal unicode regex won't
match against complex unicode emojis, made up of
more than one codepoints, especially ZWJ sequence
emojis. In fact, this new dependency guarantees
to match any unicode emojis.
In further commit a similar JS-based dependency (regex)
will be added to address frontend unicode emoji regex.
Fixes: #11767.

Huge thanks to @aero31aero for helping me with this project!
This update in unicode emoji regex is not done yet. There are several points that I yet have to address:

[ ] Find a way to install https://github.com/mathiasbynens/rgi-emoji-regex-pattern/blob/main/dist/latest/java.txt using pip (If I do pip install git+https://github.com/mathiasbynens/rgi-emoji-regex-pattern, it doesn't work as it can't find any setup.py file). This will ensure a clean way to convert java regex to python usable regex.
[ ] How to convert java regex to python regex when the original regex is not present in the form of raw string.
[ ] I don't understand why import doesn't work after yarn add emoji-regex. Don't know what extra do I need to do here. :man_shrugging:
[ ] Add generated unicode emoji regex file in the static path. (That is easy to do).

Issue: #19371 needs to be addressed separately.
(This particular issue is full of new challenges in each step - I liked it!)

Solution to 1): yarn add rgi-emoji-regex-pattern --dev. Let's just manage it with our nodejs dependencies.

A general comment: it's important to discuss where this regex is coming from, and why that definition is the right one.

rgi-emoji-regex-pattern

I take it this is intended to come from this repo: https://github.com/mathiasbynens/rgi-emoji-regex-pattern
That's described as matching the "RGI" emoji sequences. What that term means is defined here:
http://unicode.org/reports/tr51/#Emoji_Sets
I do not think that is what we want here. With that definition, we will have a new version of issue #11767 the moment that Unicode 14 is out and reflected in the emoji keyboards on people's phones.
The reason is that if you read those definitions, it amounts to saying that these are the emoji that have been specifically defined.
Instead, the point of this regex at this spot in the code is to identify things that have the right shape to be a Unicode emoji sequence. If one of those things is something we recognize, we'll transform it to a Zulip emoji. If it isn't, we'll leave it alone -- and crucially, we don't take some piece inside that sequence and transform that, even if that subpiece does match some emoji sequence we recognize. Missing that is exactly what causes #11767.
That concept of "have the right shape to be a Unicode emoji sequence" is what this regex in the spec is doing, that I linked to in the chat thread:
http://unicode.org/reports/tr51/#EBNF_and_Regex
I think most likely that is what we want.

Closing in favor of #26364


Upgrade from Node.js 15 to a supported version

    default: ================================================================================
    default: ================================================================================
    default:                               DEPRECATION WARNING
    default:   Node.js 15.x is no longer actively supported!
    default:   You will not receive security or critical stability updates for this version.
    default:   You should migrate to a supported version of Node.js as soon as possible.
    default:   Use the installation script that corresponds to the version of Node.js you
    default:   wish to install. e.g.
    default:    * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium"
    default:    * https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium" (recommended)
    default:    * https://deb.nodesource.com/setup_16.x — Node.js 16 "Gallium"
    default:   Please see https://github.com/nodejs/Release for details about which
    default:   version may be appropriate for you.
    default:   The NodeSource Node.js distributions repository contains
    default:   information both about supported versions of Node.js and supported Linux
    default:   distributions. To learn more about usage, see the repository:
    default:     https://github.com/nodesource/distributions
    default: ================================================================================
    default: ================================================================================

https://github.com/web-mev/mev-frontend/blob/master/vagrant/provision.sh#L18

Fixed in b106d28 and 9e1b265 (for vagrant and TF, respectively)


Module 'sys' has no attribute 'argv'

q)p)import sys;print(sys.argv)
'e: module 'sys' has no attribute 'argv'
  [0]  .../p.q:11: .p.e:{$["def"~3#x;$[x[3]in"<*>";ei 3;eo];"class"~5#x;$[x[5]in"*>";ei 5;eo];eo]x}

It would be nice to set sys.argv in p.q to a list derived from .z.X.
See https://docs.python.org/3.6/library/sys.html#sys.argv for details.

@abalkin would you suggest we just extend sys.argv with .z.X or include something to distinguish PyQ from embedPy?

Good question.  In PyQ we populate sys.argv with enlist[string .z.f],.z.x with an additional trick to allow passing 1-letter options.  I don't think this logic is appropriate for embedPy which unlike pyq does not try to pretend being python.  In my own use cases, it did not really matter what sys.argv was set to as long as it was there.  IIRC, I had some module crash on import with an AttributeError.
This said, my suggestion is that sys.argv is set to [''] when embedPy is loaded interactively and to 1_.z.X when loaded from a script.

out of curiosity why shouldn't we just always set to 1_.z.X

According to the documentation,

argv[0] is the script name (it is operating system dependent whether this is a full pathname or not). If the command was executed using the -c command line option to the interpreter, argv[0] is set to the string '-c'. If no script name was passed to the Python interpreter, argv[0] is the empty string.

Of course, embedPy does not have to follow this convention exactly, but I think most python users expect sys.argv[0] to always be available.
A simple solution would be to ignore .z.x or .z.X and always set sys.argv=[''].  This is what interactive users expect and script writers will have to arrange to set  sys.argv before importing modules that use it.

Should be fixed in 1.2.0 release, we set sys.argv to [''] if it is not already set in p.q so if someone sets it themselves after loading p.q then subsequent loads of p.q wiil not overwrite it.


Support ghc-8.0.2

Compilation failed using latest Haskell Platform 8.0.2, which uses ghc-8.0.2.

Thanks!


Softnms

Align soft NMS implementation with paper.
cc @mingxingtan

This is getting rolled back as it breaks an internal test with a very large delta
Mismatched value: a is different from b.
not close where = (array([3, 3]), array([1, 3]))
not close lhs = [100. 101.]
not close rhs = [0.1 1.1]
not close dif = [99.9 99.9]
not close tol = [0.011 0.021]
dtype = float32, shape = (4, 4)
Mismatch: 12.5%
Max absolute difference: 99.9
Max relative difference: nan
 x: array([[0.000e+00, 1.000e+01, 1.000e+00, 1.100e+01],
       [0.000e+00, 0.000e+00, 1.000e+00, 1.000e+00],
       [0.000e+00, 1.000e+03, 1.000e+00, 1.002e+03],
       [0.000e+00, 1.000e+02, 1.000e+00, 1.010e+02]], dtype=float32)
 y: array([[0.000e+00, 1.000e+01, 1.000e+00, 1.100e+01],
       [0.000e+00, 0.000e+00, 1.000e+00, 1.000e+00],
       [0.000e+00, 1.000e+03, 1.000e+00, 1.002e+03],
       [0.000e+00, 1.000e-01, 1.000e+00, 1.100e+00]])


CLI testing

As we get more CLI options being able to test them will become more and more important.
We should create integration tests that test the output of the binary with certain flags.
This does not have to be in go test straight away, bash will do just fine for now. One idea:

Run c2go and output to a file, like c2go --help > out.txt
Compare the output to a known output file, like cmp --silent out.txt cli_tests/help.txt

Could you clarify- is it done?
Because now we use snapshots for cli commands

Yes, I'm happy to close this. Any further issues can be opened as another issue.


more detail introduction in readme

Describe the solution you'd like
Add more detail introduction in readme so that user can have a brief impression about what is this project.
Describe alternatives you've considered
concluse introduction and catalogue about sub-function

Thanks for the feedback. We will add the description later.


Need a way to uniquely identify an application.

This is needed for
https://github.com/aspnet/Mvc/issues/584

@yishaigalatzer @Eilon will we be  taking this for Beta3?

@muratg - this is in his realm now.

@muratg any updates ... dont think we are getting this done for beta3?

@harshgMSFT we need to be closing on beta3 very soon there'a a couple higher pri items for @GrabYourPitchforks.   Also not sure if we should rush the design.
@GrabYourPitchforks what do you think?

@muratg @GrabYourPitchforks ping

@muratg ping. We need to converge on this. Lets meet this week and figure out our options.

Adding this to the agenda for next mondays core design meeting, unless you discuss it before then.

@glennc did we get any headway on this ?

@glennc , @muratg I do not see any updates for this since I pinged. Can one of you please update the status?

@harshgMSFT Looks like #177 is describing a way to do this in a specific way, and is assigned to you. Is this one OK to close?

Sure..lets keep the details in both bugs though.

@harshgMSFT See this bug filed by @GrabYourPitchforks: https://github.com/aspnet/Helios/issues/113

Discussed offline with some people. We think the best course of action right now would be to expose this in DataProtection (since only it and MVC require it, and MVC depends on DataProtection) for now. If we can find a legitimate scenario for moving this lower in the dependency chain into DNX or Hosting, then we can do that in a future release. The new API in DataProtection.Interfaces is here.
@harshgMSFT - feel free to resolve as appropriate.

@harshgMSFT Can we close this now?

Closing as we decided to use data protections api.


TextInput onEndEditing doesn't work

I wonder why onEndEditing on TextInput doesn't work. Following code works well on onChangeText, but not on onEndEditing:
<TextInput ref="title"
   placeholder="Type title here"
   style={styles.title}
   onEndEditing={(text) => console.log(text)}
   onChangeText={(text) => console.log(text)}
/>

my env:

Ubuntu 14.04
Android 4.2.2
React Native 0.24

Can you please include an example on rnplay.org?

please take a look at this example at https://rnplay.org/apps/SWvsRg

please take a look at this example example

It looks like it's not onEndEditing that is the problem...since it does work when you manually blur the textInput like in my example here: https://rnplay.org/apps/Wr_mWw
The problem seems to be that the "Enter" button, or the "Dismiss Keyboard" button, doesn't properly blur the textInput. You can see that when you dismiss the keyboard that textInput stays focused.

It seems like this issue: https://github.com/facebook/react-native/issues/7047 is more appropriate for what you are experiencing. It seems like perhaps that is expected behavior for Android. Perhaps @satya164 can shed some light on that...

Thank you for pointing it out. Just curious, are you experiencing the same problem on real android device without manually blur the TextInput ?

@iwanjunaid Yes, I just ran the rnplay example on my real device and it has the exact same behavior.

It seems onEndEditing does not get the value of text, but just the event.
In the docs:
onChangeText function

Callback that is called when the text input's text changes. **Changed text is passed as an argument to the callback handler.**

Whereas:
onEndEditing function

Callback that is called when text input ends.

What you were looking for was a onEndEditingText that unfortunately doesn't seem to exist. It would be great to have that, as that was also the behaviour that I expected.

It sounds like this is more of a feature request than a bug at this point so I am going to close this issue. I encourage you to file feature requests on product pains though, or to send a pull request adding this event, because it does seem to be useful. If you do have some of this behavior that is a bug then I encourage you to open a new issue.

In what way does onEndEditing differ from onBlur (was looking to implement on web)?

@necolas - here's my attempt at answering this: http://stackoverflow.com/questions/34053315/difference-between-onendediting-and-onblur/40851395#40851395

Thanks!


Document and/or expose time interval for fetching replies

I've noticed that when I fetch replies via /api/v2/replies, I only appear to get the replies from the last 24 hours.
This should be documented.  Ideally, the API would support another parameter to allow the user to specify a time filter to use when fetching replies.  Perhaps something like 1s, 5m, 6h, 8d etc. to specify 1 second back in time, 5 minutes back in time. . .

When you fetch replies via /api/v2/replies you get a list of paginated replies. (first page contains 10 replies by default). If you specified page=2 for example you will get a second page. There is no filter by date at the moment. Probably it will be implemented in future versions.


Test for interface mac, ip, and subnet discovery

In addition to PR #1375 and my comment https://github.com/libuv/libuv/pull/1375#issuecomment-313756085 to the discussing that followed regarding a proper unit test, here it is.
This creates a tap device, configures that tap device with a custom ip, mac, and subnet, then uses libuv to discover the attributes of that tap device, and it finally removes the tap device again.
The test does require the tun kernel module to be loaded.

@bnoordhuis can you run the test for this PR including the 1375 fix as well?

@XadillaX can you confirm this test works for your fix?

@bnoordhuis i created a new branch on my account which incorporaties both PR #1375 and  #1412 so it's easier to trigger a jenkins test.
https://github.com/CurlyMoo/libuv/tree/mac-fix

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/327/

@santigimeno  Not sure if it ran correctly due to several aborting messages?

@CurlyMoo Compilation error under my OSX.
test/test-interface-address.c:29:10: fatal error: 'linux/if.h' file not
      found
#include <linux/if.h>
         ^
1 error generated.
make[1]: *** [test/test_run_tests-test-interface-address.o] Error 1
make: *** [check-am] Error 2

@XadillaX was the fix you did necessary for OSX, because i believe linux-core.c isn't used on that system.

@CurlyMoo no, still failed

Ok. I will make sure it is only used on linux.

@XadillaX can you try again on OSX and Linux?

not ok 66 - tcp_connect_timeout
# exit code 6
# Output from process `tcp_connect_timeout`:
# Assertion failed in test/test-tcp-connect-timeout.c on line 42: status == UV_ECANCELED

I'm not sure is this failure because of my OSX or because of the test case.

The test we're interested in is number 193 on linux. It isn't ran on OSX. So the error you're are getting is unrelated to this PR.

@CurlyMoo 193 passed

@santigimeno @saghul @bnoordhuis can either of you restart the test?

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/

@santigimeno Do you know if the tap module is available on the linux test system.

I don't think so. See: https://github.com/libuv/libuv/issues/1006

If not built in then at least loadable (tun.ko)?

Sorry I misunderstood. I thought you were referring to Test Anything Protocol.
WRT to the original question, I don't know. You should probably ask someone from the nodejs build group.

Ok, the test now uses a bridge network adapter instead of a tap network adapter. I believe a bridge adapter should just be supported without additional modules.
So @santigimeno can you restart the test?
@XadillaX can you also test again?

@bnoordhuis can we check the new version of this test as well?

Can someone restart the test for this code?

Bump

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/353/

Hmm, seems like the network bridge module is also not available. Will add a printf in the code to check the actual value of ret to make sure.

I've added the fprintf so can the test be restarted?

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/356/

@santigimeno Something went wrong not related to my changes. Can you restart?

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/360/

@santigimeno it was on me, sorry :smile: Can we restart?

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/361/

Hmm, let's try with an added strerror. errno 1 is too vague for me. So can you restart again?

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/384/

So we are also not allowed to create network bridges. We are testing as root right?

We are testing as root right?

I can't really comment quickly on anything else, but no, there's some tests to verify that file permissions work, and those would fail if we were running as root. So I think the answer is, no, we don't test as root.


ESP Rainmaker

This should be easy to work https://rainmaker.espressif.com/ It maybe a good start for testing proof of concepts before needing to implement the final applications.

Looks like the service is only available for ESP devices. No clear docs and no clear licensing.


Simply boolean attribute usage

I'm submitting a...

[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

For using a positive boolean attribute (whose falsy value does nothing), use must use data-binding with the boolean value:
<button nz-button [nzGhost]="true">Ghost</button>

Expected behavior

User able to use attribute without value to indicate truthy value：
<button nz-button nzGhost>Ghost</button>

Equals to:
<button nz-button [nzGhost]="true">Ghost</button>

While
<button nz-button>Ghost</button>

means:
<button nz-button [nzGhost]="false">Ghost</button>

Detailed design
When applying empty attribute, an empty string will be passed to the input or attribute.
Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

ng-zorro-antd version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

how about use
Ghost

@LinBoLen That's meaningless, if you're not using dynamic binding, then empty attribute is enough.

Some of the components already support this usage.

Blocked by #460.


Multiple licenses

The license file lists an Apache license, but SwiftAddressBookWrapper.swift has a GPLv3 license, which is not compatible with the App Store.
What is the correct licensing for the project?

Apache. We recently changed it to avoid that exact problem. Sorry for not correcting it in the file.
If you want to use it, that´s ok. Although, if you want to contribute, you should sign the contributors agreement. For more information see the readme


Fix support for Enums

Fixes enums as arguments and field return values.
fixes  #2
It should allow all the following
"List of Starwars episodes"
enum Episode {
  EMPIRE
  JEDI
  NEWHOPE
}

type Query {
  episodeToString(episode: Episode): String
  episodesToString(episodes: [Episode!]!): String!
  episodes: [Episode!]!
  aEpisode: Episode!
  ## etc
}

@jgillich think this is good enough to get merged?

This is great, thank you! Sorry for the delay.


Update the UserGuide

Codecov Report

Merging #150 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #150   +/-   ##
=========================================
  Coverage     32.67%   32.67%
  Complexity      255      255
=========================================
  Files           100      100
  Lines          1680     1680
  Branches        150      150
=========================================
  Hits            549      549
  Misses         1075     1075
  Partials         56       56

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 f191785...0463242. Read the comment docs.


Implementation Process / Evolution

The goal of this issue is to implement SQL generation for the building blocks of any caret model:

Base classification models (GLMxx , naive bayes, decision trees, SVMs , Neural Nets)
Regressions (almost he same as above , except naive bayes)
Preprocessings : "center", "scale", "pca"
Ensembles : Boosting, Bagging, Random Forests, XGBoost.

These lists are expected to cover the most used models in the daily life of a data scientist. The initial guess comes from the original caret paper (http://www.jstatsoft.org/article/view/v028i05/v28i05.pdf), on page 9.
Deliverables :

create a separate github issue for each element of the four lists.
Implementation => jupyter R notebooks
Tests following the process defined in  the issue #1
Keep track of the evolution of these sub-issues in the comments of this issue.

Closed the issue : Implementation Process - xgboost methods #9

Closed the issue : Implementation Process - rpart method #6

Closed the issue :  Implementation Process - glmnet method #4

Closed the issue :  naive_bayes method #5

Closed the issue : Implementation Process - nnet method #8

Closed the issue : Implementation Process - Data Preprocessing - center + scale method #10

Closed the issue : Implementation Process - Data Preprocessing - PCA method #11

Closed the issue : Implementation Process - svmRadial method (and other SVMxx) #7

Closed the issue : Implementation Process - Data Preprocessing - ICA method #12

Closed the issue : Implementation Process - Caret Pipeline Models #13

Closed the issue : Implementation Process - rf method #14

Closed the issue : Implementation Process - ctree method #15


Implement "Format Selection" command & formatOnType

As you said here https://github.com/nobody-famous/alive/issues/52, formatting entire document would be a bad idea so I've implemented registerDocumentRangeFormattingEditProvider. You can now format selected part of the code using "Format Selection" (if nothing is selected then top expression will be formatted) command which can also be used for entering new line while pressing <return> ( editor.formatOnType property must be set to true).
Formatting on type is a little bit messy and it doesn't work 100% as intended but it can be used as a proof of concept for future improvements.

I'll look at this one a little more later. A couple things I've noticed testing it.

Format selection is always formatting the top level form instead of only the selected lines.
Indentation is aligning with the previous line instead of indenting where the next line should start.

For example,
(defun foo (bar)
then hitting enter has the cursor left justified. It should be indented. It does the right thing if there's already a child form, though.
(defun foo (bar)
(+ 1 2)
and hitting enter will align with the open parens before the +, which is right.


amended makefile to include metadata element of pagetitle on resume html

per #53 , this commit just simply appends to the metadata of a generated html a pagetitle equal to file name. Prevents output warning regarding lack of a  specification.
There is probably a better way to do this that respects a value specified in an input resume file, so i'd entertain making some edits to enable that.
Love the repo though! A wonderful little tool.

Happy to merge as-is; we can always iterate on this later :-)
Thanks for the contribution!


Note about auth.

Description
Note about auth.
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

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

Project coverage is 94.88%. Comparing base (32b78e7) to head (57986e3).
Report is 37 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1639      +/-   ##
==========================================
- Coverage   94.89%   94.88%   -0.01%
==========================================
  Files          60       60
  Lines        2685     2681       -4
==========================================
- Hits         2548     2544       -4
  Misses        137      137

Flag
Coverage Δ

94.88% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

/lgtm

/approve

/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"

/override "ci/prow/images"


add Polytechnic of Nuclear Technology Indonesia

@nanangcreacoll First stage of verification passed, official domain for Politeknik Teknologi Nuklir Indonesia is polteknuklir.ac.id as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


The influence of the hyperparameter encoder_size

In your paper "Acoustic echo cancellation with the dual-signal transformation LSTM network",  it is mentioned that the size of the learned feature representation is also 512. Is it means the encoder_size is 512? And in your DNS-Challenge paper, the encoder_size is 256. I want to know the reason you changing the encoder size.
encoder_size form 256 to 512, will it influence the model size, number of parameters, objective and subjective metric and execution time?
Thanks a lot!

Hi!
I just wanted to squeeze a tiny little bit more of performance out of the model for the challenge, that is the reason for the higher encoder size.
So in general the higher encoder size will slightly increase the performance, but often it is not significant. It will definitely increase the model size and the needed calculations. But it will not influence the execution time in an significant amount.


Monitor compliance before assigning a group or device

As an administrator I would like to monitor a device or group's compliance before assigning the security baseline to it. How can I do this ?
It would be useful to know the discrepancy beforehand, so as to better plan for the impact that setting the baseline will have on end users.

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

ID: d2246e9c-193b-a110-ca52-2110a6e63631
Version Independent ID: 7328d4a4-1944-c199-db72-a7e3cd350ae9
Content: Increase compliance to the Microsoft Defender ATP security baseline
Content Source: windows/security/threat-protection/microsoft-defender-atp/configure-machines-security-baseline.md
Product: w10
Technology: windows
GitHub Login: @lomayor
Microsoft Alias: lomayor

@emgstabilis  - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@emgstabilis When you configure the Security Baseline Profile you can select what gets applied and what does not, in order to meet your organizational requirements. Why would you not want the setting to be applied?

Nevertheless, you could leverage the MDM Diagnostic Information Log to get more information about specific machines in terms of their security posture.

Hi,
Thanks for your reply. Yes, it is indeed possible (and we appreciate it) to
customize the baseline. What I suggested, would be to highlight to the
administrator the places where the baseline differs from existing
configuration. And this, before assigning the baseline.
Best regards,
Evan Monroig

Hi Evan,
i understand what you mean now. You want to know in advance who will be affected by the baseline and highlight their current configuration (in regards to what you selected in the baseline to get applied).
I think it's a really good feedback and would recommend to post it under the UserVoice Feedback Forums for Azure and ATP.
It's the best approach to get this feedback to the Product Group.

@emgstabilis - From our understanding, the issue you raised has been answered by VLG17 so we will close this issue.
Thank you for your contribution to make the docs better! Much appreciated!


Error when attempting to train: RuntimeError: stack expects each tensor to be equal size, but got [4] at entry 0 and [9] at entry 1

Full error output:
➜  pytorch-ocr git:(main) python3 train.py
Configurations:
processing:
  device: cuda
  image_width: 180
  image_height: 50
training:
  lr: 0.0003
  batch_size: 8
  num_workers: 4
  num_epochs: 100
bools:
  DISPLAY_ONLY_WRONG_PREDICTIONS: true
  VIEW_INFERENCE_WHILE_TRAINING: true
  SAVE_CHECKPOINTS: false
paths:
  dataset_dir: ./dataset
  save_model_as: ./logs/crnn.pth
model:
  use_attention: true
  use_ctc: true
  gray_scale: true
  dims: 256

/home/a/pytorch-ocr/utils/data_loading.py:68: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  targets_encoded = np.array(targets_encoded)
Dataset number of classes: 22
Classes are: ['-' '8' 'E' 'G' 'P' 'R' 'a' 'b' 'c' 'd' 'e' 'f' 'i' 'k' 'm' 'n' 'o' 'p'
 'r' 't' 'u' 'x']
😪 Training... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   0% -:--:--
Error executing job with overrides: []
Traceback (most recent call last):
  File "/home/a/pytorch-ocr/train.py", line 69, in run_training
    train_loss = engine.train_fn(model, train_loader, optimizer, device)
  File "/home/a/pytorch-ocr/engine.py", line 26, in train_fn
    for data in track(data_loader, description="😪 Training..."):
  File "/home/a/.local/lib/python3.10/site-packages/rich/progress.py", line 168, in track
    yield from progress.track(
  File "/home/a/.local/lib/python3.10/site-packages/rich/progress.py", line 1210, in track
    for value in sequence:
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 652, in __next__
    data = self._next_data()
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1347, in _next_data
    return self._process_data(data)
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1373, in _process_data
    data.reraise()
  File "/home/a/.local/lib/python3.10/site-packages/torch/_utils.py", line 461, in reraise
    raise exception
RuntimeError: Caught RuntimeError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
    data = fetcher.fetch(index)
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 52, in fetch
    return self.collate_fn(data)
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 160, in default_collate
    return elem_type({key: default_collate([d[key] for d in batch]) for key in elem})
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 160, in <dictcomp>
    return elem_type({key: default_collate([d[key] for d in batch]) for key in elem})
  File "/home/a/.local/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 141, in default_collate
    return torch.stack(batch, 0, out=out)
RuntimeError: stack expects each tensor to be equal size, but got [4] at entry 0 and [9] at entry 1

My dataset dir:
➜  dataset git:(main) ls
8-bit.png  Emo.png  Executioner.png  Guardian.png  Punk.png  Rapidfire.png

Hello Aria! Unfortunately if using CTC you have to pad your dataset yourself :/
Every image should be of same size in number of characters. Take the biggest one, choose a character to represent empty  space and pad them to be all same size. You could do it either on your image files changing its name or in the code.
If you choose to use cross-entropy though, the padding is done automatically by the code.

@GabrielDornelles Thank you! Makes sense and was able to get it working :)


[REQUEST] Implement trip has time and is usable verification (GTFS rule)

Is your feature request related to a problem? Please describe.
A trip should have a beginning time and ending time, and be usable. This is a GTFS rule implemented in Google Python validator and featured in Google Type Error as TYPE_TRIP_WITH_NO_TIME_FOR_FIRST_STOP_TIME,  TYPE_TRIP_WITH_NO_TIME_FOR_LAST_STOP_TIME and TYPE_TRIP_WITH_NO_USABLE_STOPS.
Describe the solution you'd like
Actual Google GTFS validator behaviour : verifies if a trip has a time set for first stop time and last stop time, and that the trip is usable (more than 1 stop).
https://github.com/google/transitfeed/blob/master/transitfeed/schedule.py line 1298
Describe alternatives you've considered
Additional context
Line 136, 137 and 138 in Error support priorities https://docs.google.com/spreadsheets/d/1vqe6wq7ctqk1EhYkgtZ0_TbcQ91vccfs2daSjn20BLE/edit#gid=0

@maximearmstrong I'm not sure I understand TYPE_TRIP_WITH_NO_USABLE_STOPS here. Could you please explain that in more detail, and perhaps link to the Python code?

Sure, I added the link above. The trip must have a time for first stop, another one for last stop, and must have more than one stop to be usable.

From my understanding, all trips should be refered to in table StopTime
https://github.com/google/transitfeed/blob/d727e97cb66ac2ca2d699a382ea1d449ee26c2a1/transitfeed/schedule.py#L1299
Am I correct to assume this @barbeau ?

From my understanding, all Trips should be referred to (at least once) in table StopTime
https://github.com/google/transitfeed/blob/d727e97cb66ac2ca2d699a382ea1d449ee26c2a1/transitfeed/schedule.py#L1299 (line 1299)

Correct - looks like this is a warning in the Python validator:
      if not count_stop_times:
        problems.OtherProblem('The trip with the trip_id "%s" doesn\'t have '
                              'any stop times defined.' % trip.trip_id,
                              type=problems_module.TYPE_WARNING)

However, I am not sure of how to interpret this piece of code: https://github.com/google/transitfeed/blob/d727e97cb66ac2ca2d699a382ea1d449ee26c2a1/transitfeed/schedule.py#L1309 (from lines 1309 to 1312)

This code block:
        if len(trip._headways) > 0:  # no stoptimes, but there are headways
          problems.OtherProblem('Frequencies defined, but no stop times given '
                                'in trip %s' % trip.trip_id,
                                type=problems_module.TYPE_ERROR)

...looks like it references frequencies.txt, based on https://github.com/google/transitfeed/blob/1c7f8c03612ac5c9c2b3f9a4cac6c229a04376b9/transitfeed/trip.py#L471:
    self._headways.append((start_time, end_time, headway_secs, exact_times))

The way I read this is if a trip_id has a record in frequencies.txt but doesn't have any records in stop_times.txt then this is an error.
I'm not sure why one is considered an error and the other just a warning - I would consider them both errors.
Same with the following IF checking if a trip only has a single StopTime record:
      elif count_stop_times == 1:
        problems.OtherProblem('The trip with the trip_id "%s" only has one '
                              'stop on it; it should have at least one more '
                              'stop so that the riders can leave!' %
                              trip.trip_id, type=problems_module.TYPE_WARNING)

I'd consider this an error too.
Thoughts from @timMillet are welcome!

[ ] verify all trips are referred to at least once in stop_times.txt
[ ] verify each stop_times.txt contains at least two stops
[x] verify first and last stop times have start_time and end_time: E044

To be updated...


terraform-provider-keycloak: init at 1.20.0

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

terraform-provider-atlas repo seems to have disappear.
tested the build of all providers (eg nix-build -A terraform-providers)

This needs a rebase, as a lot in data.nix has changed in the meantime.
Did you check if just adding it to slugs in update-all, and treating it like most other providers works?

@flokli rebased and used the latest version
It can't be added to data.nix as the repo doesn't contain it's dependencies like the others. Also it's using go modules.

4 packages built:
terraform-full terraform-providers.keycloak terraform_0_11-full terragrunt


tab title unreadable with chinese

this is my settings.json
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{c453ae62-4e3d-5e58-b989-0a998ec441b8}",
"profiles":
{
"defaults":
{
// Put settings here that you want to apply to all profiles
//"scrollbarState":"hidden",
//"padding" : "10, 10, 10, 10",
"acrylicOpacity" : 0.9,
"background" : "#000",
"closeOnExit" : true,
"colorScheme" : "Campbell",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Cascadia Code",
"fontSize" : 14,
"useAcrylic": false,
//"startingDirectory": "L:\work\terminal",
"startingDirectory": ".",
"backgroundImage":"C:\Users\xxx\Pictures\slogan-logo.png",
"backgroundImageAlignment": "bottomRight",
"backgroundImageOpacity" : 0.12,
"backgroundImageStretchMode" : "none"
},
"list":
[
{
"guid": "{c453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "msys2 64",
"commandline": "C:\msys64\msys2_shell.cmd -mingw64 -msys -defterm -no-start -here",
"icon": "C:\msys64\msys2.ico",
"startingDirectory": null
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b7}",
"hidden": false,
"name": "git bash",
"commandline": "C:\Program Files\Git\bin\bash.exe",
"icon": "C:\Users\xxx\Pictures\git.png"
},
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
]
},
"schemes": [],
"keybindings": []
}

I can't reproduce this on my system. What version of git are you using? Do you have the experimental winconpty feature enabled?

Hey we've seen this once before, in #7172. What version of git / the msys runtime are you using? Looks like you might need to update


Clip copy and add ellipses if it doesn't fit the tile template

In 1.4 nightly - 232669.4daad5c, Go to the home page.
Click 'Videos'
Notice that the copy from the tiles is too long and spills onto the canvas instead of getting clipped.

Proposed:
Clip title to 34 characters
Limit description to 2 lines of copy ( Tile width: 253px). Add ellipses which, on click, show the full copy in a tooltip.
Limit button label to 34 characters.
Note: @xiyangdesign please check in with Randy to get a tile with a smaller thumbnail size - the current tiles have square thumbnails (vs the rectangular you have) which makes them too big and push too much content to below the fold. We do need to follow their guidelines, but need to get them to make a smaller tile size for us.

@mareekuh here is what I see on latest:
Version:  1.4.0-nightly.236490.3735dd3
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Will preemptively close this. Reach out with additional questions/concerns. Thanks!

Sounds good, thank you... I'd do the close-open-reboot dance a few more times so I'm looking at the latest (-:


Haml is independent of HTML

I'm just on a tear today separating out my languages... ;)
My argument is that Haml should be independent of HTML, because it doesn't look at all like HTML, has a ton of other features, helpers, etc that make it different than HTML.
Also, Handlebars is considered distinct from HTML, and then so should Haml.
.haml: 1.1 million files https://github.com/search?utf8=✓&q=extension%3Ahaml+NOT+nothack&type=Code&ref=searchresults
.hbs: 300k https://github.com/search?utf8=✓&q=extension%3Ahbs+NOT+nothack&type=Code&ref=searchresults
.handlebars: 98k https://github.com/search?utf8=✓&q=extension%3Ahandlebars+NOT+nothack&type=Code&ref=searchresults
We'd really like to be able to track usage of Haml around the internet better than is indicated by keeping it as just a flavour of HTML.
Thanks!

Also, Handlebars is considered distinct from HTML, and then so should Haml.

I'd actually argue this is an error in Linguist (that we should fix). Currently we have lots of the HTML templating languages under group: HTML:

HTML+Django
erb
Jade
Latte
Scaml

We'd really like to be able to track usage of Haml around the internet better than is indicated by keeping it as just a flavour of HTML.

I'm definitely sympathetic to this but I'm curious what 'tracking' you're talking about here. Being in the HTML group doesn't stop HAML from being segmented in our search:

cc @aroben here as he might have some thoughts on the segmentation of markup languages.

I'm curious what 'tracking' you're talking about here. Being in the HTML group doesn't stop HAML from being segmented in our search:

I think this only affects the language stats bar on the repo page.

Referring to this: https://github.com/blog/2047-language-trends-on-github

Since you've moved Handlebars into the same type of group, we're all good. ;)

Since you've moved Handlebars into the same type of group, we're all good. ;)

:+1:


unrecognized error

PS C:\Users\ADMIN\Documents\Hi C++> cd "c:\Users\ADMIN\Documents\Hi C++" ; if ($?) { g++ hello.cpp -o hello } ; if ($?) { .\hello }
g++ : The term 'g++' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:51

cd "c:\Users\ADMIN\Documents\Hi C++" ; if ($?) { g++ hello.cpp -o he ...

                                              ~~~

CategoryInfo          : ObjectNotFound: (g++:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

Verify your path variables.
Use g++ -v to verify that your compiler was installed correctly.


A new phishing site

please merge #31
added to blocklist:
https://app.squidrorouter.com/

Added manually


Can't install any packages

This shows when I try to install any packages to my project

Install Python 2.7 or above, then npm rebuild node-zopfli. Also make sure you have a C compiler installed locally -> https://github.com/pierreinglebert/node-zopfli#prerequisites-for-building


Client Allocation Request for: Enjin

Client Allocation Questions
Core Information

Name: Enjin
Website / Social Media:  https://enjin.io/
Region: Asia (excl. Greater China)
DataCap Requested: 30TiB
Addresses to be Notarized: f14jgqqieillwuus45qsa5nyu5gy7xefkgctxj5lq
Notary Requested: IreneYoung

@faopngineg Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

@IreneYoung Hi, we have used up the datacap you allocated last time #2126. Hope we can get your support this time too. Many thanks!

Sure, I'd like to support you. While you have made deals with four SPs with the previous allocated DataCap, what's your allocation plan this time?

@IreneYoung Hi we plan to work with 4 new SPs with good reputation and stable nodes and distribute 25% of the deals evenly across them.

@IreneYoung Hi we got any updates? Our project needs progress. Thanks a lot!


Support loading hugging face checkpoint

Support loading checkpoint with INC

load_cp explanation

Add torch_dtype bf16 for the model

Support getting quantized weight tensor

Removed test as it is uses a huggingface model, and we are not sure that we can use in our open source code (in terms of licence, intel regulations)

I think load_cp is not explicit enough. Transformers has load_in_4bit which I think would be better here.
@libinta You'll let me know when this PR can be merged.

this flag triggers neural compressor load api, which also supports loading of high precision models, and is planned to support loading of fp8 models in the future. it is correct that currently for gaudi only 4bit is suppoerted, however i think we should keep the load_cp name to avoid changing it in the future when we add loading of fp8 models.

I think load_cp is not explicit enough. Transformers has load_in_4bit which I think would be better here.
@libinta You'll let me know when this PR can be merged.

this flag triggers neural compressor load api, which also supports loading of high precision models, and is planned to support loading of fp8 models in the future. it is correct that currently for gaudi only 4bit is suppoerted, however i think we should keep the load_cp name to avoid changing it in the future when we add loading of fp8 models.

load_in_4_bit is just a proposal but honestly, if I'm a user and I don't know the arguments, load_cp doesn't tell me anything about what it does. I would prefer something more explicit like load_quantized_model or even better automatically detect if this is a 4/8-bit checkpoint.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Changes in nfp fwaas plugin with monkey patched router methods, creat…

…e_firewall

@njagadish @hemanthravi @songole

Closing this, as raised another PR - https://github.com/oneconvergence/group-based-policy/pull/444