Draw Yu-Gi-Oh! Card!

Please comment "draw" or "ドロー".
Email will be sent when the duelist draws.
If you don't need it, please stop here.

draw

Draw

draw

draw

ドロー

draw

ドロー

ドロー！モンスターカード！

ドロー！

draw a.k.a 引き分け

オベリスクの虚言兵を守備表示で召喚！ターン☆エ☆ン☆ド！

draw

draw

draw

ずっとオレのターン！ ドロー

draw

draw

ドロー

ドロー！

 Card! (#1)
Draw "Madolche Petingcessoeur" !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@murakamit8395
Added a note.
 Not sure if you would know or not, but can a person put a RSS feed on a PHP/HTML website? it's not a wordpress site.


Update common.sh

Fixed (octal interpretation (leading zero)) in master.sh

Without that fix I got: [[: 003009: value too great for base (error token is "003009") on master.sh:36+45

There's no error on my side. which bash version did you use to run this script? My Mac's bash current version  is 3.2.57.
Anyways, your version still works for me unless redhat does not increment their openshift major version greater than 9.

➜  ~ bash -version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
Hmm, what is then the difference. Do you got settings globally which changes this behavior?

the same version ... well, what i've found is the differences between [[ and [, check this out:
eliuhy@rmbp:tmp $ [ "$(version ${OPENSHIFT_RELEASE})" -gt "$(version 3.7)" ]
eliuhy@rmbp:tmp $ [[ "$(version ${OPENSHIFT_RELEASE})" -gt "$(version 3.7)" ]]
bash: [[: 003009: value too great for base (error token is "003009")
eliuhy@rmbp:tmp $

And yes, this is can be reproduced. solution will be either yours or replace [[ with [.
I'll choose to apply your patch. thanks for contributions.


BUG - Standup modal stays in loading state in channels with no standup configured

Summary
Standup modal stays in loading state in channels with no standup configured
Steps To Reproduce

Navigate to any channel where standup is not configured.
Open the standup modal by clicking on the Raven icon in channel header.

Expected behavior
The standup modal waits for the config API call to complete and shows the message that standup is not configured for this channel.
Observed Behavior
Standup modal stays in loading state.
Environment

Mattermost version: 5.12.4
OS: MacOC
Platform: browser
Browser: Firefox
Platform Version: 70.0

On further testing, the standup modal always shows the message -

You are not a part of this channel's standup

Irrespective of the actual error.


Create script that gets emails from environments and makes a tidy list.

User Story
As a mod platform engineer
I want to be able to inform all users of incidents via email not just slack
So that if slack goes down, we have an alternative.
Value / Purpose
Cyber Exercise CMP - Operation Jade Satellite outcome.
Store in the scripts folder.
Context / Background
Cyber Exercise CMP - Operation Jade Satellite outcome.
Useful Contacts
No response
Additional Information
No response
Definition of Done

[ ] Script created
[ ] Script tested.

@ep-93 there is already some scripts that do this as part of the owner notification job that could be used as the basis - https://github.com/ministryofjustice/modernisation-platform/blob/main/scripts/confirm-environment-owner/


Add a Gitter chat badge to README.md

davinkevin/AngularStompDK now has a Chat Room on Gitter
@davinkevin has just created a chat room. You can visit it here: https://gitter.im/davinkevin/AngularStompDK.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Duplicate


Zapp/Mediathek when opened on TV: No information for shows (so which season it is)

Installed the latest version from FDroid on my TV (with Android).
It seems that installed on TV the app looks different. It has a few drawbacks:

there are to less information about a movie/show: I can't see which season it is (example "Another monday")
I can't open a menu (so for sort channels)

What I didn't undertstand that some of the braodcasterser (SWR) doesn't work on TV but work on phone
But in general - a great app! Thanks for that.
Edit: Found that season nr is missed on Web/Phone too. But at least there you can get additional info.

Thank you very much for your feedback!
The user interface for Android TV has been drastically simplified so it is still usable with just a tv remote. This means removing some features like channel sorting - but I think it is a good tradeoff in general.
For the season number: Zapp is only able to display, what the mediathekviewweb api has to offer. The season number is not part of topic or title, so - sadly - it is not available to Zapp.
SWR should work on all platforms. I'll look into it - maybe I can figure out the problem :)

SWR not loading has been a bug on Android TV - the sream urls were not fetched from the api correctly. It will be fixed in the next release.

Thanks for this quick response!
Yeah, season number is a problem from broadcaster. Sorry for mention that.
I understand the limited handling on TV.  Just for brainstormin or give feedback.
More info:
Maybe there will be once an option to get more info / all available info by long press - or that selecting a movie just shows all information and playback starts with second ok. Just for brainstorming.
Channel sort:
As a workaround: For some strange reason right after install and opening out of FDroid  I could access the menu (attached a wireless mouse to TV). I think channel sort that is the only option needed.


How to change day title in Xamarin ?

Hello,
I'm starting to use FSCalendar for Xamarin and i'm finding problems with changing the weekdays labels, i tried using this command calendar.CalendarWeekdayView.WeekdayLabels[1].Text = "Hello"; but with no success the labels are the same. Can anyone help me and give me the steps or example to change this ? Thanks.

Hi @sseifallah
Are you trying to change "Mon" into "Hello" ?
As you can see here FSCalendarWeekdayView use values from Gregorian FSCalendar.
So, apparently, those labels were not designed to have any custom value


Keychain shared across apps with similar app id's

I doubt this will end up being anything about your pod, but here's what I'm finding:
https://stackoverflow.com/questions/47272209/sharing-of-keychain-values-across-apps-with-similar-bundle-ids

You need to enable Keychain sharing capability.

You may have missed the point... I was getting this sharing behavior without enabling sharing.


Not sure of your release numbering/versioning practices, but prometheus 2.27.0 executable reports 2.26.0 version

I may just not understand numbering/versioning practices in your case, but the prometheus 2.27.0 executable reports 2.26.0 version.
Replicate the issue:
./prometheus --version
prometheus, version 2.26.0 (branch: main, revision: 277bac622ac74240bbe6b75cbe96fe3472a7dc48)
build user:       buildtmpuser@ubuntu
build date:       20210513-01:21:26 # NOTE DATE
go version:       go1.16.3
platform:         linux/arm64
git log | head -3
commit 277bac622ac74240bbe6b75cbe96fe3472a7dc48
Author: ide-rea<EMAIL_ADDRESS>Date:   Wed May 12 22:47:05 2021 +0800

Did you build the branch release-2.27 ?

I downloaded the latest linux 2.27.0 binary and it is reporting 2.27.0 for me:
➜  prometheus-2.27.0.linux-amd64 ./prometheus --version
prometheus, version 2.27.0 (branch: HEAD, revision: 24c9b61221f7006e87cd62b9fe2901d43e19ed53)
  build user:       root@f27daa3b3fec
  build date:       20210512-18:04:51
  go version:       go1.16.4
  platform:         linux/amd64

Which version/build are you using? Or from source?

Here's what I get:
cd /tmp
git clone https://github.com/prometheus/prometheus
Cloning into 'prometheus'...
remote: Enumerating objects: 74849, done.
remote: Counting objects: 100% (160/160), done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 74849 (delta 56), reused 95 (delta 31), pack-reused 74689
Receiving objects: 100% (74849/74849), 125.93 MiB | 7.97 MiB/s, done.
Resolving deltas: 100% (39781/39781), done.
cd prometheus/
git log | head -3
commit 277bac622ac74240bbe6b75cbe96fe3472a7dc48
Author: ide-rea<EMAIL_ADDRESS>Date:   Wed May 12 22:47:05 2021 +0800

Ahh yes, you are on the main branch not release-2.27. Once https://github.com/prometheus/prometheus/pull/8819 is merged the main branch will be updated to report a version of 2.27.0 as well. We do releases in a branch, and once everything is OK merge it back into main.

So you can close this.  No, you're correct:  I didn't until now understand how the branching and tags were being done...

git checkout "tags/v2.27.0"
git fetch


Web - Action button is 3232 instead of 3240

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/21131
Action Performed:

Login to NewDot
Go to any chat
Check Action button size

Expected Result:
Action button should be 32*40
Actual Result:
Action button is 3232 instead of 3240
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Discussing in the above issue.

We decided this is not a bug.  Closing!


Obsfeil/issue525

pull

Would you mind explaining the goal of this PR?

Closing as there is no answer.


Bump to Foxy

Current implementation only supports the communication to Dashing distribution on the host. We need to support the communication to Foxy (and Galactic).

https://github.com/mROS-base/embeddedRTPS/pull/7 fixed this issue for Mbed version. However, the ASP3 version does not yet support it.

https://github.com/mROS-base/mros2-asp3-f767zi/pull/48 can now fix this in the ASP3 version!


Help with setup for custom home usecase

Hi,  I have recently purchased a mikrotik with container support with little to no experience with this type of hardware and I have managed to setup the container using the default settings from readme only difference being my home network is on <IP_ADDRESS>/24.
I have my remote network setup at <IP_ADDRESS>/24 and has subnet routing enabled.
Now to the real question, is it possible for a device on <IP_ADDRESS>/24 network communicate with a device on <IP_ADDRESS>/24 network without installing tailscale?
One possible solution that I can think of is to route all my traffic through the container that way all my <IP_ADDRESS>/24 device can transparently see and interact with devices at <IP_ADDRESS>/24 just like an PC or a phone which has tailscale installed, but can that be done using only this container without having to install tailscale on each device?

Hi,
Thanks for your message.
Certainly you can achieve what you're wanting to do using Site to Site Networking. See the wiki page:
https://github.com/Fluent-networks/tailscale-mikrotik/wiki#s2snetworking

I tried it as per the guide, the issue being the other end point is a nas so can't do gateway and networking related edits there.
This is what I am getting in the logs:

The apps on nas(<IP_ADDRESS> network) never load I get a timeout error

Any idea on what went wrong ?

Hi,
Could you post your configurations?
/export hide-sensitive

Here ###### is the stuff I remove intentionally just to be safe
# 2023-11-14 14:13:14 by RouterOS 7.11.2
# software id = VNT9-CK04
#
# model = RB5009UPr+S+
# serial number = ##########
/container mounts
add dst=/var/lib/tailscale name=tailscale src=/tailscale
/disk
set usb1 type=hardware
set usb2 type=hardware
add parent=usb2 partition-number=1 partition-offset=512 partition-size="30 752 636 416" type=\
    partition
/interface bridge
add name=Home-Lan
add name=dockers
/interface veth
add address=<IP_ADDRESS>/16 gateway=<IP_ADDRESS> gateway6="" name=veth1
/interface list
add name=WAN
add name=LAN
/interface wifiwave2 configuration
add country=India disabled=no hide-ssid=no mode=ap name=Home security.authentication-types=\
    wpa2-psk .wps=disable ssid=#######
/ip pool
add name=dhcp ranges=<IP_ADDRESS>-<IP_ADDRESS>
/ip dhcp-server
add address-pool=dhcp interface=Home-Lan name=dhcp1
/container
add dns=<IP_ADDRESS>,<IP_ADDRESS> envlist=tailscale hostname=mikrotik interface=veth1 logging=yes \
    mounts=tailscale root-dir=/containers/tailscale start-on-boot=yes
/container config
set registry-url=https://ghcr.io tmpdir=usb2-part1/pull
/container envs
add key=PASSWORD name=tailscale value=########
add key=AUTH_KEY name=tailscale value=\
    ######################################
add key=ADVERTISE_ROUTES name=tailscale value=<IP_ADDRESS>/24
add key=CONTAINER_GATEWAY name=tailscale value=<IP_ADDRESS>
add key=TAILSCALE_ARGS name=tailscale value="--accept-routes --snat-subnet-routes=false"
/interface bridge port
add bridge=Home-Lan interface=ether2
add bridge=Home-Lan interface=ether3
add bridge=Home-Lan interface=ether4
add bridge=Home-Lan interface=ether5
add bridge=Home-Lan interface=ether6
add bridge=Home-Lan interface=ether7
add bridge=Home-Lan interface=ether8
add bridge=Home-Lan interface=sfp-sfpplus1
add bridge=dockers interface=veth1
/interface list member
add interface=ether1 list=WAN
add interface=Home-Lan list=LAN
/interface wifiwave2 capsman
set enabled=yes package-path="" require-peer-certificate=no upgrade-policy=none
/interface wifiwave2 provisioning
add action=create-dynamic-enabled disabled=no master-configuration=Home
/ip address
add address=<IP_ADDRESS>/24 interface=Home-Lan network=<IP_ADDRESS>
add address=<IP_ADDRESS>/16 interface=dockers network=<IP_ADDRESS>
/ip dhcp-client
add interface=ether1 use-peer-dns=no
/ip dhcp-server network
add address=<IP_ADDRESS>/24 gateway=<IP_ADDRESS> netmask=24
/ip dns
set allow-remote-requests=yes use-doh-server=https://<IP_ADDRESS>/dns-query verify-doh-cert=yes
/ip dns static
add address=<IP_ADDRESS> name=cloudflare-dns.com
/ip firewall filter
add action=accept chain=input comment="accept established,related,untracked"
add action=drop chain=input comment="drop invalid"
add action=accept chain=input comment="accept ICMP" protocol=icmp
add action=accept chain=input comment="accept to local loopback(for CAPsMAN)" dst-address=\
    <IP_ADDRESS>
add action=drop chain=input comment="drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="accept in ipsec policy"
add action=accept chain=forward comment="accept out ipsec policy"
add action=fasttrack-connection chain=forward comment=fasttrack hw-offload=yes
add action=accept chain=forward comment="accept, established, realated, untracked"
add action=drop chain=forward comment="drop invalid"
add action=drop chain=forward comment="drop all from WAN not DSTNATed" in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN
/ip route
add dst-address=<IP_ADDRESS>/8 gateway=<IP_ADDRESS>
add dst-address=<IP_ADDRESS>/24 gateway=<IP_ADDRESS>
/system clock
set time-zone-name=Asia/Kolkata
/system note
set show-at-login=no

Thanks... sorry are saying you don't have a router on the <IP_ADDRESS>/24 network.
You would need a router at each site per the Wiki example.

I have router at <IP_ADDRESS>/24 network and <IP_ADDRESS>/24 is normal network with isp router but I have enabled subnet routing using tailscale's docker/container image  on a nas.
So is it not possible for <IP_ADDRESS>/24 tailscale container to push the traffic to the <IP_ADDRESS>/24 nas container?

HI,
Your configuration above looks OK. Just checking you have:

setup the other tailscale subnet router per https://tailscale.com/kb/1214/site-to-site/
enabled the subnet routes in the Tailscale console for both devices
added a route at the other end pointing <IP_ADDRESS>/24 to the remote subnet router LAN address

Also the ping test command above should be:
/ping <IP_ADDRESS> src-address=<IP_ADDRESS>

So something like this on <IP_ADDRESS>/24? it's an asus router

Yes.

Nope didn't work, I think it has to be a mikrotik router on the other end, closing for now, in future will try this again with both routers setup as you mentioned and if doesn't work i'll reopen the issue


Repackaging AAD solution with analytic rules

Required items, please complete
Change(s):

Added analytic rules to AAD solution from standalone content

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Hi @v-vdixit, few checks are failing please look into it

closing this as following up in another PR -   ,thanks


Disable logging to certain records depending on value returned at tap function

This change allows to avoid logging a record based on certain conditions related to the values its properties. Without calling activity()->disableLogging() which will disable logging for all records from the same model.
It will return a value on the tapActivity function, which is stored at a local variable that affects the log for only this record. It is validated at the log function to stop the logging. It will not affect current functionality.
For example, in this case, it will not log records that it's type is N or M. The other records with different type values will be logged.
public function tapActivity(Activity $activity, string $eventName)
    {
        if (in_array($this->type, ['N', 'M'])) {
            return true;
        }
    }

This would be helpfull for an existing app that needs to disable log to certain records(based on properties values) from a model. Instead of adding this logic(disable depending on values) to the app business layer it will stay at activitylog's layer.
Any feedback would be more than welcomed

Hey,
thanks for the PR but I will reject it in the current state. Please open an issue with your underlying problem.
Reasons why I'm rejecting the PR:

I'm not getting why the tapActivity() method should be able to suppress logging
returning true to prevent a log is the total opposite of what I would expect

In the issue we can discuss what your problem is, how it could be solved already and/or what's the best way to solve it by package changes.


Embedding

In the future I'd maybe try to unify the amortized / embedding inputs and just have it accept a lambda or existing embeddings. The amortized=countvectorizer part specifically is very specific.


File Save is unreliable

VSCode Version: Code - Insiders 1.4.0-insider (4656fe3ff2952e9538d81e7a7571674352e5d62f, 2016-07-29T05:08:49.671Z)
OS Version: Windows_NT ia32 10.0.14393

Steps to Reproduce:

press Ctrl-S, about a 50/50 chance if the file will save or not, been happening for at least a month on 2 computers, Win 7 & Win 10
separate scenario, same result... had a single file open, it was dirty... with mouse, picked File>Save, then clicked the X to close the app, was prompted to save when the file save was just done (or worst case should have been in progress)

I am very sorry to hear you are having issues with VS Code. I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line, execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

A number of days has past without answer on the questions asked. I am thereby going to close this issue to clean up our backlog of issues. Once you can answer on the questions, the issue can be reopened again. Thanks for understanding this process!


Lines are not propertly cutoff

See selected area.. Gotta translate encoded characters before cutting off the line.

Hello Tim!
I may be wrong, but it think that's just the encoded content of that claim. Did you notice that the value starts with a <saml:NameID ...?
But could it be possible that content is malformed since it doesn't end with an encoded closing tag?

It does end with a > but the line is cutoff right in the middle of that code... Or am I just missing it?
I guess it's a bit of an edge-case because the value is a NameID here...

Is there a way for me to reproduce this?

Sure! Go to https://engine.openconext.moo-archive.nl/authentication/sp/debug, select SimpleSAMLphp and login using khlr/Welcome01 to generate this SAMLreponse

Thank you for the test-account!

It's ok, that the attribute value is HTML-encoded. It's just the eduPersonTargetedID's value. It's due to the window's size, that the line in your screenshot ends with an ampersand. If you resize it, the linebreak will be on another position.
The claim's value is:
<saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" SPNameQualifier="https://engine.foo.nl/authentication/sp/metadata">f1248bc07c1895a3e679c1b4c614602b40a85e60</saml:NameID>

Hence I'd expect this attribute value in the token (the HTML-encoded representation of the above value):
<saml:AttributeValue xsi:type="xs:string"><saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" SPNameQualifier="https://engine.foo.nl/authentication/sp/metadata">f1248bc07c1895a3e679c1b4c614602b40a85e60</saml:NameID></saml:AttributeValue>

But unfortunately thats's not the case! The attribute looks like this (cropped):
<saml:AttributeValue xsi:type="xs:string"><saml:NameID xmlns:saml="urn:...metadata">f1248b...85e60&</saml:NameID></saml:AttributeValue>

The difference is, that the line ends with 85e60&</saml:NameID></saml:AttributeValue>  whereas it should end with 85e60</saml:NameID></saml:AttributeValue>!
So SAML tracer seems to not encode the closing tag correctly.
I'll take a closer look at that soon!

@tvdijen could you please re-enable the test-account? I'd like to debug this a bit more.

It's done @khlr!

Thanks, Tim!
But unfortunately there's an error when I try to log in: 76b54a0604
Authentication processing filter without name given.

I'm very sorry! It has been fixed now..
As you can see, I use this setup for all kinds of testing / PoC's / development, so this could happen again!

Well, I think this could be quite easily fixed by replacing this old method (which only replaced the first occurrence of a character)
function xmlEntities(string) {
  string = string.replace('&', '&', 'g');
  string = string.replace('"', '"', 'g');
  string = string.replace("'", ''', 'g');
  string = string.replace(/</g, '<');
  string = string.replace('>', '>', 'g');
  return string;
}

with this updated version (which replaces all occurrences of a character):
function xmlEntities(string) {
  string = string.replace(/&/g, '&');
  string = string.replace(/"/g, '"');
  string = string.replace(/'/g, ''');
  string = string.replace(/</g, '<');
  string = string.replace(/>/g, '>');
  return string;
}

But I'm wondering if that makes sense... As you can see from the screenshot some posts above, the actual content of the claim is another un-encoded claim. And that's exactly what travels over the wire.
So from my understanding the claim value should be encoded (since it's xsi:type="xs:string"), but that shouldn't be done by SAML Tracer - I think that should be done by the IdP before issuing the token. Or am I getting this wrong?
If SAML Tracer would replace the <saml:AttributeValue><saml:NameID>f1248bc0</saml:NameID></saml:AttributeValue> with <saml:AttributeValue><saml:NameID>f1248bc0</saml:NameID></saml:AttributeValue> it would distort the original claim value which patently doesn't have that value encoded.
Maybe it's just too late or it's my lack of SAML knowledge 😉 Perhaps @thijskh or @jaimeperez could shed some light on this?

This should be fixed for quite a while now, right?
#53 has remedied this, hasn't it, @tvdijen ?
Hence I'm closing this issue now. Feel free to reopen it if I missed something.


ARROW-12220: [C++][CI] Thread sanitizer failure

The background generator kept reading from the source even after the downstream had given up on it.  Other than the obvious memory / resource usage problems this also meant that callback handlers could reference deleted state downstream.  Now we block the destructor until the background thread is finished and we stop the background thread early if all consumer references are lost.

I was able to reproduce the original error pretty reliably.  The tricky part was that it would only be triggered when the CPU executor was cleaned up and so I had to do the repeat outside of gtest (i.e. no --gtest_repeat) so that the process kept closing/opening.  This combined with CPU stress triggered the issue pretty reliably.  I used this to verify the fix.

On a side note, when you mentioned rxcpp, it seems the lead maintainer moved on to libunifex which is an implementation of a C++23 proposal (Unified Executors), wonder if there's any ideas to borrow from there.

First, I was not familiar with libunifex, just scanning through it looks pretty cool.  Their AsyncStream looks to be pretty compatible with AsyncGenerator so maybe we can borrow some ideas.  I'll have to read through in more detail later.
Second, yes, I had the same thought about the stop token.  I'll add a note to ARROW-11875.
Third, I hadn't thought of the serial executor as a nursery but you may be on to something.  For example, off the top of my head you could do something like...
Future<T> AsyncBind(std::function<Future<T>(S*)>, std::shared_ptr<S>)

I'll make a JIRA for it.
...it's not exactly a nursery but similar.  There is also the oox_var concept mentioned in ARROW-7001 's JIRA comments which is more of a classic nursery (but a bit more complicated).

It seems there is some corner case that leads to deadlock.  More work is needed.  Also, I created ARROW-12285 for discussion on async state management.

Ok.  I got lost trying to simplify things with an enum and, in the process, found a bug where a really fast consumer could try and restart the queue multiple times.
@pitrou @lidavidm
So, I have reworked it and I think it is a bit easier to reason with now (a bit).
Every background task gets a future that it marks complete when it finishes.
The background task cannot be restarted (and the cleanup cannot finish) until that future has been marked complete.
There is still a "running" flag so that we know when we add an item to the queue if we have to restart the background task (because it is no longer running and merely cleaning up) or not (because it is still running and will pick it up on the next loop).

I'm not too sure what to do about the remaining complexity.
I could change the background thread so it blocks instead of releasing the thread although I think that would introduce the need for a proper condition variable.
I could change the polling thread so that a restart that is blocked by a cleaning up background thread blocks instead of using callbacks.  But then this is blocking in an async context which is ideally avoided.
Or we could simply go back to the old method of thread task per request.  At the end of the day the threads were only adding a small overhead to the cached I/O case.

It looks like the R 3.5 tests got stuck when running on x64, timing out after 6 hours. The 1 hour timeout didn't apply. Unfortunately there seems to be practically nothing in the logs other than that.
2021-04-13T03:25:44.2272201Z * checking tests ...
2021-04-13T03:25:44.2272689Z
2021-04-13T03:25:44.4682128Z ** running tests for arch 'i386' ...
2021-04-13T03:25:44.4683020Z
2021-04-13T03:26:12.7283883Z   Running 'testthat.R' [28s]
2021-04-13T03:26:12.7285110Z
2021-04-13T03:26:12.7402341Z  OK
2021-04-13T03:26:12.7403034Z
2021-04-13T03:26:12.9895003Z ** running tests for arch 'x64' ...
2021-04-13T03:26:12.9896008Z
2021-04-13T09:00:00.6350799Z
2021-04-13T09:00:00.6360365Z ##[error]Error: 'col_ed' is not an exported object from 'namespace:cli'
2021-04-13T09:00:00.6405966Z Execution halted
2021-04-13T09:00:05.5571291Z ##[error]The operation was canceled.

That seems new.  The R 3.5 64 bit builds have been pretty stable (compared to the 32 bit builds).  Unfortunately, it's not reliable.  The R builds passed locally for me.  Later today I'll run a few more local runs on the laptop and see if I can reproduce it.

I'm retrying the R builds. We shouldn't bother if there's a sporadic issue with soon-to-be-obsolete RTools 3.5.

All 5 R jobs appear to be hopelessly hung.

They're just waiting to start AFAICT.

@github-actions crossbow submit test-ubuntu-20.04-cpp-thread-sanitizer

@github-actions crossbow submit test-ubuntu-20.04-cpp-thread-sanitizer

@nealrichardson 's crossbow job appears to have failed to launch (hence the thumbs down).  So I gave it another shot.
Run archery trigger-bot \
fatal: not a git repository (or any of the parent directories): .git
Cloning into '/tmp/tmpjly6bfbo/arrow'...
From https://github.com/apache/arrow
 * [new ref]             refs/pull/9941/head -> bugfix/arrow-12220
Switched to branch 'bugfix/arrow-12220'
Cloning into '/tmp/tmpjly6bfbo/crossbow'...
ERROR:archery:'arch_alias' is undefined

Your second attempt also failed :/ https://github.com/apache/arrow/runs/2341429654
I manually submitted it in the meantime: https://github.com/lidavidm/crossbow/runs/2343121554?check_suite_focus=true
Not sure what's going on as crossbow submit --dry-run locally prints out the job fine, and there were some changes to Archery that affected arch_alias in the templates, but that second attempt ran with that change. (I wish Archery logged the full traceback as it's hard to tell what's different, and trigger-bot isn't easy to replicate locally…)

ThreadSanitizer found issues still :/

arrow-threading-utility-test
[ RUN      ] TestRunSynchronously/TestRunSynchronously.ContinueAfterExternal/0
==================
WARNING: ThreadSanitizer: data race (pid=5400)
  Write of size 8 at 0x7b2c00000498 by main thread:
    #0 pthread_cond_destroy <null> (arrow-threading-utility-test+0x71ae5)
    #1 arrow::internal::SerialExecutor::State::~State() /arrow/cpp/src/arrow/util/thread_pool.cc:48:24 (libarrow.so.400+0x102b639)
    #2 std::default_delete<arrow::internal::SerialExecutor::State>::operator()(arrow::internal::SerialExecutor::State*) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:81:2 (libarrow.so.400+0x102b466)
    #3 std::unique_ptr<arrow::internal::SerialExecutor::State, std::default_delete<arrow::internal::SerialExecutor::State> >::~unique_ptr() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:292:4 (libarrow.so.400+0x1028823)
    #4 arrow::internal::SerialExecutor::~SerialExecutor() /arrow/cpp/src/arrow/util/thread_pool.cc:56:36 (libarrow.so.400+0x1020aa5)
    #5 arrow::Result<arrow::detail::Empty> arrow::internal::SerialExecutor::RunInSerialExecutor<arrow::detail::Empty>(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>) /arrow/cpp/src/arrow/util/thread_pool.h:220:5 (libarrow.so.400+0x1030965)
    #6 arrow::Result<arrow::detail::Empty> arrow::internal::RunSynchronously<arrow::detail::Empty>(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>, bool) /arrow/cpp/src/arrow/util/thread_pool.h:337:12 (libarrow.so.400+0x10295aa)
    #7 arrow::internal::RunSynchronouslyVoid(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>, bool) /arrow/cpp/src/arrow/util/thread_pool.cc:420:10 (libarrow.so.400+0x10237fb)
    #8 arrow::internal::TestRunSynchronously::RunVoid(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>) /arrow/cpp/src/arrow/util/thread_pool_test.cc:136:12 (arrow-threading-utility-test+0x2506df)
    #9 arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody() /arrow/cpp/src/arrow/util/thread_pool_test.cc:229:3 (arrow-threading-utility-test+0x22d9ec)
    #10 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2433:10 (libgtestd.so+0xabc73)

  Previous read of size 8 at 0x7b2c00000498 by thread T5:
    #0 pthread_cond_signal <null> (arrow-threading-utility-test+0x717c2)
    #1 std::condition_variable::notify_one() <null> (libstdc++.so.6+0xd0e6c)
    #2 arrow::Status arrow::internal::Executor::Spawn<arrow::Future<arrow::detail::Empty> arrow::internal::Executor::Transfer<arrow::detail::Empty>(arrow::Future<arrow::detail::Empty>)::'lambda'(arrow::Result<arrow::detail::Empty> const&)::operator()(arrow::Result<arrow::detail::Empty> const&)::'lambda'()>(arrow::detail::Empty&&, arrow::StopToken) /arrow/cpp/src/arrow/util/thread_pool.h:86:12 (arrow-threading-utility-test+0x2763d0)
    #3 arrow::Future<arrow::detail::Empty> arrow::internal::Executor::Transfer<arrow::detail::Empty>(arrow::Future<arrow::detail::Empty>)::'lambda'(arrow::Result<arrow::detail::Empty> const&)::operator()(arrow::Result<arrow::detail::Empty> const&) /arrow/cpp/src/arrow/util/thread_pool.h:109:27 (arrow-threading-utility-test+0x276138)
    #4 arrow::Future<arrow::detail::Empty>::Callback<arrow::Future<arrow::detail::Empty> arrow::internal::Executor::Transfer<arrow::detail::Empty>(arrow::Future<arrow::detail::Empty>)::'lambda'(arrow::Result<arrow::detail::Empty> const&)>::operator()() && /arrow/cpp/src/arrow/util/future.h:526:7 (arrow-threading-utility-test+0x275ffb)
    #5 arrow::internal::FnOnce<void ()>::FnImpl<arrow::Future<arrow::detail::Empty>::Callback<arrow::Future<arrow::detail::Empty> arrow::internal::Executor::Transfer<arrow::detail::Empty>(arrow::Future<arrow::detail::Empty>)::'lambda'(arrow::Result<arrow::detail::Empty> const&)> >::invoke() /arrow/cpp/src/arrow/util/functional.h:122:42 (arrow-threading-utility-test+0x275f67)
    #6 arrow::internal::FnOnce<void ()>::operator()() && /arrow/cpp/src/arrow/util/functional.h:110:17 (libarrow.so.400+0xf9cb80)
    #7 arrow::ConcreteFutureImpl::DoMarkFinishedOrFailed(arrow::FutureState) /arrow/cpp/src/arrow/util/future.cc:276:7 (libarrow.so.400+0xf9c86c)
    #8 arrow::ConcreteFutureImpl::DoMarkFinished() /arrow/cpp/src/arrow/util/future.cc:230:27 (libarrow.so.400+0xf98edd)
    #9 arrow::FutureImpl::MarkFinished() /arrow/cpp/src/arrow/util/future.cc:333:60 (libarrow.so.400+0xf952fa)
    #10 arrow::Future<arrow::detail::Empty>::DoMarkFinished(arrow::Result<arrow::detail::Empty>) /arrow/cpp/src/arrow/util/future.h:546:14 (arrow-threading-utility-test+0x186475)
    #11 void arrow::Future<arrow::detail::Empty>::MarkFinished<arrow::detail::Empty, void>(arrow::Status) /arrow/cpp/src/arrow/util/future.h:336:12 (arrow-threading-utility-test+0x16f4ad)
    #12 std::enable_if<(!(std::is_void<arrow::Status>::value)) && (!(is_future<arrow::Status>::value)), void>::type arrow::detail::ContinueFuture::operator()<arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&, arrow::Status, arrow::Future<arrow::detail::Empty> >(arrow::Future<arrow::detail::Empty>, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&) const /arrow/cpp/src/arrow/util/future.h:84:10 (arrow-threading-utility-test+0x24c6f6)
    #13 void std::__invoke_impl<void, arrow::detail::ContinueFuture&, arrow::Future<arrow::detail::Empty>&, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&>(std::__invoke_other, arrow::detail::ContinueFuture&, arrow::Future<arrow::detail::Empty>&, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:60:14 (arrow-threading-utility-test+0x24c619)
    #14 std::__invoke_result<arrow::detail::ContinueFuture&, arrow::Future<arrow::detail::Empty>&, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&>::type std::__invoke<arrow::detail::ContinueFuture&, arrow::Future<arrow::detail::Empty>&, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&>(arrow::detail::ContinueFuture&, arrow::Future<arrow::detail::Empty>&, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:95:14 (arrow-threading-utility-test+0x24c49a)
    #15 void std::_Bind<arrow::detail::ContinueFuture (arrow::Future<arrow::detail::Empty>, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'())>::__call<void, 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/functional:400:11 (arrow-threading-utility-test+0x24c403)
    #16 void std::_Bind<arrow::detail::ContinueFuture (arrow::Future<arrow::detail::Empty>, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'())>::operator()<void>() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/functional:482:17 (arrow-threading-utility-test+0x24c359)
    #17 arrow::internal::FnOnce<void ()>::FnImpl<std::_Bind<arrow::detail::ContinueFuture (arrow::Future<arrow::detail::Empty>, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'())> >::invoke() /arrow/cpp/src/arrow/util/functional.h:122:42 (arrow-threading-utility-test+0x24c2f7)
    #18 arrow::internal::FnOnce<void ()>::operator()() && /arrow/cpp/src/arrow/util/functional.h:110:17 (libarrow.so.400+0xf9cb80)
    #19 arrow::internal::WorkerLoop(std::shared_ptr<arrow::internal::ThreadPool::State>, std::_List_iterator<std::thread>) /arrow/cpp/src/arrow/util/thread_pool.cc:167:11 (libarrow.so.400+0x1026cfb)
    #20 arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2::operator()() const /arrow/cpp/src/arrow/util/thread_pool.cc:321:37 (libarrow.so.400+0x1026924)
    #21 void std::__invoke_impl<void, arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2>(std::__invoke_other, arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:60:14 (libarrow.so.400+0x1026890)
    #22 std::__invoke_result<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2>::type std::__invoke<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2>(arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:95:14 (libarrow.so.400+0x10267a0)
    #23 void std::thread::_Invoker<std::tuple<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/thread:244:13 (libarrow.so.400+0x1026748)
    #24 std::thread::_Invoker<std::tuple<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2> >::operator()() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/thread:251:11 (libarrow.so.400+0x10266e8)
    #25 std::thread::_State_impl<std::thread::_Invoker<std::tuple<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_2> > >::_M_run() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/thread:195:13 (libarrow.so.400+0x102646f)
    #26 <null> <null> (libstdc++.so.6+0xd6d83)

  Location is heap block of size 176 at 0x7b2c00000420 allocated by main thread:
    #0 operator new(unsigned long) <null> (arrow-threading-utility-test+0xff3a7)
    #1 arrow::internal::SerialExecutor::SerialExecutor() /arrow/cpp/src/arrow/util/thread_pool.cc:55:43 (libarrow.so.400+0x10209a7)
    #2 arrow::Result<arrow::detail::Empty> arrow::internal::SerialExecutor::RunInSerialExecutor<arrow::detail::Empty>(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>) /arrow/cpp/src/arrow/util/thread_pool.h:220:12 (libarrow.so.400+0x1030906)
    #3 arrow::Result<arrow::detail::Empty> arrow::internal::RunSynchronously<arrow::detail::Empty>(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>, bool) /arrow/cpp/src/arrow/util/thread_pool.h:337:12 (libarrow.so.400+0x10295aa)
    #4 arrow::internal::RunSynchronouslyVoid(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>, bool) /arrow/cpp/src/arrow/util/thread_pool.cc:420:10 (libarrow.so.400+0x10237fb)
    #5 arrow::internal::TestRunSynchronously::RunVoid(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>) /arrow/cpp/src/arrow/util/thread_pool_test.cc:136:12 (arrow-threading-utility-test+0x2506df)
    #6 arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody() /arrow/cpp/src/arrow/util/thread_pool_test.cc:229:3 (arrow-threading-utility-test+0x22d9ec)
    #7 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2433:10 (libgtestd.so+0xabc73)

  Thread T5 (tid=7374, running) created by main thread at:
    #0 pthread_create <null> (arrow-threading-utility-test+0x707cb)
    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xd7048)
    #2 arrow::internal::ThreadPool::LaunchWorkersUnlocked(int) /arrow/cpp/src/arrow/util/thread_pool.cc:321:11 (libarrow.so.400+0x1022311)
    #3 arrow::internal::ThreadPool::SpawnReal(arrow::internal::TaskHints, arrow::internal::FnOnce<void ()>, arrow::StopToken, arrow::internal::FnOnce<void (arrow::Status const&)>&&) /arrow/cpp/src/arrow/util/thread_pool.cc:338:7 (libarrow.so.400+0x1022ae4)
    #4 arrow::Result<arrow::Future<arrow::detail::Empty> > arrow::internal::Executor::Submit<arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'(), arrow::Future<arrow::detail::Empty> >(arrow::internal::TaskHints, arrow::StopToken, arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&&) /arrow/cpp/src/arrow/util/thread_pool.h:149:5 (arrow-threading-utility-test+0x24b483)
    #5 arrow::Result<arrow::Future<arrow::detail::Empty> > arrow::internal::Executor::Submit<arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'(), arrow::Future<arrow::detail::Empty> >(arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const::'lambda'()&&) /arrow/cpp/src/arrow/util/thread_pool.h:175:12 (arrow-threading-utility-test+0x24b173)
    #6 arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6::operator()(arrow::internal::Executor*) const /arrow/cpp/src/arrow/util/thread_pool_test.cc:223:45 (arrow-threading-utility-test+0x24af53)
    #7 arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>::FnImpl<arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody()::$_6>::invoke(arrow::internal::Executor*&&) /arrow/cpp/src/arrow/util/functional.h:122:42 (arrow-threading-utility-test+0x24ae8b)
    #8 arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>::operator()(arrow::internal::Executor*) && /arrow/cpp/src/arrow/util/functional.h:110:17 (libarrow.so.400+0x1030818)
    #9 arrow::Result<arrow::detail::Empty> arrow::internal::SerialExecutor::Run<arrow::detail::Empty>(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>) /arrow/cpp/src/arrow/util/thread_pool.h:232:22 (libarrow.so.400+0x1030b8a)
    #10 arrow::Result<arrow::detail::Empty> arrow::internal::SerialExecutor::RunInSerialExecutor<arrow::detail::Empty>(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>) /arrow/cpp/src/arrow/util/thread_pool.h:220:29 (libarrow.so.400+0x1030938)
    #11 arrow::Result<arrow::detail::Empty> arrow::internal::RunSynchronously<arrow::detail::Empty>(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>, bool) /arrow/cpp/src/arrow/util/thread_pool.h:337:12 (libarrow.so.400+0x10295aa)
    #12 arrow::internal::RunSynchronouslyVoid(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>, bool) /arrow/cpp/src/arrow/util/thread_pool.cc:420:10 (libarrow.so.400+0x10237fb)
    #13 arrow::internal::TestRunSynchronously::RunVoid(arrow::internal::FnOnce<arrow::Future<arrow::detail::Empty> (arrow::internal::Executor*)>) /arrow/cpp/src/arrow/util/thread_pool_test.cc:136:12 (arrow-threading-utility-test+0x2506df)
    #14 arrow::internal::TestRunSynchronously_ContinueAfterExternal_Test::TestBody() /arrow/cpp/src/arrow/util/thread_pool_test.cc:229:3 (arrow-threading-utility-test+0x22d9ec)
    #15 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2433:10 (libgtestd.so+0xabc73)

SUMMARY: ThreadSanitizer: data race (/build/cpp/debug/arrow-threading-utility-test+0x71ae5) in pthread_cond_destroy
==================
[       OK ] TestRunSynchronously/TestRunSynchronously.ContinueAfterExternal/0 (763 ms)

also in arrow-dataset-file-csv-test (too much to paste here)

Ok, I think this PR fixes the originally reported issue with BackgroundGenerator. But now ThreadSanitizer is finding an issue with SerialExecutor. The nightlies report similar issues: https://github.com/ursacomputing/crossbow/runs/2340248774
So I think we should merge this and start fixing the new issue that's cropped up.

I'm debugging the TSan failure FWIW.

But I agree we can merge this PR already.


[docker] Fix libra_init to reuse cache

Use the same build command so the layer cache can be reused.

@bors-libra r+
Looks good to me!

:pushpin: Commit 9f727ff has been approved by davidiw

:hourglass: Testing commit 9f727ff46d48f8cac5e1bbd944035e87962d7b12 with merge d850b094690f35967d2f30e9bcf45c9920682281...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: davidiw
Pushing d850b094690f35967d2f30e9bcf45c9920682281 to master...


Fix devsds syntax error

What this PR does / why we need it:
Fix devsds uninstall script syntax error.
+ osds::keystone::uninstall
+ '[' true '!=' 'false]'
/root/gopath/src/github.com/opensds/opensds/script/devsds/lib/keystone.sh: line 158: [: missing `]'

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
fixes #609
Special notes for your reviewer:
Release note:

Coverage remained the same at 41.659% when pulling b03a7b8fe036b00f948d4c3f9a40e83a629d10c0 on hirokikmr:development-bug-fix into 266321d40fbdefb7e1c7ef6dcfb436e6e2bfe207 on opensds:development.

Coverage remained the same at 41.659% when pulling b03a7b8fe036b00f948d4c3f9a40e83a629d10c0 on hirokikmr:development-bug-fix into 266321d40fbdefb7e1c7ef6dcfb436e6e2bfe207 on opensds:development.

Coverage remained the same at 41.659% when pulling b03a7b8fe036b00f948d4c3f9a40e83a629d10c0 on hirokikmr:development-bug-fix into 266321d40fbdefb7e1c7ef6dcfb436e6e2bfe207 on opensds:development.

@hirokikmr Thanks for the fix!

lgtm


Editor drop feedback for notebooks does not work when hovering over cells

Refs: #100965

Drag an editor group
Drop feedback is not there when dragging over notebook cell 🐛

The issue here is that notebooks can contain a lot of cells and then this makes it really hard to drag and drop editors around to set up your layout.

Works fine for me. Has been fixed in the past. Can you explain some more or include a gif?

Works now. I have no clue why it was not working yesterday. If I see it again I will try to get steps.
For now closing.


Dropdown Menus could be more accessible

Just used dropdown menus with Vox and I think there are a couple pretty easy things we could do to make it better:

Make the example an actual button, or give it a role=button so it doesn't read as "Internal Link"
I didn't know this, but there is an aria attribute specifically for this: aria-haspopup="true"
When the dropdown is open, set aria-expanded="true" and when closed use aria-expanded="false"
Add role="menu" to the dropdown nav and role="menuitem" to the nav options

There are also some harder things which we could do:

fence in tabs when the nav is open so that you can't tab out of the dropdown nav (we do this for modals)
Down and up arrows should cycle through options
When in focus space, enter, and down arrow should open the menu (we do enter already)

These come from the menu button guidelines and the menu guidelines. I also found a pretty nice implementation in React here: http://davidtheclark.github.io/react-aria-menubutton/demo/

#565 takes care of the easy ones

I could see 1) being pretty simple - fencing is rough but we figured it out once.

sounds ... tricky. One of those things that I feel should be easy but wont be.
Seems totally doable - we have a keyboard bus right now, so we can piggyback on that, extend out what our keypresses do.

I did quite a bit of fencing in https://github.com/ArcGIS/calcite-web-ui-kit/blob/master/src/util/dom.js#L226-L249 usage is pretty simple https://github.com/ArcGIS/calcite-web-ui-kit/blob/master/src/Modal/ModalElement.js#L88

#570 adds a bunch of the keyboard events we're going to need

Closing this issue in favor of one that's just focus-focused.


Mono-Linux issue with with building/running games

Godot version:
Beta 1 Official with Mono
OS/device including version:
Linux Mint 19.2
Issue description:
When trying to run a game:
Project "Project Godot.sln" (Build target(s)):
	Message: Building solution configuration "Tools|Any CPU".
	Project "Project Godot.csproj" (default targets):
		/usr/lib/mono/msbuild/15.0/bin/Microsoft.CSharp.CurrentVersion.targets(331,5): error MSB4019: The imported project "/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/home/zak/Desktop/GitLab/Project Godot/Project Godot.csproj]
	Done building project "Project Godot.csproj" -- FAILED.
Done building project "Project Godot.sln" -- FAILED.

Also when trying to build from source:
/usr/lib/mono/msbuild/15.0/bin/Microsoft.CSharp.CurrentVersion.targets(331,5): error MSB4019: The imported project "/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/home/zak/Desktop/Godot Source Code/godot/modules/mono/editor/GodotTools/GodotTools.ProjectEditor/GodotTools.ProjectEditor.csproj]

I did a complete uninstall of mono and then reinstalled it and now it seems to be fine.


Add functions from bmem.h

As an addition to #12 please also add functions from bmem.h.
I am specifically missing bzalloc(), which unlike bmalloc() is defined in bmem.h and not bmem.c.
It can also be done from C# and this way even has the advantage that actually calling this with a type is an elegant way to create such an object:

Also I still think it's a bit weird to use memory management functions from OBS from C#. But then again it's what has the most chances to stay compatible through future updates of OBS, and since we already have the functions from bmem.c might as well go all the way to the end now. Reimplementing this base function in every plugin again now doesn't make sense either, as much as I like the elegance of my current solution 😛

There is no reliable way to generate those, so added them manually. Skipped wchar_t ones, since I am not sure how to represent that in C#

You're using sizeof in your bzalloc implementation though, are you sure that is right? AFAIK sizeof returns the size needed in managed memory whereas Marshal.SizeOf would return the size in unmanaged memory, which is what we want and what we also can rely on T to be, because of "where T : unmanaged".

AFAIK for unmanaged types its the same - here, an example in sharplab (it even produces warnings if you dont add T:unmanaged)

If you add a reference type - the unmanaged constraint will add a compilation error (example)

Found a more comprehensive answer, I was wrong - https://github.com/dotnet/runtime/issues/33802#issuecomment-934840795. Looks like this would be different for e.g. bool - sharplab

However, if you are planning to use T in managed code, then it would need to have the managed layout

I don't know how anyone would get the idea to try this, the whole reason for bzalloc()'s existence is to not only have a function for allocating unmanaged memory (for that the alloc functions from the Marshal class would suffice) but have one specifically tailored to be used with OBS (with the positive side effect that it also makes OBS track memory leaks for memory allocated with it). Also, it returns a void*, how would you use that with managed code?

Fixed in <IP_ADDRESS>-alpha. I added a comment to explicitly say that Marshal.SizeOf API is used for size, so that should be sufficient IMO.


help senpi

just installed it,
I move a  folder with a ".cbz" in this case its folder name "Dad Is A Hero, Mom Is A Spirit, I'm A Reincarnator" and the file name is "Chapter 001.cbz" and then get this error
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

      _         ()
     | |  ___   _    __
     | | / __| | |  /  \
     | | \__ \ | | | () |
     |_| |___/ |_|  \__/

Brought to you by linuxserver.io
To support LSIO projects visit:
https://www.linuxserver.io/donate/
GID/UID
User uid:    99
User gid:    100
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-04-13 00:30:42,150 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.database.Database | INFO - Establishing database connection...
2022-04-13 00:30:42,152 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.database.Database | INFO - Database connection established!
2022-04-13 00:30:42,152 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.utils.AppSettings | INFO - Download directory has been set as "/downloads"
2022-04-13 00:30:42,153 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.database.ProcSeriesTable | INFO - Loading processed series...
2022-04-13 00:30:42,168 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.database.TaskQueueTable | INFO - Loading task queue...
2022-04-13 00:30:42,171 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.database.TaskQueueTable | INFO - Attempting to delete all records in the database...
2022-04-13 00:30:42,174 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.database.TaskQueueTable | INFO - Deletion was successful!
2022-04-13 00:30:42,175 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.MangaTaggerLib | INFO - Starting Manga Tagger - Version 1.2.3-alpha
2022-04-13 00:30:42,176 | MainThread<PHONE_NUMBER>7112 | MangaTaggerLib.task_queue.QueueWorker | INFO - Watching "/downloads" for new downloads
2022-04-13 00:32:01,124 | Thread-1<PHONE_NUMBER>1912 | MangaTaggerLib.task_queue.SeriesHandler | INFO - Creation event for "/downloads/Dad Is A Hero, Mom Is A Spirit, I'm A Reincarnator/Chapter 001.cbz" will be added to the queue
2022-04-13 00:32:01,253 | MTT-1<PHONE_NUMBER>4840 | MangaTaggerLib.task_queue.QueueWorker | INFO - Pulling "file created" event from the queue for "/downloads/Dad Is A Hero, Mom Is A Spirit, I'm A Reincarnator/Chapter 001.cbz"
2022-04-13 00:32:02,269 | MTT-1<PHONE_NUMBER>4840 | MangaTaggerLib.MangaTaggerLib | INFO - Now processing "/downloads/Dad Is A Hero, Mom Is A Spirit, I'm A Reincarnator/Chapter 001.cbz"...
2022-04-13 00:32:02,270 | MTT-1<PHONE_NUMBER>4840 | MangaTaggerLib.MangaTaggerLib | INFO - Attempting to rename "Chapter 001.cbz"...
2022-04-13 00:32:02,270 | MTT-1<PHONE_NUMBER>4840 | MangaTaggerLib.MangaTaggerLib | ERROR - Unable to parse filename "Chapter 001.cbz" due to delimiter "-.-" missing
Traceback (most recent call last):
File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 85, in filename_parser
raise UnparsableFilenameError(filename, '-.-')
MangaTaggerLib.errors.UnparsableFilenameError: Unable to parse filename "Chapter 001.cbz" due to delimiter "-.-" missing
2022-04-13 00:32:02,271 | MTT-1<PHONE_NUMBER>4840 | MangaTaggerLib.task_queue.QueueWorker | ERROR - 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/app/Manga-Tagger/MangaTaggerLib/task_queue.py", line 188, in process
MangaTaggerLib.process_manga_chapter(path, uuid.uuid1())
File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 68, in process_manga_chapter
metadata_tagger(file_path, manga_details[0], manga_details[1], manga_details[2], logging_info)
TypeError: 'NoneType' object is not subscriptable
2022-04-13 00:32:02,271 | MTT-1<PHONE_NUMBER>4840 | MangaTaggerLib.task_queue.QueueWorker | WARNING - Manga Tagger is unfamiliar with this error. Please log an issue for investigation.

im mostly missing or over looking something dumb


Add shared data to openDatabase

I apologize if this functionally is already included, I just haven't found it in the documentation.
Issue
At the moment, the openDatabase response does not provide any information on whether the database has been shared, who it's shared with, who owns it, etc.
Request
Similar to getDatabases, could you return the same data for openDatabase? This data would be:

isOwner
readOnly
resharingAllowed
receivedFromUsername
users

Not already included, no worries :)
What if we add a databaseName filter param to getDatabases so that it would only return 1 result?
We're a bit concerned about making openDatabase a bit daunting with all those return values -- could you expand on your use case?

Hi @j-berman
Glad to know I didn't create a repetitive issue! I totally understand the concern. For example: if I'm an owner of a database of medical appointments that I have shared with various users, in order to access the shared data for that database, I have to make a separate call to getDatabases and then filter for the database whose shared data I want to reference. The request for returning shared data with the openDatabase response is truly more of a convenience request.
To answer your question, adding a filter param to getDatabases would certainly make this process easier if you don't want to "beef up" the openDatabase response.
Thanks!

Got it, makes sense. Will add the databaseName filter param to getDatabases


Archive QELP, QELAP

Once we have seeded the source repo (this repo) with the new TOML, we can deprecate these old repositories (archive for a bit, then delete.)

Since the new setup is working, these have been archived (not deleted.) They are read-only.
We can eventually delete them once the new release "takes."


Fix comparing parameter values on Instance Spec updates

Summary:
previously we would only recognize Instance Spec parameter updates and fail to detect an update if a parameter would be added or removed. This is fixed now.

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/component generator
/component kudoctl
/component operator
/kind api-change

/kind bug

/kind cleanup
/kind design
/kind documentation
/kind feature
/kind enhancement
/kind infrastructure
/kind kep

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #216
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Previously we would only recognize Instance Spec parameter updates and fail to detect an update if a parameter would be added or removed. This is fixed now.

I think always one plan is triggered, but which one is it is decided by the last parameter change :/

Strictly speaking, its the first parameter change right now.


Adding 1.3 release notes

Signed-off-by: David Zane<EMAIL_ADDRESS>Is your feature request related to a problem? Please provide an existing Issue # , or describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you are proposing
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #161 (dfa2a65) into main (5346f35) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #161   +/-   ##
=========================================
  Coverage     72.03%   72.03%
  Complexity      355      355
=========================================
  Files            44       44
  Lines          2510     2510
  Branches        160      160
=========================================
  Hits           1808     1808
  Misses          595      595
  Partials        107      107

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 5346f35...dfa2a65. Read the comment docs.


cf logs and cf logs --recent now pull logs from log-cache

Does this PR modify CLI v6 or v7?
This PR modifies CLI v6.
Description of the Change
Convert cf logs command to read and stream logs from log-cache instead of traffic controller. The output of the logs/UI remains the same.
Why Is This PR Valuable?
cf logs used to get its logs from Traffic Controller which is deprecated and will be removed in the fall. Once it's removed, cf logs would no longer work without these changes.
Why Should This Be In Core?
This functionality already existed in cf CLI, we are only replacing the source of where the logs come from.
How Urgent Is The Change?
Moderate.
cc/ @cloudfoundry/cf-loggregator

Hey @heycait && @kitemongerer !
We completed an exploration of how merging this change would affect the cli.  Applying this patch introduces an existing problem in the old logcache plugin to all of the commands that this PR affects.
An illustration of the problem and the steps to reproduce are included in the story.
Can you take a look and let us know what the next steps might be to resolve the problem?  Please feel free to hit us up on Slack for a more immediate response.
Regards,
Steve

@staylor14 Could we have a little more detail on what the bug is and how to reproduce it? Have you done any validation that the current implementation of cf logs --recent isn't impacted by this bug?

Closing this PR for now as the work has been put down until a later date. Please feel free to reopen when we are ready to continue discussions on how to switch over the CLI to use LogCache

Closed as we've implemented this internally.


use same version for library and compiler

Issue

close #190

Overview (Required)

use same version for library and compiler

Links

Screenshot

Before
After

👀

Thank you for your contrib!


Adding np support to publish packages

Now we can use Vite to create a library, that would be very nice to add np like snowpack did with https://github.com/snowpackjs/pack.
It could works out-of-the-box for people who want to use Vite in library mode.
What do you think? Should I open a PR?

I don't think this should be in Vite itself. Vite is only responsible for the build. How to publish the package is out of scope since it's orthogonal.

I don't think this should be in Vite itself. Vite is only responsible for the build. How to publish the package is out of scope since it's orthogonal.


Update CI Lint Image Version

Updating image version for this issue: https://github.com/apache/tvm/issues/8836

cc @leandron @jroesch @junrushao1994

hey would you mind also updating ci-cpu/gpu? Thanks a lot!

@junrushao1994 sure, since this is almost done, I'll send a separate PR.


Images up-to-date dots do not update on the stack view for docker swarm

Bug description
Images up-to-date dots do not update on the stack view for docker swarm. The dots update fine for individual containers, but the stack dot does not.

Expected behavior
The stack dot should revert back to green in case the stack images are all up to date.
Portainer Logs
Provide the logs of your Portainer container or Service.
You can see how here
Steps to reproduce the issue:

Go to swarm stack view, with stack that have container s out of date
Restart a stack and pull new images
Stack dashboard does not update, tho the container tab will show all of the images up to date

Technical details:

Portainer version: 2.17 EE
Docker version 20.10.12, build 20.10.12-0ubuntu4

@ednxzu
Thank you for the information.  I am going to further investigate.  I will update you as I learn more.
Thanks!

For me its the other way around:
In "Stacks" and "Containers" everything is green, but in Services they are displayed as red (even though no update is there).

I think what is happening (althought I didnt read the code or anything, just based on manual testing) is that, at least for the stack dots, they are only rendered once (when first opening the tab). Whatever happens after that (updating the stack), they are not refreshed again. Their color will always be what they were the first time you opened the tab.
Hope this helps :)

Update:
An internal request has been logged and reviewed by Product.  I do not yet have a timeline or release.
Thanks!

Nice, thank you !

I know this is an older issue, but I wanted to say that I'm using 2.18.2 (EE), and my dots stay green regardless of available updates.  This behavior began after my initial upgrade to 2.17.0. (I downgraded after this and updated to 2.18.2 when it became available.)  (Issue at the time: #8461)
I was wondering if a fix is planned?  Thanks, and do let me know if you need any more info. :)

In version 2.18.4 (EE) issue persists. Stop/start portainer container updates the status, so that's a workaround.

I have this issue in local. Updating a stack through webhooks keeps the dot red, and it is reflected in the api as well. If I update the stack in the GUI and select to pull images, it turns green again, even if all images are up to date.
Version 2.18.4 (BE)

This is on the board for a fix in a future release, no ETA at this stage.
Internal Ref: EE-5055

I have this issue in local. Updating a stack through webhooks keeps the dot red, and it is reflected in the api as well. If I update the stack in the GUI and select to pull images, it turns green again, even if all images are up to date. Version 2.18.4 (BE)

I can confirm this. Webhook updates won't update the icons.

I have this issue in local. Updating a stack through webhooks keeps the dot red, and it is reflected in the api as well. If I update the stack in the GUI and select to pull images, it turns green again, even if all images are up to date. Version 2.18.4 (BE)

I can confirm this. Webhook updates won't update the icons.

exactly the same here Portainer Business Edition 2.19.1

Hello, this is still an issue in Portainer Business Edition 2.19.5
I see that the issue is mentioning Docker swarm. It seems like it's applicable to "Vanilla" Docker + Compose as well.


Add configuration to set your own color

Seems that https://github.com/oderwat/vscode-indent-rainbow do have that capability, this extension should have it too

Implemented


There are currently no examples for usage

Is your feature request related to a problem? Please describe.
There are no examples on the readme describing how to use the project.
Describe the solution you'd like
A short example of how to run this script added to the README file.

HI @bwasilewski
Thanks for pointing this out 🥇
If you would like to submit a pull request with the examples I'd be happy to merge it 👍

Issue closed
https://github.com/Subzero-ftspdev/VideoConvertJs/pull/3


Add sale id to the event metadata from the sale asset sc

Summary
Add the id of the sale to the events produced for the create/cancel/complete sale actions in the asset sale smart contract
Problem Definition

It would be helpful to tie the events to sale data persisted off chain.
Proposal
Add an additional attribute for the id of the sale to the metadata of the events.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Fixed with https://github.com/FigureTechnologies/digital-currency-consortium/pull/128


Bot trying to eat blobs it cant

The bot died trying to eat a blob that was too big for it to eat.   It may be fixable?

I didn't tune the value for what can be eaten perfectly yet. Right now I use 130% as that is the amount that is used for viruses but it's not quite right for eating.

ok cool, well its a little high i think... but not by much

going to sleep may be a while b4 i respond next if you reply XD

I've noticed rare cases where the bot hovers over a cell it barely can't eat. It seems much more common when at minimal mass.

Since the bot doesn't split, it doesn't have any means to catch up to smaller faster players so it doesn't split anymore. In previous versions, it used to split and be more aggressive but in overall, the current version grows much bigger and lasts much longer.

So it doesn't pursue players anymore. It only eats non moving targets.


T1537 - my compassion data protection

Add the possibility to sign the data privacy agreement inside the profile directly.
Clicking on the text next to the checkbox opens https://compassion.ch/protection-des-donnees/ in the user's language.

Preview my compassion:

Preview muskathlon:

Thanks for the review.
The checkbox label comes from the login screen and already has a translation. I changed the button margin and text + translation:


[OTX/MPA/Semi-SL-Seg] Enable training and evaluation for semi supervised learning in segmentation & Refactor stage.py to separate task configs

This PR includes

New segmentor -> Mean Teacher for semi-sl
New trainer/inferrer/stage for semi-sl
Refactor stage.py for each task
Custom pipeline methods for unlabeled data augmentation
Revisit is_task_adapt flag

TODOs

[x] Refactor v3 - pre-commit/rename
[x] Import issue in unlabeled data hook
[ ] Check test codes and results

I revised codes based on your reviews. I request you to review again. I resolved your comments. If you need to add comments or still have a questions to resolved question, unresolve it or add some.


TypeError: coercing to Unicode: need string or buffer, tuple found

(venv)bcurtis@Wintermute:~/workspace/WorldEngine/worldengine-gui$ python worldengine-gui/main.py
Traceback (most recent call last):
File "worldengine-gui/main.py", line 530, in _on_open
world = World.open_protobuf(filename)
File "/home/bcurtis/workspace/WorldEngine/worldengine/worldengine/world.py", line 71, in open_protobuf
with open(filename, "rb") as f:
TypeError: coercing to Unicode: need string or buffer, tuple found
Traceback (most recent call last):
File "worldengine-gui/main.py", line 530, in _on_open
world = World.open_protobuf(filename)
File "/home/bcurtis/workspace/WorldEngine/worldengine/worldengine/world.py", line 71, in open_protobuf
with open(filename, "rb") as f:
TypeError: coercing to Unicode: need string or buffer, tuple found

This is the method where the error happens
    @staticmethod
    def open_protobuf(filename):
        with open(filename, "rb") as f:
            content = f.read()
            return World.protobuf_unserialize(content)

For the GUI, no longer a problem in WE.


Fix for ALL_UPPERCASE names

If I'm not wrong, this will force all module names to be lower case. Is that always the case in windows?

so? nimpy.Exception: Unexpected error encountered: Module 'DNF.exe' not found
What is the root cause of this problem？

I guess the correct fix for https://github.com/qb-0/pyMeow/blob/master/src/memcore.nim#L222 would be enumModules.toSeq[0] then. This needs to be tested on linux also.
Im not on machine till monday. So we either do it with the pr or I'll change it monday.

I pulled the latest code and compiled it, but it still doesn't seem to work. Is it caused by a change in some part of the code? It was able to open normally in last year's version

Thanks Frog


evaluate package.json, postcss.config.js

This is a Feature Request
Should the site add, postcss.config.js?
Is this configuration picked up from the theme directory.
Verify build cmd (npm install postcss-cli)
Verify package.json contents:
package.json from theme differs from current docs:
    "@babel/core": "^7.0.1",
    "@slack/client": "^4.4.0",
    "autoprefixer": "^9.7.6",
    "babel-loader": "^8.0.2",
    "netlify-lambda": "^0.4.0",
    "node-fetch": "^2.2.0",
    "postcss-cli": "^7.1.1"

What would you like to be added
Possibly update package.json, add postcss.config.js.

Temporarily assigning.
/assign

See issue #22306.

Investigate package-lock.json.

/close


Issue with using userSpecifiedMemberTypes() in UnionTypeSymbol

Description:
This  userSpecifiedMemberTypes() API is used to access the typeSymbols in the union type in code generator in openapi.
When tried to access all the typeSymbol in given Dog|Cat? pet record field, It returns only 2 typeSymbols with TypeReference symbol for Dog and one UnionTypeSymbol for both Cat  and nil.
Expected to have 3 symbols for Dog|Cat? pet .
Steps to reproduce:
Affected Versions:
Ballerina swanlake beta 03 rc 3
OS, DB, other environment details and versions:
Related Issues (optional):
https://github.com/ballerina-platform/ballerina-openapi/issues/590
https://github.com/ballerina-platform/ballerina-openapi/issues/587
Suggested Labels (optional):

Suggested Assignees (optional):

Related to #32569. Similar issue there. This seems to be a bug in the BUnionType.

Can you please try using memberTypes() instead?


build: move features dependencies from the main Cargo.toml file to th…

…e local Cargo.toml files
Pull Request type
Please check the type of change your PR introduces:

[ ] Build-related changes

Short summary regarding the features dependencies:
I tried to remove entirely (from all toml files) each feature that appears in the main Cargo.toml file and check of any test failed. Tested both from the main dir and the local crate dirs, with cargo clean; rm Crago.lock in between, and these are the results:

hyper, features "full" - no test failed
insta, features "yaml" - could not compile crates/papyrus_storage/src/serializers_test.rs- could not find assert_yaml_snapshot in insta
schemrs , features "preserve_order" - no test failed
primitive-types. features "serde" - no test failed
TL;DR: The test don't cover these feature dependencies.

Does this introduce a breaking change?

[ ] No

Other information

This change is

Checking again


add sphere to the docs

Maybe, let's keep it open until @milancurcic sees it because I might be forgetting other things.

I'll take a look later. I can probably go through all the files and do something uniform.

ps: my branch was not up-to-date with main, so I guess docstring should be fixed in another PR as you suggested. Also, I'm not sure how to proceed, for example it looks like you wrote: array-like as type of parameters, and I was using directly the same keyworkd that I used for typing..

Also, I'm not sure how to proceed, for example it looks like you wrote: array-like as type of parameters, and I was using directly the same keyworkd that I used for typing..

Yes, I wasn't 100% sure what to do about this either. I followed NumPy doc style to use array-like to indicate that the function will work with np.ndarray and xr.DataArray alike. Perhaps we can just be explicit and say np.ndarray | xr.DataArray, although I think this type syntax isn't supported before Python 3.10. Something to check.
Either way, the type hints in the docstring don't need to exactly match those in the function definition. The ones in the function definition are for IDEs to parse, and the ones in the docstring merely need to make sense to the reader.
I think we just need to pick what makes sense for us in this project, and be consistent with it.


about WebView, when set 'baseUrl', only show html source string.

Whether it is the issue of bug:
http://stackoverflow.com/questions/39396716/react-native-webviewwhen-add-baserrl-then-just-show-html-string
when set 'baseUrl', only show html source string.
but this control is works:
https://github.com/lucasferreira/react-native-webview-android

Can not reproduce it on the master branch with following code:
  {
    title: 'Static HTML',
    render(): ReactElement<any> {
      return (
        <WebView
          style={{
            backgroundColor: BGWASH,
            height: 200,
          }}
          source={{html: HTML, baseUrl: 'file:///android_asset/'}}
          scalesPageToFit={true}
        />
      );
    }
  }

@facebook-github-bot label Icebox

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/about-webview-when-set-baseurl-only-show-html-source-string
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook-github-bot close


add str to TaskRunnable in conds

This pull request adds str method to TaskRunnable, found in rocketry.conditions.task.task.TaskRunnable.
By adding str method to TaskRunnable, we solve issue of AttributeError in issue (to be updated: I will create an issue) and let cast TaskRunnable to string.

Link to issue: https://github.com/Miksus/rocketry/issues/150

Thanks for the contribution, I think that looks good. Mind you creating a test case for this? I can also do it in case the test suites seem confusing, probably have time on Saturday for it.
Sorry for the delay in response.

I have just added the test, and additionally added __str__ for TimeCondWrapper (because the test was failing). I am adding two screenshots of current pytest results (I suspect it has nothing to do with added __str__ methods).

...

Codecov Report
Base: 94.90% // Head: 95.05% // Increases project coverage by +0.14% :tada:

Coverage data is based on head (da8f881) compared to base (41b48bd).
Patch coverage: 84.61% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
+ Coverage   94.90%   95.05%   +0.14%
==========================================
  Files          80       80
  Lines        4454     4467      +13
==========================================
+ Hits         4227     4246      +19
+ Misses        227      221       -6

Impacted Files
Coverage Δ

rocketry/conditions/api.py
97.34% <60.00%> (-1.03%)
:arrow_down:

rocketry/conditions/task/task.py
98.03% <100.00%> (+4.16%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

Yep, I think so too :)
The tests are a bit dependent on how fast your system is. It's pretty hard to do tests that test race conditions without relying on execution times. And that means the tests can depend on how fast your system is.
The most important thing is that the tests work well on the CI.
But I think it looks good. Thanks for the contribution and the effort you saw to fix this!


chore(release): update versions on release-1.5.4

@rayford can you add this change to your PR and see if it fixes molecule. I believe this is all it should be.
https://github.com/konveyor/mig-operator/pull/777/files


Add anchors to sections headings

Add anchors to section headings so we can link to specific sections of the page, namely featured, projects, sketches, and resources.

Closed.
Examples:

http://spacetime.nypl.org/#new-&-featured
http://spacetime.nypl.org/#emigrant-city


gpt-4o results?

Would love to see results for gpt-4o. There was some claimed improvement in its abilities: http://nian.llmonpy.ai/

We also plan to run evaluation for gpt-4o! Looks like gpt-4o has large improvement to solve lost-in-the-middle issue.

so ? when?


io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /<IP_ADDRESS>:11235 when established 2000 connections from netty client program at netty client side

Expected behavior
No Error
Actual behavior
As i am making 2000 concurrent connections(TLS Connections) from java netty client program to netty server which is running on same host. But after 500 or 1000 connections i am getting below error at netty client side,
Jan 16, 2017 8:30:28 PM io.netty.util.concurrent.DefaultPromise notifyListener0
WARNING: An exception was thrown by veni.client.Client$1.operationComplete()
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /<IP_ADDRESS>:11235
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:346)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:630)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:565)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:479)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:441)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Unknown Source)
but when i run the same client program with inserting Thread.sleep(50) i didn't get above error at client side. So whats the reason or whats wrong in the code?
Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
https://drive.google.com/drive/folders/0B4wkBrJ4uyHMY3lraVVMWnBBRE0?usp=sharing
Netty version
Netty client version 4.1.7.Final and netty server v
ersion 4.1.7.Final
JVM version (e.g. java -version)
JRE1.8.0_101
OS version (e.g. uname -a)
Windows Server 2012 R2 Standard

@maybhi maybe some sort of firewall ? This error comes from the jdk classes directly so there is nothing we can do here in netty.

It sounds like slowing down the rate at which the client attempts to establish new connections make the issue go away and you are able to open the desired amount of sockets? If so you may want to check your SO_BACKLOG parameter is large enough to handle the burst of connection attempts.

@normanmaurer as i am running both client and server on same host and Can you please tell me about this exception from your io.netty.channel.AbstractChannel implementation?

@Scottmitch I have already set backlog= 5000 in ServerBootstrap option. and i am attempting only 2000 connections simultaneously. is there anything else?

but when i run the same client program with inserting Thread.sleep(50) i didn't get above error at client side

Where do you put this sleep call?

is there anything else?

I'm not very familiar with Windows but I would check your backlog queue lengths as you run your scenario to make sure your configuration is being applied as expected. I would also check if there are any max file descriptor limits or other limits imposed by your environment.

@Scottmitch  please find below client code,
package veni.client;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.security.KeyStore;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Random;
import java.util.Scanner;
import java.util.UUID;
import javax.net.ssl.KeyManager;
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLEngine;
import javax.net.ssl.TrustManager;
import javax.net.ssl.TrustManagerFactory;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.FutureListener;
import veni.client.configuration.ClientConfigProperties;
public class Client {
//	private EventLoopGroup loop = new NioEventLoopGroup();
public String clientId;
public String receiverId;
public String groupId;
public Channel channel;
public static ClientConfigProperties properties = new ClientConfigProperties();

public static String serverIp;
public static int serverPort;
static List<UUID> idsArrayList = new ArrayList<UUID>();
static List<Client> clientsList = new ArrayList<Client>();

public Client(String clientId) {
	this.serverIp = this.properties.getServerIp();
	this.serverPort = this.properties.getPort();
	this.clientId = clientId;

}

public Client(String clientId, String receiverId, String groupid) {
	this.serverIp = this.properties.getServerIp();
	this.serverPort = this.properties.getPort();

	this.clientId = clientId;
	this.receiverId = receiverId;
	this.groupId = groupid;

}

public void run() throws Exception {

	createBootstrap(new Bootstrap(), new NioEventLoopGroup());
}

public static void main(String[] args) throws Exception {

	// Client client=new Client("mayank", "dhaval", "mygroup");
	Scanner scanner = new Scanner(System.in);
	scanner.useDelimiter(System.getProperty("line.separator"));
	System.out.println("No of connections to make:-");
	String noofConnections = scanner.nextLine();

	for (int i = 0; i < Integer.parseInt(noofConnections); i++) {

		UUID idOne = UUID.randomUUID();

//			System.out.println(idOne.toString());
		while (idsArrayList.contains(idOne)) {
			idOne = UUID.randomUUID();
		}
		idsArrayList.add(idOne);

		int arrayListSize = idsArrayList.size();
		Random random = new Random();
		int randomIndex = 0;
		if (arrayListSize > 1) {
			randomIndex = random.nextInt(arrayListSize - 1) == 0 ? 0 : random.nextInt(arrayListSize - 1);
		}
		Client client = new Client(idOne.toString(), idsArrayList.get(randomIndex).toString(), "mygroup");
		client.run();
		clientsList.add(client);
		System.out.println("Connections:- "+i);

//			Thread.sleep(50);
}
	System.out.println("No of messages do you want to send by each conenction?:-");
	String noOfMessages = scanner.nextLine();

	System.out.println("Please type message text:-");
	String Message = scanner.nextLine();
	for (int i = 0; i < Integer.parseInt(noofConnections); i++) {
		Client client = clientsList.get(i);
		client.publishMessage(noOfMessages, Message, client);
	}

	// new Client("hardik","vivek","mygroup").run();
	// new Client("vivek","hardik","mygroup").run();

	/*
	 * int i=1; while(true) { new
	 * Client("dhaval_"+i,"mayank_"+i,"mygroup").run("odd"); i++;
	 * System.out.println("sys : "+i); }
	 *
	 *
	 *
	 */

}

public void publishMessage(String noOfMessages, String Message, Client client) {
	try {
		// BufferedReader bufferedReader = new BufferedReader(new
		// InputStreamReader(System.in));
		// while (true) {
		// String input = bufferedReader.readLine();
		for (int i = 0; i < Integer.parseInt(noOfMessages); i++) {
			if (!client.channel.isActive()) {
				client.run();

			}
			// if(!input.equals(""))
			//
			// clientBasicMethods.sendMessageToGroup(clientId,groupId,input,channel);

			// if (!input.equals("")) {
			ClientBasicMethods clientBasicMethods = new ClientBasicMethods();
			clientBasicMethods.sendMessageToClient(client.clientId, client.receiverId, Message, client.channel);
			// }
			// }
		}
	} catch (InterruptedException e) {
		e.printStackTrace();
	} catch (IOException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	} catch (Exception e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}

}

public Bootstrap createBootstrap(Bootstrap bootstrap, EventLoopGroup eventLoop)  {
	try {
		bootstrap = new Bootstrap().group(eventLoop).channel(NioSocketChannel.class)
				.option(ChannelOption.TCP_NODELAY, true).option(ChannelOption.SO_KEEPALIVE, true)
				.option(ChannelOption.CONNECT_TIMEOUT_MILLIS,20000).handler(new ClientInitializer(this));

		final ChannelFuture channelFuture = bootstrap.connect(serverIp, serverPort);
		channelFuture.addListener(new FutureListener<Void>() {

			public void operationComplete(Future<Void> future) throws Exception {
				// TODO Auto-generated method stub

				if (!future.isSuccess()) {

					ChannelFuture f = channelFuture.sync();
					f.await();
					channel = channelFuture.sync().channel();
					System.out.println("Test Connection failed");

				} else {
					channel = channelFuture.sync().channel();
				}
			}
		});

	} catch (Exception e) {
		// TODO: handle exception
		e.printStackTrace();
	} finally {
		// eventLoop.shutdownGracefully();
	}

	return bootstrap;
}

public SSLEngine getSslEngine() throws Exception {

	TrustManagerFactory tmFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
	String keystorePass = "123456";

	KeyStore ks = KeyStore.getInstance("JKS");
	tmFactory.init(ks);

	ks.load(new FileInputStream("resources/newssl/keystore.jks"), keystorePass.toCharArray());

	// Set up key manager factory to use our key store
	KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
	kmf.init(ks, keystorePass.toCharArray());

	KeyManager[] km = kmf.getKeyManagers();
	TrustManager[] tm = tmFactory.getTrustManagers();

	SSLContext sslContext = SSLContext.getInstance("TLS");
	sslContext.init(km, tm, null);
	sslContext.getServerSessionContext().setSessionCacheSize(1);
	sslContext.getServerSessionContext().setSessionTimeout(60);
	SSLEngine sslEngine = sslContext.getDefault().createSSLEngine(serverIp, serverPort);

	sslEngine.setUseClientMode(true);
	sslEngine.setEnabledProtocols(sslEngine.getSupportedProtocols());
	sslEngine.setEnabledCipherSuites(sslEngine.getSupportedCipherSuites());
	return sslEngine;
}

public String getClientId() {
	return clientId;
}

public void setClientId(String clientId) {
	this.clientId = clientId;
}

public String getReceiverId() {
	return receiverId;
}

public void setReceiverId(String receiverId) {
	this.receiverId = receiverId;
}

}
and file descriptor limit i have already set to 60000 in windows from registry.

As I assumed in https://github.com/netty/netty/issues/6220#issuecomment-272962548 the sleep is slowing the rate at which connection attempts are made.
As @normanmaurer suggested above in https://github.com/netty/netty/issues/6220#issuecomment-272893409 this condition is encountered by the JDK so we don't have much visibility into it. If I had to guess it would be related to environment issues. Maybe try to run your client/server on a Linux VM (appropriately configured for the number of FDs you want to use) and see if you have similar issues. If you can use the transport-native-epoll (only supported on linux) perhaps you will get different behavior or a more descriptive error message.

I can't Play murderer In this sever in minecraft mc.pigparty.eu so if you can fix i will be super happy


TextLine - Added description for alignment member

Add a description for the last member 'alignment' which conveys that it orients the text based on the direction it is read regardless of line orientation.

Thanks! And congratulations on your first merged contribution!


Can not reproduce your results on COCOstuff27 undet ViT/16

Thank you for your insightful work!
When I run your command on an NVIDIA 3090:
python run.py --opt ./json/server/cocostuff.json --debug
I got the following results:

The Acc is ok, but the mIoU is far behind the results reported (23.95 vs 26.5) in your paper. Could you help me analyze the reason?
By the way, I generate the crop image using the stego codebas, I just wonder whether the generation process depend on the random seed or not?

Hello,
Thank you for your interest in our work.
When I run the code with an NVIDIA RTX A6000 GPU,
The results are as:

I think the differences in the results may be caused by the difference in settings.
Our settings are as:
torch==1.10.2+cu111
torchaudio==0.8.1
torchmetrics==0.8.2
torchvision==0.9.1+cu111
pydensecrf==1.0rc3

And in my opinion, fivecrop does not depend on the random seed.
Thank you.

I have tried to rebuild my env based on your provided package, but I encounter the following problems:
ERROR: Cannot install torch==1.10.2+cu111 and torchvision==0.9.1+cu111 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested torch==1.10.2+cu111
    torchvision 0.9.1+cu111 depends on torch==1.8.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

How do you avoid this conflict?

please try one of the following two:
1. torch==1.10.2 torchvision==0.11.3

2. torch==1.8.1 torchvision==0.9.1

Could you tell me which environment you have used for your provided results: https://github.com/hynnsk/PPAP/issues/1#issuecomment-2270527763

As mentioned above, our environment is set up with torch==1.10.2 torchvision==0.9.1.

So I'm not sure why the conflict occurs, as I constructed these settings over two years ago.
But, in my experience, the torch version is more likely to affect reproducibility. So I recommend trying torch==1.10.2.

I have tried torch==1.10.2 torchvision==0.11.3, the final results are:
[after CRF] Cluster_mIoU : 23.95
[after CRF] Cluster_Accuracy : 62.19
[after CRF] Linear_mIoU : 42.67
[after CRF] Linear_Accuracy : 75.54

The environment file is
ppap_v1.yaml.zip
I have also tried torch==1.8.1 torchvision==0.9.1, the final results are:
[after CRF] Cluster_mIoU : 24.32
[after CRF] Cluster_Accuracy : 57.80
[after CRF] Linear_mIoU : 42.03
[after CRF] Linear_Accuracy : 75.05

The environment file is
PPAP_v2.yaml.zip


[KARAF-1583] Add repository dependencies

Any repository dependencies encountered while processing feature
dependencies are added to the repositories. We track
feature-repository correspondences and only add necessary repositories
after processing all the features, so we end up adding repositories
necessary to find feature dependencies, but nothing else.
Repositories are tracked explicitly to allow later integration of
repositories mentioned in pre-existing feature.xml files; this will
allow large feature repositories to be used optimally.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

R: @jbonofre