RegexNotFoundError: Unable to extract Initial JS player signature function name

youtube-dl -i -x --verbose --audio-format=mp3 --restrict-filenames 'http://www.youtube.com/watch?v=KQ6zr6kCPj8&list=RDKQ6zr6kCPj8#t=3'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', '-x', '--verbose', '--audio-format=mp3', '--restrict-filenames', 'http://www.youtube.com/watch?v=KQ6zr6kCPj8&list=RDKQ6zr6kCPj8#t=3']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.8 - Linux-3.16.0-44-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist RDKQ6zr6kCPj8 - add --no-playlist to just download video KQ6zr6kCPj8
[youtube:playlist] RDKQ6zr6kCPj8: Downloading Youtube mix
[download] Downloading playlist: Mix - LMFAO - Party Rock Anthem ft. Lauren Bennett, GoonRock
[youtube:playlist] playlist Mix - LMFAO - Party Rock Anthem ft. Lauren Bennett, GoonRock: Collected 26 video ids (downloading 26 of them)
[download] Downloading video #1 of 26
[youtube] Setting language
[youtube] KQ6zr6kCPj8: Downloading webpage
[youtube] KQ6zr6kCPj8: Downloading video info webpage
[youtube] KQ6zr6kCPj8: Extracting video information
[youtube] KQ6zr6kCPj8: Encrypted signatures detected.
[youtube] {22} signature length 40.40, html5 player en_US-vflGx3XCd
[youtube] KQ6zr6kCPj8: Downloading js player vflGx3XCd
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 170, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 860, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 489, in _decrypt_signature
u'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.

now all works fine. Thanks!


App crash on contact select

I'm trying to run on android device, when i select a contact from list the app gets crashed.
can anyone help me out

@GrishmaM  I had similar issue with another module, and I had to fork and fix in this way.
There may be another react-modules which may subscribed to onActivityResult event and using same code 1 or 2.
Go to file https://github.com/LynxITDigital/react-native-contacts-wrapper/blob/master/android/app/src/main/java/com/lynxit/contactswrapper/ContactsWrapper.java
and try changing CONTACT_REQUEST and EMAIL_REQUEST values to different value and test.
example
    private static final int CONTACT_REQUEST = 1;
    private static final int EMAIL_REQUEST = 2;

To
    private static final int CONTACT_REQUEST = 1111;
    private static final int EMAIL_REQUEST = 2222;

Hope this helps


by default openroad is using 2+16 threads for detail_route on a 8 core M1

Describe the bug
I noticed longer runtimes using openroad vs openroad -threads 8 on a 8 core (4+4) M1.
53min, 52min vs 40min, 45min
The Activity Monitor shows openroad using 18 threads vs 10
a) openroad by default uses 18 threads, 2 before drt, 2 + 16 = 18 during drt
b) openroad -threads 8 uses 10 threads, 2 before drt, 2 + 8 = 10 during drt
OpenRoad is reporting to be using 8 threads in both cases.
openroad (Activity Monitor shows 2+16)

  1 OpenROAD v2.0-8931-g74ada9e7c
  4 [INFO ODB-0222] Reading LEF file: ispd19_test6/ispd19_test6.input.lef.gz
 17 [INFO ODB-0134] Finished DEF file: ispd19_test6/ispd19_test6.input.def.gz
 18 [INFO ORD-0030] Using 8 thread(s).

openroad -threads 8 (Activity Monitor shows 2+8)

  1 OpenROAD v2.0-8931-g74ada9e7c
  4 [INFO ORD-0030] Using 8 thread(s).
  5 [INFO ODB-0222] Reading LEF file: ispd19_test6/ispd19_test6.input.lef.gz
 18 [INFO ODB-0134] Finished DEF file: ispd19_test6/ispd19_test6.input.def.gz
 19 [INFO ORD-0030] Using 8 thread(s).

Expected Behavior
use 8 threads for drt by default on a 8 core cpu, not 16
Environment
Jun28 2023 build_openroad.sh --local --latest using Homebrew packages

To Reproduce
run openroad without/with -threads 8, monitor # of threads used during drt
Relevant log output
No response
Screenshots
No response
Additional Context
No response

read_lef ispd19_test6/ispd19_test6.input.lef.gz
read_def ispd19_test6/ispd19_test6.input.def.gz
set_thread_count 8
set_routing_layers -signal Metal2-Metal9 -clock Metal2-Metal9
set_global_routing_layer_adjustment Metal2-Metal9 0.5
global_route -verbose
#read_guides ispd19_test6/ispd19_test6.guide
detailed_route -output_drc 5_route_drc.rpt -verbose 1
write_db route.db
exit

a) openroad ispd19_test6.or -log default
it seems that for "pin access" computation openroad uses 8 threads and then adds another 8 for detail route.
How can one tell whether all 2+16 processes are 'doing something' ?
b) openroad ispd19_test6.or -threads 8 -log threads
it only uses 2+8 threads total and overall runtime is faster.

Pin access and detail route are completely separate steps so even if the threads are created, only 8 of them should be active at a given time.
DRT in general uses OpenMP dynamic scheduling which I believe creates a thread pool and only destroys thread contexts when requested or on exit. I would be only mildly surprised if you see 8 threads being created on top of the 8 already in the thread pool, but I would be very surprised if all 16 threads are trying to be active at the same time. That's not what I see on my machine on the latest master.
A telltale sign that more threads than CPUs are active is if each thread's CPU utilization is <<~100% while running. Is that what you see?

I noticed differences in runtime and number of threads reported.
a) running openroad with the set_thread_count 8 command leads to 16 threads and is slower then
b) specifying -threads 8 on the command line, which reports 8 threads in activity monitor.
Q1) why would using the same script without/with -threads 8 on the command line cause a different number of threads ?
Q2) why would that lead to runtime differences ?
I cannot tell wether all 16 threads are used during drt.
Disclaimer with regard to runtimes is that I've seen huge variations on MacBook Air M1 Ventura when running openroad multiple times without a reboot.

I'm not really able to replicate this on my machine, it would be helpful if you provided a log or some kind of data which showcases this behavior. It could be as with #3535 that this is a machine or environment-specific issue.

There is nothing in the logs besides runtimes.
The “activity monitor” shows nearly 800% cpu usage, ~8gb of memory (of 16gb) and # of threads, either 10 or 18.

I'm not really able to replicate this on my machine
How many #of threads do you see for a) and b) ?
Does ‘top’ give that info or what tool do you use on linux ?

I was hoping that some other apple silicon user would chime in.

std::thread::hardware_concurrency() returns 8


[R-package] Warnings of CRAN Package

I received an email from CRAN this reporting warnings of our CRAN package which are required to be fixed by Dec 12.
Dear maintainer,

Please see the problems shown on
<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcran.r-project.org%2Fweb%2Fchecks%2Fcheck_results_lightgbm.html&data=05%7C01%7Cyushi2%40microsoft.com%7C828251b45fc141e8007f08dbf0127212%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367734286824172%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OzCWU2kJl4o77avH%2FJOst6vevoGRNl3Hw4GR6jm4XDE%3D&reserved=0>.

Please correct before 2023-12-12 to safely retain your package on CRAN.

Best,
-k

It seems that both warnings are from lightgbm_R.cpp
checking whether package ‘lightgbm’ can be installed ...

I totally agree with the proposal. I think it is more important to keep the package available even somehow slower.

try ... to find a fix

@shiyu1994 I'm happy to say that I think I have a more permanent solution that could resolve the issues CRAN previously rejected the R package for (#5987).
Put up a PR here: #6226.
If we move forward with that approach in the next few days, I can submit try to submit a v4.2.0 of the R package to CRAN.
If reviews take too long or if some significant issue is found, I'll put up another PR limiting the R package to 2 threads everywhere, so we can continue working on this without the time pressure of CRAN archival.

The latest release of the R package has passed all checks: https://github.com/microsoft/LightGBM/pull/6191#issuecomment-1863190427
So I think this can safely be closed.
Thanks @shiyu1994 for the help!


Export all sessions to nwb on AWS

One nwb for each session, including

Behavior history and event time stamps (If ephys exists, use NI time, else use bpod time)
(if any) All ephys data
(if any) All video tracking data from DLC

#10


Add content-height CSS custom property to Collapsible

Feature request
Overview
The Collapsible primitive currently exposes a CSS custom property --radix-collapsible-content-height that can be used to animate content when it opens/closes. The feature request is for the addition of --radix-collapsible-content-width. This can enhance the utility of this primitive, allowing animating both width and height, or enabling support for animations when the orientation of the collapsible is changed.
Examples in other libraries
Bootstrap
Who does this impact? Who is this for?
Enhancement for all users to support more use cases. My use case is to support an animated horizontal Collapsible

Closed via #882

The fix is now available in 0.1.1-rc.10


Wrong gwei/gas value causes wrong tx price calculation

It looks like that the Gas Reporter might take the same gwei/gas price for all the networks instead of using a specific network values.
It looks correct for the ETH mainnet:

But it the same for the Polygon, which is approx. 10 times lower than the real value:

It's necessary to configure the gasPriceAPI option to get network appropriate gas prices. It's documented in the README.


No temperature and exposure time meta data

Hi,
running "ifm3d viewer" (version 0.8.2, windows binaries from Emanuel) I get following messages:
W0419 10:21:12.487709  8104 image_buffer_impl.hpp:794] Checking for illu temp and exposure
times skipped (cant trust extidx)
On Linux with same code version there is not such messages.
According to the source code there is no meta information available in the point cloud data.
Does this have a negative effect when I am not interested in this data?
How can this be resolved?
O3X FW 1.0.56

The binaries from @Arag24  are a older than the master branch you've might used. The Illu Temperature stuff was added in 0.8.3 BTW your O3X FW is quite old.

