SSL Certificate renewal after expiration and NPM update

Hi,
i'm facing issues with certificate renewal after there has been an expiration and after i've updated with the latest npm docker image. Below my log
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01_s6-secret-init.sh: executing...
[cont-init.d] 01_s6-secret-init.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
 You should use `allowGraph` instead. `allowEager` method will be removed in 3.0
`QueryBuilder#eager` method is deprecated. You should use the `withGraphFetched` method instead. `eager` method will be removed in 3.0
QueryBuilder#omit is deprecated. This method will be removed in version 3.0
Duplicate relation "access_list" in a relation expression. You should use "a.[b, c]" instead of "[a.b, a.c]". This will cause an error in objection 2.0
[6/27/2021] [2:44:36 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[6/27/2021] [2:44:36 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates for Cert #6: ***************
[6/27/2021] [2:44:40 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[6/27/2021] [2:44:40 PM] [Express  ] › ⚠  warning   Command failed: certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-6" --agree-tos --email "****" --preferred-challenges "dns,http" --domains "*****"

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Some challenges have failed.

Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

[6/27/2021] [2:45:34 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[6/27/2021] [2:45:34 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates for Cert #7: *********
[6/27/2021] [2:45:38 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[6/27/2021] [2:45:38 PM] [Express  ] › ⚠  warning   Command failed: certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-7" --agree-tos --email "******" --preferred-challenges "dns,http" --domains "****"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Some challenges have failed.

This is the letsencrypt.log

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: ************
  Type:   connection
  Detail: Fetching http://************/.well-known/acme-challenge/Cn50XLdix7BY8fgOmEgCnSPptSZY8U8s0-ghdNcJaNY: Error getting validation data

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

2021-06-27 14:45:38,108:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 93, in handle_authorizations
    self._poll_authorizations(authzrs, max_retries, best_effort)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 181, in _poll_authorizations
    raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.

2021-06-27 14:45:38,109:DEBUG:certbot._internal.error_handler:Calling registered functions
2021-06-27 14:45:38,109:INFO:certbot._internal.auth_handler:Cleaning up challenges
2021-06-27 14:45:38,109:DEBUG:certbot._internal.plugins.webroot:Removing /data/letsencrypt-acme-challenge/.well-known/acme-challenge/Cn50XLdix7BY8fgOmEgCnSPptSZY8U8s0-ghdNcJaNY
2021-06-27 14:45:38,110:DEBUG:certbot._internal.plugins.webroot:All challenges cleaned up
2021-06-27 14:45:38,111:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
  File "/opt/certbot/bin/certbot", line 8, in <module>
    sys.exit(main())
  File "/opt/certbot/lib/python3.7/site-packages/certbot/main.py", line 15, in main
    return internal_main.main(cli_args)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1552, in main
    return config.func(config, plugins)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1414, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 128, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 445, in obtain_and_enroll_certificate
    cert, chain, key, _ = self.obtain_certificate(domains)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 375, in obtain_certificate
    orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 425, in _get_order_and_authorizations
    authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 93, in handle_authorizations
    self._poll_authorizations(authzrs, max_retries, best_effort)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 181, in _poll_authorizations
    raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2021-06-27 14:45:38,114:ERROR:certbot._internal.log:Some challenges have failed.

Its seems like i have an issue to provide the following
http://************/.well-known/acme-challenge/Cn50XLdix7BY8fgOmEgCnSPptSZY8U8s0-ghdNcJaNY

I am seeing the same error here. Tried a lot of things to fix it on my end, but it won't work.
Maybe it is time that acme.sh is going to be used?

The same thing is happening to me. All my certificates have expired and NPM is not able to renew them since some versions ago

Did any of you try a clean installation? I would like to avoid it since I have configured a lot lately.

@maxdd, I am sorry, but I didn't reinstall. I've got more than 30 proxies
configured, so........ You can understand why I would not go through the
full re-install.
On Mon, Jun 28, 2021 at 6:51 PM maxdd @.***> wrote:

Did any of you try a clean installation? I would like to avoid it since I
have configured a lot lately.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jc21/nginx-proxy-manager/issues/1208#issuecomment-869844306,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3YEZU45RWDCWRVZLVEEVDTVCSAFANCNFSM47MPCCIA
.

On my production host I am not seeing this problem and I haven't started fresh in about 18months. Also using the latest image.
Are you able to request a new certificate for a new host?

No i'm not.
I would say the first thing we should investigate is
`Fetching http://**************/.well-known/acme-challenge/uzCFoWkEQTkfpP8VQEl3v1CR_VxonuXBssS-Ryy_nX8: Error getting validation data
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.`
How can we verify this? My 80 and 443 port are open though

@maxdd Thanks for the hint!
In my case, port 80 wasn't open and that was the cause. I've just opened it and the certificate renewals are working now :)

Fact remains that I use DNS for verification, and I do see the record being
created in DNS, but it still gives an error.
Regards,
Jacco van Koll
On Sat, Jul 3, 2021 at 9:44 AM Salva Machí @.***> wrote:

@maxdd https://github.com/maxdd Thanks for the hint!
In my case, port 80 wasn't open and that was the cause. I've just opened
it and the certificate renewals are working now :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jc21/nginx-proxy-manager/issues/1208#issuecomment-873364168,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3YEZUGYJCUSE67QHZPPU3TV25XVANCNFSM47MPCCIA
.

I'm facing the same error with myself, I can't renew any certificate. My server has been running for a long time, before I was able to renew, now not anymore.

The original author of this issue and others in the thread hat not forwarded port 80 in their router and were able to renew the certificate successfully after opening the port.In order to prevent this issue from becoming a graveyard for various different issues which arise for some people, I'm going to close this issue.
@talesam I have moved your comment to a new issue. You can also open a new one I you would like to be the author of the issue.

O autor original deste problema e outros no chapéu de discussão não encaminharam a porta 80 em seu roteador e foram capazes de renovar o certificado com sucesso após abrir a porta. Para evitar que este problema se torne um cemitério para vários problemas diferentes que surgem para alguns gente, vou encerrar este assunto.
@talesam Mudei seu comentário para um novo problema. Você também pode abrir um novo. Gostaria que fosse o autor do número.

Port 80 is open, that's not it.


SITE_URL doesn't work

configure:
      - IS_BEHIND_PROXY=false
      - SITE_URL=http://ssp.ops.kkaaa.com

Try setting IS_BEHIND_PROXY=true and see if you get better results.

thx


Add Support for Cognito User Pool Authentication

Feature Request: add authentication for Cognito User Pool.
Currently the AWS SDK for .NET does not support Cognito User Pool Authentication. It does support Cognito User pool SignUp and ConfirmSignUp. But that is not sufficient. Once a user exists, they need to be able to authenticate.
This prevents C# applications (Xamarin, Unity, ASP.NET etc...) from being able to use Cognito User Pools which is a shame because that in turns prevents C# app development for the rest of the AWS stack  unless you can deal with unauthenticated workflows, or using a third party identity provider (AWS Cognito Identity Pool Federated to IdP) without using an AWS user pool.
This feature has been requested many times before, and yet it was closed each time, as a duplicate of another open issue, that was later closed as a duplicate of another until finally two were closed as duplicate of each other at which point the snake ate its tail. See
Issue #36, Issue #390, Issue #495, Issue #590
I am aware someone wrote AWS SRP Login in C#. That solution references another library Org.BouncyCastle, has unclear licensing requirements, and is not production quality (the author documents the limitations).

I found AWSSDK.Extensions.CognitoAuthentication.
It seems to be a great library, I only found one bug in the last hour of testing various scenarios that interest me. It's too bad that it was very difficult to find this library when I searched for documentation on AWS Cognito User Pool this did not come up. It would be nice if this had been inside the AWS SDK for .NET rather than built as an extension, i.e. folded into NuGet package AWSSDK.CognitoIdentityProvider which is the package you find when you follow AWS tutorials

Great you found and I agree we have discover ability problems. I'm going to close as it seems like you found what you need.


Autoimport always imports relative to baseUrl

VSCode Version: 1.18
OS Version: Windows 10

Steps to Reproduce:

ts project with provided baseUrl
add autoimport for smth from same directories sub-tree
see baseUrl relative import

/// auth/routing.ts
import {MobileStubComponent} from "auth/component/mobile-stub/mobile-stub";

expected import relative to current file
import {MobileStubComponent} from "./component/mobile-stub/mobile-stub";

Reproduces without extensions: Yes

Also seeing this behavior, in 1.18 and previous, on both manually chosen import fixes and the new auto-import on completion feature.

For me, removing the baseUrl entry from my tsconfig.json file fixed the issue.

This issue was moved to Microsoft/TypeScript#19920


Debt: extension loading code should be shared between all processes

Also, the shared process should not do a readdir.

We created this issue because there is an inconsistency when reading extensions from disk between several code places.
The extension runtime code, which finds the extensions to load them, doesn't respect matching extension's gallery uuids in order to determine equality between extensions. It should do that, given the work @sandy081 has done this month to support extension renaming.
This is independently of reddir calls, since for loading extensions we just need one readdir call and read all package.json files. So we should make sure that stays that way: minimal on the FS.

I can help with advice, but I did not introduce the duplication => unassigning myself for now.


Bracket pair highlighting for LaTeX equations

Does this issue occur when all extensions are disabled?: No, except the LaTex Workshop extension.

VS Code Version: 1.62.3
OS Version: Windows_NT x64 10.0.22000

Steps to Reproduce:

Create .tex file
Input code like below

$\left\{ aaa \right.$
$x \in [a, b)$
$y \in (c, d]$

Expected:
For L1, \left\{ and \right. should be colorized as the same color, since they are marked as bracket pair here.
This notation is widely used to represent the piecewise function.
For L2 and L3, which represent the semi-open and semi-closed interval, the bracket should be matched even if they're not the same.
Actual:

The highlighting of these bracket pairs are confused and affects the following highlighting.
For L1, it is an unexpected behavior and should be fixed.
For L2 and L3, I know it's hard to have a perfect solution, however, here is an idea:
Define a hierarchical context from the document. The bracket pair matching in the child context keeps an individual counter, which will not be affected or affect that in the parent contex. The boundary of the child context can be defined differently per language, like $, \begin{equation}, \end{equation} in LaTeX, and ``` in Markdown etc.

@hediet I think this issue should also have been labeled as bug, since the behavior on L1 is unexpected.

The issue is that the latex extension should not mark [ ... ] as bracket pair if [ ... ) can appear as balanced bracket pair in the source.
Alternatively, [ ... ) and ( ... ] should also be marked as matching bracket pair.

Thanks @hediet for reply.

The bracket pair [...] cannot be removed since it is the indicator of the optional parameters in the syntax of LaTeX.
Adding (...] and [...) to the matching bracket pair list seems to solve the problem, shown as L1-2, L4-5 in the code snippet below (I just modified it in the local storage of the extension). However, since [...], (...), (...] and [...) are all marked as bracket pair, I'm not sure whether it will cause other problems. If there is no conflict, I will submit a PR to the owner of the plugin.
On this issue, I still retain my original proposal. Mathematicians are likely to create unbalanced bracket pairs in the equations, which we can't predict in advance and write as a configuration file. As a contrast, marking the equation region (a configurable interface per language) isolated to the rest of the source should be a better idea.
The mismatched issue  on \left\{...\right. is still unsolved. As shown in L3, they are resolved as matched bracket pair (identified by the frame on click) but colorized differently. Moreover, it affects the color level of all subsequent brackets.

$x \in [a, b)$
$y \in (c, d]$
$\left\{ colorized differently! \right.$
$x \in [a, b)$
$y \in (c, d]$
\} % not matched but colorized identically

@hediet The patch done in https://github.com/James-Yu/LaTeX-Workshop/issues/2985 haven't fully solve this issue, especially the 4th item in my last post. I believe this is a bug in the colorization system.

Can you provide a screenshot?

Can you provide a screenshot?

The screenshot in the last post is the actual status after applying the patch of the LaTeX workshop.

Is this registered as bracket pair?

Yes. \left\{...\right. is registered as a bracket pair here. The frame shown on them also indicate they're matched. What actually goes wrong is the colorization system.

This is the problem: \left\{ is not a single token. Even worse, it consists of multiple tokens of different kinds.
However, in order to match a bracket, all tokens must have the same token metadata.
If you parse \left\{ as a single token in the text mate grammar, it should work.
Otherwise, please let me know.

Sorry, I don't think this issue is identical to #138058.
In #138058, a{...}b is registered as a colorized bracket pair for Typescript, but not registered as a bracket pair for Typescript. However, in LaTeX, \left\{...\right. does.
Heres comes the problem: Facing the same issue that the bracket pair contains mutiple tokens, the built-in bracket pair matching system works properly (shown in the figures below), but the colorzation is wrong. I suppose these two features should  share the same Internal mechanism, so the inconsistent behavior doesn't make sense.

☝Typescript demo after applying settings in #138058. Note that only {...} is marked as bracket pair instead of a{...}b.

☝For this issue. Note that the whole \left\{...\right. is marked as bracket pair.
If these two features works independently, I think it is also unreasonable. In what cases do you think we need to colorize brackets that are not matched as bracket pair?
For about the mutiple entrance in the setting, I think there're two solutions:

Settings in editor.language.colorizedBracketPairs are automaticly added into the matched bracket pair list.
For the items in editor.language.colorizedBracketPairs, only the item exists in the matched bracket pair list works.

If you mark \left{ as a single token in the text mate grammar, it should work (currently \left is something and { is a something different).

@hediet Is there a more detailed tutorial to do that?

I suppose these two features should share the same Internal mechanism, so the inconsistent behavior doesn't make sense.

They don't use the same mechanism, for algorithmic reasons.
I agree that this is inconsistent and not good. We plan to use the new mechanism for the bracket pair highlighting feature, then it will be consistent again (and it will not be recognized as bracket pair in both cases).
The new mechanism is much faster than the old mechanism after some initial processing time. Unfortunately this initial processing time can get quite high for extremely large documents.

Is there a more detailed tutorial to do that?

Unfortunately not. You would need to add a rule for \\left\\{ somewhere in here.

it will not be recognized as bracket pair in both cases

Got that. Then I think it would better to inform the author of the relevant extensions (i.e., @jlelong, the maintainer of the LaTeX-Workshop) in advance, allowing them to modify the bracket pair matching rules to fit the upcoming new mechanism.

@ZhangSongyi  Thanks for forwarding this to me!

You would need to add a rule for \left\{ somewhere

Do you mean that the textmate grammar should assign the same most inner scope to every token in \left\{.

For the case of \left\{, it is sufficient to remove the scope punctuation.definition.constant.math.tex assigned to \

Do you mean that the textmate grammar should assign the same most inner scope to every token in \left{

Yes. The current algorithm iterates over all tokens and looks for brackets inside of them.
However, a sequence of tokens with equal attributes are treated as a single token.
Thus, a bracket that spans multiple different tokens is currently not matched.


Please verify that the package.json has a valid "main" entry

I wanted to execute the script in "@nighttrax/bar", so I added "ts-node" to the game and a little start script:
lerna-ts\packages\bar\package.json
{
  ...
  "scripts": {
    ...
    "start": "ts-node ./src/index.ts",
    ...
  },
  ...
}

When executing npm start I am getting the following error:

Error: Cannot find module 'C:\dev\projects\bennyn\lerna-ts\packages\bar\node_modules@nighttrax\foo\dist
index'. Please verify that the package.json has a valid "main" entry

The problem exists because the "main" entry in "foo" package points to "dist/index". This file does not exist by default so I have to run "npm run build" in the "foo" package directory first before I can start my script in "bar" package.
Do you have an idea how the monorepo can be linked so that I don't have to compile monorepo dependencies first?
I could change the "main" entry in "foo" package to "src/index" so it uses the existing TypeScript source code but then I will get intro trouble when publishing this package on npmjs since it will point to TypeScript sources and not to compiled JavaScript code.

Hey @bennyn! You need to use the tsconfig-paths package with ts-node so that it can resolve the path aliases from the monorepo. Your script would become
{
  "scripts": {
    "start": "ts-node -r tsconfig-paths/register ./src/index.ts",
  },
}

This worked like a charm! Thanks for pointing me to tsconfig-paths. ✨


Debug build usability issues

Issue
It'd be great if enableValidationLayers in dxvk_instance.cpp were toggleable in a .conf file. This single setting renders the debug build unusable in many instances, and severely inhibits debugging games. The effect it causes: games take 5+ minutes just to load, and aren't usable at all even after that. You cannot interact with the games. It'd be very helpful to be able to toggle this setting manually without recompiling Remix
When it is forcibly disabled it in a custom debug build, it fixes the issue entirely. This issue persisted across 7+ games in my testing, and is particularly bad with the latest debug builds
System information

GPU: 3070 ti
Driver: 531.29
DXVK version: 657a328

Closed, moved here: https://github.com/NVIDIAGameWorks/rtx-remix/issues/184


Allow pytest to be invoked as a module

I have tests in my Python project (Nunavut) that use a shared fixture that requires the "test" directory be on the sys path. Our tox scripts invoke pytest like thus:
cd test
python -m pytest

Which ensures that test/fixtures gets added to the sys path. Can we add a feature to allow the test discovery and execution panel to invoke pytest (or other test modules) as a module starting from the cwd (where cwd is configurable as python.testing.cwd? So this would have the same effect as:
cd ${python.testing.cwd}
${python.pythonPath} -m pytest ${python.testing.pytestArgs}

VS Code has no builtin Python functionality. Please file an issue against the Python extensions you are using,


CLN: format more instead of push_str in codegen

The idea here is to convert most of the repeated out.push_str logic into a more readable format-driven approach that makes it clearer what rust code is actually being generated. This PR is a smaller piece broken off from a larger PR towards that goal for ease of review.
The long-term goal is to make it simpler to separate the logic of writing out generated code  from reading the spec so that eventually the codegen process can look more like
Parse spec ->
convert to some kind of intermediate representation specifying what to generate -> generate the rust files
instead of all steps happening simultaneously.

I'm for this, ty. Merging!
Let me know if you want to hop on a quick call and chat about your larger plans, I'm keen to hear what you have in mind.

I'm for this, ty. Merging!
Let me know if you want to hop on a quick call and chat about your larger plans, I'm keen to hear what you have in mind.

Yep, would love to do that at your convenience!


[llvm] Add patch to fix missing LinkageSpec of getCursorKindForDecl

Fixes #35268.
Add patch 0008-add-missing-case.patch to fix missing LinkageSpec of getCursorKindForDecl, it comes from upstream: https://github.com/llvm/llvm-project/pull/72401

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Yes, because this part of the modification is not included in the new version released by the upstream, it is temporarily fixed in 17.0.5 with a patch.


Updated utils to handle null values on recurse

Null(None) value handling on recurse.
Perhaps this is inelegant, but my best shot...

Hi, thanks for spotting the bug !
A check seems indeed necessary, may be a little safer and shorter:
result['Value'] = base64.b64decode(result.get('Value') or '')

It would be awesome to extend tests on that matter in tests/test_utils.py


Fibonacci series program

Simple function to calculate fibonacci series

Codecov Report

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

@@          Coverage Diff          @@
##           master    #25   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines           2      2
=====================================
  Hits            2      2

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 f8055b5...f8b4792. Read the comment docs.

Fixes #
Changes proposed in this PR:

added unit test
addressed review comments

Click Update branch and locally git pull origin feature/fibonacci-series-satish before adding new commits.
Please fix up PR description according to template
Fix broken build
Please edit your commits to follow recommendations

Capitalize the subject line
Use the imperative mood in the subject line
Fold fixup commits into previous ones with git rebase -i HASH

Hi,
There has been  no activity in the last 20 days so I will close this PR.
Feel free to open it again if you have something to add.
Thanks!
Julia


iOS memory warnings

I tried posting this to SO first and it's been there a week with no activity: https://stackoverflow.com/questions/39255211/tensorflow-ios-memory-warnings
We are building an iOS app to perform image classification using the TensorFlow library.
Using our machine learning model (91MB, 400 classes) and the TensorFlow 'simple' example, we get memory warnings on any iOS device with 1GB of RAM. 2GB models do not experience any warnings, while < 1GB models completely run out of memory and crash the app.
We are using the latest TensorFlow code from the master branch that includes this iOS memory performance commit, which we thought might help but didn't.
We have also tried setting various GPU options on our TF session object, including set_allow_growth(true) and set_per_process_gpu_memory_fraction().
Our only changes to the TF 'simple' example code is a wanted_width and wanted_height of 299, and an input_mean and input_std of 128.
Any thoughts? Is our model simply too big?

@petewarden might have some ideas.

I am working on an approach that uses memory mapping to avoid this problem. It works by mmap-ing the weight parameters of large files into read-only pages that don't count towards the memory limits on iOS. You can see the work-in progress here:
https://github.com/petewarden/tensorflow/blob/master/tensorflow/contrib/ios_examples/camera/tensorflow_utils.mm#L162
I'll be finishing this off and writing proper documentation, but for now take a look at how we use that function, and here's how you create a memory-mappable file from the standard Inception v3 model:
bazel build tensorflow/contrib/util:convert_graphdef_memmapped_format && \
bazel-bin/tensorflow/contrib/util/convert_graphdef_memmapped_format \
--in_graph=tensorflow/contrib/ios_examples/camera/data/tensorflow_inception_graph.pb \
--out_graph=tensorflow/contrib/ios_examples/camera/inception_mmap.pb

Does that help?

Yes, that seems like it should help us. Thanks Pete.

Just wanted to give an update on this. We mmapped our model as Pete showed above (FYI, this took quite awhile on a modern MacBook Pro) and implemented the changes from https://github.com/tensorflow/tensorflow/pull/4457 in our code.
Result is no more memory warnings on 1GB iOS devices plus a much faster classification (2-3 seconds, down from several). Still need to test a 512MB device but I think we'll be OK.

Just mmapped a quantized and unquantized graph, both resulting in a broken graph

8bit quantized graph says 0 nodes converted, and can't load resulting pb graph (error Out of range: Read less bytes than requested)
unquantized graph says 16 nodes converted but prints error Session was not created with a graph before Run() when calling Run()

@eaigner do you have info? The second problem looks like you just have to create a default session.

The code is the same that works with the unmapped graph. A Session is definitely created (just no valid one).

I see. Is this iOS only or does it fail on linux too? If so, do you have a simple repro script?

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain biomassiv.es has exceeded the max emails per hour (113/100 (112%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:48810 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by chi-server32.websitehostserver.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1cWmiR-0032bU-Gh
for<EMAIL_ADDRESS>Thu, 26 Jan 2017 10:16:03 -0600
Date: Wed, 25 Jan 2017 12:15:53 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1485375353;
bh=n8U3kJQvMvJZRirXkwhMdcarp4bLgYoKTeZvQDPaU8Y=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=f4CbyxPg3xi4KcuZCDXsYV4MBEbIKGx4FutIpc2DeRXwseeckbRhBkKBBUSXiW1xN
dtm0TZdOaamrtcXInVhdzFzYkKFWSGM5Xs8uPF/ttFVuBoZqYTuL9ncPvWyd7b1bDC
CWCDG971VQ4/PIACjwv63K2LdN+EjO8dgwa1XuN0=
From: drpngx<EMAIL_ADDRESS>Reply-To: tensorflow/tensorflow<EMAIL_ADDRESS>To: tensorflow/tensorflow<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [tensorflow/tensorflow] iOS memory warnings (#4255)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5889077955702_55033f7ea06d3130590041";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: drpngx
X-GitHub-Recipient: biomassives
X-GitHub-Reason: subscribed
List-ID: tensorflow/tensorflow <tensorflow.tensorflow.github.com>
List-Archive: https://github.com/tensorflow/tensorflow
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AELU4ilxYGGiI-MDmKAvbAqfcCWFGhZdks5rV615gaJpZM4J3ME0
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_5889077955702_55033f7ea06d3130590041
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
I see. Is this iOS only or does it fail on linux too? If so, do you have a simple repro script?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tensorflow/tensorflow/issues/4255#issuecomment-275220406
----==_mimepart_5889077955702_55033f7ea06d3130590041
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
I see. Is this iOS only or does it fail on linux too? If so, do you have a simple repro script?
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5889077955702_55033f7ea06d3130590041--

Closing due to lack of response.  Please reopen if necessary.

Follow-up question: is it possible to mmap a quantized graph? I've been trying and encountering the same issue that @eaigner was encountering above. Without quantization, my graph is huge but runs into memory issues on IOS. With quantization, it's small and I think it will work but I cannot mmap now.


dismissWhenTaps does not work properly

Hello,
i have tried to setup the custom property dismissWhenTaps but i can not to set it in false. Putting true or false, the behavior is always like true.
NIce work...

Hi @moffa90
Thank you for your issue. I'll fix it asap!

Hi daisuke310vvv
Now problem with scroll. If I set .DismissWhenTaps(false) and .Scrollable(true), Scrollable doesn't work, it's work only with .DismissWhenTaps(true)

I have problems with dismissWhenTaps


Discuss time series / sensor data

Log data from multiple readings
Let's discuss what this means for the application

Needs a plan
e.g. Create a feature - - some kind of reference point - e.g. device information/create a user  - maybe only for TAMU
@Gaurav-Ramakrishna to set up a meeting in week of August 1st
What information would you like to store? DeviceId (can't link it to right now)
Local storage to maintain the history - need information to go to back-end


Stable release / Dev Build(s)

I was looking if Livestreamer support Beam, I found one commit saying that it seems to be done but the stable release is getting pretty old.
So, do you plan to make a new release? Or at least, it there a way to download more recent build of livestreamer? (travis website recently changed so I can't find if it's possible)

Hello :-)
I am just another user; I happen to be on Windows,
so I grabbed the latest nightly zip from:
http://docs.livestreamer.io/install.html#windows-binaries =>
http://docs.livestreamer.io/install.html#nightly-build =>
nightly-build
This was built from code snapshot git-ab80dbd, pushed on 02/02/2016.
There is indeed file "beam.py" inside the built-in plugins
livestreamer-latest-win32\livestreamer-v1.12.2-120-gab80dbd\livestreamer-1.12.2-py2.7.egg\livestreamer\plugins\, so I guess Beam is supported (but not checked myself...).
If you've used the installer for the release version initially,
I suppose you can update that by overwriting existing folders
& files inside your installation directory with the contents of
the nightly zip.
Hope I've helped!
Regards

Yeah, but I ask it not only for myself that's why I was talking about a "release" or "easy" link


fix: 3D NFT Thumbnail Preview - mimeType

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #6953
[x] This bug was introduced by https://github.com/kodadot/nft-gallery/pull/7062

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary

🤖 Generated by Copilot at 5c98c55
Refactored MediaItem component to use computed media type instead of prop. This improves the flexibility and readability of the component for different media sources.

🤖 Generated by Copilot at 5c98c55

To render different media types
The MediaItem component was ripe
For a refactor that would
Make the code more understood
By using src to compute mimeType

got lucky because there was an 3D nft on the explorer(not working):

https://deploy-preview-7199--koda-canary.netlify.app/ksm/explore/items?listed=true
https://deploy-preview-7199--koda-canary.netlify.app/ksm/gallery/19546453-26A39DB07731155A62-DFW-E66_CHAIR-00000001

works fine inside profile or inside gallery item

It could be solved in another issue

let's make follow up

pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 4.23 USD/DOT ~ 7.092 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x0a0cd05fa0987e343ca85bfd1a41e76423d524094c078d9fe32fced858a1eca9
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Allow RGB colours

Rather than only accepting 3/6 digit hex colours, RGB colours could also be accepted as an input.

Amazing, that would be super user friendly!
Okay so do you have any good snippets/modules for converting the incoming RGB values to hexes? I wrote a PostCSS plugin that does literally the opposite of this and will be of no help :sweat_smile:

@himynameisdave it's easier than it sounds!
Hex colours are also RGB values but just in hex notation. (255,255,255) and (ff,ff,ff) are the same. So you just need to convert each numeric component of the decimal RGB colour into its hexadecimal form and it will be converted! :smile:


Update projects to multi-target netstandard and net6

Supersedes migrate projects to netstandard2.0 and net6.0 #1

@DrNeil
I've triggered the workflow and there's some compatibility issues that you please need to resolve. From the looks of it, it seems to be mainly that you need to update the OS to windows-2022 to support the MSBuild 2022.

@DrNeil Since I don't know if you get the fail-notification: the automated build needs more work to make it compatible with .net 6 targets.

Hi @MichaelKetting I've taken over trying to get the build automation working for @DrNeil
Just done some basic updates around attempting to install the latest .NET 6 etc
Let me know if you have any questions.

Thanks @glennawatson. Looks good now!


Support for requirements extensions like mlx.traceability or sphinx-needs

Would it be possible to provide support to publish requirements on confluence that are included in the documentation? Currently when I try to build using sphinx-needs, it either doesn't publish that page or throws an error.

@skysfalling, I was able to take a look at both the mlx.traceability and sphinx-needs extensions today.
First off, I just want to clarify that this extension usually does not attempt to integrate other extension's capabilities inside the implementation. Known exceptions are the Sphinx extensions that exist inside the official Sphinx repository. This extension is always willing to help support the integration of other extensions when possible; however, we avoid directly attempting to include code which could cause long-term maintenance issues.
mlx.traceability
It is possible to mostly get this extension to work, although not on the current stable version of this extension (vi PyPI). Using the example documentation found in the MX-Traceability's repository, I was able to get the examples to build and publish to a Confluence instance. This was based off the most recent development revisions which include #399 and #400 (which will be available in the next stable release; v1.3). Example captures are as follows:

Note that its usage will not be a perfect matching. The mlx.traceability extension does use some features like Javascript to enhance the experience when using an html builder. It is not possible for the confluencebuilder builder to attempt to try something like this, since manipulating Javascript is not possible in a stock Confluence instance.
In addition, a quirk is needed if a configuration attempts to use either the traceability_*_no_captions configuration options or :nocaptions: options in various directives. When a documentation set specifies these, it replaced the caption text to a styled inline value which in the html builder environment, will be manipulated to appear when hovering over the caption area. Unfortunately, it is not possible to mimic such a capability. In the event that a no-captions options is used and there is a desire to suppress captions when using the confluencebuilder extension, a user can add the following to their configuration:
from docutils import nodes

def hook_remove_popup_captions(app, doctree, fromdocname):
    for node in doctree.traverse(nodes.inline):
        classes = node.get('classes', [])
        if 'popup_caption' in classes:
            node.parent.remove(node)

def setup(app):
    app.connect('doctree-resolved', hook_remove_popup_captions)

Other than that, there does not appear to be anything major missing here.
sphinx-needs
Unfortunately, the sphinx-needs extension does not appear to gracefully work with the confluencebuilder extension. A series of its capabilities appear to rely on a series of styling options and (maybe) Javascript options -- none of these are possible with this extension and a stock Confluence instance. While the content should be able to be published, it may not look nice.
An oddity observed is that the SVG files included do not appear to work in Confluence. While Confluence supports SVGs, for some reason when attached, do not work as expected. I'm not sure if its a content issue in the SVG or Confluence's SVG parser is not handling something properly. If I internally switch the image formats from svg to png (currently, does not appear to be a public option for a documentation's configuration to set), images do load as expected. However, these images (at least, with the example documentation) appear to be helper images for navigation management (e.g. collapsing content). This then adds to the list of capabilities that cannot really be handled.
There does appear to be several configuration options for the sphinx-needs extension. It may be possible to take advantage of them to better handle the mixing of these extensions, but that is just an assumption. At this time, it is most likely the case that the use of the sphinx-needs extension will not work with this extension.


Update codeql

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.174%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
905

Relevant Lines:
941

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.174%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
905

Relevant Lines:
941

💛  - Coveralls


Allow an option for the old "Powered by omg.lol" footer (with the plug icon)

Discussed in https://github.com/neatnik/omg.lol/discussions/252

This is now live!


feat: add 'with -' support

/ping @hskrasek

/ping @hskrasek

Hey sorry about the delay, I never got the email for when you opened this PR. Thanks for contributing


stop sticky balloons popping up during minor version updates

https://github.com/hsz/idea-gitignore/blob/c403c684f8339807b3ef3a122c8e2f7190b57aa3/src/mobi/hsz/idea/gitignore/util/Notify.java#L86
This is a polite request to stop sticky balloons popping up during minor version updates. I have several plugins installed, and I this is the only project that uses sticky balloons for this purpose. It's not a pleasant experience. (as noted by @jeserkin, there's a bug also where each time the project opens a sticky balloon shows up. I saw this once, but not again.)

Yeah. Updated recently and constant popping started. Each time I open project this happens.

Disabled it for now. Not usable in current state. Each project opening requires me to close large popup.

@activedecay @jeserkin Is this issue still valid? This problem has been released with the v1.7.6 as far as I remember.

Thanks, I kinda stopped using ij because I'm between jobs. I should get
back to it soon, though. I'll let you know.
On Jun 7, 2017 3:36 PM, "Jakub Chrzanowski"<EMAIL_ADDRESS>wrote:

@activedecay https://github.com/activedecay @jeserkin
https://github.com/jeserkin Is this issue still valid? This problem has
been released with the v1.7.6 as far as I remember.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hsz/idea-gitignore/issues/337#issuecomment-306932415,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEGWloNz3n-nZG1FC2Wgd0H7LkZVXzbxks5sBxfRgaJpZM4MOzmb
.

@hsz recently updated to 2017.2 and persistantly poping balloon notification about .gitignore plugin is still present each time I open project in new window.

@hsz issue is still present. Will it be fixed or should one disable plugin?

@activedecay I can suggest you to disable those notifications manually:

Nice! Sounds good I'll try that if it becomes an issue for me. Thank you for the follow up. I'm not using the plug-in currently and I don't know that I need it.


why it can't convert emoji to image

i have a string like this
放大假阿卡:flushed:放大假阿卡
but the :flushed: can't convert to image,why?
if string like that 放大假阿卡:flushed: or like that :flushed:放大假阿卡
it's work well.i hope your response thanks!!!

Does it convert the :face: string at all? I have gotten this library to convert it to a <div> but the <div> is empty because the image linking doesn't work.

Does is convert the :face: style string at all? I have gotten them to convert to <div>s but these <div> tags have been empty because the image linking doesn't work.


Node version check is dodgy

Node dumps all sorts of garbage when you run npx.CMD --version, you can't assume it is a version number alone.
 cmd.exe "/c pyright"
2021-08-06 13:16:24,473 - DEBUG - pyright.node - Checking for global target binary: npm
2021-08-06 13:16:24,490 - DEBUG - pyright.node - Found global binary at: C:\Program Files\nodejs\npm.CMD
2021-08-06 13:16:24,490 - DEBUG - pyright.node - Global binary exists at: C:\Program Files\nodejs\npm.CMD
2021-08-06 13:16:24,490 - DEBUG - pyright.node - Running node command with args: ['C:\\Program Files\\nodejs\\npm.CMD', 'info', 'pyright', 'version']
2021-08-06 13:16:26,547 - DEBUG - pyright.node - Version check for pyright returning (node:21540) ExperimentalWarning: The fs.promises API is experimental
2021-08-06 13:16:26,547 - DEBUG - pyright.node - Checking for global target binary: npx
2021-08-06 13:16:26,560 - DEBUG - pyright.node - Found global binary at: C:\Program Files\nodejs\npx.CMD
2021-08-06 13:16:26,561 - DEBUG - pyright.node - Global binary exists at: C:\Program Files\nodejs\npx.CMD
2021-08-06 13:16:26,561 - DEBUG - pyright.node - Running node command with args: ['C:\\Program Files\\nodejs\\npx.CMD', '--version']
Traceback (most recent call last):
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\matth\.virtualenvs\search_service-3Tw2H1cF\Scripts\pyright.exe\__main__.py", line 7, in <module>
  File "c:\users\matth\.virtualenvs\search_service-3tw2h1cf\lib\site-packages\pyright\cli.py", line 37, in entrypoint
    sys.exit(main(sys.argv[1:]))
  File "c:\users\matth\.virtualenvs\search_service-3tw2h1cf\lib\site-packages\pyright\cli.py", line 19, in main
    return run(*args, **kwargs).returncode
  File "c:\users\matth\.virtualenvs\search_service-3tw2h1cf\lib\site-packages\pyright\cli.py", line 29, in run
    npx = node.version('npx')
  File "c:\users\matth\.virtualenvs\search_service-3tw2h1cf\lib\site-packages\pyright\node.py", line 121, in version
    info = tuple(int(value) for value in output.splitlines()[0].split('.'))
  File "c:\users\matth\.virtualenvs\search_service-3tw2h1cf\lib\site-packages\pyright\node.py", line 121, in <genexpr>
    info = tuple(int(value) for value in output.splitlines()[0].split('.'))
ValueError: invalid literal for int() with base 10: '(node:10820) ExperimentalWarning: The fs'

matth@DESKTOP-FANFFGU MINGW64 ~/public_record/search_service (CPRS-2036-build-script)
$ npx --version
(node:3388) ExperimentalWarning: The fs.promises API is experimental
7.13.0

@matthewdeanmartin Thanks for the bug report, I've just pushed a fix for this, can you please try it out and confirm whether or not this fixes your issue.

Closing this now, if this issue still persists please let me know.


Chrony isn't configured by default in the EKS AMI v1.20 (v20220824)

I could able to see Chrony Service isn't configured by default in the EKS AMI latest version(v20220824)
Changes weren't mentioned in the notable changes of AMI release notes as well.
Could you please provide the clarification?

Have the same problem on GovCloud
Previous work image
{
            "ImageOwnerAlias": "amazon",
            "Name": "amazon-eks-node-1.21-v20220811",
            "RootDeviceName": "/dev/xvda",
            "RootDeviceType": "ebs",
            "VirtualizationType": "hvm"
}

I have a command to check if any server|pool presents
# egrep -c '^(server|pool)' /etc/chrony.conf
4
# grep -E '^(server|pool)' /etc/chrony.conf
server <IP_ADDRESS> prefer iburst minpoll 4 maxpoll 4
pool 0.amazon.pool.ntp.org iburst maxsources 1
pool 1.amazon.pool.ntp.org iburst maxsources 1
pool 2.amazon.pool.ntp.org iburst maxsources 2

They are in the previous image.
Latest problem image
{
            "ImageOwnerAlias": "amazon",
            "Name": "amazon-eks-node-1.21-v20220824",
            "RootDeviceName": "/dev/xvda",
            "RootDeviceType": "ebs",
            "VirtualizationType": "hvm"
}

And no servers|pools in /etc/chrony.conf this time
# egrep -c '^(server|pool)' /etc/chrony.conf
0

The official AWS documentation says:
On Amazon Linux 2, chrony is already installed and configured to use the Amazon Time Sync Service IP address.

Upon further inspection, this isn't a regression -- the server/pool definitions have just been moved to /etc/chrony/chrony.d/.
>  cat /etc/chrony.d/ntp-pool.conf
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (https://www.pool.ntp.org/join.html).

# This will use (up to):
# - 1 source from [0-1].amazon.pool.ntp.org each (IPv4 only atm)
# - 2 sources from 2.amazon.pool.ntp.org which is IPv6 enabled as well
# This means by default, up to 2 dual-stack and up to 2 additional IPv4-only
# sources will be used.
pool 0.amazon.pool.ntp.org iburst maxsources 1
pool 1.amazon.pool.ntp.org iburst maxsources 1
pool 2.amazon.pool.ntp.org iburst maxsources 2

# Get TAI-UTC offset and leap seconds from the system tz database.
leapsectz right/UTC

> cat /etc/chrony.d/link-local.sources
# Note: we do not recommend using both the IPv4 and the IPv6 link-local address
# entries at the same time here. The IPv4 and IPv6 NTP packets come from the same
# local server for your instance. You will likely get mixed results with some
# packets coming from the IPv4 endpoint and some from the IPv6 endpoint if you are
# using both at the same time.

# use the Amazon Time Sync Service (IPv4)
server <IP_ADDRESS> prefer iburst minpoll 4 maxpoll 4

# use the Amazon Time Sync Service (IPv6)
# server fd00:ec2::123 prefer iburst minpoll 4 maxpoll 4

If you have evidence of a functional difference, please add steps to reproduce here.


CI: Publish tags to Dockerhub

Old PR: https://github.com/envoyproxy/envoy/pull/1743
Signed-off-by: bndw<EMAIL_ADDRESS>

We're blocked by the DCO check, which I've opened an issue for investigation over at https://github.com/probot/dco/issues/39

@mattklein123 DCO check is resolved and all checks have passed (except the mac build which timed out?)
Lmk if there's anything else on this one.

Fixes https://github.com/envoyproxy/envoy/issues/1742

Sounds good, just need to make sure the tag follows the existing convention (prefixed with v) for the job to be run.


The Markdown View switch's state can only be changed once before closing and reopening the card settings

v0.9.0 build f601ed4
Open the settings on the tA card (or other md card)
Click the Markdown View switch
Note that the markdown tags are now displayed on the card
Click the Markdown View switch again
Note that it does not respond to the click

Is this related to #168?


Design Error 404 page not found

Feature Addition: Design a Custom 404 Page
Description
The current 404 error page does not provide an optimal user experience, especially in a production environment. A well-designed custom 404 page can enhance the overall aesthetic and usability of the site.
Proposed Solution
I propose to design a custom 404 error page that aligns with the site's branding and improves user engagement.
Plan

Labeling: Please assign the issue the GSSOC-ext and Hacktoberfest and level labels.
Wireframe: I will share a wireframe within the first hour of being assigned to the issue.
Approval: Upon receiving approval for the wireframe, I will start the design process.
Completion: The design will be completed within 24 hours of wireframe approval.

Benefits

Improved user experience and site navigation.
Enhanced branding consistency.
Potential reduction in bounce rates.

I look forward to your feedback and hope to contribute positively to the project!

Hello! Could you assign this to me? @dev129 , please add hacktobest and gssoc-ext label

Hi @Avdhesh-Varshney , I have finally designed the error 404 page , I am ready to launch the PR.

LGTM

Hi @Avdhesh-Varshney , please review and check my PR.


[BUG] Multi-select with a custom component has broken focus

Describe the bug
A clear and concise description of what the bug is.
Link to Reproduction
A link to a CodeSandbox with a minimal reproduction of the bug you're experiencing.
https://codesandbox.io/s/chakra-react-select-custom-option-forked-cglhg?file=/example.js:1662-2098
Steps to reproduce

Have a multi selector, with a custom component, and a state controlled value. (value={selectedValues}).
Select a value from the selector, then try to click off of the menu to close the select menu.
Notice it's impossible to close the select menu unless you click the select button again. It will remain in focus in the background and cause problems for other components.

Expected behavior
The select menu closes when you click off the menu, and focus is removed.
Screenshots

Desktop (please complete the following information):

OS: MacOS
Browser Chrome

Been trying to track this down the exact cause of this issue.
I added the custom ValueContainer  and closeMenuOnSelect={false} to your example, and it functioned ok.
So it seems like something about updating the chosen values in state.
Let me know if there's anything I can do to help to debug or solve to help solve this asap!
https://codesandbox.io/s/chakra-react-select-custom-option-forked-dfisb?file=/example.js

I'm going to close this because a solution was offered and there has been no activity in a while


refactor: Make BitcoinUnits::Unit a scoped enum

This is a rebased version of #60
Since Qt 5.5 there are means to register an enum type with the meta-object system (such enum still lacks an ability to interact with QSettings::setValue() and QSettings::value() without defined stream operators).
In order to reduce global namespace polluting and to force strong type checking, this PR makes BitcoinUnits::Unit a scoped enum (typedef BitcoinUnits::Unit BitcoinUnit;).
No behavior change.

Previous invalidated ACKS:
@Sjors tACK
@jonatack Concept ACK
@promag Code Review ACK
@jb55 Code Review ACK

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts
Reviewers, this pull request conflicts with the following ones:

#435 (Move third-party tx URL setting from Display to Wallet options tab by jarolrod)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

Concept ACK


Unity 2023 Deprecations

Deprecations coming in Unity 2023

As of #3635 the only ones left are the two about weaver - I'm leaving those for @miwarnec to deal with.

unity forum thread about IL weaving getting deprecated:
https://forum.unity.com/threads/the-assemblybuilder-is-obsolete-what-is-the-replacement-api.1333815/#post-9457361


Running chat.ipynb notebook with gpt-3.5-turbo throws "list index out of range"

Where?
https://github.com/microsoft/guidance/blob/b1e656f87abc543c68f3d07057a23f2f5922a878/notebooks/chat.ipynb
Steps to reproduce:

Set openAI api key
Open the chat notebook
change the openAI model from gpt-4 to gpt-3.5-turbo
Run the first 2 blocks in the notebook

Error
IndexError                                Traceback (most recent call last)
Cell In[14], line 45
      3     return options[best]
      5 create_plan = guidance('''{{#system~}}
      6 You are a helpful assistant.
      7 {{[~/system](https://file+.vscode-resource.vscode-cdn.net/Users/user/guidance/notebooks/~/system)}}
   (...)
     42 {{gen 'plan' max_tokens=500}}
     43 {{[~/assistant](https://file+.vscode-resource.vscode-cdn.net/Users/user/guidance/notebooks/~/assistant)}}''')
---> 45 out = create_plan(goal='read more books', parse_best=parse_best)
     46 out

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/guidance/_program.py:216](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/guidance/_program.py:216), in Program.__call__(self, **kwargs)
    214     loop = asyncio.new_event_loop()
    215     loop.create_task(new_program.update_display.run()) # start the display updater
--> 216     loop.run_until_complete(new_program.execute())
    218 return new_program

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nest_asyncio.py:90](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nest_asyncio.py:90), in _patch_loop..run_until_complete(self, future)
     87 if not f.done():
     88     raise RuntimeError(
     89         'Event loop stopped before Future completed.')
---> 90 return f.result()
...
      1 def parse_best(prosandcons, options):
----> 2     best = int(re.findall(r'Best=(\d+)', prosandcons)[0])
      3     return options[best]

IndexError: list index out of range

Ah yes, that's because gpt-3.5-turbo can't follow format specifications properly, this is what it does:

Option 0: Pros - Flexibility in scheduling. Cons - No specific goal or structure.
Option 1: Pros - Provides a specific goal to work towards. Cons - May feel too rigid or stressful.
Option 2: Pros - Provides a specific goal to work towards. Cons - May feel too rigid or stressful.
Option 3: Pros - Provides structure and accountability. Cons - May feel too rigid or stressful.
Option 4: Pros - Provides structure and consistency. Cons - May be difficult to stick to a specific time every day.

Best=Option 3, as it provides structure and accountability without being too rigid or stressful.

I updated the parsing function in b70def5 with a hack so it's more robust to the model not following the format. Should work now.
Thanks!


♻ Test - Impersonating external users

Cc: @AttackOnMorty @pierssinclairssw @adamcogan

Pain

Since we are now performing authentication for bot users, we need a way to do a proper testing.
What code could be improved?

Impersonating external users in Teams
Tasks

[x] Investigate on getting an organization account outside SSW
[x] Create a test purpose Microsoft 365 tenant
[x] Create a test user in the tenant above
[x] Test SophieBot with the user above, see if secret information is hidden from external access

Thanks!

Tested pass from @chrisschultzssw


Remove the date from a movie list entry

The output of the movie list is composed by the name and the date of the movie, even if the plugin strip_dates plugin is used.

Thanks for putting this in @liiight. Unfortunately, I got the following error
2016-05-25 21:27 CRITICAL manager                       [/tasks/moviesPB/discover/what/0/movie_list] Got `{u'strip_year': True, u'list_name': u'allmyfilms'}`, expected: string

  moviesPB:
    verify_ssl_certificates: no
    discover:
      what:
        - movie_list:
            list_name: allmyfilms
            strip_year: yes
      from:
        - piratebay:
            category: movies
    template: movietemplate
    delay: 10 hours
    priority: 70
    seen: local
    quality:
      - 480p+
      - webrip+

That's not in master yet. Wait for next release

Ah - thanks.
On Wed, May 25, 2016 10:07 PM, Or Carmi<EMAIL_ADDRESS>wrote:
That's not in master yet. Wait for next release
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


Remove some unused variables, less verbose animation logic

This adds a Random utility class that provides more functionality than the existing rnd() function used in the multithreaded example.
It does some minor cleanup on the animation logic.

glm::vec3 rotation replaced by float rotationAxis; because the X and Z values are never read or written.
glm::mat4 model removed as it's only used as an intermediate value to write to the push constant structure
The push constant structure is absorbed by ObjectData because there's no reason for separate storage, they're always 1:1
Logic to initialize ObjectData, update it per-frame and extract the mat4 are moved into the structure itself, reducing the verbosity and amount of indirection required to access all the variables
Where possible convert values to radians at initialization time rather than each update
In a couple places where the logic was something like x = a + rnd(b) I've updated it to be random.real(a, a+b) which provides the same range of values but feels easier to read
Eliminated unused variables stateT, posX and posZ

I'll probably remote that sample all along. It was never a good sample after all.

I mean, I like the multithreaded sample, but OK.

IMO it was kinda okay back when I launched the samples, but that changed with CPUs getting faster. On many setups it's not slower than doing the same in a single thread, and I've been pondering for years on doing a proper up-to-date and more real-world like multi threading sample. But we do have one over at the Khronos sample anyway.


[#1] Add statistics

Description

Related issue(s)

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Tests

[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.

Documentation

[x] I checked whether I should update the docs and did so if necessary:

README

Public contracts

[ ] My changes doesn't break project license.

Stylistic guide (mandatory)

[ ] My code complies with the styles guide.

[ ] My commit history is clean (only contains changes relating to my
issue/pull request and no reverted-my-earlier-commit changes) and commit
messages start with identifiers of related issues in square brackets.
Example: [#42] Short commit description
If necessary both of these can be achieved even after the commits have been
made/pushed using rebase and squash.

Before merging (mandatory)

[ ] Check target  branch of PR is set correctly

Codecov Report
Patch coverage: 48.00% and project coverage change: -22.28% :warning:

Comparison is base (64fca62) 72.72% compared to head (5e106c1) 50.45%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #5       +/-   ##
===========================================
- Coverage   72.72%   50.45%   -22.28%
===========================================
  Files           1        4        +3
  Lines          11      111      +100
===========================================
+ Hits            8       56       +48
- Misses          2       52       +50
- Partials        1        3        +2

Files Changed
Coverage Δ

internal/stats/stats.go
0.00% <0.00%> (ø)

internal/unixtime/unixtime.go
72.72% <ø> (ø)

internal/stats/runtime.go
68.42% <68.42%> (ø)

internal/stats/counter.go
100.00% <100.00%> (ø)

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


Vault plugin shuting down RealScoreBoard

When i install a (MC version 1.5.12) Vault version 1.7.9 https://www.spigotmc.org/resources/vault.34315/ the scorboard has stop showing my cofigurated staff. I sent you a pictures before and after. When i uinstall the plugin scoreboard has again show my configurated staff.
After, installing Vault

When i uinstall it

I don´t no if this is a your plugin side or i mising some more plugin´s.
Thank´s for answer

Hi there
Can you send me your config file?
Are there any errors on the console?

ya i can.
Here is a config.
https://www.dropbox.com/s/88gicf6ukbbjao0/config.yml?dl=0
Here is a server log.
https://pastebin.com/WPLDtM2B
And i do no wot my co-manager done, i test now and plugin is normal working witch Vault. And in console plugin loaded without any problem´s and error´s. Im yesterday siting on it 3,5h and another day it´s working. I don't know what the problem was, but now it goes but I want to know what it caused that it stopped working.
Thank´s for your time.


test.py not running

i trained the model with pytorch-lightning==1.9.5
showing this error when i run test.py

test.py:10: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
  @hydra.main(config_path="confs", config_name="base")
/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/_internal/hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
  ret = run_job(
Global seed set to 42
Working dir: /home/prityush/Desktop/avatar/vid2avatar/outputs/Video/parkinglot
/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py:478: LightningDeprecationWarning: Setting `Trainer(gpus=1)` is deprecated in v1.7 and will be removed in v2.0. Please use `Trainer(accelerator='gpu', devices=1)` instead.
  rank_zero_deprecation(
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
checkpoints/last.ckpt
Restoring states from the checkpoint path at checkpoints/last.ckpt
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
Loaded model weights from checkpoint at checkpoints/last.ckpt
Testing DataLoader 0:   0%|                                                                                | 0/42 [00:00<?, ?it/s]/home/prityush/Desktop/avatar/vid2avatar/code/v2a_model.py:217: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
  num_splits = (total_pixels + pixel_per_batch -
/home/prityush/Desktop/avatar/vid2avatar/code/lib/utils/meshing.py:41: FutureWarning: marching_cubes_lewiner is deprecated in favor of marching_cubes. marching_cubes_lewiner will be removed in version 0.19
  verts, faces, normals, values = measure.marching_cubes_lewiner(
Error executing job with overrides: []
Traceback (most recent call last):
  File "test.py", line 43, in <module>
    main()
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/main.py", line 94, in decorated_main
    _run_hydra(
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
    _run_app(
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/_internal/utils.py", line 457, in _run_app
    run_and_report(
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
    raise ex
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
    return func()
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/_internal/utils.py", line 458, in <lambda>
    lambda: hydra.run(
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 132, in run
    _ = ret.return_value
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/core/utils.py", line 260, in return_value
    raise self._return_value
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/hydra/core/utils.py", line 186, in run_job
    ret.return_value = task_function(task_cfg)
  File "test.py", line 39, in main
    trainer.test(model, testset, ckpt_path=checkpoint)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 794, in test
    return call._call_and_handle_interrupt(
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/call.py", line 38, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 842, in _test_impl
    results = self._run(model, ckpt_path=self.ckpt_path)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1112, in _run
    results = self._run_stage()
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1188, in _run_stage
    return self._run_evaluate()
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1228, in _run_evaluate
    eval_loop_results = self._evaluation_loop.run()
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 152, in advance
    dl_outputs = self.epoch_loop.run(self._data_fetcher, dl_max_batches, kwargs)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 137, in advance
    output = self._evaluation_step(**kwargs)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 234, in _evaluation_step
    output = self.trainer._call_strategy_hook(hook_name, *kwargs.values())
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1494, in _call_strategy_hook
    output = fn(*args, **kwargs)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/pytorch_lightning/strategies/strategy.py", line 399, in test_step
    return self.model.test_step(*args, **kwargs)
  File "/home/prityush/Desktop/avatar/vid2avatar/code/v2a_model.py", line 268, in test_step
    model_outputs = self.model(batch_inputs)
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/prityush/Desktop/avatar/vid2avatar/code/lib/model/v2a.py", line 158, in forward
    fg_rgb_flat, others = self.get_rbg_value(points_flat, differentiable_points, view,
  File "/home/prityush/Desktop/avatar/vid2avatar/code/lib/model/v2a.py", line 237, in get_rbg_value
    _, gradients, feature_vectors = self.forward_gradient(x, pnts_c, cond, tfs, create_graph=is_training, retain_graph=is_training)
  File "/home/prityush/Desktop/avatar/vid2avatar/code/lib/model/v2a.py", line 258, in forward_gradient
    grad = torch.autograd.grad(
  File "/home/prityush/.pyenv/versions/vid_avatar/lib/python3.8/site-packages/torch/autograd/__init__.py", line 272, in grad
    return Variable._execution_engine.run_backward(
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
Testing DataLoader 0:   0%|          | 0/42 [00:07<?, ?it/s]

This issue relates to the pytorch_lightning version where we use v1.5.7. I think as long as you strictly follow the environment requirements, there shouldn't be a problem with running the code (colab reference: https://github.com/camenduru/vid2avatar-colab). To properly install pytorch, I would suggest installing the pre-built version for example if you are using cuda 11.1:
pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html. The installation for the rest dependencies should then be fine.


fix(controls): improve focus style to meet WCAG 2.2 AA

Closes STACKS-542
This PR updates focus styles for buttons that are editor controls.

Note
This PR removes styling for .s-btn-group__radio. This element no longer exists (it's now .s-btn-group--radio).

Note
This output of this PR may look incorrect until the @StackExchange/stacks dependency is updated beyond 2.0.9.

@dancormier What do you think of adding @stackoverflow/stacks in the peerDependencies field of the package.json of this library?
"peerDependencies": {
    "@stackoverflow/stacks": "^2.1.0",
    "highlight.js": "^11.6.0"
}

This reference will then be moved to the devDependencies object the same way we do for highlight.js.
I am suggesting this because the release containing the changes on this PR (probably v0.10.0) will rely on the styles of Stacks Classic v2.1.0 or above being rendered alongside the editor. Consumers failing to do so will potentially get a half broken editor. I also think that dependabot (for example in Core) will be smart enough and attempt to bump both libraries at once (worst case it will correctly fail CI when trying to run npm i updating exclusively the editor).

@dancormier What do you think of adding @stackoverflow/stacks in the peerDependencies field of the package.json of this library?

I took the liberty to cut a stacks classic release candidate and also add 2.1.0 as peer deps in this PR.
I hope that's ok.
https://github.com/StackExchange/Stacks-Editor/pull/267/commits/4af3721add90712a4c09033c94238afe01c8c996


Fix leaderboards

In the previous codebase Rails was caching the mongoid map_reduce definition instead of the real data.

Good catch!


Update Folly version to fix MSVC version(1920) issue

Folly failed with below error:
"This build script only supports building Folly on 64-bit Windows with Visual Studio 2015 or Visual Studio 2017.  MSVC version '1920' is not supported."
FE CTI member Quella has reported this issue in https://github.com/facebook/folly/issues/949 few days ago, this because we have updated MSVC version to 1920, but folly not.
Folly has updated its code to adapt this change and fixed in Folly's version 2<IP_ADDRESS>, I have verified this version, Folly passed with the latest version when using vcpkg installed.

@alexkaratarakis Please help me approve this. Thank you!

The appears to break facebook/wangle. Very likely that we simply need to also update that to the latest version. I will launch a CI with the update.


feat: add tests for python example application

Some methods are temporarily defined as the example application have not been moved to the app-services-guide repository.

look good to me but branch needs to rebase and even ifi go with that rebase it fails with following response
Traceback (most recent call last):
  File "/private/var/folders/_n/4v4gm05x5652b269h5fz_yfh0000gp/T/quickstart-repo10683828265679183106/rhosak_example_codes/python_example/consumer.py", line 4, in <module>
    from confluent_kafka import Consumer
ModuleNotFoundError: No module named 'confluent_kafka'

Step failed
java.io.IOException: Not able to find the produced message
	at io.managed.services.test.quickstarts.steps.PythonSteps.python_example_consumer_should_print_the_produced_message(PythonSteps.java:136)
	at ✽.Python example consumer should print the produced message(file:///Users/hzrncik/Documents/code/work/e2e-test-suite/src/test/resources/io/managed/services/test/quickstarts/quickstarts.feature:57)


Add Cult of the Lamb

Game name
Cult of the Lamb
Request type
Adding a new game to the feed
Target frameworks, package dependencies

netstandard2.0

UnityEngine.Modules, 2019.4.40
Newtonsoft.Json, 12.0.3

Allowed assembly names

Assembly-CSharp.dll
Assembly-CSharp-firstpass.dll
DOTween.dll
FMODUnity.dll
GalaxyCSharp.dll
Rewired_Core.dll
Rewired_Windows.dll
Sirenix.Serialization.dll
Sirenix.Utilities.dll
spine-unity.dll
Unity.Addressables.dll
Unity.Mathematics.dll
Unity.ProBuilder.dll
Unity.ResourceManager.dll
Unity.TextMeshPro.dll
UnityEngine.UI.dll

Contact details
Discord: Windows10CE#8554
Additional information
No response
Package ownership agreement

[X] I acknowledge and agree to the above rules

Granted upload key without changes


[SPARK-12197] [SparkCore] Kryo & Avro - Support Schema Repo

Adding ability for efficient and dynamic generic records serialization

Can one of the admins verify this patch?

Any news ? Did anyone look into it ?

Created another one with fixed merge conflicts.


Add skip-checks argument to sparse-checkout for individual file support

The new builder-base updated Git from 2.34.3 to 2.37.1, which added this commit to validate that the arguments to the set command are directories. The attribution job with the updated builder-base failed building the bootconfig binary with the error
git -C linux sparse-checkout set tools lib/bootconfig.c include/linux/bootconfig.h --cone
fatal: 'lib/bootconfig.c' is not a directory; to treat it as a directory anyway, rerun with --skip-checks

This should fix it for future usecases.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Note: This presubmit will also fail since the builder-base it uses has the older Git.

/hold

/cherrypick release-0.11


Improve MongoDB security

What exactly are the security issues?

So far at least 29,000 mongodb databases have been erased by extortioners.  Please be sure you have properly secured yours if you use mongodb.
https://krebsonsecurity.com/2017/01/extortionists-wipe-thousands-of-databases-victims-who-pay-up-get-stiffed/
--
Steven Lindsey
Sr. Systems Administrator
RPI Computer Science


WIP: proposal to handle multi-length semver ranges

I ended up shaving the yak while reviewing and getting my head around variable length semver ranges: https://github.com/dependabot/dependabot-core/pull/3588
Opening to gather some feedback on this and to check weather these test cases are actually legit and should be covered. I'm less sure about the non-numeric handling.

@mctofu shall I merge into your branch?

@mctofu ok to merge into your branch?

@feelepxyz 👍 Let's do it!


GID complex synonyms and parentage

Please add:
C-terminal to LisH  complex
CTLH complex
(PMID:29911972)
as exact synonyms of
GID complex GO:0034657
And could
GID complex GO:0034657
be placed under
ubiquitin ligase complex GO:0000151
Thanks

moved under ubiquitin ligase complex (a child of original intracellular protein containing complex); added syns.
This slipped by me somehow.


deriveOrd1 reflexivity bug

There are a certain class of datatypes for which deriveOrd1 derives incorrect instances. I'm using GHC8.6.5 and deriving-compat-0.5.8.
Here's a minimal example:
{-# language TemplateHaskell #-}
module Main where

import Data.Deriving (deriveEq1, deriveOrd1)
import Data.Functor.Classes (compare1, eq1)
import Data.Void (Void)

data T a
  = A
  | B Int
  | C Int
  | D
  | E Int
  | F
deriveEq1 ''T
deriveOrd1 ''T
instance Eq a => Eq (T a) where; (==) = eq1
instance Ord a => Ord (T a) where; compare = compare1

main :: IO ()
main =
  let
    x = E 0 :: T Void
  in
    print $ compare x x

Running this program prints LT.
I hacked up a hedgehog generator to investigate (https://github.com/LightAndLight/deriveOrd1-bug), and the above example was arrived at after a generous amount of testing and shrinking. It appears 6 constructors is the minimum required to see the issue, but the problem can surface for more constructors.
7 constructor example:
data T a
  = A Int
  | B
  | C
  | D Int
  | E Int
  | F
  | G

...

let x = E 0 :: T Void

8 constructor example:
data T a
  = A
  | B
  | C Int
  | D
  | E Int
  | F Int
  | G
  | H

...

let x = F 0 :: T Void

You can tweak the parameters in the hedgehog test to find counterexamples of varying sizes.
The problem can only be seen for certain constructors. In the 6 constructor example, only E is affected.

Good catch! I've submitted #32 with a fix.

I've uploaded deriving-compat-0.5.9 to Hackage with a fix.

Wonderful. Thanks Ryan :)


Webpack out of memory error with postcss-loader 7.2.x

Bug report

Every production webpack build is failing with an out of memory error once I update to postcss-loader 7.2.x. As soon as I downgrade back to 7.1.x, it works again.
Actual Behavior

<--- Last few GCs --->

[90131:0x7242530]    65732 ms: Scavenge (reduce) 3798.4 (3990.6) -> 3798.3 (3991.9) MB, 4.9 / 0.0 ms  (average mu = 0.926, current mu = 0.892) allocation failure;
[90131:0x7242530]    67086 ms: Mark-sweep (reduce) 4144.9 (4337.8) -> 3968.3 (4149.8) MB, 645.9 / 0.1 ms  (+ 102.3 ms in 1953 steps since start of marking, biggest step 0.3 ms, walltime since start of marking 2153 ms) (average mu = 0.846, current mu = 0.7

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0xb7b3e0 node::Abort() [node]
 2: 0xa8c8aa  [node]
 3: 0xd69100 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xd694a7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xf46ba5  [node]
 6: 0xf5908d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 7: 0xf5bff5 v8::internal::Heap::HandleGCRequest() [node]
 8: 0xeda14f v8::internal::StackGuard::HandleInterrupts() [node]
 9: 0x12da75f v8::internal::Runtime_StackGuardWithGap(int, unsigned long*, v8::internal::Isolate*) [node]
10: 0x1707b79  [node]
Aborted (core dumped)

Expected Behavior

It should not be throwing out of memory errors and core dumps.
How Do We Reproduce?

Run a webpack build with the latest postcss-loader? All the webpack builds in our private repos fail with the latest version of postcss-loader, but I can't post those configurations publicly.
Please paste the results of npx webpack info here, and mention other relevant information
npx webpack info

  System:
    OS: Linux 6.2 Ubuntu 22.10 22.10 (Kinetic Kudu)
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 7.52 GB / 15.51 GB
  Binaries:
    Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
    npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
  Browsers:
    Chrome: 111.0.5563.146
    Firefox: 111.0.1
  Packages:
    raw-loader: ^4.0.2 => 4.0.2
    source-map-loader: ^4.0.1 => 4.0.1
    url-loader: ^4.1.1 => 4.1.1
    webpack: ^5.77.0 => 5.77.0

Sorry, I can't fix it here

Please report any problems here https://github.com/webpack-contrib/postcss-loader/issues/634 I will try to find an upstream bugs


Change Console Status PublicHostname to ConsoleURL

@openshift/api-reviewers
@spadgett @enj

The only similar field in config v1:
https://github.com/openshift/api/blob/573fabd050d7895c3b76249efd428af19202e74d/config/v1/types_infrastructure.go#L44-L47

/assign @derekwaynecarr @spadgett

+1 to this change. It makes that the scheme, host, port, and path explicit and would also give us freedom to someday support a different port on add a context root if we ever needed to.
I don't have a strong opinion on the property name. publicURL seems fine, but will defer to @enj and @derekwaynecarr

/approve
the installer should probably be updated to read from this and not the route.

Updated

/hold cancel
/lgtm

the installer should probably be updated to read from this and not the route.

@sallyom fyi


Adding new version of using net profiles

For 1.2.4 branch. Already in Master. thanks

Thanks @lparis!


page loading problem  . Plus    Doesnt  accept  code. because  chrome  finds an issue  with the Pre Script  tag. before i end the script tag  and  in the end page turns unresponsive  no matter how many times i refresh it

Challenge Learn how Script Tags and Document Ready Work has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/58.0.3029.110 Chrome/58.0.3029.110 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:


Inputs Outputs Content Updates v1.1

Description
This PR provides the following content updates based on feedback from the previous release:

Moves the outputs "helper functions" to live underneath apply/all respectively
Updates the interpolation content and code examples on the all page
Additional content/verbiage changes and updates

This all looks good; I really like the new arrangement/layout of the information and the way it's presented.
The only thing preventing an approval is this: are all the go.mod.txt changes intentional? I only ask because I've had some PRs where those files were modified and the changes weren't intentional/desired.

Good catch! Definitely not intentional. Do you know why this happens?

This all looks good; I really like the new arrangement/layout of the information and the way it's presented.
The only thing preventing an approval is this: are all the go.mod.txt changes intentional? I only ask because I've had some PRs where those files were modified and the changes weren't intentional/desired.

Good catch! Definitely not intentional. Do you know why this happens?

@toriancrane Honestly, I have no idea. I've had it happen to me and Christian has helped me revert the changes, but we have not yet been able to determine exactly why it happens. I think it happened to Zack once, too, before he left. It's something to do with the pre-commit script, I think.


Integrated cod but after payment not redirecting

I integrated cod option by adding django-payments-cod to installed apps and by tweaking below
PAYMENT_VARIANTS = {
    'default': ('django_payments_cod.CODProvider', {})}

CHECKOUT_PAYMENT_CHOICES = [
    ('default', 'Cash On Delivery')
]

in settings file
The problem I am currently facing is after making payment its freezing without redirecting to order success or payment success page.

thanks in advance..

Django payments are not compatible with Saleor anymore. We've dropped it for our custom solution, and payment gateways should be integrated directly into Saleor.
We have a guide on adding new payment methods in https://docs.getsaleor.com/en/latest/guides/payments.html#adding-payments


Looks like resolrize has been failing

This may be the reason for #416
job_class: ResolrizeJob
job_id: ecf9405c-68e2-4c33-af7a-7d9fc640de95
queue_name: default
arguments: []
locale: en
Exception
NoMethodError
Error
undefined method `rdf_source?' for #<Ldp::NoneClass:0x007f49cadf89a8>

There was a fix put in ScholarSphere 2.0 to index based on id length and then there was a change in Sufia 7 to re-index for members. https://github.com/psu-stewardship/scholarsphere/blob/master/app/jobs/resolrize_job.rb

Model ids are now 10 digits long instead of 9


Pass real filepath to transform plugins

Changes
In the dev server, our transform plugins receive a pseudo-URL, which neither exists on disk nor really at the final URL (but probably closer to the latter). The root cause here is when working with PostCSS on transformed files, you’ll get the following error:
Error: ENOENT: no such file or directory, stat '{projectRoot}/src/components/Button2.css'

Because we weren’t passing a real location on disk to PostCSS, it would fail running on anything basically not in a .css file originally.
This definitely does fix an error, but it‘s unknown if it causes other errors.

Testing

Docs

Before I merge, I’ll take a look at our most-used plugins and double-check this won’t break anything. If not, then we can push this in a patch and improve PostCSS support without needing to release the PostCSS plugin too.

Update: I found that this change would actually break an internal plugin in esinstall, so I’ve modified the PR to add a new srcPath option rather than change the existing id. This will require a new release of snowpack and @snowpack/plugin-postcss, but overall it’s safer and won’t disrupt people.

@drwpow totally in favor of that, good call!


Format table get unexpected right aligment

My input grid table.
+-----+-------------------------+
| No. | Description             |
+:===:+=========================+
| 1   | - This is a long string |
|     |   + Short string        |
|     |   + Short string        |
|     |   + Short string        |
|     |   + Short string        |
|     |   + Short string        |
+-----+----------+--------------+

After pressing TAB. formatted table as below. which is not the format I expected, and will cause the list not working.
+-----+-------------------------+
| No. | Description             |
+:===:+=========================+
| 1   | - This is a long string |
|     |          + Short string |
|     |          + Short string |
|     |          + Short string |
|     |          + Short string |
|     |          + Short string |
+-----+----------+--------------+

Hey Preston thanks for sharing this issue with me I will look into it once I have time again

Hey Preston, this issue comes due to a missing check. It is only right aligned due to the "+" char which indicates a new cell. I think I there should be a check if we have a valid cell separator above or something.
Thanks for opening

Hey Preston, this issue comes due to a missing check. It is only right aligned due to the "+" char which indicates a new cell. I think I there should be a check if we have a valid cell separator above or something.
Thanks for opening

Hey Preston, did you implement a test for the new case and gone ahead and tested your code?
I want to have 100% Coverage on all scripts except the extension.ts file. Just run `npm run coverage and take a look at the coverage report.
And maybe add a test with your example with the expected result.
Afterwards you can open a pull request. Thanks for your participation 😄

Looks like | and +  in a table cell are special cases.
Which will cause the below code to create incorrect table cells.
if (char === "|" || char === "+") {
    // create a new cell with the current cell string
    this._cells.push(new TableCell(current_cell_str));
    // reset the current cell string
    current_cell_str = char;
}

Hi, I have fixed the issue by checking the table cell is valid using a regex.
Following is the coverage result.
-----------------|---------|----------|---------|---------|--------------------------------------------------------------------------------------
File             | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|--------------------------------------------------------------------------------------
All files        |   56.23 |    96.24 |   73.86 |   56.23 |
 commands.ts     |     100 |      100 |     100 |     100 |
 commands.ts     |    9.67 |      100 |    12.5 |    9.67 | 22-68,71-105,107-150,152-200,202-259,262-288,291-310
 extension.ts    |     100 |      100 |     100 |     100 |
 table.ts        |     100 |      100 |     100 |     100 |
 table.ts        |    6.19 |        0 |       0 |    6.19 | 15-82,85-193,196-252,255-323
 table_cell.ts   |     100 |      100 |     100 |     100 |
 table_cell.ts   |    4.54 |       50 |       0 |    4.54 | 6-46,49-154
 table_column.ts |     100 |      100 |     100 |     100 |
 table_column.ts |   18.42 |        0 |       0 |   18.42 | 8-38
 table_row.ts    |     100 |      100 |     100 |     100 |
 table_row.ts    |    3.89 |        0 |       0 |    3.89 | 4-77
 text_utility.ts |     100 |      100 |     100 |     100 |
 text_utility.ts |   23.64 |       80 |   11.11 |   23.64 | 15-16,32-34,50-52,63-65,77-87,89-109,111-142,144-170,173-226,229-282,284-292,294-313
-----------------|---------|----------|---------|---------|--------------------------------------------------------------------------------------

Could you fork the repository to your own GitHub account and push the changes there?
Then I will be able to review your code and check what you did, because I would really like to understand what you did with regex :smile:

You check it by diff.log

Hey @riyueniao, the test cases you supplied have a malformed table.
The examples work without your changes to the code. Therefore, I will reject those changes.
Yes, “+” and “|” are special characters that need to handled separately.
A Row separator is marked with + left and right to it, a table corner.
This is important, because if inside of two + only valid separator characters are present, either - or = signs.
Your initial Problem doesn't seem to be fixed

I decided to not support + as a valid element inside a grid cell. Therefore, please use another - as a bullet point marker.
Sadly, this also didn't work right now, and I needed to make adjustments to my code.
I created a fix and will publish it as soon as possible.

Released v0.0.2

Released v0.0.2 with updated cell trimming.
Won't support "+" inside of cells


Add append_and_resign option to update targets metadata

If a signer wants to add a new target, it should download the old metadata, verify the trust, append, then resign to not all metadata/hashes/sizes have to be cached locally.

Closed by ac95a67


fix variable shadowing in finisher_api

[] Do only one thing
[] Non breaking API changes
[] Tested

What did this pull request do?

User Case Description

is it causing any issue? seems good to me?


lua5_3: 5.4.2 -> 5.4.3

Motivation for this change
Bugfixes
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Backporting to 21.05 since it's a bugfix release.
Not backporting to 20.09 because Lua 5.4 is not on that branch at all.

Result of nixpkgs-review pr 125111 at 490970ae run on x86_64-linux 1

6 packages skipped due to time constraints:

bareos
ceph (ceph-dev)
ceph-client
libceph
qemu_full
sambaFull (samba4Full)

2 packages built successfully:

lua5_4
lua5_4_compat