Switch to suppress parse errors

When using components fe. from Bower (which might come with source files split to different files, or any broken files for building etc) the possible parse errors in any random file kills the whole minifying process and you have to separately remove them from source files.
For cases like this it would be handy if gulp-uglify would have supressErrors option, which, instead of triggering error on parse issues (which ends the whole process), would just console.log out a warning, skip that file and keep chugging along. Much like r.js does it. (Except that it doesn't even show any warnings)
Uglify itself doesn't have switch for this since the recommended way to do this in uglify would be to wrap the call in try-catch block. https://github.com/mishoo/UglifyJS2/issues/620

Have you tried gulp-plumber? Does that not solve the issue?

Yeah, I'm using it but unfortunately it doesn't fix said issue, it only fixes the error handling on gulp streams, it however doesn't prevent uglify breaking on parse error. :/
This is how r.js does it
try {
    // run optimizer
} catch (e) {
    if (config.throwWhen && config.throwWhen.optimize) {
        throw e;
    }
}

As an alternative, have you considered using a series of gulp-concats to create whole files from the pieces of bower components?

That doesn't solve the situation either since the bower components (as does node modules as well) usually come with development, test & build files as well, so I would be building extra weight to each component. :/ Specially since files are loaded with RequireJS, so only files that are needed are loaded.

Did alternative to this as a custom error handler function that you can pass to gulp-uglify. This way it's the most flexible solution possible.
(started to think that it would still be nice to have errors on some critical files, whereas its completely ok if some random library file, that is not even used, doesn't minify. So one can write their own logic of when to trigger errors and when not.)

Why can't you resolve this by using rjs to generate bundles and minify those?

:-1: Way outside the scope of this plugin. You should also seriously consider if pulling in a bunch of random files and using the ones that don't throw a parse error is the best approach.

I don't think having a custom error handler is a good fit for this plugin. gulp-uglify assumes it's a part of a production release process and is feed complete and valid JavaScript files. It reports an error when something is wrong that should abort a release process.
At some point, you must be taking the JavaScript partials you're currently trying to pass to gulp-uglify and turning them into something that a browser will execute without error, and gulp-uglify is happen to be used at the end of this process;


v4: Using hydrate during an ongoing "initial" fetch overwrites the isFetching status

Describe the bug
If you hydrate a previous state while an "initial" fetch is ongoing the status, fetchStatus and derived booleans no longer reflect the state of the query.
Your minimal, reproducible example
https://codesandbox.io/s/zen-diffie-klzj6l?file=/src/App.js
Steps to reproduce
In the attached CodeSandbox

Refresh the Page
Click "Hydrate State" button within 5secs

Expected behavior
As a user, I expected the isFetching status to always be true when the query isFetching
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

OS: Windows 10
Browser: Chrome 117.0.5938.132
Project: React, TypeScript via Vite

Tanstack Query adapter
react-query
TanStack Query version
v4.35.3
TypeScript version
v5.0.2
Additional context
For context on how we stumbled across this... We wrote a custom Persister that stores the cache encrypted in IndexedDB. It uses a per-user key that is returned from the API. Because of this, some useQuery calls have to happen first before we can know the current user and their key. As such the Persister is inactive initially but when a key is set, it attempts to hydrate (using IndexedDB) and becomes a functional Persister.
This generally works well, as the hydrated state (as per the docs) does not overwrite any queries that might have happened in the meantime. It does however remove any subtle loading indicators, for those queries that are still being refreshed in the background. Hence this bug report.

This happens to me too. Thanks for reporting.

thanks for reporting. we made a fix recently that potentially introduced this behaviour:

https://github.com/TanStack/query/pull/4974

when a query is restored with hydration, it is put into idle state, because if a query was persisted while it has fetchStatus: 'fetching', it would otherwise wind up in that fetching state forever.
when calling queryClient.setQueryData(key, data) while the query is currently fetching, we don't reset the fetchStatus, because there is an override for that situation:
https://github.com/TanStack/query/blob/35539bf34f4e623c9ad70bbcd3d01e1f837bfa63/packages/query-core/src/query.ts#L563-L567
I need to think a bit how to fix this for the hydration case

I think what we'd want is, instead of setting the fetchStatus to 'idle' (as done in the linked PR), we'd want to omit the fetchStatus completely when doing hydration. It will then  dispatch setState internally, which does:
https://github.com/TanStack/query/blob/35539bf34f4e623c9ad70bbcd3d01e1f837bfa63/packages/query-core/src/query.ts#L591-L595
so if there's no fetchStatus in action.state, it wouldn't alter the fetchStatus, so it would stay fetching if it is currently fetching.
we can't do that for the case where hydration builds a new query. I'll PR this shortly.


'PORT' is not recognized as an internal or external command

Hello, I am trying to run yarn start and getting the below error.   Any idea on what is going wrong?
C:\Users\v-jormc\Source\Repos\Responder\responder.pwa>yarn start
yarn start v0.24.6
$ concurrently "cd client && PORT=3000 yarn start" "cd server && PORT=3001 yarn start"
[0] 'PORT' is not recognized as an internal or external command,
[0] operable program or batch file.
[1] 'PORT' is not recognized as an internal or external command,
[1] operable program or batch file.
[1] cd server && PORT=3001 yarn start exited with code 1
[0] cd client && PORT=3000 yarn start exited wit

{
  "name": "microsoft.responder.pwa",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "concurrently": "^3.5.0"
  },
  "scripts": {
    "install": "(cd client && yarn) && (cd server && yarn)",
    "start": "concurrently \"cd client && PORT=3000 yarn start\" \"cd server && PORT=3001 yarn start\""
  }
}

I think it may be because I am on Windows.  Trying to find another option.

Yeah it's related to this bit of your script: PORT=3001 yarn start. It's not related to concurrently proper.

Created an .env file https://github.com/facebookincubator/create-react-app/issues/1083  and moved PORT to there and seems to be working now

Change  to "start": "react-scripts start", it work for me


data:Gautam-666

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

closing and deleting, on your own. This won't merge man.


PVS-Studio: An unconditional 'break' within a loop.

We have found a bug using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/
We suggests having a look at the emails, sent from @pvs-studio.com.
Analyzer warning: V612 An unconditional 'break' within a loop. MMFilesPersistentIndex.cpp 353
arangod/MMFiles/MMFilesPersistentIndex.cpp:
int MMFilesPersistentIndex::insert(....) {
  ....
  while (iterator->Valid()) {
    int res = comparator->Compare(iterator->key(), ....);

    if (res > 0) {
      break;
    }

    uniqueConstraintViolated = true;
    break;  // <=
  }
  ....
}

I'm using the latest ArangoDB of the respective release series:

[+] self-compiled devel branch

On this operating system:

[+] Linux
[+] Windows, version:

Thanks.
Though this is not necessary a "real" bug, I changed to change from using a while loop to a mere if to make it more readable.


Root is required issue on migrated Domain

Hi Guys,
on most of the domains, letsencrypt works fine. Thanks!
But I migrated a domain from another plesk server and I got following error message during the certification process:

Root (sudo) is required to run most of letsencrypt functionality

Is it possible that I need to change some rights before using letsencrypt? I had several problems to import the mailboxes. Perhaps some other rights are missing, too.

Hi @offisy
The message about root is just a warning, it is always displayed.
There are more error messages below - it should shed the light on the root cause of the failure.

Today @letsencrypt will store your certificate and its configuration for later renewal in /etc/letsencrypt it should be accessible by root only for security reasons.

@Natim That is not correct in the context of Plesk plugin.
Special user psaadm has access to the certificates location /usr/local/psa/var/modules/letsencrypt/etc/
The utility should not be executed with root privileges because it makes inoperable from Plesk UI.

The warning "Root (sudo) is required" was removed from letsencrypt.


[v3] Google OAuth (via react-native-oauth) -> Firebase

I need a bit of help with this one. I've implemented react-native-oauth (iOS) for Google auth, and its returning a payload, all is good there.
what I cant work out now is how do i "tie" that into Firebase, so that i can complete things and register/create the user on Firebase ? the response payload from ..-auth0 has 'credentials' and 'access-token' that I can see. can i use that to then authenticate with Firebase (Im using the Firestack lib :-)

Any help is appreciated we're on a bit of a tight deadline with this one

@ajonno You should be able to register with the token: https://github.com/fullstackreact/react-native-firestack#signinwithprovider

i did try that with Facebook and was fine/works.
but Google didnt like the access_token. ill double back to post the error response here shortly

here is the error:

the manager.authorize(..  IS succeeding for Google auth
2 Firestack is throwing the error attached

here is the code block. i suspect im missing a param somewhere?
manager.authorize('google', {scopes: 'profile email'})
         .then(resp =>   {
            console.log('GOOGLE authorize response: ', resp)

            firestack.signInWithProvider('google', resp.response.credentials.access_token, '') // facebook need only access token.
            .then((user)=>{
               console.log('(FIRESTACK) GOOGLE AUTH response:', user)
            })
            .catch(err => console.log(err));

         })
         .catch(err => console.log(err));

+1 same issue for me as well

Found the Solution.
change resp.response.credentials.access_token  to   resp.response.credentials.idToken
https://github.com/fullstackreact/react-native-firestack/issues/130
https://gist.github.com/auser/87e6a25da0b25c465dd0db097b8864ca#file-firebase_google_login-js-L108


”Costești”, ”Chițcani”, ”Dinga” are listed in the drop-down menu

Description:
When user writes ”Costești”, ”Chițcani”, ”Dinga” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Costești"

Expected results
The location appears in the drop-down menu as "Sat Costești, VASLUI (Costești)".


email: Set an envelope-from which may be different from the From: field.

The envelope-from is used by the MTA if the destination address is not
deliverable.  Route all such mail to the noreply address, tokenized if
necessary.

I don't have great ideas for how to end-to-end test this.  My plan is to deploy this toa test prod instance, and point the outgoing SMTP to a socat on localhost.
I'm also not thrilled with replacing all of the .from_email calls with .extra_headers["From"], which seems like someone may be apt to "fix".  Using .extra_headers.get("From", msg.from_email) is my attempt to get aheaad of that, but I'm not thrilled with it.

For the tests, I think we could reasonably add test helper methods in ZulipTestCase like self.email_envelope_from( / self.email_display_from, which can have comments, and then call those?  And then the email_log place can perhaps have a comment referencing those functions?
@hackerkid do you have ideas for testing this?
The other thing I'm not sure about is whether we need to do something special for the error emails Django does automatically to ADMINS.

For the tests, I think we could reasonably add test helper methods in ZulipTestCase like self.email_envelope_from( / self.email_display_from, which can have comments, and then call those?  And then the email_log place can perhaps have a comment referencing those functions?
@hackerkid do you have ideas for testing this?
The other thing I'm not sure about is whether we need to do something special for the error emails Django does automatically to ADMINS.

We can't directly use the forwarding feature in /emails since EmailLogBackEnd creates a new EmailMessage object and send that instead. The EmailMessage is quite diffrent from the original EmailMultiAlternatives.
So we should rely on django.core.mail.backends.smtp.EmailBackend instead. With the following tweaks I was able to make it work using EmailBackend.

Set EMAIL_BACKEND to  django.core.mail.backends.smtp.EmailBackend in dev_settings.py
Configure the values mentioned in https://zulip.readthedocs.io/en/latest/subsystems/email.html#testing-in-a-real-email-client
EMAIL_USE_TLS to True in dev_settings.py

Now change the email of<EMAIL_ADDRESS>to your personal email. Otherwise, the emails would be sent to<EMAIL_ADDRESS>and we can't test it. Now logout and login. This would send a new login email. If you want to test more emails, replace<EMAIL_ADDRESS>with your personal email in email_log.py. And click on generate email option in /emails.
@alexmv I have already set this up so I can test this on your behalf as well. Let me know what I should be checking for in that case.
Long term fix, we should make EmailLogBackEnd not create a EmailMessage object and instead figure out a way to just modify the to address of the EmailMultiAlternatives object.

We can't directly use the forwarding feature in /emails since EmailLogBackEnd creates a new EmailMessage object and send that instead. The EmailMessage is quite diffrent from the original EmailMultiAlternatives.
So we should rely on django.core.mail.backends.smtp.EmailBackend instead. With the following tweaks I was able to make it work using EmailBackend.

Set EMAIL_BACKEND to  django.core.mail.backends.smtp.EmailBackend in dev_settings.py
Configure the values mentioned in https://zulip.readthedocs.io/en/latest/subsystems/email.html#testing-in-a-real-email-client
EMAIL_USE_TLS to True in dev_settings.py

Now change the email of<EMAIL_ADDRESS>to your personal email. Otherwise, the emails would be sent to<EMAIL_ADDRESS>and we can't test it. Now logout and login. This would send a new login email. If you want to test more emails, replace<EMAIL_ADDRESS>with your personal email in email_log.py. And click on generate email option in /emails.
@alexmv I have already set this up so I can test this on your behalf as well. Let me know what I should be checking for in that case.
Long term fix, we should make EmailLogBackEnd not create a EmailMessage object and instead figure out a way to just modify the to address of the EmailMultiAlternatives object.

The other thing I'm not sure about is whether we need to do something special for the error emails Django does automatically to ADMINS.

Emails should have the same envelope-from as From: by default.  What's the From: address on those?  I don't think I have any examples to hand.

The other thing I'm not sure about is whether we need to do something special for the error emails Django does automatically to ADMINS.

Emails should have the same envelope-from as From: by default.  What's the From: address on those?  I don't think I have any examples to hand.

I merged the PR to simplify testing.

I merged the PR to simplify testing.

Thanks for the branch, @hackerkid -- that was useful!  Verified that the envelope-sender address works as expected, and adjusted the tests per your suggestion, @timabbott.

Rebased past the black changes.

Merged, thanks @alexmv!


Error on calling destroy()

Hi,
I get following error message when calling destroy() on a graph using this plugin

Thanks for a great project!

Thank you for reporting this issue. This happens because an internal interval timer is still running even after a chart is destroyed. I will fix it shortly.

I love your chartjs plugin! When do plan to release v1.5.0 with the destroy() fix? It would be great to have.
Thanks!

v1.4.1 with this fix was just released.


What is the best way to have pgTAP integrated?

The pgTAP extension on Debian/Ubuntu is available and maintained by the PostgreSQL Community but there are no Alpine version, yet we do distribute this container in both forms.
What is the best way to have pgTAP integrated directly in the standard extensions? It makes a wonderfull job for testing.

pgTAP is a separate project from PostgreSQL Server; we try to stick as close to upstream releases as possible.  You'll probably need to bring it up with the pgTAP maintainers (or maybe Alpine maintainers) to see if they want to package pgTAP for Alpine Linux. Or you might be able to just build pgTAP from source in an image FROM postgres:9.6-alpine.

I was able to build the image, I am just trying to not having to maintain it myself. Packaging with standard deliveries is much more reliable.

@ylavoie care to give a few pointers, please? :slightly_smiling_face:

Actually looks like I can give them myself. Below there's a Docker image based on postgres:10-alpine with the extension installed and the pg_prove script available to use inside the container.
FROM postgres:10-alpine

ENV PGTAP_VERSION v0.98.0

RUN apk -U add \
    alpine-sdk \
    perl \
    postgresql-dev \
 && git clone https://github.com/theory/pgtap \
 && cd pgtap \
 && git checkout ${PGTAP_VERSION} \
 && make \
 && make install

FROM postgres:10-alpine

COPY --from=0 /usr/local/share/postgresql/extension/pgtap* /usr/local/share/postgresql/extension/

RUN apk -U add \
    perl-module-build \
    perl-pod-coverage \
    perl-utils

RUN echo "yes" | cpan TAP::Parser::SourceHandler::pgTAP; exit 0

Closing given the rationale in https://github.com/docker-library/postgres/issues/306#issuecomment-312738926 (third-party non-core module, not something we're going to maintain as part of this image).


[Feature Request] : ✨ Add a Page Scroll Progress Bar at the Top of Your Startup Webpage

Describe the feature
Explain feature request
Hey @Satyam1923  ,
I have noticed a small issue that I believe could enhance the user experience. Currently, there is no Page Scroll Progress Bar at the Top of Your Startup Webpage , which makes navigation a bit cumbersome, especially when users need to return to the top of a lengthy page.
Though it may seem minor, the absence of this feature can impact the overall usability and performance of the website.
Add ScreenShots

Could you please assign me this issue under gssoc'24 ?
GSSOC'24
@Satyam1923
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Issue #475


[Event Hubs] Optimize partition resolver compute hash

Relates to https://github.com/Azure/azure-sdk-for-net/issues/27030
Benchmark uses the same string of various sizes (see size column in the screenshot) as a partition key.
With SkipLocalsInit

Without SkipLocalsInit

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

@jsquire I think these are great results. I'm sure we could squeeze out more by actually also doing something with the hash algorithm but I felt this might be too complex for now for me to dive into and like you mentioned we would need to be super extra careful not not break anything. With these changes we can get nice gains without really touching the hashing function that much.

SkipLocalsInit is removed. Last oustanding question is whether to ifdef or not.  If not, I'll do that before we merge for confidence that we didn't accidentally change behavior.

I did not yet. Normally, what I would do is write an explicit test that copies the old implementation local into the test and then exercise the new implementation together with the old and verify that for the same input the same output occurs on both sides. If you are OK with that approach, I'm happy to push that.

I did not yet. Normally, what I would do is write an explicit test that copies the old implementation local into the test and then exercise the new implementation together with the old and verify that for the same input the same output occurs on both sides. If you are OK with that approach, I'm happy to push that.

I wasn't even thinking that level of rigor.   I was going to copy the old + new into LinqPad and just run in a giant loop with a few tens of thousands of random inputs.

We ended up with inconsistent results compared to the original implementation.   I traced this back to BitConverter reading with the correct endian-ness  for the host where the new approach is using BinaryPrimitives and assuming big endian reads.
I was able to work around this by aliasing the BinaryPrimitives reads:
private delegate uint ReadUInt32(ReadOnlySpan<byte> bytes);

private static ReadUInt32 ReadUInt32CorrectEndian = BitConverter.IsLittleEndian
    ? BinaryPrimitives.ReadUInt32LittleEndian
    : BinaryPrimitives.ReadUInt32BigEndian;

// ... [SNIP]

while (size > 12)
{
    a += ReadUInt32CorrectEndian(data.Slice(index));
    b += ReadUInt32CorrectEndian(data.Slice(index + 4));
    c += ReadUInt32CorrectEndian(data.Slice(index + 8));

// ... [SNIP]

I did not (yet) have a chance to run another benchmark pass.

Could we use a method that can be inlined that uses something like
BitConverter.IsLittleEndian ? BinaryPrimitives.ReverseEndianness(tempVal) : tempVal

?

I can rerun the perf test later tonight with a proposal

I generated a test bed when I was doing the compat runs, if that helps.     It's in a simple JSON array format.
partition-key-hashes.txt

Hmmm... It does do an endian check.
https://github.com/dotnet/runtime/blob/57bfe474518ab5b7cfe6bf7424a79ce3af9d6657/src/libraries/System.Private.CoreLib/src/System/Buffers/Binary/ReaderBigEndian.cs#L127
I need to have a closer look what's going on there

I'm open to it, sure. I don't think that CLS compliant comes into play unless we're doing something with the public API, no?

Yeah you are right. I haven't had to worry about CLS compliance for a while... Completely forgot that part

I think I will simply bring the span based API that netstandard 2.1 has into the lib. Then we are using the BitConverter approach
https://docs.microsoft.com/en-us/dotnet/api/system.bitconverter.toint32?view=net-6.0

@jsquire I'm starting to wonder if this is not a bug in the original implementation. BitConverter.ToUInt32 does an unaligned read. This means the compute hash will depending on the endianness for the same input return different output. Was that intended? Wouldn't you want for the same partition key input always the same output?

@jsquire I'm starting to wonder if this is not a bug in the original implementation. BitConverter.ToUInt32 does an unaligned read. This means the compute hash will depending on the endianness for the same input return different output. Was that intended?

Hrmm....  I hadn't stopped to question the reference version, but yeah, I can see where you're coming from.

Wouldn't you want for the same partition key input always the same output?

yes, we do.    We also need this to be consistent across languages, which may be a challenge.     Let me verify whether our other SDKs can force that kind of low-level consistency.

The more that I thought about this over the weekend and played around, the more I'm convinced that your observation is spot on - we should assume a consistent endian-ness for the conversion.   I think this means that your original version was right.   I would ask that we assume little endian rather than big, though, since that will be natural to the majority of hosts.
Thoughts?

I would ask that we assume little endian rather than big, though, since that will be natural to the majority of hosts.

Done. Do we need to worry about backward compatibility?

Done. Do we need to worry about backward compatibility?

Thankfully, no.  We're running with a slightly different version than the service currently uses, by request, and we've set expectations that the buffered producer will assign partitions differently than the producer.   Once we GA, we'll need to avoid client-side differences, but we're still in beta.

@jsquire let me know what you think about the recent discussion point I brought up regarding following more the best practices of always stack allocating the max size and how in that scenario having SkipLocalsInit would actually improve things quite a bit.
On another note: Would you be able to run your fancy script against the latest changes?

let me know what you think about the recent discussion point I brought up regarding following more the best practices of always stack allocating the max size and how in that scenario having SkipLocalsInit would actually improve things quite a bit.

  If it's being evaluated by the jitter and would impact newer runtimes for applications using the SDK, I think it's a definite win.

On another note: Would you be able to run your fancy script against the latest changes?

Will do.   I'll do another pass today.

let me know what you think about the recent discussion point I brought up regarding following more the best practices of always stack allocating the max size and how in that scenario having SkipLocalsInit would actually improve things quite a bit.

 If it's being evaluated by the jitter and would impact newer runtimes for applications using the SDK, I think it's a definite win.

It instructs the compiler to not add the locals init. So, the important part is to compile the code that uses it with a roslyn compiler version that supports that. I guess that is given here right?

It instructs the compiler to not add the locals init. So, the important part is to compile the code that uses it with a roslyn compiler version that supports that. I guess that is given here right?

I'll be interesting to see if the net6 SDK compiler does the right thing for a netstandard2.0 target.  We'll always be current with the SDK/compiler versions, it's the targets that will lag behind for compatibility.

On another note: Would you be able to run your fancy script against the latest changes?

Will do. I'll do another pass today.

Test pass is solid.   260,000+ random key variations with different patterns and results are consistent.

/azp run net - eventhub - tests

@danielmarbach:  Looks like we're all wrapped up and ready.   Please let me know if you'd like me to merge or if you're still making tweaks.

Go ahead


fail to add drag and drop feature

Vscode TreeView api provide an interface(TreeDragAndDropController) to allow us hook the drag and drop events of the tree, but when i tried in my local repo, the drop event just don't work.
I am a little confused, and cannot find any document to refer. If anyone have dealt with this problem, please leave a comment here. Thanks in advance.

the comment in vscode.d.ts:

When the items are dropped on another tree item in the same tree, your DataTransferItem objects
will be preserved. Use the recommended mime type for the tree (application/vnd.code.tree.<treeidlowercase>) to add
tree objects in a data transfer. See the documentation for DataTransferItem for how best to take advantage of this.


Null query builder object in NestedTreeRepository::getRootNodesQueryBuilder()

Hello everybody,
First of all thank for your great job in this wonderful bundle!
I'm experiencing an error that I think should be a bug, in NestedTreeRepository::getRootNodesQueryBuilder(). When I call this method I'm getting the following error:

Call to a member function select() on a non-object in .../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity/Repository/NestedTreeRepository.php on line 40

I've been debugging a little bit and I noted that in line 38 the call  to $qb = $this->getQueryBuilder(); returns null.
I'm using the 1.2.1 version of the bundle and I don`t know if I'm doing something bad, I call the function in as follows:
$rootNodes = $this->em->getRepository('RecipesBundle:Type')->getRootNodes();

Thanks beforehand!

I'm sorry, I've realized that this issue should not be in this repository, it should be in the DoctrineExtensions one


Package
lucia
Description
anyone got a working provider for battle.net? https://develop.battle.net/documentation/guides/using-oauth

Unrelated to Lucia. Should be an issue for Arctic


Member of team with limited "Read" only access to issues can create new issues

Description
I created a gitea instance with keycloak authentication for the purpose of centralizing multiple service authentication/authorization under one solution and added the users to groups that are exposed as a custom claim along with their group names in the access token, then created an Org with teams in gitea and mapped the claimed groups to the organization's teams representing full access administrators and read only members.
The read only members should have read only access to the Issues and Wiki as configured on the Team's ACL settings.
The problem is that the read only users can create new issues, hence I suspect that this is a bug.
TL/DR - make an org with a team who's members are ACL restricted to read only, and they can create new issues.
Gitea Version
1.21.8
Can you reproduce the bug on the Gitea demo site?
No
Log Gist

not relevant/required -

Screenshots

screenshot provided for context but it's not really required. the description is self explanatory

Git Version
No response
Operating System
Debian 12
How are you running Gitea?
Custom tailored docker stack including it's postgres database, auth(keycloak) and reverse proxy(caddy), but this detail is not relevant for this bug.
Database
PostgreSQL

It's not a bug, it's by design which will keep consistent with Github's implementations.


Query result error

Steps to reproduce the behavior (Required)

DROP DATABASE IF EXISTS g1;
CREATE DATABASE g1;
USE g1;
admin set frontend config ("enable_decimal_v3" = "true");
CREATE TABLE t0 (c_0_0 INT NULL ) AGGREGATE KEY (c_0_0) DISTRIBUTED BY HASH (c_0_0) properties("replication_num"="3") ;
CREATE TABLE t1 (c_1_0 VARCHAR(1) NULL ) DUPLICATE KEY (c_1_0) DISTRIBUTED BY HASH (c_1_0) properties("replication_num"="3") ;
INSERT INTO t1 VALUES ("");
INSERT INTO t0 VALUES (31), (13);
INSERT INTO t1 VALUES ("");
INSERT INTO t1 VALUES ("");
INSERT INTO t0 VALUES (0);
INSERT INTO t1 VALUES ("");
INSERT INTO t0 VALUES (NULL);
INSERT INTO t0 VALUES (29), (1);
INSERT INTO t1 VALUES (""), ("");
INSERT INTO t0 VALUES (NULL), (0);
INSERT INTO t0 VALUES (23), (NULL);
INSERT INTO t1 VALUES ("");
INSERT INTO t1 VALUES ("");
INSERT INTO t0 VALUES (13);
INSERT INTO t1 VALUES (""), ("");
INSERT INTO t0 VALUES (7), (28), (6);
INSERT INTO t0 VALUES (28), (7);
INSERT INTO t1 VALUES ("");
INSERT INTO t1 VALUES (NULL), ("");
-- SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 GROUP BY t1.c_1_0, t0.c_0_0;
-- cardinality: 20
-- SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 WHERE (NOT ( ( ((-867876309)%(CASE  WHEN NULLIF(NULL, true)  THEN<PHONE_NUMBER>  WHEN (t1.c_1_0) IN ("", "")  THEN CEIL(0.13558264183292013)   WHEN  ( "" ) != ( "" )  THEN ((-379824383)/(-1542718213)) END)) ) = ( t0.c_0_0 ) )) GROUP BY t1.c_1_0, t0.c_0_0 UNION SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 WHERE (NOT ((NOT ( ( ((-867876309)%(CASE  WHEN NULLIF(NULL, true)  THEN<PHONE_NUMBER>  WHEN (t1.c_1_0) IN ("", "")  THEN CEIL(0.13558264183292013)   WHEN  ( "" ) != ( "" )  THEN ((-379824383)/(-1542718213)) END)) ) = ( t0.c_0_0 ) )))) GROUP BY t1.c_1_0, t0.c_0_0 UNION SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 WHERE (((NOT ( ( ((-867876309)%(CASE  WHEN NULLIF(NULL, true)  THEN<PHONE_NUMBER>  WHEN (t1.c_1_0) IN ("", "")  THEN CEIL(0.13558264183292013)   WHEN  ( "" ) != ( "" )  THEN ((-379824383)/(-1542718213)) END)) ) = ( t0.c_0_0 ) ))) IS NULL) GROUP BY t1.c_1_0, t0.c_0_0;
-- cardinality: 19

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
branch-2.1 Release
mysql> select current_version();
+-----------------------------+
| current_version()           |
+-----------------------------+
| SQLANCER_01_RELEASE 5bfc8b3 |
+-----------------------------+

Other sort bugs:
mysql> SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 WHERE (NOT ( ( ((-867876309)%(CASE WHEN NULLIF(NULL, true) THEN<PHONE_NUMBER> WHEN (t1.c_1_0) IN ("", "") THEN CEIL(0.13558264183292013) WHEN ( "" ) != ( "" ) THEN ((-379824383)/(-1542718213)) END)) ) = ( t0.c_0_0 ) )) GROUP BY t1.c_1_0, t0.c_0_0 UNION SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 WHERE (NOT ((NOT ( ( ((-867876309)%(CASE WHEN NULLIF(NULL, true) THEN<PHONE_NUMBER> WHEN (t1.c_1_0) IN ("", "") THEN CEIL(0.13558264183292013) WHEN ( "" ) != ( "" ) THEN ((-379824383)/(-1542718213)) END)) ) = ( t0.c_0_0 ) )))) GROUP BY t1.c_1_0, t0.c_0_0 UNION SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 WHERE (((NOT ( ( ((-867876309)%(CASE WHEN NULLIF(NULL, true) THEN<PHONE_NUMBER> WHEN (t1.c_1_0) IN ("", "") THEN CEIL(0.13558264183292013)
    -> WHEN ( "" ) != ( "" ) THEN ((-379824383)/(-1542718213)) END)) ) = ( t0.c_0_0 ) ))) IS NULL) GROUP BY t1.c_1_0, t0.c_0_0 order by t1.c_1_0, t0.c_0_0;
+-------+-------+
| c_1_0 | c_0_0 |
+-------+-------+
| NULL  |     1 |
|       |    13 |
|       |  NULL |
|       |    31 |
| NULL  |    29 |
| NULL  |     7 |
|       |    29 |
|       |    28 |
| NULL  |     6 |
| NULL  |    28 |
|       |     6 |
| NULL  |    31 |
|       |     7 |
|       |    23 |
| NULL  |  NULL |
| NULL  |    23 |
|       |     1 |
| NULL  |    13 |
| NULL  |     0 |
+-------+-------+
19 rows in set (0.03 sec)

SQL lose result |. , 0|
SELECT t1.c_1_0, t0.c_0_0 FROM t0, t1 WHERE (NOT ( ( ((-867876309)%(CASE WHEN NULLIF(NULL, true) THEN<PHONE_NUMBER> WHEN (t1.c_1_0) IN ("", "") THEN CEIL(0.13558264183292013) WHEN ( "" ) != ( "" ) THEN ((-379824383)/(-1542718213)) END)) ) = ( t0.c_0_0 ) )) GROUP BY t1.c_1_0, t0.c_0_0

The bug can be produce on master


Screen space reflections behaving strangely when used with an orthographic Camera

Currently using a Windows build of Godot 3.0 from a few days ago.
Issue description:
When using an orthographic camera in combination with screen space reflections, the reflections act differently to what can be expected when using the editor in orthographic mode. Using a simple scene with a plane and a cube with reflective materials:

Perspective mode on the other hand, looks exactly the same in editor vs the camera.
Steps to reproduce:
Create any scene with reflective materials.
Add a camera and set it to orthographic mode
view scene in editor (in orthographic mode), compare it to camera preview or build.
Not sure if this is an actual issue, or something simple that I'm missing. If it is the latter then I apologize.

I fixed this recently, tested again and it seems to be working fine.


Add version and setup meta information

Another convinient way to configure logging is also to maintain a logging.yaml which can be read in by the library, e.g. in __init__.py. That way users can define themselves which e.g. logging level or format they want.
Also it allows us to specify logging levels of depent libraries e.g. tensorflow
https://realpython.com/lessons/logger-dictionary/
To then e.g. specify logging behaviour of tensorflow you can just append to the mentioned file in the tutorial
  loggers:
    tensorflow:
      level: WARN
      handlers: [console]

BTW: I also found some more occurences of print() in these files
carla/recourse_methods/catalog/crud/library/crud.py
carla/recourse_methods/catalog/cchvae/model.py
carla/recourse_methods/catalog/clue/library/clue_ml/src/utils.py
carla/recourse_methods/catalog/clue/library/clue_ml/AE_models/AE/fc_gauss_cat.py
carla/recourse_methods/catalog/clue/library/clue_ml/AE_models/AE/train.py
carla/models/negative_instances/predict.py
carla/visualisation/output.py
experiments/run_experiment.py
Implementation example.ipynb

in our notebook and experimentation we can go ahead with good example and also use logger :)
Sidenote: The noteboook would be good to have in a notebooks folder and a filename without space

BTW: I also found some more occurences of print() in these files
carla/recourse_methods/catalog/crud/library/crud.py
carla/recourse_methods/catalog/cchvae/model.py
carla/recourse_methods/catalog/clue/library/clue_ml/src/utils.py
carla/recourse_methods/catalog/clue/library/clue_ml/AE_models/AE/fc_gauss_cat.py
carla/recourse_methods/catalog/clue/library/clue_ml/AE_models/AE/train.py
carla/models/negative_instances/predict.py
carla/visualisation/output.py
experiments/run_experiment.py
Implementation example.ipynb

in our notebook and experimentation we can go ahead with good example and also use logger :)
Sidenote: The noteboook would be good to have in a notebooks folder and a filename without space

Looks like my project search wasn't really reliable 😆 I'll have another look into print-statements.
Hmm then we would need a different logger for our notebooks and experiment, since those are not inside our package, right?

Hmm then we would need a different logger for our notebooks and experiment, since those are not inside our package, right?

No not really. We can also just instantiate a logger like this and use out of the box if i am not mistaken
import logging

log = logging.getLogger(__name__)

...
log.info("Helloworld)

The other alternative is that you import the logger from the package
from carla import log

Another convinient way to configure logging is also to maintain a logging.yaml which can be read in by the library, e.g. in __init__.py. That way users can define themselves which e.g. logging level or format they want.
Also it allows us to specify logging levels of depent libraries e.g. tensorflow
https://realpython.com/lessons/logger-dictionary/
To then e.g. specify logging behaviour of tensorflow you can just append to the mentioned file in the tutorial
  loggers:
    tensorflow:
      level: WARN
      handlers: [console]

Sounds great! Implemented it 👍

Hmm then we would need a different logger for our notebooks and experiment, since those are not inside our package, right?

No not really. We can also just instantiate a logger like this and use out of the box if i am not mistaken
import logging

log = logging.getLogger(__name__)

...
log.info("Helloworld)

The other alternative is that you import the logger from the package
from carla import log

Right, it worked 😅 Maybe I should have tried it first before commenting 😄


Practice making and testing a simple circuit using Halo 2

Write an arithmetic circuit in Rust using Halo 2 and test it out from soup to nuts to see what that process looks like.

Done.


toast.js not found after installation and build (OSX)

Hi :)
I want to use your awesome framework, but I am having some issues after installing and configuring everything. Perhaps, I am doing something wrong or perhaps there is an issue when i run browser emulator on my MacBook ?

I followed the docs and i also used the compile command https://github.com/Samsung/cordova-plugin-toast/wiki/Prepare-to-start#compile
Any ideas ? The project structure is correct ?
cordova.js is loaded perfectly, i am only having trouble with toast.js.
Thanks in advace!
Looking forward to use your library :)

Hi, I tried again to install the app by executing the .sh in OSX.
The installation was good but when i was trying to grunt compile i was getting errors that a node package was missing. First it was the 'inquirer' then several others like 'xml2js', 'js2xmlparser', 'mustache', 'zip-dir'.
After installing all these npm packages manually foreach folder, when i tried to grunt compile finally i was asked about the name of the application, resolution and other details.
After I finished submitting all the details i run cordova emulate browser and still toast.js is giving me 404.
Any ideas ?

I have similar issues with npm modules such as xml2js and then mustache etc.
Can the contributors please give a reply on this issue as several people has this issue across many issues on github.
@prozanne @heonie @sukyunglee @darangkim @pwsses

Hello everyone!
I just begun to develop a project for smart TVs using TOAST. And yes, at the begin I ran into several issues related to dependency installs. What solved my problems was to upgrade the dependencies. I ran $ npm audit to check what dependencies need to be upgraded and then i just upgrade them. After that i was able to build and emulate my app through $ sudo cordova build browser and $sudo cordova emulate browser. I hope this can help someone else.

@HelaGone what do you mean by npm audit, there is no such command in npm.

@dyanakiev mmm of course there is. Here:
https://docs.npmjs.com/getting-started/running-a-security-audit
https://docs.npmjs.com/cli/audit


Replace daemon-reload notify with command

@froesef updated

Now ansible-lint is failing :-(.
You can add the following tag to the action in order to ignore it:
tags:
- skip_ansible_lint

You can add the following tag to the action in order to ignore it:
tags:

skip_ansible_lint

And maybe a comment saying that this cannot be relayed to the handlers because the service is needed before the end of the plays!

LGTM/approved after:

skip ansible_lint  (see @vincepii comment)
changed_when  is fixed (or I am proven wrong)

THere's a better fix... stand by.

The service module in Ansible 2.2 supports this:
  - service: name=upower state=started daemon_reload={{ omit if ansible_service_mgr!="systemd" else "yes" }}

The parameter is omitted when systemd is not available.  So this works.
Now we can return to the proper handler use.
Enjoy!

The service module in Ansible 2.2 supports this:

Nice @Rudd-O .. for beeing persistent!
I saw also an open-source PR where somebody used the attribute, on the (old) service module .. but gave up on it, after it was not documented in : https://docs.ansible.com/ansible/service_module.html
( so I thought it was only supported by the new/v2.2 systemd module ! )

@lhoss @Rudd-O I am stuck at ansible 2.1. should I introduce the daemon_reload w/ omit change?

@froesef @vincepii is skip_ansible_lint preferable to dropping the conditional from the template change?

I am stuck at ansible 2.1.
any (major) reason you can't update?

Would be nice to use @Rudd-O 's  fix .. it's just that if we still want to support ansible <v2.2 , we still have to keep the extra reload task  (ok, at some point we can def. remove pre v2.2 support, and then it looks nice)

@froesef @vincepii is skip_ansible_lint preferable to dropping the conditional from the template change?

+1 from my side

@lhoss you will see random bits of roles failing when you deploy m1 prod. Example: bugi.users
2.2 is enforcing on unquoted references, but terrible with error messages from such

2.2 is enforcing on unquoted references, but terrible with error messages from such

that's what I initally thought (why the role might fail .. but the errors we got  were indeed misleading)
Anyway @vincepii , I'ld say another TODO (urgent) Story for coming sprint, make our (required)roles (like this bugi) compatible with ansible v2.2 .. CC @Rudd-O

@lhoss @froesef @Rudd-O review updates

@lhoss @vincepii absolutely forgot about this PR! piggy backing the skip cert checking into this one (needed to change sg download url to https (to work around crazy m1 firewall rules, and apache.org's broken cert file))

merge without travis?

@fissurezone
about the broken travis/molecule tests, probably due to newer molecule getting fetched
( I'ld try with hardcoding to older v1.19, till we have time to make it work with latest version)

@lhoss can you make that change? and then merge this

@fissurezone travis fixed :)

thanks @lhoss :) 🥇


alphabetize imports?

Right now each of the atoms/organisms/utilities is imported in either random order (within their layer), or in a specific order intended to allow overriding of earlier styles. Can we alphabetise some or all of it, so it’s more ordered? How can we handle the instances where order is important?

Where order is important, maybe we should encapsulate that order explicitly, by collecting those classes in one file.
For example, the display: grid/flex/etc classes could be merged into a display file, which includes .u-hidden at the end (for each breakpoint). This removes the need to include the hidden file before the grid/block/etc files, and allows correct usage of the breakpoints.
Need to check for other instances of order-dependence within each layer.


tools: dump.py option add

for usage

python ./dump.py deviceState -c 5 -o dump.log

Dump communication sockets: deviceState

( logMonoTime =<PHONE_NUMBER>1494,
deviceState = (
cpu0DEPRECATED = 0,
cpu1DEPRECATED = 0,
cpu2DEPRECATED = 0,
cpu3DEPRECATED = 0,
memDEPRECATED = 0,
gpuDEPRECATED = 0,
batDEPRECATED = 0,
freeSpacePercent = 18.380749,
batteryPercentDEPRECATED = 0,
fanSpeedPercentDesired = 0,
started = false,
usbOnlineDEPRECATED = false,
startedMonoTime = 0,
thermalStatus = green,
batteryCurrentDEPRECATED = 0,
batteryVoltageDEPRECATED = 0,
chargingErrorDEPRECATED = false,
chargingDisabledDEPRECATED = false,
memoryUsagePercent = 9,
cpuUsagePercentDEPRECATED = 0,
pa0DEPRECATED = 0,
networkType = wifi,
offroadPowerUsageUwh = 0,
networkStrength = unknown,
carBatteryCapacityUwh = 3000000,
cpuTempC = [0],
gpuTempC = [0],
memoryTempC = 0,
batteryTempCDEPRECATED = 0,
ambientTempCDEPRECATED = 0,
lastAthenaPingTime = 0,
gpuUsagePercent = 0,
cpuUsagePercent = [0, 1, 16, 3],
nvmeTempC = [],
modemTempC = [],
screenBrightnessPercent = 0,
pmicTempC = [0],
powerDrawW = 0,
networkMetered = false,
somPowerDrawW = 0,
networkStats = (wwanTx = -1, wwanRx = -1),
maxTempC = 0,
deviceType = pc ),
valid = true )

Dump Count: 1

( logMonoTime =<PHONE_NUMBER>8057,
deviceState = (
cpu0DEPRECATED = 0,
cpu1DEPRECATED = 0,
cpu2DEPRECATED = 0,
cpu3DEPRECATED = 0,
memDEPRECATED = 0,
gpuDEPRECATED = 0,
batDEPRECATED = 0,
freeSpacePercent = 18.380749,
batteryPercentDEPRECATED = 0,
fanSpeedPercentDesired = 0,
started = false,
usbOnlineDEPRECATED = false,
startedMonoTime = 0,
thermalStatus = green,
batteryCurrentDEPRECATED = 0,
batteryVoltageDEPRECATED = 0,
chargingErrorDEPRECATED = false,
chargingDisabledDEPRECATED = false,
memoryUsagePercent = 9,
cpuUsagePercentDEPRECATED = 0,
pa0DEPRECATED = 0,
networkType = wifi,
offroadPowerUsageUwh = 0,
networkStrength = unknown,
carBatteryCapacityUwh = 3000000,
cpuTempC = [0],
gpuTempC = [0],
memoryTempC = 0,
batteryTempCDEPRECATED = 0,
ambientTempCDEPRECATED = 0,
lastAthenaPingTime = 0,
gpuUsagePercent = 0,
cpuUsagePercent = [1, 0, 0, 1],
nvmeTempC = [],
modemTempC = [],
screenBrightnessPercent = 0,
pmicTempC = [0],
powerDrawW = 0,
networkMetered = false,
somPowerDrawW = 0,
networkStats = (wwanTx = -1, wwanRx = -1),
maxTempC = 0,
deviceType = pc ),
valid = true )

Dump Count: 2

( logMonoTime =<PHONE_NUMBER>2566,
deviceState = (
cpu0DEPRECATED = 0,
cpu1DEPRECATED = 0,
cpu2DEPRECATED = 0,
cpu3DEPRECATED = 0,
memDEPRECATED = 0,
gpuDEPRECATED = 0,
batDEPRECATED = 0,
freeSpacePercent = 18.380749,
batteryPercentDEPRECATED = 0,
fanSpeedPercentDesired = 0,
started = false,
usbOnlineDEPRECATED = false,
startedMonoTime = 0,
thermalStatus = green,
batteryCurrentDEPRECATED = 0,
batteryVoltageDEPRECATED = 0,
chargingErrorDEPRECATED = false,
chargingDisabledDEPRECATED = false,
memoryUsagePercent = 9,
cpuUsagePercentDEPRECATED = 0,
pa0DEPRECATED = 0,
networkType = wifi,
offroadPowerUsageUwh = 0,
networkStrength = unknown,
carBatteryCapacityUwh = 3000000,
cpuTempC = [0],
gpuTempC = [0],
memoryTempC = 0,
batteryTempCDEPRECATED = 0,
ambientTempCDEPRECATED = 0,
lastAthenaPingTime = 0,
gpuUsagePercent = 0,
cpuUsagePercent = [3, 0, 0, 0],
nvmeTempC = [],
modemTempC = [],
screenBrightnessPercent = 0,
pmicTempC = [0],
powerDrawW = 0,
networkMetered = false,
somPowerDrawW = 0,
networkStats = (wwanTx = -1, wwanRx = -1),
maxTempC = 0,
deviceType = pc ),
valid = true )

Dump Count: 3

You should make sure not to accidentally convert spaces to tabs, preventing a readable diff. Going to close though since I don't think some of these options are too helpful. You can just mock the print function to achieve your functionality


19906 Updated breadcrumbs

Issue #: bcgov/entity#19906
Description of changes:

app version = 5.9.8
updated My Business Registry breadcrumb
updated Staff dashboard breadcrumb

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-create-dev--pr-664-8atijop5.web.app


Formatting of error when importing the same wallet twice could be better

It's one long sentence, one for the btc wallet and one for the strat wallet. I'd like to see that in two alineas

@dev0tion is there any way for the UI to just show 1 message here?
I guess we'd have to create error message numbers or something similar.

Yeah it's possible, @nopara73 added this functionality, otherwise either the Stratis or the Bitcoin error messages don't get displayed.

I only see a line feed problem with this message, nothing else.
@bokobza In this instance both the Stratis and the Bitcoin node throw you an error. You must tell the user to remove both files otherwise it won't get fixed.

yes indeed @nopara73 . I wanted to find a way for @dev0tion to know what this error is about and show only one error for both coins. Something a bit better formatted.
I guess this can be made much better just with a bit of UI formatting magic.


fix: manage Plugin in license directive

Issue
https://github.com/gravitee-io/issues/issues/XXXXX
Description
A small description of what you did in that PR.
Additional context

🧪  Gravitee.io Automatic Prerelease @gravitee/ui-policy-studio-angular
npm install<EMAIL_ADDRESS>
yarn add<EMAIL_ADDRESS>

🧪  Gravitee.io Automatic Prerelease @gravitee/ui-particles-angular
npm install<EMAIL_ADDRESS>
yarn add<EMAIL_ADDRESS>

📚  View the storybook of this branch here

We can add the improvement to isExpired$ here too

No I'm really agree, it's an improvement,

🤞

:tada: This PR is included in version 9.6.1 :tada:
The release is available on:

npm package (@release-9.x dist-tag)
npm package (@release-9.x dist-tag)
npm package (@release-9.x dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rename ceph-salt deploy to ceph-salt apply

Fixes: https://github.com/ceph/ceph-salt/issues/154
Signed-off-by: Ricardo Marques<EMAIL_ADDRESS>

@smithfarm fixed typos, thanks.

@ricardoasmarques We'll need to coordinate ceph-salt and sesdev releases for this change.


Playlist numbering control?

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

Is it possible to set the number of digits for playlist downloads?
For example a 112 video playlist on Udemy. You start the download and the videos are named 001, 002 and so on because youtube-dl detects that 112 is 3 digits. Resume after you've downloaded the first 12 videos and now the remained will be (for example) 13 to 112 which is 99 videos (2 digits) and they will now be numbered without the leading 0's.
Example of original download:
072. Powers of negative bases
Example of resumed download:
72. Powers of negative bases
Hopefully I've just overlooked some option.
Thank you for this wonderful program!

https://github.com/ytdl-org/youtube-dl#output-template

Sorry, I totally forgot to mention that I was using an output template.
youtube-dl -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/course_name/

playlist_index (numeric): Index of the video in the playlist padded with leading zeros according to the total length of the playlist
This does not appear to function as described. ie "padded with leading zeros according to the TOTAL length of the playlist". Instead it is padded with leading zeros according to the REMAINING length of the playlist when --playlist-start is used.

Again: read the documentation on output template.

The special sequences may be formatted according to python string formatting operations.


Flaky CI

https://dev.azure.com/ms/vscode-python/_build/results?buildId=36575
https://dev.azure.com/ms/vscode-python/_build/results?buildId=36548

Flaky CI not much we can do about it (for some reason connectivity with the CI Server gets lost).
The last CI pipeline build was successful, i.e. CI passed successfully.
Downgrading from P0 as there's no breakage in CI.
Personally I'd close this as @brettcannon 	is tracking these flaky CI failures.

He asked me to open it and mark it as a P0, as we were trying to get a build to pass in order to release an insiders build.

The issue is with azure pipelines, i.e. an upstream issue.

@DonJayamanne Do we have an issue track these type of failures in azure pipelines? If we have, we can close this.

@brettcannon is keeping a register of CI failures, so we could get back to them how often CI fails and the amount of grief it causes us


Allow update stack with --prune

Description
Currently if I update the stack, the old services that are no longer in the compose file are still running, that's anti-intuitive.
I found that there is a --prune option for stack deploy which may solve this problem. I don't expect this to be the default behavior, but it should be at least an option.
https://docs.docker.com/engine/reference/commandline/stack_deploy
Technical details:

Portainer version: 1.15.0

I think it should be default behaviour, because otherwise it is not expected that orphan services will be still running. Anyway, option should be :)

I vote for option and not default
The default behavior should be discussed in docker/cli repo

I agree with @WTFKr0
We should use the default behavior of the CLI. A simple switch close to the deployment action to choose to use the prune option or not should be added.


Patch 446 mentioned twice in version.c

version.c includes patch 446 twice, which makes :version display
Included patches: 1-446, 446-454

On Mon, Mar 13, 2017 at 2:45 PM, Marius Gedminas
<EMAIL_ADDRESS>wrote:

version.c includes patch 446 twice, which makes :version display
Included patches: 1-446, 446-454

I confirm the problem. AFAICT, there is only one patch 446, however,
so the attached patch ought to fix it.
HG changeset patch
Parent  1cb437e354391b01fd4b65b95bea6f5353d3b428
diff --git a/src/version.c b/src/version.c
--- a/src/version.c
+++ b/src/version.c
@@ -778,18 +778,16 @@ static int included_patches[] =
449,
//
448,
//
447,
//
446,
//

446,
-//
445,
//
444,
//
443,
//
442,
/**/


Changed Albu return mask type to expexted

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Pawel Faron seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi
@PawelFaron
We are grateful for your efforts in helping improve this open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/UjgXkPWNqA
If you have a WeChat account，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


ACS Bulk workflow is not processing and very slow(1 asset per 2min).

Required Information

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.3 SP2
[ ] ACS AEM Commons Version: 3.17
[ ] Reproducible on Latest? yes

Expected Behavior
__
Actual Behavior
ACS bulk workflow is not processing "DAM Update Asset". It shows completed in the page but not processed all the assets
Steps to Reproduce
Starting from a vanilla instance of AEM at the above version, describe in explicit steps how to reproduce. Link to
any supporting assets, e.g. content packages, below
Links
Links to related assets, e.g. content packages containing test components

What runner are you using and what are the config params? And what wf?

AEM Workflow,
Batch Size | 200
Batch Interval | 200 seconds
Workflow Model | /etc/workflow/models/dam/update_asset
Processing 150 assets per hour.

What's the CPU usage?
What's the mem usage?
Is DAM Update Asset WF marked as transient?
Have you made any changes to the WF?
Is there a  reason why you're not using Synthetic?
Have you tried dropping the batch size to something like 10 and checking every 10 seconds?
How long is an actual WF taking to complete (if you look at the logs?)
Try setting DEBUG on com.adobe.acs.commons.workflow.bulk and see if theres anything interesting...


Added two new titles to the Mathematics category.

Added:
Basic Algebra, Digital Second Edition (Anthony W. Knapp)
Advanced Algebra, Digital Second Edition (Anthony W. Knapp)

Thanks!
http://www.math.stonybrook.edu/~aknapp/download.html


Construct address from ErgoTree: support p2pk addresses

Address.fromErgotree() did only work for p2s addresses correctly. This changes it to support p2pk addresses as well.

Looks good.


Purge directory suddently appearing

Hi,
I am currently investigating on this issue: After performing a yum update on my RHEL 7 servers, effectively going from 7.6 to 7.7, this puppet module started purging the /etc/rsyslog.d/ directory. The consequence is that it deletes the listen.conf file, that is provided by the systemd package. I have no idea of how this purge began and I doubt this module.
Sep 19 21:34:11 server1 puppet-agent[3154]: (/Stage[main]/Rsyslog::Config/File[/etc/rsyslog.d/listen.conf]/ensure) removed
If someone has ideas or hints, feel free to comment. I'll let you know if I find something.

Nevermind, it was my config, I just didn't know.


How can I get the error feedback backpropagated to a feature map?

I am able to see the gradient values of network weights but is there any other way to obtain the error feedback projected to feature maps?  For instance if the feature map has size NxCxHxW I like to see the same size gradient feedback propagated to that layer.

bind it's gradient with args_grad

if I am correct  args_grad provides only weight gradients not the ones on the feature maps. I already did this by following adversary example.

To get grad of intermediate nodes was not possible in the currently interface because such request is not yet passed in. mainly because some of them are optimized out. There is one hack that we can do to get the gradient, which is by adding another variable to the requested feature map.
fmap = mx.Convolution(data, num_hidden=10, ..)
dummy = mx.Variable('fmap1')
fmap = fmap + fmap1

Then we can pass 0 into dummy in forward and get gradient wrt that feature map in backward

@tqchen I think you can group the intermediate node with output and then bind

@piiswrong could you give a small example for visualizing

Tagging with HowTo and closing for now.


Console warning when dialog is placed incorrectly

Can we fire a warning in the console if we detect the dialog is a child of an absolute or relative positioned element? Many developers get caught off-guard by this, at least within those using it for MDL. If the polyfill itself could detect and warn about this case directly then all developers would get feedback on this error and understand clearly why their code isn't working right.

Done in #131, as well as trying to allow the dialog to work anyway (we'll no longer put the overlay on top of the dialog).

Ah nice. Thanks @samthor! I had completely forgotten to checkup on this.

btw, I'll push a new release soon which has this. So don't get too excited.

I'm good. Just didn't want to leave the issue open since the patch has landed in master. :wink:


Jbaker/update to latest peer depencies

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #49
Summary:
This updates the API usage of the newly released menu and dropdown components.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Beacon : start credentialOffer with Beacon

We use the RAW signing type with a message that includes the QRcode URL  :
dApp code is :
const signature = await client.requestSignPayload({
signingType: beacon.SigningType.RAW,
payload: 'Get your Tezotopia voucher ! #https://talao.co/sandbox/op/beacon/kmjdgmvtpu?issuer=did:tz:tz1NyjrTUNxDpPaqNZ84ipGELAcTWYg6s5Du'
})
The QRcode URL starts after the fragment (#)
There are 3 examples for testing on https://talao.co/sandbox/saas4ssi/dapp which are the 3 green buttons

add possibility to accept MICHELINE and OPERATION signing type

Size: S

it crashed app on IOS

same issue with build 86 ios 1.3.3
none of the green button works on https://talao.co/sandbox/saas4ssi/dapp


Enable OPA policy 'print' functionality

Printing in the rego may provide some additional debugging.
https://github.com/open-policy-agent/opa/blob/main/rego/example_test.go#L1043

Closing as the output field for the opa providers enables the outcomes required.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/938 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit c143e9d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-07-07-01-25-27 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Nicknames?

https://github.com/PrismarineJS/prismarine-viewer/blob/6d527e3d6d6646acfa6c79fc7fa9e2afadb98cf8/viewer/lib/entities.js#L11
what entity is it ?

Player

You are using an outdated version, please update.


Forces selection of first result

Hi @m-wrzr Is there a way we can default to not select any of the results from the list and just submit the raw string submitted on the search?
Like in google I can select from the list or just enter and search using the raw sting. If you can point me on how to modify the default behavior. I can help submit a change.
Example:

In the above screenshot I just want to submit "Hi" but the list item 1 is automatically selected although I didn't explicitly select it.
In google, the first suggestion is actually just what I typed, and nothing more.

Is there a way to emulate this behavior? I would need to add the typed string to the list of suggestions and then default to the typed string for the selection.

@m-wrzr Could you review and let me know if this is acceptable?

Found that this can be addressed by returns the search term as part of the search function. Also, for it to appear at the start we need to add the searchterm at the start of the list that is returned as part of the search function.

Explanation is here.


Lots of debug symbols are being loaded at every application start

Working on VS 17.7.0 Preview 1 (same applies to all previous versions).
Python is the default one (3.9.13), shipped with Visual Studio distro. Appears that it doesn't ship debug symbols, unlike a vanilla Python installed from official Python distro.
We have a C++ project which uses Python code via pybind11. In a pretty regular way, so I am not sharing the code.
When we start the project in this configuration for debugging using "Python/Native Debugging", lots of messages like
Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\Lib\site-packages\pandas\_libs\parsers.cp39-win_amd64.pyd'. Module was built without symbols.

start to flow in to Output window. It can take a minute before the app is actually started, every time. Varying options in "Tools → Options → Debugging → Symbols", especially for caching settings, doesn't help.
Is there any way to address it? Debugging experience is terrible because of this time waste at every start.

We have exactly the same issue in our group. It is very annoying and actually mixed-mode debugging with C++ and Python is unusable for us at the moment.

Any update on this?


Implement mj-font

This patch implements mj-font.
Code Reusability
getTemplateFromMjml is identical to the one from mj-style as they both read the data from <head> instead of <body>.
I'm not sure if these 2 components justify abstracting away some code to ensure code reuse but if we intend to implement more <head> components, we should consider code reuse.
Maybe instead of coreMjmlView, coreMjmlModel,
we can export coreMjmlBodyView, coreMjmlBodyModel and coreMjmlHeadView, coreMjmlHeadModel
Or maybe in the coreMjmlView we can have getTemplateFromMjmlBody and getTemplateFromMjmlHead, and have
getTemplateFromMjml rely on getTemplateFromMjmlBody by default, and components like mj-font and mj-style can override them and use getTemplateFromMjmlHead

I also added mj-wrapper and mj-group to the same merge request.

Amazing PR @emilsedgh thank you very much

Maybe instead of coreMjmlView, coreMjmlModel,
we can export coreMjmlBodyView, coreMjmlBodyModel and coreMjmlHeadView, coreMjmlHeadModel
Or maybe in the coreMjmlView we can have getTemplateFromMjmlBody and getTemplateFromMjmlHead, and have
getTemplateFromMjml rely on getTemplateFromMjmlBody by default, and components like mj-font and mj-style can override them and use getTemplateFromMjmlHead

From my point of view, it is quite the same. The one important thing to keep in mind is being DRY and both solutions seem to solve the issue.
IMHO the first approach (coreMjmlBodyView/coreMjmlHeadView) is more elegant and probably scalable, but the second seems easier to adopt, so.. IDK 😆
BTW I really like what I see so far so I'm gonna merge it, see if you want to refactor later... probably I'll try (hope) to push the new release tomorrow

Thank you!


Update for OpenACC 3.0?

Last update was done before the released of OpenACC 3.0. Is there an update coming to check newest implementation?

Right now, I'm in the middle of a major update to the structure of the test suite, along with some other fixes and new tests. I think that should be rolling out early next year, and once that is released, I'll be focusing on updating the tests to have better coverage of both 2.7 and 3.0.

Right now, I'm in the middle of a major update to the structure of the test suite, along with some other fixes and new tests. I think that should be rolling out early next year, and once that is released, I'll be focusing on updating the tests to have better coverage of both 2.7 and 3.0.

Hi Kyle,
any news on that?

3.1 is coming soon so it would be nice to have some news on this.

Hi,
Our team is constantly updating. We will start using the GitHub milestones to track our progress of compliance to the spec. You can also visit our website for more information.
If there is anything else I can assist with, please let me know and I will be happy to help.


Encryption for user passwords

Currently, passwords are stored directly in the database as strings, which poses a security risk. Instead, a hash should be computed using the password string and a salt value.
Priority: High
Status: To-Do
Timeline: Due by beta release (November 14)

Encryption handled in server/src/controllers/auth.ts


Bugsnag fails to identify jailbroken device

Describe the bug
Device jailbroken with Checkra1n or Unc0ver is not marked as jailbroken by Bugsnag.
Steps to reproduce

Jailbreak the device with one of the above mentioned jailbreaks.
Use Bugsnag to send an event.
Inspect the Event > Device > jailbroken property.
Observe the property being false.

Expected outcome: the jailbroken property should be set to true.
Environment

Bugsnag version: 6.2.4
CocoaPods version: 1.10.0
Simulator or physical device: iPhone SE iOS 14.0.1 (Checkra1n), iPad Air 1 iOS 12.4.6 (Unc0ver)
Xcode version: 12.2 (12B45b)

Additional details
Bugsnag uses the MobileSubstrate image string to determine whether a device is jailbroken.
With the above mentioned jailbreaks the MobileSubstrate image might not necessarily be there. See the list of loaded images:
Checkra1n_iPhoneSE1_iOS14.0.1_loaded_images.txt
Unc0ver_iPad1_iOS12.4.6_loaded_images.txt
It seems the MobileSubstrate image is loaded depending on the tweak used, e.g. Kill Switch 2 would load it and then Bugsnag would mark the device as jailbroken, but having OpenSSL, Cydia, etc would not mark the device as jailbroken.
To improve detection I suggest adding additional image strings like SubstrateBootstrap, substitute-inserter, and possibly others for Procursus (OdysseyRa1n), libhooker (Chimera).
Also, if possible please expose the isJailbroken method to avoid having to replicate this basic detection.
Thanks.
EDIT:
KillSwitch2 related log with loaded frameworks:
Checkra1n_iPhoneSE_iOS14.0.1_KillSwitch2.txt
Note the /Library/MobileSubstrate/DynamicLibraries/SSLKillSwitch2.dylib which would trigger the detection because of the substring MobileSubstrate.

Hi @zbencz3
Thanks for the info! We have some planned work coming up to improve jailbroken/rooted detection on both iOS and Android so we'll look into factoring in your suggestions as part of that.

v6.6.4 includes More robust jailbreak detection https://github.com/bugsnag/bugsnag-cocoa/pull/1000

Yes. This has been addressed in v6.6.4.


Link Based CLA Signing

It would be nice if there was someway to link to a CLA in our contributing.md instead of notifying people upon PR. The use case for this would be getting previous contributors to sign the CLA and CLA Hub actually does this.
so something like https://cla-assistant.io/cla/[githuborg/reponame] could be the URL and then projects could link to the CLA on their websites or contributing.md's etc
This would be super useful!

This is already given: https://cla-assistant.io/<githubOrg>/<githubRepo> is the pattern e.g.:
https://cla-assistant.io/cla-assistant/cla-assistant


test: move cgroup version functions from utils

Move GetVMIsCgroupVersion and
GetPodsCgroupVersion from utils
to make utils shorter.
Signed-off-by: Ben Oukhanov<EMAIL_ADDRESS>Release note:
NONE

/lgtm
/ok-to-test


Port time_estimates.coffee to time_estimates.ex

You can do a separate PR for each item, but you need to write tests for it:

[ ] estimate_attack_times/1
[x] guesses_to_score/1
[ ] display_time/1

https://github.com/sevenshores/zxcvbn-ex/blob/master/lib/zxcvbn/time_estimates.ex

If/When my PR for display_time/1 get's accepted, I could probably as well tackle estimate_attack_times/1


update graph module stuff

This is now running (in my hands at least), using tools hacked together here among others to make and inspect pangenome graphs in GFA.
I've used sequences from that other hackathon to test: https://github.com/hpobio-lab/viral-analysis/tree/master/data
The problem is that there are very few indels let alone SVs in this data, so it's not that intersting.  Hoping we'll manage something better, so eagerly await either VCF or fasta sequences from this project to try on....

Wow this looks amazing!


Flaky test in github.com/prometheus/prometheus/discovery/file.go

I ran make test and the tests for file service discovery failed. But sometimes they don't.
--- FAIL: TestFileSD (0.03s)
file_test.go:105: Unexpected target groups [], we expected a failure here.
I couldn't figure out when the tests fail. But I looked into it and found out what makes the tests fail. But I'm not able to go further (as I'm new to the codebase and to the language) so I'm writing here in the hope someone who knows better might help out. I'll continue in the comments.
System information: MacOs 10.13.1
Darwin 17.2.0 x86_64
Prometheus version:
prometheus, version 2.0.0-rc.3 (branch: master, revision: 09be10a553e8f63f86938c682533013ed8f899dd)
build user<EMAIL_ADDRESS>build date:       20171107-08:54:35
go version:       go1.8

The test that fails is  testFileSD(t, "invalid_nil", ".yml", false)
I found out that the test fails when the content of fixtures/_test_invalid_nil.yml in is empty instead of

targets: ['localhost:9090', 'example.org:443']
labels:
foo: bar

null

Sometimes the content is read before the content is written over to the file (which is done in the test testFileSD).
I guess

go fsd.Run(ctx, ch)

at line 53 starts the read before line 74 writes the file content to fixtures/_test_invalid_nil.yml

_, err = io.Copy(newf, f)

Thanks for the report @elifkus! I guess we need some goroutine synchronization here. @krasi-georgiev you were looking into our sd tests already, right?

@grobie  no I haven't, but It happens almost every time on my local tests and quite annoyed by these so will get it fixed.
@elifkus thanks for the pointers.


DDCE-3623 Remove dependency on url builder

This might already be covered with upgrade to 2.13.10 pr


Isolate bad revisions

When an agent doesn't register with an ELB, it sends a message (SQS) to the scheduler that it can't satisfy the assigned revision.
If no other nodes are running that revision, it's assumed there's something wrong with the revision so it's removed from scheduling (by the scheduler).
Fixes #4  , but needs improvement.

ServiceDoctor++


Update virtual-machines-custom-profile.md

"true" value provided as string instead of Boolean

@ju-shim
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


k_thread_abort/join() rewrite & attendant fixes

Comparatively big series that reworks abort and join to fix some fundamental races on SMP (see #32344).   The new version is (heh) hopefully correct, but should absolutely be easier to review and reason about.  It definitely doesn't share the same misfeatures we saw earlier.
The early patches in the series are fixes to related bugs I stumbled on while working this mixed with refactoring needed for later changes.  Note that the abort rework itself is split into two patches for review, even though that technically breaks bisectability (there's a big warning to this effect).

And this isn't quite ready yet.  While it fixes the spurious abort problems, the modified timing has tripped over a different issue with timeslicing.  I hope to have a fix for that added to this series within a day; I see the root cause at least.

OK, think I have it now (see the final timeslice fix which is the third from the last in the series; I wanted to keep the abort stuff last).  Starting my stress test locally to see if anything got missed or broken at the last minute, but I'm hopeful.

So, overnight stress on x86_64 showed that the msgq_api test is failing maybe 13% of the time in a loaded twister run.  This is a test that does a lot of racing aborts (it's one of the big offenders in the intermediate states in this PR), so it's likely it's showing some kind of remaining bug here.  I'll keep looking.  Other failures are happening randomly at the rate of one per ~20 test passes, and seem to be the kind of spurious thing we are used to on qemu due to timing interactions.  The msgq test seems to be the only one with a measurable failure rate on its own.
FWIW: that failure rate is still much, much better than what we have in tree.  So it's probably worth merging this anyway (and I guess opening a bug if so) pending whatever fix shows up for the msgq_api failures.

OK new version up.  This adds two new fixes to address what I was seeing with msgq_api (and again it turns out that neither were related to abort per se and were just pre-existing bugs tickled by different timing):
The HPET driver had a workaround in its ISR for a bug in qemu where the clock can go backwards, but there was another edge case where the same glitch could (very rarely, but I did see it happen!) cause a bad timeout to be set due to a rollover condition.
The main bug was a simple thinko in the timeout code about which value to set as the timeout.  This turns out (due to the structure of how things work) to have been hidden in uniprocessor setups, but on SMP it's a real race.  This was the source of almost all the instability (and it took FOREVER to find, ugh...)
And... this might be it folks.  My build box is through 8 iterated twister runs on x86_64 with no failures reported at all.  I'll leave it running as long as possible to see if I can catch something failing.

Came back to look at the stress log.  74 runs of "twister -p qemu_x86_64" with no failures.  I think this one is cooked for now.  Seeing rarer failures is going to need a more extensive rig.


add list and input field

add a list like with working buttons and an input field

added list and input field (LISTOBJECT AND TEXTFIELD)


5.9.1

Coverage remained the same at 63.213% when pulling b928524500d2684f7c21e6a0f08f74ef439a6a50 on 5.9.1 into 1217d3996276cdc194ab31b868eda350ccbbe5d5 on master.


Improve default name tx labels

Check the wallet for other transactions that can tell us:

The identifier of NAME_NEW transactions
Whether a NAME_UPDATE is a renewal or not

Triggering a rebuild...

Triggering yet another rebuild...


bump PolicyAutomation CRD version to v1beta1

Signed-off-by: Yu Cao<EMAIL_ADDRESS>open-cluster-management/backlog#11395

/hold

/unhold


Question about Druid metadata

We have a fairly large Druid data. So, to refresh the data takes a quiet a long time. I check Druid documentation and it seems like people recommend using merge and analysisTypes when querying metadata for faster result. I tried that and it seems to be the case.
My question is, currently caravel doesn't support those properties would it be better if Caravel supports that and what would be the impact of that? From what I've seen in the codebase https://github.com/airbnb/caravel/blob/master/caravel/models.py#L1560 it seems like Caravel only cares aboutcolumns.
Reference:
http://druid.io/docs/latest/querying/segmentmetadataquery.html

Which version of Druid introduced segmentMetadata? Is it supported by pydruid?
We really want a good integration with Druid and will be happy reviewing/merging PRs that make improvements.

segmentMetadata is supported by pydruid but it doesn't support merge right now.
Somebody has done a PR for pydruid already. I can ask them if it's possible to be merged.
https://github.com/druid-io/pydruid/issues/64
If that's the case I can open a PR for improvement for Caravel.
Thanks.

https://github.com/druid-io/pydruid/issues/64 has been fixed now.
@mistercrunch: I can look into this along with https://github.com/airbnb/superset/issues/2273

@nishantmonu51 you should be able to assign issues to yourself and teammates now that you have more rights on the repo, also let me know your coworkers' Github handles and I'll be happy to give them "write" rights as well.
On my side I'll make sure to set up a watch on pydruid to keep up with the development there.

Notice: this issue has been closed because it has been inactive for 420 days. Feel free to comment and request for this issue to be reopened.


Working stwave

getting working STWAVE in development (old way)

ok @thesser1  this is ready for approval

@thesser1  check now....

the only thing i'm not sure about in the resolution of this merge request, is associated with the stationlook up for creating files.  I took out the lookup from the pickle (i think this ran into errors).... I believe it's the right path forward ... in otherwords... pre simulation, create save points based on avialable data (load those into simulation files AND to save pickle), use that for post process


Update to support Reqnroll?

As SpecFlow looks very much dead in the water, will SpecFlow.Contrib.Variants ever be updated to support Reqnroll?

It wasn't planned, but will try and spend some time looking into it. Will leave this issue open to track.

Hi, @TotalTest were you able to take a look into this?

@TotalTest any updates on this?

+1


Does the Swin-Transformer-Semantic-Segmentation support mixed precision training?

Does the Swin-Transformer-Semantic-Segmentation support mixed precision training? For example, fp16 or apex?

Maybe you could check the repo of BEiT or ConvNeXt for apex-based amp trainingBEiT


About Dataset

Hello, I find the dataset which you provided can not be used. Can you provide a new useful link?

Hey,
I would really like to look into the dataset used, especially the CSV files. So can you please provide a new link for that.
Thanks

I think its available on Kaggle search it as "TV gesture controls".
The doubt that I have is about the licensing of the dataset. Can the author shed some light about any licensing terms associated with the dataset


ERROR: Unable to extract uploader id

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

youtube-dl -v "https://www.youtube.com/watch?v=Tk4VqUOeRxQ"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=Tk4VqUOeRxQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.16 (CPython) - Darwin-20.3.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Tk4VqUOeRxQ: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

This seems to be an error on all videos I try to download since I updated to the latest version.

Same
C:\Users\Brewer\Downloads>youtube-dl -v https://www.youtube.com/watch?v=yGLrOuUa240
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=yGLrOuUa240']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] yGLrOuUa240: Downloading webpage
[youtube] yGLrOuUa240: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Read the whole post (not the 400+ comments, though!). Out of 6 paragraphs in the post, you've quoted the second. What you need to follow is in paragraph 4: it tells you how to update to a version that doesn't have the problem.
If just trying to update in the normal way worked, there wouldn't be bold text with a link to the necessary procedures.

Did you follow the link "below" there?
Was something unclear after that?

Same thing with python 3.11:
youtube-dl --verbose https://www.youtube.com/watch?v=Tk4VqUOeRxQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--output', '%(series)s S%(season_number)02dE%(episode_number)02d %(title)s.%(ext)s', '--verbose', 'https://www.youtube.com/watch?v=Tk4VqUOeRxQ']
[debug] Encodings: locale utf-8, fs utf-8, out utf-8, pref utf-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.3 (CPython) - Linux-6.3.1-arch1-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] Tk4VqUOeRxQ: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to youtube-dl --version
2021.12.17
call youtube-dl with the --verbose flag and include its complete output.

OS: Archlinux
youtube-dl --version:  2021.12.17
python --version: Python 3.11.3

Ah, thank you - no I guess I hadn't "unhidden" the stuff at the bottom. Thank you for the direct link.
For those looking for potential solutions to this bug GO HERE: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611
Personally I'm giving up. I really appreciated this software - it worked great, until it didn't. And the new yt-dlp seems much more complicated. Thank you @dirkf.

Just uninstall whatever you installed before and download a nightly build for macOS (the same thing for Linux/BSD/macOS), as if you were installing the equivalent from the yt-dl release page.
Actually, even your existing program works for many other sites, but of course a program with "youtube" in its name ought to be able to handle that.

Thank's all, I installed yt-dlp instead (and Tartube) working nicely.


Resolution of counter Variables

Is it possible to increase the resolution of the "counter" variables?
Currently only two decimal places are passed to HA. It would be nice if all 4 decimal places are passed to HA.

Ok, will look into this when working on this again
Or a PR is also welcome 😉

1.) What would you prefer?
Make the number of decimal places configurable or set it to 3?
I would tend to the variant with 3 fixed decimal places, since the output can be adjusted in HA.
2.) Do I need to change it to both sma-em and sma-em-dev?

Added your suggestion here - https://github.com/kellerza/hassio-sma-em/commit/4df12f3b385b9196c44c566ad88abfd64773f37e


Add icon as a decorator to calendar tile

Hi there!
I am personalizing calendar view. I am trying to add small info icon to the right bottom corner of celandar tile. And I want to do this dynamically.
This is my goal:

What I got:

This is my code from decorate method in Decorator class.
    @Override
    public void decorate(DayViewFacade view) {
            Drawable rectangle = context.getDrawable(R.drawable.rectangle);
            rectangle.setTint(ContextCompat.getColor(context, R.color.red));
            Bitmap addingBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.info);
            BitmapDrawable layer1 = new BitmapDrawable(context.getResources(), addingBitmap);
            Drawable[] layers = {rectangle, layer1};
            LayerDrawable layerDrawable = new LayerDrawable(layers);
            layerDrawable.setLayerInset(1, 55, 30, 5, 30);
            view.setBackgroundDrawable(layerDrawable);
    }

Rectangle.xml
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item>
        <layer-list>
            <item android:bottom="6dp" android:left="-20dp" android:right="-20dp" android:top="6dp">
                <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
                </shape>
            </item>
        </layer-list>
    </item>
</selector>

As you can see I am creating rectangle from resources - for red background purpose - I set it tint. Then I create Bitmap from info icon and make it drawable. Then I create array and add those two drawables (layers) to LayerDrawable constructor. At the end I set layer1 left, top, right and bottom attributes to move it in the calendar tile.
If I wouldn't set those attributes the icon would look like this:

I was trying another approach. Instead of adding just an icon I tried to add tile sized .PNG with a small icon in the right bottom corner to the calendar tile background.
So I added THIS the same way like above to DayViewFacade:

And I got this:

After setting left, top, right and bottom attributes I manage this but it's blurred:
 layerDrawable.setLayerInset(1, -30, 8, -30, 8);

Could you please tell me how to add .PNG icon to calendar tile so it doesn't blur?
Thank you in advance and thank you for your excellent material calendar view.

Ok, I fixed it by myself. I just ask graphic designer for a large icon like this

So after I add it to calendar tile I looks like this.

Then I am setting left, top, right and bottom attributes this way
layerDrawable.setLayerInset(1, 80, 60, -20, 15);
And I got this:


Python 3.11 wheels

The code passes tests on 3.11, so mostly just need to get release infrastructure to run on 3.11.

This will hopefully work once 3.11 is released in October, and should only need a rerun of the checks.

Python 3.11 is now available.
BTW, thank you for this binding to aho_corasick.


Detected PII word's "start" and "end" are returning the wrong positions

Describe the bug
The start and end fields returned are different from expected. For example, the e-mail is not in the mask position returned by the request response from the detected PII.
 I love dogs<EMAIL_ADDRESS>Rabbits are pretty but",
    "model_id": "bloom-560m",
    "guardrail_config": {
        "input": {
            "models": {
                "en_syntax_rbr_pii": {
                    "threshold": 0.8
                }
            }
        },
        "output": {
            "models": {}
        }
    },
    "text_gen_parameters": {
        "preserve_input_text": true,
        "max_new_tokens": 99,
        "min_new_tokens": 1,
        "truncate_input_tokens": 500,
        "decoding_method": "SAMPLING",
        "top_k": 2,
        "top_p": 0.9,
        "typical_p": 0.5,
        "temperature": 0.8,
        "seed": 42,
        "repetition_penalty": 2,
        "max_time": 0,
        "stop_sequences": [
            "42"
        ]
    }
}

Expected behavior
{
        "start": 41,
        "end": 54,
        "word"<EMAIL_ADDRESS>        "entity": "EmailAddress",
        "entity_group": "",
        "score": 0.8
  }

Observed behavior
{
    "token_classification_results": {
        "input": [
            {
                "start": 12,
                "end": 25,
                "word": "they are stup",
                "entity": "EmailAddress",
                "entity_group": "pii",
                "score": 0.8
            }
        ]
    },
    "input_token_count": 21,
    "warnings": [
        {
            "id": "UNSUITABLE_INPUT",
            "message": "Unsuitable input detected. Please check the detected entities on your input and try again with the unsuitable input removed."
        }
    ]
}

Thanks @flaviabeo . This should have been fixed with: https://github.com/foundation-model-stack/fms-guardrails-orchestrator/pull/47

Fixed by the PR #102!


memory graph

build full calculation graphs as a first step to improve memory optimization.  accessorily provides visualization functions using -dump_graphs

Codecov Report

Merging #303 into master will increase coverage by 0.31%.
The diff coverage is 92.68%.

@@            Coverage Diff             @@
##           master     #303      +/-   ##
==========================================
+ Coverage   77.15%   77.46%   +0.31%
==========================================
  Files          66       67       +1
  Lines        5270     5348      +78
==========================================
+ Hits         4066     4143      +77
- Misses       1204     1205       +1

Impacted Files
Coverage Δ

onmt/utils/ExtendedCmdLine.lua
70.73% <100%> (+1.98%)
:arrow_up:

onmt/utils/init.lua
100% <100%> (ø)
:arrow_up:

onmt/utils/MemoryGraph.lua
100% <100%> (ø)

onmt/Model.lua
77.21% <14.28%> (-6.12%)
:arrow_down:

onmt/utils/Features.lua
98.38% <0%> (+1.61%)
:arrow_up:

Continue to review full report at Codecov.

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

temporary withdrawing to extend to non-nngraph models


Look into dividing the bit-precision by a constant "fudge" factor.
Profile the big sequence algorithm and find out why it is so slow.
If after eliminating garbage and other clumsiness, it is still too slow, we can look into doing the Mandelbrot Escape algorithm with bit-level composition of operations over an array.

It would be easy to introduce some concurrency.  But the big picture is that we will render zoom movies in parallel anyway, so that is wasted effort and would hamper the ability of higher level processes to control concurrency/parallelism.

There is no garbage.  The big count is low.  It's just slow, man, crunching those numbers.  Shall look into a faster way of doing squares on bit arrays

This is a difficult endeavour. Looking into new algorithms instead.