@pfrydlewicz  : No problem to make binaries from 0.8.3 if needed (you know harder was PCL not ifm3d). Just let me know if you want. Even, if from what I could see, it would change when 0.9.0 become official.
And Paul (I'm Damien not Emanuel 😃 )
@graugans : More open question related to FW. How can we get altest one? and what about compatibility with M version ? Because if I could see swupdate command but I have no idea about firmware packages available.

@Arag24 and @pfrydlewicz the latest O3X1xx firmware is available for download on the official ifm website
Compatibility of 1.0.122

M03457
M03551
O3X100
O3X101
O3X110
O3X171
O3X173

#Compatibility of FW v1.0.62

M03457
M03551
O3X100
O3X101
O3X110

Thanks @graugans, I checked recently but couldn't find the firmware. Now it's online.
@Arag24, yes probably you're right, the biggest thing were the dependencies.
Thanks to all


upgrade to support dbt-core v1.5.0

Background
The latest version of dbt Core,dbt-core==1.5.0rc1, was published on April 13, 2023 (PyPI | Github).
How to upgrade
https://github.com/dbt-labs/dbt-core/discussions/7213 is an open discussion with more detailed information. If you have questions, please put them there!
The above linked guide has more information, but below is a high-level checklist of work that would enable a successful 1.5.0 release of your adapter.

[ ] Add support Python 3.11 (if you haven't already)
[ ] Add support for relevant tests (there's a lot of new ones!)
[ ] Add support model contracts
[ ] Add support for materialized views (this likely will be bumped to 1.6.0)

the next minor release: 1.6.0
FYI, dbt-core==1.6.0 is expected to be released at the end of July, with a release cut at least two weeks prior.

Thanks for the reminder @dataders, already working on it in #814

Thanks for the reminder @dataders, already working on it in #814

Stoked to see what y'all can make happen with model contracts and fal serverless

Done a while ago


refactor secondary url caching

- What I did

Refactored secondary url cache

- How I did it
- How to verify it
- Description for the changelog

TODO:

exception handling when entry in cache expires and lookup fails
defaultCacheDuration and refreshCacheNow - temporarily commented.have to include in refactored code


Add Markup 2022 custom metrics

Fixes #17
Tests:

anchors.hrefs_without_special_scheme (https://codepen.io/rviscomi/pen/YzerzNX)

More commits to come! I'll mark this "ready for review" when done.

Do you have WPT output from running against a few sites? Mostly curious about the output from a complex site to make sure the output doesn't baloon.

Yep, a few test links in the top comment. Here's a non-trivial site: https://webpagetest.httparchive.org/result/220524_WE_5/1/details/#waterfall_view_step1

THX, LGTM.


Add ability to search in the table in Manager

Describe requirements
We would like to add the ability to search for records in the table in Manager. Since this is predominantly table focused app and map can be hidden in some workflows, we would like the search in the table to be independent of the map search and will not require any configuration. This search will be dependent on the full text indexing of the layer or table, Full text indexing can be created from feature layer item details /Settings/Manage indexes section https://arcgis4localgov2.maps.arcgis.com/home/item.html?id=3a80482f3ce7444d93b01ed8de682482#settings

[ ]  The search bar will show up only when full text indexing is available on the layer or table

[ ] Manager will check if supportsFullTextSearch is true in the layer or table

[ ] Search will be only on the fields that have the full text index. Sample feature layer https://arcgis4localgov2.maps.arcgis.com/home/item.html?id=3a80482f3ce7444d93b01ed8de682482, the RecreationSitesINFRA layer has full text index calculated

Alternatives
No response
Other Relevant Info
No response
Impact
No response

@sumitzarkar we would like the search box to be in second row when full text indexing is available.

@sumitzarkar as discussed this morning, here is the design doc for the full text search and added some additional detail for this feature.

[ ] We do not want to show any suggestions.
[ ] Should have clear search button, when clicked search text will be cleared and it will show all records in table and map.
[ ] After search is complete, table and map should show only the results that meet the search criteria.
[ ] If no results found, Manager will not show any results in the table or map (like item search in arcgis online).

@sumitzarkar
During our morning discussion today, you asked if there is selection, will the search work only within the selection set. I think that should be the case. I was looking into Table widget behavior in this scenario in Experience Builder, it searches within the selection

@sumitzarkar , for search bar default hint text could you please add the field aliases of the fields that have full text indexes on text would be,  for an example "Search text in Site Subtype and Development Status fields". This will provide hint to the users. We have  wide search bar and if there are too many fields we can always use... and on click that will expand. This way if any full text indexed field is hidden, users will get the awareness as well and turn their visibility on.

@azizaparveen

for search bar default hint text could you please add the field aliases of the fields that have full text indexes on.

Yes, we can use the field alias in placeholder text.
Instead of using and to join multiple fields, it would be better and easier to use the pipe symbol  '|'.
Here are a few examples of how it will look:

When only one field

When multiple fields

We have a wide search bar and if there are too many fields we can always use...

Showing ... is the default functionality of the calcite input and will work as expected

and on click that will expand

This is impossible as we have no control over the placeholder. Instead, we can show complete text on hover of the search input.

Verified in devext


tf.bitcast throws assertion on osx-64 and osx-arm64 with 2.11.1

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
TF 2.11
Custom Code
No
OS Platform and Distribution
osx-64, osx-arm64
Mobile device
No response
Python version
3.10.10
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
For some reason, with version 2.11 (and 2.11.1) the bitcast function hits an assertion in casts.h, no matter what the input. This only happens on osx-64 and osx-arm64, and that too only with this version - older versions work correctly.
I also tried installing this version from conda-forge and anaconda, and both have the same behavior. So in summary, regardless of whether you install this from source or from the common conda channels the behavior is the same.
This does not happen with the versions installed via pip.
Standalone code to reproduce the issue
import tensorflow as tf

x = [1., 2., 3.]
tf.bitcast(x, tf.qint8)

Relevant log output
Assertion failed: (f == nullptr || dynamic_cast<To>(f) != nullptr), function down_cast, file casts.h, line 58.

@sumit0190,
Thank you for the issue. I tried to execute the mentioned code on MacOS M1 tensorflow v2.11 and tf-nightly and it was executed without any assertion error. Kindly find the screenshot for the reference. Thank you!

@tilakrayal Thanks for trying this out. This only happens on the binaries from conda-forge and anaconda, and when building from source. I assume the compiler or something else in our setup has something to do with it, but without any debugging information it's hard to understand what. Would you be able to provide us with some instructions on how we can debug this further?

@sumit0190,
Could you please confirm whether you are following the metal plugin instructions for installing tensorflow? Thank you!


Allow specifying instruction set

Description
Kernel supports few instruction sets [1], and the default one (which is
apparently being used at the moment in falco) is going to be the
generic or v1, which has certain limitations and requires
workarounds. It's possible to instruct llc to search the latest
supported instruction set via -mcpu parameter, which generally
speaking should result in more compact and potentially more performant
generated instructions for the same code. For the support table see
great blog post [2] about the topic. The gist for the support is:
v2: Linux v4.14 [3], LLVM v6.0 [4]
v3: Linux v5.1 [5], LLVM [6]
Probing is working via performing bpf syscall with various instruction
sets and figuring out maximum supported version based on the results.
Which means it would work only for the build host, so we need to allow
pinning it precisely if needed.
Checklist

[ ] Investigated and inspected CI test results
[ ] Updated documentation accordingly

Testing Performed
Local testing with instruction set v2.

@erthalion Is this still relevant?

@robbycochran it is, in the sense that it still could be applied, but has to be evaluated again.


Added spo sitedesign task remove command resolving #783

Added new command spo sitedesign task remove resolving #783

Coverage remained the same at 100.0% when pulling 50895939f57a6cd6102c44c2f4f2e19d06928161 on rabwill:issue/783-removeSiteDesign into ee3c531ab8993f727cc32169c16e93f97b481084 on pnp:dev.

Thank you @rabwill we will review shortly 👍🏻

Thanks Garry! 🙌🏼

Merged manually. Thank you @rabwill 👏


[BUG] functionApp deleted user assigned identities been returned under the FunctionApp object

When fetch a functionApp:

     userAssignedIdentities = functionApp.identity().userAssignedIdentities();

we get user assigned identities, even if they were already deleted from the subscription (about an hour ago)
2. when calling:
authorizationManager.roleAssignments().listByServicePrincipal(deletedPrincipleId)
we get the actual old role assignments for this principle (instead of principle not exists or empty results)

@weidongxu-microsoft could you please follow up with @bensagi

Hi.
I wash defiantly called resourceManager.functionApps.getById() after severel minutes from the deletion of the user identity. it is not a sync issue.


Sonar build for TFS is failed says cannot find .pdb file

Hello
Our sonar build (XAML Build) for TFS is failed with below mentioned error
Start Sonar-runner
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Cannot find the .pdb file "C:\Builds\1\HORIZON\Sonar_RichClient\src\NET-WIN_EUR_OrderCareCM\OrderCare\OrderEntry\EntryChannel\RichClient.......\Referentials\Commercial\Rules\bin\Debug\Essilor.OrderCare.Referentials.Commercial.Rules.pdb" inferred from the property "sonar.cs.fxcop.assembly".
ERROR:
ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch.
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.
the project(solution) is created in visual studio 2008 version and in our build server visual studio 2015 is installed so to paased this build i had mentioned /toolsversion:3.5 in msbuild argument
Environment details
TFS 2015 update 1 (build server)
sonar version 4.5.1, sonar runner - 2.4, C# plugin 3.3
CI build for the same solution is successful but sonar build is showing partially succeed with missing .pdb file
what could be the reason of this ?
Regards
Dushyant Padhya

Hi Dushyant,
As stated before, we do not provide support for this version of SonarQube / C# plugin as it is very old. The LTS version of SonarQube is 5.6 and the latest C# plugin is at version 5.3.2. If you are able to upgrade and still face problems, please log a issue again.


Fix: Update README.md file to reflect work done on issue #328

Update README.md file to reflect work done on issue #328 (Convert options from - to -- where it makes sense)

Thanks!


executeListener method in AbstractMessageListenerContainer now too generic

Bug report
Version: 2.2.3.RELEASE
Hi,
We have a problem when using the executeListener Method in AbstractMessageListenerContainer.java
Before with 2.1.10, it was a nice signature with signature protected void executeListener(Channel channel, Message messageIn)
Now with 2.2.3 it is protected void executeListener(Channel channel, Object data).
With looking into the code it seems that the data can be a List of Messages or a Message.
We have loads of problems with that, as we have to change all the methods of the Listeners extending from that Container and now have to add an additional check as we cannot be certain anymore that this is what we expect it to be.
Suggestion: Have 2 methods, one with signature protected void executeListener(Channel channel, Message messageIn) and one with signature protected void executeListener(Channel channel, List<Message> messages)

It was not anticipated that users would override that low-level method. Please can you explain your use cases? There may be better solutions.

The code has been there for quite some time, we did not create the functionality recently but keep it and maintain the Spring version.
We basically use it to get to the messageProperties as early as possible and put some properties into the MDC for logging purposes. We need it as early as possible to be able to e.g. include spring logging in our tracing.
The adaption of the executeListeners Method was doing that job fine. But now we ran into problems as the override did not work anymore due to signature changes.

You should not have subclassed the container for such a trivial task; the proper place for such logic is in an after receive MessagePostProcessor.
/**
 * Set {@link MessagePostProcessor}s that will be applied after message reception, before
 * invoking the {@link MessageListener}. Often used to decompress data.  Processors are invoked in order,
 * depending on {@code PriorityOrder}, {@code Order} and finally unordered.
 * @param afterReceivePostProcessors the post processor.
 * @since 1.4.2
 * @see #addAfterReceivePostProcessors(MessagePostProcessor...)
 */
public void setAfterReceivePostProcessors(MessagePostProcessor... afterReceivePostProcessors) {

@garyrussell Many thanks. We adapted our code now.


Transformed Units Have Drastically Reduced Fire Rates

Hi!
So I have been trying to apply ShiftWarping on my dataset, but the transformed neurons have reduced spike count rate and in some of the trials, after a certain point of time, transformed units burst!
I have no idea whether if this phenomenon is expected or it is due to my code.
The raster plot for one of my neurons is attached, before and after time warping.

The results look very strange. The bursting artifacts are edge effects. Can you provide a short code snippet which shows what you are doing?

Oops sorry!
I meant LinearWarping
Anyway, here is my code:
twModelLinear = PiecewiseWarping(n_knots=0, warp_reg_scale=1e-6,
                           smoothness_reg_scale=20.0)
twModelLinear.fit(np.einsum('ijk->ikj', data.su), iterations=20)
linearTwSu = np.einsum('ijk->ikj', twModelLinear.transform(np.einsum('ijk->ikj', data.su)))

twModel = twModelShift
twSu       = shiftedTwSu

fig, axes = plt.subplots(2, data.nUnit, figsize=(32,8))
for iUnit in range(data.nUnit):
    spikeInds = [np.where(data.su[i, iUnit, :] == 1)[0] for i in range(data.nTrial)]
    axes[0, iUnit].eventplot(np.array(spikeInds, dtype=object))

    spikeInds = [np.where(twSu[i, iUnit, :] == 1)[0] for i in range(data.nTrial)]
    axes[1, iUnit].eventplot(np.array(spikeInds, dtype=object))

and about that edge artifact, is there a clean way to identify (and probably remove) the corrupted trials? For example a simple method by which we can extract the valid time samples based on the warp functions.


Nested rows performance issues

Describe the bug
Prerequisites:

Amount of records: up to 500-600
Number of columns: 1 + up to 31 (amount of days in a month), potentially may be a bit more
useExpand hook is used (provided with the library)
Nesting depth: up to 4

When clicking on an expandable row (a top-level or a nested one), there is a noticeable delay before the status changes, even with 100 records. It becomes worse as the amount of the records grows. According to the profiling results, expanding a row (200 records) takes ~2 seconds, 600ms of which is rendering. I assume that the rest could be related to useTable/useExpand hooks inner logic.
Some profiling screenshots:

And every single cell is rendered.
There is also a related problem: often expanding/collapsing doesn't work when DevTools is opened (in Google Chrome), so it is difficult to profile the table's work.
Your minimal, reproducible example
https://codesandbox.io/s/react-table-performance-issue-u3ob82?file=/src/App.js
Steps to reproduce

Wait for the application to be fully rendered
Click on any record with 👉 emoji

Expected behavior
As a user, I expected a row is expanded/collapsed instantly.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

OS: Windows 10 64-bit
Browser: Google Chrome 100.0.4896.127

react-table version
7.7.0
TypeScript version
No response
Additional context
There are 2 files with the stubs in the sandbox - stubs and stubs-simplified. In the last one I removed all 0 values from durationByDates objects, hoping that it will reduce the problem a bit, but it didn't help.
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Well aware of the performance problems here, unfortunately. This issue is one that I ended up transferring to v8 due to the big architectural changes that were needed to improve it. As far as v7 goes, I'm not going to be tackling the issue there. If you'd like to try out v8 while it's still in beta, I'd love to keep working on the perf expectations there.


Search credentials from credential management screen

Task/Issue URL: https://app.asana.com/0/488551667048375/1203563399643944/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2675   👈

This comment was auto-generated by Graphite.


#166108395 implementation of welcome page(Desktop)

What does this PR do?
Have a welcome page for the smart_housing application.
Description of Task to be completed?
Implement a responsive central welcome page that would enable users to navigate the smart_housing web site.
How should this be manually tested?
Navigate to smart_housing
Any background context you want to provide?
none
What are the relevant pivotal tracker stories?
#166108395
Screenshots (if appropriate)
none
Questions:
none

Use a different color for SMART HOUSING in navbar. Same color as nav links is confusing to me.
Make the labels for location and price a bit smaller and place them above the dropdowns.
LATESTS OFFERS
Keep the text black and only the stars from rating purple.
OUR PLATFORM
The payment and 24/7 service images looks stretched out. The purple text color feels a bit strange to me. Maybe make the ‘titles’ purple and text black.
FOOTER
Use a different color for headings like About Us, Offices etc… Maybe also make it not so bold.

#Tips to improve your UI

You could make the nav links highlight on hover

for the "latest offers", give the stars(ratings) some margin or padding, they are too close to the edge of the card. Same with "our platform" cards.

Smaller font size are more suited for footer text

Some good looking fonts: Roboto, Open Sans

I only have problems with the footer, some are hard to read. Eg Explore section

1 nav link color seems more  like it has been visited, i advice u change it.
2. search, price and location fields should have same height and border radius.
3. Welcome note should have same text formatting.
4. the contrast between background color and text at the  footer doesn't seem nice, try other color  and also look at reducing the font  size a bit.


Points not lying on the surface

Hi,
thanks for open-sourcing this project. I have used it to render some of the shapenet models but have observed that the 3D point do not lie exactly on the surface once back-projected to 3D. The cloud2mesh distance lie in the range of 0.002.
Have you maybe observed the same? Do you know if this is an inherent precision of Blender depth rendering or if there is maybe some precision loss occurring at some point?
Zan

Hi,
which mesh was used in your cloud2mesh? If you used the fused mesh, there could be two reasons: 1. we erode the depth map with a kernel size of 2. It enlarges the shape a little bit to avoid missing small structures (like bars on the chair back), see dist_to_dep in tools/utils.py; 2. discretization error with marching cubes algorithm.

Hi,
thanks for the answer, maybe I was not clear in the description. I take the original meshes from the ShapnetV2 and render them using this code with Blender Cycles rendering engine. I then take the depth maps and project them to 3D based on the intrinsic/extrinsic camera parameters. If one then loads the mesh model and point cloud into meshlab or CC the points obtained from the depth image do not lie exactly on the surface of the mesh that was used to render them in the first place. If one then computes the cloud2mesh distance the distances are in the range up to 0.002.
So tldr. there are no marching cubes or TSDF fusion involved and the models are the original ones from Shapenet

Hi,
I did not come across this issue in your description. Note that, the *.exr file from blender is 'distance map', not 'depth map', where each pixel on the 2D plane stores the distance value from a point on surface to the camera center. You can check dist_to_dep in tools/utils.py to check the conversion.

Hi,
it actually does happen with the provided configuration (I know that cycles returns the distance map and that one has to transform it to the depth map). To reproduce what I am describing you can do the following steps:

run python create_viewpoints.py
run python run_render.py
change python visualization/pc_painter.py such that "point_canonical" is saved to a ply or txt file.
Load the ".obj" file that was used as input to the run_render.py script and the saved point clouds from step 3 to Meshlab or CloudCompare.
Check that the points of the point cloud do not lie exactly on the mesh faces of the "*.obj" file.

@zgojcic were you able to resolve this issue? I am facing the exact same issue. This is how the pointcloud (rendered from a fixed camera viewpoint) registers with obj file -- notice the slight offset.

I finally got this to work. I was using custom code to read the exr files and I think that was the reason for the imprecision between the back-projected pointclouds. Here is the code for generating the pointcloud for anyone facing the same issue as me --
import imageio
import sys
sys.path.append('../')
from data_config import *
from tools.read_and_write import *
import random

def read_exr(exr_file_list):
    print(f'The exr file list is : {exr_file_list}')
    '''
    read exr files and output a matrix.
    :param exr_file_list:
    :return:
    '''
    if isinstance(exr_file_list, str):
        exr_file_list = [exr_file_list]

    im_list = []

    for exr_file in exr_file_list:
        if not exr_file.endswith('exr'):
            raise TypeError('file is not with the format of .exr.')

        im_list.append(imageio.imread(exr_file, format='exr')[:,:,0])

    return np.array(im_list)

# get the pointcloud given the rgb image and the depth map
def get_point_cloud(depth_maps, cam_Ks, cam_RTs, rgb_imgs=None):
    '''
    get point cloud from depth maps
    :param depth_maps: depth map list
    :param cam_Ks: corresponding camera intrinsics
    :param cam_RTs: corresponding camera rotations and translations
    :param rgb_imgs: corresponding rgb images
    :return: aligned point clouds in the canonical system with color intensities.
    '''
    point_list_canonical = []
    camera_positions = []
    color_intensities = []

    if not isinstance(rgb_imgs, np.ndarray):
        rgb_imgs = 32*np.ones([depth_maps.shape[0], depth_maps.shape[1], depth_maps.shape[2], 3], dtype=np.uint8)

    for depth_map, rgb_img, cam_K, cam_RT in zip(depth_maps, rgb_imgs, cam_Ks, cam_RTs):
        u, v = np.meshgrid(range(depth_map.shape[1]), range(depth_map.shape[0]))
        u = u.reshape([1, -1])[0]
        v = v.reshape([1, -1])[0]

        z = depth_map[v, u]

        # remove infinitive pixels
        non_inf_indices = np.argwhere(z < np.inf).T[0]

        color_indices = rgb_img[v, u][non_inf_indices]
        z = z[non_inf_indices]
        u = u[non_inf_indices]
        v = v[non_inf_indices]

        # calculate coordinates
        x = (u - cam_K[0][2]) * z / cam_K[0][0]
        y = (v - cam_K[1][2]) * z / cam_K[1][1]

        point_cam = np.vstack([x, y, z]).T

        point_canonical = (point_cam - cam_RT[:, -1]).dot(cam_RT[:,:-1])
        cam_pos = - cam_RT[:, -1].dot(cam_RT[:,:-1])
        focal_point = ([0, 0, 1] - cam_RT[:, -1]).dot(cam_RT[:,:-1])
        up = np.array([0,-1,0]).dot(cam_RT[:,:-1])

        cam_pos = {'pos':cam_pos, 'fp':focal_point, 'up':up}

        # point_clouds.append(np.expand_dims(point_canonical, axis=0))

        point_list_canonical.append(point_canonical)
        camera_positions.append(cam_pos)
        color_intensities.append(color_indices)

    return point_list_canonical, camera_positions, color_intensities

depth_sample_dir = '02818832/e91c2df09de0d4b1ed4d676215f46734'
n_views = 20
assert n_views <= total_view_nums # there are total 20 views surrounding an object.
view_ids = range(1, n_views+1)

shapenet_rendering_path = '../datasets/shapenet_sample_renderings'
metadata_dir = os.path.join(shapenet_rendering_path, depth_sample_dir)
print(f'metadata_dir : {metadata_dir}')
dist_map_dir = [os.path.join(metadata_dir, 'depth_{0:03d}.exr'.format(view_id)) for view_id in view_ids]
print(f'dist map dir : {dist_map_dir}')
camera_path = '../datasets/camera_settings'
cam_RT_dir = [os.path.join(camera_path, 'cam_RT','cam_RT_{0:03d}.txt'.format(view_id)) for view_id in view_ids]

dist_maps = read_exr(dist_map_dir)
cam_K = np.loadtxt(os.path.join(camera_path, 'cam_K/cam_K.txt'))
cam_RTs = read_txt(cam_RT_dir)

depth_maps = np.float32(dist_to_dep(dist_maps, [cam_K]*len(view_ids)))
rgb_images = [os.path.join(metadata_dir, 'color_{0:03d}.png'.format(view_id)) for view_id in view_ids]
point_list_canonical, camera_positions, color_intensities = get_point_cloud(depth_maps, [cam_K]*len(view_ids), cam_RTs, rgb_imgs=read_image(rgb_images))

# visualize the pointcloud
pcd_index = random.randint(0, len(point_list_canonical)-1)
pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(np.vstack(point_list_canonical))
pcd.colors = o3d.utility.Vector3dVector(np.vstack(color_intensities)/255.0)

# pcd_combined = o3d.geometry.PointCloud()
# pcd_combined.points = o3d.utility.Vector3dVector(np.vstack(point_list_canonical))

o3d.visualization.draw_geometries([pcd])


error on compiling source code

Many errors on compiling source code of drogon in HttpResponseImpl.cc file:
.../drogon/lib/src/HttpRequestImpl.cc: In member function ‘drogon::StreamDecompressStatus drogon::HttpRequestImpl::decompressBodyGzip()’:
.../home/protankeralfa/AlexandriaCMS/drogon/lib/src/HttpRequestImpl.cc:898:5: error: ‘z_stream’ was not declared in this scope
  898 |     z_stream strm = {nullptr,
      |     ^~~~~~~~
.../drogon/lib/src/HttpRequestImpl.cc:912:5: error: ‘strm’ was not declared in this scope; did you mean ‘tm’?
  912 |     strm.next_in = (Bytef *)compressed.data();
      |     ^~~~
      |     tm
.../drogon/lib/src/HttpRequestImpl.cc:912:21: error: ‘Bytef’ was not declared in this scope
  912 |     strm.next_in = (Bytef *)compressed.data();
      |                     ^~~~~
.../drogon/lib/src/HttpRequestImpl.cc:912:28: error: expected primary-expression before ‘)’ token
  912 |     strm.next_in = (Bytef *)compressed.data();
      |                            ^
.../drogon/lib/src/HttpRequestImpl.cc:913:33: error: ‘uInt’ does not name a type; did you mean ‘uint’?
  913 |     strm.avail_in = static_cast<uInt>(compressed.size());
      |                                 ^~~~
      |                                 uint
.../drogon/lib/src/HttpRequestImpl.cc:915:19: error: ‘Z_NULL’ was not declared in this scope; did you mean ‘NULL’?
  915 |     strm.zalloc = Z_NULL;
      |                   ^~~~~~
      |                   NULL
.../drogon/lib/src/HttpRequestImpl.cc:924:29: error: expected primary-expression before ‘)’ token
  924 |     strm.next_out = (Bytef *)decompressed.data();
      |                             ^
.../drogon/lib/src/HttpRequestImpl.cc:925:34: error: ‘uInt’ does not name a type; did you mean ‘uint’?
  925 |     strm.avail_out = static_cast<uInt>(decompressed.size());
      |                                  ^~~~
      |                                  uint
.../drogon/lib/src/HttpRequestImpl.cc:927:9: error: ‘inflateInit2’ was not declared in this scope
  927 |     if (inflateInit2(&strm, (15 + 32)) != Z_OK)
      |         ^~~~~~~~~~~~
.../drogon/lib/src/HttpRequestImpl.cc:927:43: error: ‘Z_OK’ was not declared in this scope; did you mean ‘F_OK’?
  927 |     if (inflateInit2(&strm, (15 + 32)) != Z_OK)
      |                                           ^~~~
      |                                           F_OK
.../drogon/lib/src/HttpRequestImpl.cc:936:47: error: ‘Z_SYNC_FLUSH’ was not declared in this scope
  936 |         int decompressStatus = inflate(&strm, Z_SYNC_FLUSH);
      |                                               ^~~~~~~~~~~~
.../drogon/lib/src/HttpRequestImpl.cc:936:32: error: ‘inflate’ was not declared in this scope
  936 |         int decompressStatus = inflate(&strm, Z_SYNC_FLUSH);
      |                                ^~~~~~~
.../drogon/lib/src/HttpRequestImpl.cc:947:33: error: ‘Z_STREAM_END’ was not declared in this scope
  947 |         if (decompressStatus == Z_STREAM_END)
      |                                 ^~~~~~~~~~~~
.../drogon/lib/src/HttpRequestImpl.cc:952:38: error: ‘Z_OK’ was not declared in this scope; did you mean ‘F_OK’?
  952 |         else if (decompressStatus != Z_OK)
      |                                      ^~~~
      |                                      F_OK
.../drogon/lib/src/HttpRequestImpl.cc:964:37: error: expected primary-expression before ‘)’ token
  964 |             strm.next_out = (Bytef *)decompressed.data();
      |                                     ^
.../drogon/lib/src/HttpRequestImpl.cc:965:42: error: ‘uInt’ does not name a type; did you mean ‘uint’?
  965 |             strm.avail_out = static_cast<uInt>(decompressed.size());
      |                                          ^~~~
      |                                          uint
.../drogon/lib/src/HttpRequestImpl.cc:968:9: error: ‘inflateEnd’ was not declared in this scope
  968 |     if (inflateEnd(&strm) != Z_OK)
      |         ^~~~~~~~~~
.../drogon/lib/src/HttpRequestImpl.cc:968:30: error: ‘Z_OK’ was not declared in this scope; did you mean ‘F_OK’?
  968 |     if (inflateEnd(&strm) != Z_OK)
      |                              ^~~~
      |                              F_OK

g++ (WSL 2.0 Debian) || c++20

The better way is to set ZLIB_ROOT when running cmake.
https://cmake.org/cmake/help/latest/module/FindZLIB.html#hints


Similar subrouting

How would you set re-reoute following two set of similar routes to different machines. Please advise.
Problem: The conflicting situation is between /customers/1 & /customers/1/products  where each one is supposed to go to a different machine.
Their routes are configured as /customers/{id} and /customers/1/products
- machine name: customer
GET /customers
GET /customers/1
POST /customers
PUT /customers1
DELETE /customers/1

- machine name: customerproduct
GET /customers/1/products
PUT /customers/1/products

ocelot.json
 {
  "ReRoutes": [

    {
      "DownstreamPathTemplate": "/customers/{id}",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "customer",
          "Port": 80
        }
      ],
      "UpstreamPathTemplate": "/customers/{id}",
      "UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ]
    },

    {
      "DownstreamPathTemplate": "/customers/{id}/products",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "customerproduct",
          "Port": 80
        }
      ],
      "UpstreamPathTemplate": "/customers/{id}/products",
      "UpstreamHttpMethod": [ "Get", "Put" ]
    }

  ],

  "GlobalConfiguration": {
    "BaseUrl": "http://localhost:80"
  }

}

How would you set re-reoute following two set of similar routes to different machines. Please advise.

1
If you manage dedicated web servers manually, then copy the same config to all machines!
2
Prepare Docker image with Ocelot app having the config inside and your configuration will be distributed across K8s as Docker containers. All of them will have the same ocelot.json file for all containers.
Just update Docker image each time and start deployment of containers with new version.
3
We have Administration feature for more complicated scenarios of administering remote machines.
Hope it helps!


Bump :lang clojure

CIDER just made its 0.26 (Nesebar) release

I bumped cider in 9ac9deb because bump commit messages must follow a particular format, so that they remain machine readable to future CI. It's not your fault -- I haven't publicly documented this anywhere yet, but thanks for bringing this to my attention!


Prepare to switch from dnf to rpm in our pipelines

These preliminary commits adds the needed low-level features to be able to use the rpm rather than the dnf stage. The switchover to change the produced pipelines is not yet done, so this can be merged independently of the required changes in osbuild.

Rebased on master, fixed according to the reviews and dropped the final commit that changes the output of osbuild-pipeline. This should be done after osbuild itself has been adjusted.

As other were fine with this PR already, I'm going to merge this now. Thanks @teg !


injectBreakLines Regex Speedup

Using node --inspect & chrome debugger, I found that this regex line was taking ~20ms which is significant overhead.
I don't know the context of this function and if this is a sign that I don't have Vike setup correctly (injecting too many things?), but either way this Regex can be faster if we remove the lookahead and use replace instead of creating and joining an array.
Testing shows this PR brings injectBreakLines down to 0.1ms for my use case.

:+1: It seems equivalent so LGTM.

is a sign that I don't have Vike setup correctly

Not that I can tell.
FYI the plan is to eventually implement this: https://github.com/vikejs/vike/issues/695. This should solve the underlying issue once and for all.

Merged by https://github.com/vikejs/vike/commit/b3cc3cb82439a42e2d14ef5b34d70131f7c8e152 and pre-released as 0.4.165-commit-b3cc3cb.
Thanks for the PR and, as always, thanks for sponsoring :green_heart:. Let me know if there is any other issue.


ISTFT

Inverse STFT

@vincentqb I think that [1] is sufficient to describe the overlap add method

@jamarshon Thanks for specifying the default values in the header of the function.
For acceptance, we need to validate correctness by documenting and testing enough to confirm the pull request is indeed correct. Evidences make the approval process faster.
For documentation, we need to provide references for the details of the implementation provided.  For example, beside [Griffin and Lim], did you base your implementation on scipy's?
For testing,

we need to show important properties are fulfilled: for example, the composition of ISTFT and STFT (and of STFT and ISTFT) is the identity under appropriate conditions,
the algorithm converges to a known analytical solution with appropriate speed,
the algorithm matches the result of a reference implementation.

If for example scipy's implementation was used as a reference, it could be mentioned here along with a notebook showing that the two results are the same (see for instance #21250).
(For reference, here are general acceptance criteria here.)

for reference, stft tests are being added for https://github.com/pytorch/audio/pull/131

Let's use sines as analytical solution. Could you try the following analytical solution? Take f(t) = sin(2*pi*n*t/L) where L is the window length and hop. The result should be a band at frequency 2*pi*n/L.


Duplicate prefix displayed when using Unicode symbol

Description

When using a Unicode symbol in a group prefix, requesting info on that group will display the prefix twice.
> lp group moderator info
[12:23:00 INFO]: [LP] > Group Info: moderator
[12:23:00 INFO]: [LP] - Display Name: moderator
[12:23:00 INFO]: [LP] - Weight: None
[12:23:00 INFO]: [LP] - Contextual Data: (mode: server)
[12:23:00 INFO]: [LP]     Prefix: "[★] [★]"
[12:23:00 INFO]: [LP]     Suffix: None
[12:23:00 INFO]: [LP]     Meta: None

This only effects the console, the prefix is not actually duplicated in-game.
Reproduction steps

lp group moderator meta addprefix 75 "&4[★]&r"
lp group moderator info
You will see two copies of the prefix, instead of the intended one.
Environment details

Server type/version: Paper Spigot running version 1.16.5 build 543
LuckPerms version: v5.3.0

I cannot reproduce - probably a bug with your server / terminal app.


kubectl plugin fail

kubectl plugin list
display
plugin in /usr/local/bin/kubectl-ko
but when I run "kubectl ko "，display "no such file or directory"

Which version of kubectl do you use? Does kubectl-ko has executable permission?

kubectl version is 1.18
kubectl-ko (chmod +x)

Run /usr/local/bin/kubectl-ko directly, to check if it works

it note works，error info:/bin/bash^M: bad interpreter: No such file or directory

the reason I find that is kubectl-ko file format dos，I use dos2unix command that is ok.


update notebook dependencies

Codecov Report
Base: 90.75% // Head: 91.47% // Increases project coverage by +0.71% :tada:

Coverage data is based on head (bd84097) compared to base (b21bb80).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
+ Coverage   90.75%   91.47%   +0.71%
==========================================
  Files           5        5
  Lines         487      481       -6
==========================================
- Hits          442      440       -2
+ Misses         45       41       -4

Impacted Files
Coverage Δ

src/data_wrangling.jl
91.85% <0.00%> (+1.20%)
:arrow_up:

src/compute.jl
95.12% <0.00%> (+1.52%)
: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.


Swagger needs explicit http verbs

There is a warning in the page that says:

Don't mark the error handler action method with HTTP method attributes, such as HttpGet. Explicit verbs prevent some requests from reaching the action method. Allow anonymous access to the method if unauthenticated users should see the error.

The  problem is that Swagger requires all actions to use explicit http verbs. If I use [Route(...)] for my error handler action, Swagger throws an exception.
Please may you give me a clue how this problem is resolved.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3f6504cd-a059-c5d4-73fb-61222ef1c6e0
Version Independent ID: 1b42352c-a34f-7703-aa3e-d7e3156bd0bd
Content: Handle errors in ASP.NET Core web APIs
Content Source: aspnetcore/web-api/handle-errors.md
Product: aspnet-core
Technology: aspnetcore-webapi
GitHub Login: @pranavkm
Microsoft Alias: prkrishn

I resolve the problem by decorating my ErrorController with [ApiExplorerSettings(IgnoreApi = true)].
This ignore the controller for making swagger documents.

It should be better if you mention  [ApiExplorerSettings(IgnoreApi = true)] attribute in this page into the warning

@fiyazbinhasan can you reproduce the problem and solution? If this works, can you create a PR?

Yes. I'll take a look at it soon 🙂


GrainStateCouchbaseDataManager operations are not async

I am not an expert on couchbase, but from the brief look at the code it looks like all the operations are done synchronously.
For example here:
._bucket.Get(key);
this._bucket.Upsert(key, entityData);
_cluster.OpenBucket();
Should not those operations be async?

Yes,Gabi, CouchbaseNetClient not support async now.
https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/CouchbaseBucket.cs#L1560
I have contributed some code for support Orleans
https://github.com/couchbase/couchbase-net-client/pull/34 (have merged in review.couchbase.org)
I will contribute some code for this later.

I see. In such a case it can't really work as long as it is sync. It will block the calling thread and will cause starvation or even deadlocks. There is workaround: you can do all the calls on .NET thread pool, queue work item that will do the sync call inside it on the thread pool thread and await it outside with the help of TaskCompletionSource.
For example, look here:
https://github.com/dotnet/orleans/blob/master/src/Orleans/Core/GrainClient.cs -> InternalInitialize

ok.I will contribute some code for couchbase net client to support async. this work maybe need 10days or more (for wait couchbase net client release).


Switching to RN62.0 from RN61.5 issues

Description
Crashlytics error we receive after the upgrade for 1-3% of users:
Fatal Exception: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so caused by: APK was built for a different platform
at com.facebook.soloader.SoLoader.doLoadLibraryBySoName + 789(SoLoader.java:789)
at com.facebook.soloader.SoLoader.loadLibraryBySoName + 639(SoLoader.java:639)
at com.facebook.soloader.SoLoader.loadLibrary + 577(SoLoader.java:577)
at com.facebook.soloader.SoLoader.loadLibrary + 525(SoLoader.java:525)
at com.facebook.hermes.reactexecutor.HermesExecutor. + 20(HermesExecutor.java:20)
at com.facebook.hermes.reactexecutor.HermesExecutorFactory.create + 29(HermesExecutorFactory.java:29)
at com.facebook.react.ReactInstanceManager$5.run + 997(ReactInstanceManager.java:997)
at java.lang.Thread.run + 761(Thread.java:761)
This happens on devices:

TaintArt for x86, Android 7.1.2
SM-A505FN Android 9
and some Android 5.1 devices.

React Native version:
System:
OS: Linux 5.3 Ubuntu 18.04.3 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Memory: 7.80 GB / 62.74 GB
Shell: 5.4.2 - /usr/bin/zsh
Binaries:
Node: 8.13.0 - ~/.nvm/versions/node/v8.13.0/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v8.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: ^16.11.0 => 16.13.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce

Upgrade to RN62.0 following the steps here: https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0

Expected Results
There should be no error in crashlytics.
Snack, code example, screenshot, or link to a repository:
Can't provide example code, but we are based on official example code.

I have problem with Hermes Engine on release.
Try to init RN Project in version 0.62.0 and enabling Hermes in build.gradle then clean gradle.
there is no problem on debug mode but run with npx react-native run-android --variant=release crashing .
*log-cat report
--------- beginning of crash
04-02 01:14:57.207 13279 13279 D ReactNative: ReactInstanceManager.ctor()
04-02 01:14:57.275 13279 13279 D ReactNative: ReactInstanceManager.createReactContextInBackground()
04-02 01:14:57.275 13279 13279 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
04-02 01:14:57.275 13279 13279 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()
04-02 01:14:57.275 13279 13279 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()
04-02 01:14:57.275 13279 13279 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()


Adding multiple values to key using PowerShell.Commands Set-SPODefaultColumnValues gives an error

I need to add multiple values to the defaultcolumnvalue of a list and with the Set-SPODefaultColumnValues I cannot get it working.
Is it supported? If not, can that be created? If it is supported, what is the syntax to use for value?
I tried with an array but get an error:
Set-SPODefaultColumnValues : Cannot bind parameter because parameter 'Value' is specified more than once. To provide multiple values to parameter
s that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
PS: I love this solution
Regards,
Ronald

How do you use the command?
The correct syntax is
Set-SPODefaultColumnValues -List "Test" -Field "Test" -Value "Value 1","Value 2","Value 3".

I tried your example and it works now, with just the values as string with a comma seperated.
Thanks Erwin.


Installation

I have followed the instructions but am not seeing the button on the site. I am not sure I missed something since I only uploaded the one file whatsapp-button.js . I also installed the script before the /body hook on my website.  What am I missing? The url in question is http://daniesgranny.com and I have added the button code to the right sidebar above the sign-up form using a widget area.

hi! i have tested it on my android phone. there i can see the button and it works fine. maybe you test it on a 'normal' pc? the button is shown on specific 'navigator.userAgent' only.

Duh!!! I see it on my Android.   Thanks much.
Sent via the Samsung GALAXY S®4, an AT&T 4G LTE smartphone if on my
-------- Original message --------From: Clemens Neubauer  Date:06/10/2015  1:32 AM  (GMT-05:00) To: kriskbx/whatsapp-sharing  Cc: Gina Storr  Subject: Re: [whatsapp-sharing] Installation (#51)
hi! i have tested it on my android phone. there i can see the button and it works fine. maybe you test it on a 'normal' pc? the button is shown on specific 'navigator.userAgent' only.
—
Reply to this email directly or view it on GitHub.


Fix hanging middleman

There is currently an issue with middleman-autoprefixer which causes
middleman to hang: middleman/middleman-autoprefixer#33
When this happens, middleman no longer responds to requests and does not
refresh on source changes.
Moving the activate :autoprefixer command into the context.configure :build block seems to fix this and middleman behaves normally.

Is it possible to get a new incremental release out with this fix? I know a lot of people struggle with this and it's great to finally have a fix.

This has now been released!


No sensor

Version of the custom_component
v0.0.1
Configuration

foldingathomecontrol:
  - address: "<IP_ADDRESS>"
    port: 36330
    password: !secret fah_password

Describe the bug
After installation and configuration i don't see the sensor, not even after a restart.
Debug log
N/A

Silly me, forgot to restart the fah server after changing the settings...


default supervision

Hi,
Thanks for your awesome work! I am not sure whether I tried accurately. But I found that the default setting uses full supervision (classification labels, bboxes, and masks). Although the path to point supervision is set in "coco_points.py" and "voc_points.py". They are actually not used during training. How to use point supervision properly? Also where is the edge detection model used? Thanks!

@DevinCheung
Hello,  our data_load pipline still uses the same way like full mask supervision, while it loads the point-based mask label.  Our  data_load pipline may incur some confusion, we will refine the codes of this part.
For details, in the loss calculation , the "gt_labels_list" represents the categories of all the thing points, the "gt_masks_list" contains the corresponding masks for each point, and the "gt_semantics_list" indicates the category of each pixel (with non-labeled points represented as 255). These are all for point supervision. As for "gt_bboxes_list", we do not utilize it in our code.
Regarding the edge detection model, it is an optional component that can be employed for low-level edge detection in the line. Using low-level edge detection can result in some performance improvement, while it also demands more time for training. Therefore, we have opted to disable it by default. When using it, the edge model path should be specified in the corresponding config file, and set "use_low_level_edge" to True, as demonstrated here: https://github.com/LiWentomng/Point2Mask/blob/321353665a15c6a2ca92ca997d121dbb61464ac5/configs/point2mask/voc/voc_wsup_r50.py#L48-L49


Clustering in ML

Probably gonna add some codes to show results of different clustering methods on the same task.

Hi,
Thank you very much, your notebook is pretty well!
As a suggestion, you can add some pieces of code implementing different types of gradient methods and compare the results and the consumed time. If it is not challenging for you, implement an easy deep task on an image dataset (such as MNIST) to visualize and compare the produced results better.
You can also write more about different usages. For example, explain the usages in deep neural networks and backpropagation in more detail.
Thanks again!


Support minimalistic 3-node OCP config

Fixes #135
Signed-off-by: Yussuf Shaikh<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [yussufsh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @bpradipt @Prajyot-Parab

/label backport

/kind backport

@yussufsh: The label(s) kind/backport cannot be applied, because the repository doesn't have them

In response to this:

/kind backport

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Prajyot-Parab, yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [yussufsh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: bpradipt, Prajyot-Parab, yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [bpradipt,yussufsh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Implement minimum cell size for matching subjects/dataset

Is there an existing issue for this?

[x] I have searched the existing issues

New feature
Each node API should have as part of its configuration a minimum cell size (with a sensible default), representing the # matching subjects in a dataset below which the dataset as a whole will not be shown in the query results.
TODO

[ ] Add new Environment Variable minimum_cell_size
[ ] Default env var to 0 and make 0 mean -> no restriction / absence
[ ] Add the minimum cell size argument to the query template, i.e. implement it in the SPARQL query, not as an API filtration step

Note:

Testing might be tricky unless we do an integration test with the graph. So maybe best to leave for now

In an ideal world, we could use this query right now:

PREFIX cogatlas: <https://www.cognitiveatlas.org/task/id/>
PREFIX nb: <http://neurobagel.org/vocab/>
PREFIX nbg: <http://neurobagel.org/graph/>
PREFIX ncit: <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>
PREFIX nidm: <http://purl.org/nidash/nidm#>
PREFIX snomed: <http://purl.bioontology.org/ontology/SNOMEDCT/>
PREFIX np: <https://github.com/nipoppy/pipeline-catalog/tree/main/processing/>
SELECT ?dataset_uuid ?dataset_name ?dataset_portal_uri (count(?sub_id) as ?n_sub)
(GROUP_CONCAT(DISTINCT CONCAT(STR(?pipeline_name), "-", STR(?pipeline_version)); separator=", ") as ?pipeline_info)
(GROUP_CONCAT(DISTINCT ?image_modal; separator=", ") as ?image)
WHERE {
    SELECT DISTINCT ?dataset_uuid ?dataset_name ?dataset_portal_uri ?sub_id ?age ?sex
    ?diagnosis ?subject_group ?num_matching_phenotypic_sessions ?num_matching_imaging_sessions
    ?session_id ?session_type ?assessment ?image_modal ?session_file_path ?pipeline_name ?pipeline_version
    WHERE {
        ?dataset_uuid a nb:Dataset;
            nb:hasLabel ?dataset_name;
            nb:hasSamples ?subject.
        ?subject a nb:Subject;
            nb:hasLabel ?sub_id;
            nb:hasSession ?session.
        VALUES ?session_type {nb:ImagingSession nb:PhenotypicSession}
        ?session a ?session_type;
            nb:hasLabel ?session_id.
        OPTIONAL {
            ?session nb:hasAcquisition/nb:hasContrastType ?image_modal.
            OPTIONAL {?session nb:hasFilePath ?session_file_path.}
        }
        OPTIONAL {?dataset_uuid nb:hasPortalURI ?dataset_portal_uri.}
        OPTIONAL {?session nb:hasAge ?age.}
        OPTIONAL {?session nb:hasSex ?sex.}
        OPTIONAL {?session nb:hasDiagnosis ?diagnosis.}
        OPTIONAL {?session nb:isSubjectGroup ?subject_group.}
        OPTIONAL {?session nb:hasAssessment ?assessment.}
        {
            SELECT ?subject (count(distinct ?phenotypic_session) as ?num_matching_phenotypic_sessions)
            WHERE {
                ?subject nb:hasSession ?phenotypic_session.
                ?phenotypic_session a nb:PhenotypicSession.
                OPTIONAL {?phenotypic_session nb:hasAge ?age.}
                OPTIONAL {?phenotypic_session nb:hasSex ?sex.}
                OPTIONAL {?phenotypic_session nb:hasDiagnosis ?diagnosis.}
                OPTIONAL {?phenotypic_session nb:isSubjectGroup ?subject_group.}
                OPTIONAL {?phenotypic_session nb:hasAssessment ?assessment.}
            } GROUP BY ?subject
        }
        OPTIONAL {
            ?session nb:hasCompletedPipeline ?pipeline.
            ?pipeline nb:hasPipelineVersion ?pipeline_version.
            ?pipeline nb:hasPipelineName ?pipeline_name.
        }
        {
            SELECT ?subject (count(distinct ?imaging_session) as ?num_matching_imaging_sessions)
            WHERE {
                ?subject a nb:Subject.
                OPTIONAL {
                    ?subject nb:hasSession ?imaging_session.
                    ?imaging_session a nb:ImagingSession.
                    OPTIONAL {
                        ?imaging_session nb:hasAcquisition ?acquisition.
                        ?acquisition nb:hasContrastType ?image_modal.
                    }
                    OPTIONAL {
                        ?imaging_session nb:hasCompletedPipeline ?pipeline.
                        ?pipeline nb:hasPipelineName ?pipeline_name;
                        nb:hasPipelineVersion ?pipeline_version.
                    }
                }
            } GROUP BY ?subject
        }
    }
} GROUP BY ?dataset_uuid ?dataset_name ?dataset_portal_uri
HAVING (?n_sub > 0)

But  this would a major change to the inner (disaggregated) query to work with our crud.py code that turns the results into a dataframe and does all the other stuff. I think it would actually be a pretty good idea to refactor how both the query gets constructed and the results get turned into a response. Maybe we could address this as part of  the split between dataset level and subject level results. But for now I just post this section here for when we need it again.
The two main new features are

Having as a way to filter on an aliased counted variable from the SELECT section (e.g. n_sub) instead of via FILTER
GROUP_CONCAT as a way to recombine distinct results. For example if I group by "dataset" and I want to see pipeline names, then I would also have to GROUP_BY pipeline name in order to see the unique pipeline names in their own rows. If I'd rather not (because who likes that?) I can instead use GROUP_CONCAT like here and have all the unique values concatenated. Currently we do this anyway, but in the python portion. So instead we could do it with SPARQL


Same goes for the free to register freenom domains such as .gq .ml .ga .cf and also .tk

I agree and I know it is legit by nature.
It is simply that very few (close to none) legitimate sites exist that use it.

Thanks Jaco, sorry for the trouble and being overzealous


[NDMII-2934]tag interface metrics with internal resource

What does this PR do?
add an internal tag to the snmp interface metrics that will make those metrics be enriched by the tags present in the corresponding REDAPL resource
Motivation
We want to start tagging our interfaces with tags stored in REDAPL

Also I think the no-changelog label is a mistake?

@FlorianVeaux I added a commit which adds the device_id as a param of ReportMetrics and adds a changelog

/merge


SignalGroupDescriptor collects fields with a SignalGroup subclass

To be implemented _build_dataclass_signal_group cannot be cached with lru_cache, so the result is cached in the SignalGroupDescriptor instead.
PR extracted from #265

The PR changes the previous default behavior when a subclass of SignalGroup is provided (now it collects the fields). But this default behavior was not clearly documented so I believe it's fine.
Also, signal_group_class=SignalGroup and collect_fields=False fails without a proper error message and only when accessing foo.events. I was not sure what was best, or raising an error at SignalGroupDescriptor.__init__ or fallback to collect_fields=True with a warning.

But this default behavior was not clearly documented so I believe it's fine.

i agree. and i think it's a good improvement thanks.

Also, signal_group_class=SignalGroup and collect_fields=False fails without a proper error message and only when accessing foo.events. I was not sure what was best, or raising an error at SignalGroupDescriptor.init or fallback to collect_fields=True with a warning.

ah yeah, that's probably a pretty easy error to run into, since it only requires setting collect_fields=False (as the other is the default).  So I agree, add an exception in the __init__ if collect_fields is False and signal_group_class is SignalGroup
one more thing:
let's make SignalGroupDescriptor a generic now: SignalGroupDescriptor(Generic[GroupType])
I'll make some comments inline

actually, it's a bit hard to do inline since you haven't touched all the lines needed here.  i'll make a PR to your PR

ok, I will add the early error then.

hang on just a minute... PR incoming

https://github.com/getzze/psygnal/pull/1

(sorry if that gave merge conflicts) :)

ah whoops, looks like I forgot to add from __future__ import annotations in test_group_descriptor

arggg... pydantic errors in the test_group_descriptor.  I had you add future.annotations thinking there wasn't any runtime typing used in that test module, but it looks like there was after all.  So i guess we'll need to remove that import at the top, and use Optional[Type[SignalGroup]] instead of type[SignalGroup] | None

ok, I'll make the changes.

mmmh there are other problems with types and coverage. Maybe I'll let you deal with them :), you can modify this PR directly if you don't mind.

other problems with types and coverage. Maybe I'll let you deal with them :)

will do!  was just noticing that.  Going to add a # pragma: no cover and be done with it

I reverted the generic stuff, and will deal with it in another PR.  The reason is that, as implemented, it makes it unnecessarily ugly to know that the __get__ method of the descriptor returns a subclass of SignalGroup:
@dataclass
class T:
    x: int = 0
    e: ClassVar[SignalGroupDescriptor] = SignalGroupDescriptor()

t = T()
reveal_type(T.e)    # N: Revealed type is "psygnal._group_descriptor.SignalGroupDescriptor[Any]" ... fine
reveal_type(t.e)    # N: Revealed type is "Any" .... BAD


Error "ERROR: Public Key is invalid at line N."

Hello,
I encounter "ERROR: Public Key is invalid at line N." when runnning with a .negotiatedFees file, even if my file does not contain empty lines.
I made a fix here: https://github.com/jrwashburn/mina-pool-payout/pull/94

Merged - thanks!


lxc info.environment.driver_version (JMESPath Basic Expression)

While looking at lxc info --resources I thought that maybe it is possible to extend command line API of info with dot notation? JMESPath Basic Expressions
So if I need to get some server_version from script, I run lxc info.environment.server_version. Right now I need to do unreliable lxc info | grep server_version and split if with cryptic cut -d: -f2 | tr -d " ".
Then command line from this:
lxc info [<remote>:]<container> [--show-log]

Would be this:
lxc info[.selector] [--server|--container|--log|--resources] [<remote>:]<container>

What do you think?

LXD version: 2.18

stgraber@castiana:~$ lxc query /1.0 | jq -r .environment.driver_version
2.1.0 (devel)

This requires jq, which is not installed.


Add Bfdopen() to libbio

Required for git9.
From plan9port via 9front (commit 035aacf6f5c23f0513e240046818ef203e8d87cb).
Signed-off-by: Graham MacDonald<EMAIL_ADDRESS>

Let me know your thoughts @dancrossnyc


Update @pulumi/pulumi version

@ellismg it looks like you have the wrong version of PanDoc installed, leading to whitespace diff errors here.

@ellismg it looks like you have the wrong version of PanDoc installed, leading to whitespace diff errors here.

Thanks!  I'll undo the change to the rst file and then get my version of PanDoc updated.


Request code examples for ProductLinkInvitationService and ProductLinkService on v15

Hello there!
I'm currently migrating from v14 to v15 of the Google Ads API, and I'm having problems implementing ProductLinkInvitationService and ProductLinkService, which replace MerchantCenterLinkService.
Any chance you could throw in some examples into the codebase?
Thank you.

Hi,
Thanks for highlighting. Adding updated samples for that change is definitely in our plans, although I don't have an ETA for when we'll get that done.
In the meantime, the "Link your Merchant Center and Google Ads accounts" guide has some useful queries and step by step instructions.
Thanks,
Josh, Google Ads API Team


A more common usage scenario

The example app is really good at illustrating how to implement authorization.
However, it would also be useful to have an example of how to implement the more common requirement of administering roles (rather than contacts).
Many applications require administration pages for adding and editing users with roles and I'm pretty sure people who are looking for help with Authorization would like to see how to implement that scenario.

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

ID: b66f8ffa-699c-8b11-0cab-805f5953805f
Version Independent ID: 7c151ed5-fd78-84fd-a08a-88912990c4ca
Content: Create an ASP.NET Core app with user data protected by authorization
Content Source: aspnetcore/security/authorization/secure-data.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What do you mean by administering roles (rather than contacts).
Contacts is arbitrary. Replace contacts with any resource you want to protect.
The sample shows manager and admin authorization handlers.

Hi Rick.
It's a scenario I encounter fairly often. The administrator of an app needs
to be able to add new users and assign them roles (typically, other
administrators, managers and users, but there can be many other roles). One
option is to have a user log in to the app (using, say, organization
credentials) and request to be added. Since they are authenticated, they
would be added with a role that has no permissions; the administrator can
then assign them a role appropriate to their usage requirements for the
app. Alternatively, the user would have to request to be added via some
other communication channel and the administrator would both add the new
user and assign them a role. Ideally, the user would be notified by email
that they have been added and their role would be confirmed.
This scenario is very similar to but a bit simpler than the example since
it doesn't need the authorization handlers. It can rely on declarative
authorization checks to control which pages of the app the user can access.
Regards,
Bill
On Sat, 8 Feb 2020 at 15:59, Rick Anderson<EMAIL_ADDRESS>wrote:

What do you mean by administering roles (rather than contacts).
Contacts is arbitrary. Replace contacts with any resource you want to
protect.
The sample shows manager and admin authorization handlers.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/AspNetCore.Docs/issues/16921?email_source=notifications&email_token=AFPPLBR5RDG2VQ67V2M4EBTRB4MLRA5CNFSM4KR4QCA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELF3Q6Q#issuecomment-583776378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFPPLBUXQ2BRNW6V5S2ULL3RB4MLRANCNFSM4KR4QCAQ
.

The seed method does that.

The seed method initializes the Administrator and Manager roles, but there
is no way to add or maintain additional people and roles once the database
has been initialized.
It seemed a worthwhile suggestion for a worked example since it is such a
common requirement.
On Sun, 9 Feb 2020 at 19:21, Rick Anderson<EMAIL_ADDRESS>wrote:

The seed method does that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/AspNetCore.Docs/issues/16921?email_source=notifications&email_token=AFPPLBSTKFIQ5LHP7H4H2N3RCCMXXA5CNFSM4KR4QCA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELG42HI#issuecomment-583912733,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFPPLBSSZYTICOR7GCUB6H3RCCMXXANCNFSM4KR4QCAQ
.


[Translation Feature Request] Don't use the same term for saving file and catpuring gif in the french version

In the french version when you go to Fichier (File), you can capture/record a new gif but it's called "Enregistrer". Later in the action bar you get the button "Enregistrer sous" (Save as).
So basically two very different features (Capture and Save file) are both called "Save". And since the capture button is the first thing you see just under the "File" tab, it's easy to make the mistake of thinking this will save a file on disk.
A better term to capture video/gif would be "Capturer" instead of "Enregistrer" (basically the same as saying Capture instead of Record) and would be less confusing.

虚幻之物对应着冥冥之路！：《羽》


Rework ignoreProperties options

Rules:

requireCamelCaseOrUpperCaseIdentifiers
requireDollarBeforejQueryAssignment (https://github.com/jscs-dev/node-jscs/pull/1278#issuecomment-96496964)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12226939-rework-ignoreproperties-options?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

Moved to #1834


Bower api for list()

QUESTION
Hi Team, I am trying to use bower api to list the packages installed in a particular directory using node.
When I run it this way
        bower.commands
        .list()
        .on('end', (results) => {
            console.log(results);
        });

it works fine and returns the package name on the root level but
         bower.commands
        .list({paths: './sub-dir/components'})
        .on('end', (results) => {
            console.log(results);
        });

doesnt work and returns an empty object {} even though there are bower packages installed in that folder.
any suggestions?

paths is boolean param. you can pass custom directory as third argument, something like:
bower.commands
.list(undefined, undefined, { cwd: path.resolve(process.cwd(), 'foo/bar') })

Also, issue tracker is not a place for support questions, please do it on discord or stackoverflow

Hi @sheerun  Thanks for the answer. But, the solution doesnt work.

How should one set the --offline option for this ?

Does it work @aemonge  ?
Does it give you the list of installed packages?

Yeah, it does works. But it slow enough that I think it's committing the offline: true option.


Allow extending EXTENSIONS_TO_CHECK via config

Hi,
I wanted to suggest to make it possible to extend EXTENSIONS_TO_CHECK via the config perhaps something like:
  extensions:
    rs: text
    ext: format

Thinking about it, an easier solution might be to use 'text' for all unknown extensions?

If the solution of "default to text" is good enough I'm happy to make a PR I think I can manage that :D for a more complex solution my typescript is probably a bit weak

I'll close this since after some chat w/ the upstream Alex folks the outcome was "Don't use that for non markdown/js stuff" so it seems there isn't really a point in this feature.


An issue where repeated requests yield no output, and the network environment is normal

Hmmm @TheBlewish @synth-mania how does it decide when to add content from a page or not? I wonder if it's deciding the content isn't relevant but it still fills up the context space.

I found the problem, it’s an issue with the version of DuckDuckGo.


build_all_android.sh x86 abi build issue

It took a bit of effort to get the build_all_android.sh script to work.  The effort was primarily due to the same issues encountered here: https://github.com/tensorflow/tensorflow/issues/14186
Armed with the work around outlined there, I modified compile_nsync.sh to have
AR := ${NDK_ROOT}/toolchains/'"$toolchain"'/prebuilt/'"$android_os_arch"'/bin/'"$bin_prefix"'-ar
This does result in being able to build the arm variants (armeabi, armeabi-v7a and arm64-v8a) as well as the x86_64 variant.  However, x86 variant fails with:
/Users/swinston/Downloads/android-ndk-r12b/platforms/android-21/arch-x86/usr/lib/crtend_android.o
/tmp/77a95b0085967f7191ad958665724b6f/sysroot/usr/include/unistd.h:173: error: undefined reference to '__page_size'
/tmp/77a95b0085967f7191ad958665724b6f/sysroot/usr/include/unistd.h:173: error: undefined reference to '__page_size'
/tmp/77a95b0085967f7191ad958665724b6f/sysroot/usr/include/unistd.h:173: error: undefined reference to '__page_size'
/tmp/77a95b0085967f7191ad958665724b6f/sysroot/usr/include/unistd.h:173: error: undefined reference to '__page_size'
collect2: error: ld returned 1 exit status
This is a OSX build host and using ndk r12b.
NB: count me amongst those eager for r16/r17 ndk support!

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Have I written custom code: Yes, as outlined in the original post.
OS Platform and Distribution: OSX 10.13.4
TensorFlow installed from: N/A
TensorFlow version: master
Bazel version: N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: See original post.

Could you provide your modifications as a PR, so we can take a look at what's going on.

PR: #18866 is all I changed.  Without that change I had the same issues building as the above referenced issue.

Nagging Assignee @aselle: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 45 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 75 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 90 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 105 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 120 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 135 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 150 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 165 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 180 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 195 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 210 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I have the same problem and error message, you solved it now?

Nope.  Still not working.
On Tue, Apr 16, 2019, 8:04 PM kunkun007<EMAIL_ADDRESS>wrote:

I have the same problem and error message, you solved it now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/18748#issuecomment-483917977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADqAY3xKagkgcXAWz4-ZHTNMVo3v2vQkks5vho8vgaJpZM4TePqe
.

@gpx1000 ,
Is this still an issue?
Could you please update TensorFlow to the latest stable version v.2.6 and let us know if you are facing the same error. Thanks!


Update authentication-azure-ad.md

The documentation for data builder API with azure ad authentication was incomplete and misleading. I wasted a lot of time trying to make it work, until I found out that I needed to include the X-MS-API-ROLE request header. This crucial detail was added in this PR, but it should have been there from the start.

Thanks for your contribution, @mshafiqmk
The repo has changed significantly since this pull request, so I pulled your changes into a new pull request, so you care appropriately credited with your contribution. Thank you again for your patience and effort!


How to delete?

Sup i'm so sorry but i'm start mi silent miner so how to delete it?

Check here: https://github.com/UnamSanctam/SilentETHMiner/wiki#how-do-i-remove-the-miner


Out-of-box-build C2220 error

Microsoft PowerToys version
0.0.1 (0.53.0 rc) c25a5a821f8e87b498467a42ee9bd8467e7abc82
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce

Clone from GitHub
Build

✔ Expected Behavior
Build with no error
❌ Actual Behavior

C2220 error
Other Software
VS2019 Professional

I didn't have that. Did you update the git submodules before building? This isn't happening automatically anymore.

I didn't have that. Did you update the git submodules before building? This isn't happening automatically anymore.

Yes. I do deleted the whole PowerToys folder, re-clone it, and install submodules then build.

Can't reproduce this either

Hmm... I can reproduce this every time.
Would like to set up a Teams call if anyone is available.
<EMAIL_ADDRESS>

@franky920920
Is this still happening or can we close this?

if it is fixed, what solved it.

Still happing.

Can you confirm this issue is still relevant in v0.73? /needinfo


server: fix not enough store issue

It happens when 1) A region splits. 2) Not enough store to add peer. If addPeer returns an error, the (splitted) Region in request will not be saved, which is a bug.
@siddontang @qiuyesuifeng

LGTM

LGTM


feat(wado-uri): Add function to create WADO-URI URL

Moving this here from OHIF (https://github.com/OHIF/Viewers/blob/26b14f1dab62ece0232a8c1fae355bac38285695/Packages/ohif-studies/imports/both/services/wado/retrieveMetadata.js#L60)
Question: Should we allow more than one base URL? Some PACS use different endpoints for WADO-RS and WADO-URI?
Or should we move this function to some other place?

+1 to the idea of relaxing the single url constraint.  On the other hand it's also easy enough to create multiple instances of the client if you need different url schemes.  There will also be cases where the bulk data is on a whole different system from the database (e.g. the metadata all stored on one system but the instances are on s3 or tcia or something).
But let's go ahead and merge this if you are happy with it and it moves us forward on replacing the corresponding code in ohif.

@swederik I agree, it would be preferable to specify the paths for the WADO/QIDO/STOW RESTful services to allow use of the same client instance across services. For the Python client, I added the optional wado_url_prefix, qido_url_prefix and stow_url_prefix parameters to the constructor function: https://github.com/clindatsci/dicomweb-client/blob/ed7c13bb47449a3e557f88c5b9b81cf21b72186a/src/dicomweb_client/api.py#L190-L191
Maybe we could use the same logic here?


vulkan-cts: <IP_ADDRESS> -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for vulkan-cts is: Khronos Vulkan Conformance Tests
meta.homepage for vulkan-cts is: https://github.com/KhronosGroup/VK-GL-CTS/blob/main/external/vulkancts/README.md
meta.changelog for vulkan-cts is: https://github.com/KhronosGroup/VK-GL-CTS/releases/tag/vulkan-cts-<IP_ADDRESS>
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS> in filename of file in /nix/store/6s9fxg6zx7bvcglqvprk8z07dy6g4fp2-vulkan-cts-<IP_ADDRESS>

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

vulkan-cts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6s9fxg6zx7bvcglqvprk8z07dy6g4fp2-vulkan-cts-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/df8ca10031e794474fbd2a223f089466f061ef45#vulkan-cts

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6s9fxg6zx7bvcglqvprk8z07dy6g4fp2-vulkan-cts-<IP_ADDRESS>
ls -la /nix/store/6s9fxg6zx7bvcglqvprk8z07dy6g4fp2-vulkan-cts-<IP_ADDRESS>/bin

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

1 package built:

vulkan-cts

Maintainer pings
cc @Flakebi for testing.

@ofborg build vulkan-cts vulkan-cts.passthru.tests

https://github.com/NixOS/nixpkgs/pull/359554


Yarn integrity check fails for classnames

Oni Version: master
Neovim Version (Linux only): 0.3.2
Node version: 10.9.0
Yarn version: 1.10.1
Operating System: Arch Linux
Issue:
When performing a yarn install, the integrity check for classnames fails:
error https://codeload.github.com/JedWatson/classnames/tar.gz/34a05a53d31d35879ec7088949ae5a1b2224043a: Integrity check failed for "classnames" (computed integrity doesn't match our records, got "sha1-3F1IwI7v/EQGECc2RX2sInPW44k=")

I found the following lines in the yarn.lock file:
<EMAIL_ADDRESS><EMAIL_ADDRESS>  version "2.2.5"
  resolved "https://codeload.github.com/JedWatson/classnames/tar.gz/34a05a53d31d35879ec7088949ae5a1b2224043a"

classnames is the only dependency istalled from codeload.github.com. Is that correct? Why is that so?
Expected behavior:
yarn install passes.
Actual behavior:
yarn install fails with above error.
Steps to reproduce:

Clone repository
yarn install

Thanks for logging the issue & details @Prior99 !
We hit this in automation too - downgrading to an earlier version of yarn 'fixed' this for us - but a better fix would be to correct the dependency. The codeload URL doesn't look right to me. I wonder if we can manually edit the lockfile to fix this?

I'd just delete the lines from the lockfile and simply add the dependency again. I can send a PR if you like.

@Prior99 @bryphe I think with the refactor of some of the components to styled-components I think we don't actually use classnames in the project anymore so this might be able to be resolved by removing the dependency all together

I'd just delete the lines from the lockfile and simply add the dependency again. I can submit a PR if you like.

That sounds great! Thanks @Prior99 .

@Prior99 @bryphe I think with the refactor of some of the components to styled-components I think we don't actually use classnames in the project anymore so this might be able to be resolved by removing the dependency all together

classnames is actually a transitive dependency - meaning we don't include it in our package.json, but it's a downstream dependency of a package we depend on. Yarn has a useful command yarn why - this is the output for classnames:
E:\oni [(v0.3.7-beta2)]> yarn why classnames
yarn why v1.10.1
warning ..\package.json: No license field
[1/4] Why do we have the module "classnames"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found<EMAIL_ADDRESS>info Reasons this module exists
   - "react-virtualized" depends on it
   - Hoisted from "react-virtualized#classnames"
   - Hoisted from "react-transition-group#classnames"
Done in 16.54s.