Bug in MRC trainer evaluation "ValueError: The model did not return a loss from the inputs"

Running MRC evaluation gives the following error:
Traceback (most recent call last):
  File "/mnt/ptoroisaza/primeqa/primeqa/mrc/run_mrc.py", line 550, in <module>
    main()
  File "/mnt/ptoroisaza/primeqa/primeqa/mrc/run_mrc.py", line 505, in main
    metrics = trainer.evaluate()
  File "/mnt/ptoroisaza/primeqa/primeqa/mrc/trainers/mrc.py", line 203, in evaluate
    output = eval_loop(
  File "/opt/anaconda3/envs/primeqa/lib/python3.8/site-packages/transformers/trainer.py", line 2974, in evaluation_loop
    loss, logits, labels = self.prediction_step(model, inputs, prediction_loss_only, ignore_keys=ignore_keys)
  File "/opt/anaconda3/envs/primeqa/lib/python3.8/site-packages/transformers/trainer.py", line 3217, in prediction_step
    loss, outputs = self.compute_loss(model, inputs, return_outputs=True)
  File "/opt/anaconda3/envs/primeqa/lib/python3.8/site-packages/transformers/trainer.py", line 2553, in compute_loss
    raise ValueError(
ValueError: The model did not return a loss from the inputs, only the following keys: start_logits,end_logits,target_type_logits. For reference, the inputs it received are input_ids,attention_mask.

Issue due to Huggingface 4.24.0 update.
Fix works from https://github.com/primeqa/primeqa/blob/3837f1a663b5ee8cb1519b579fe82a88c8041603/primeqa/mrc/trainers/mrc.py#L38
        # FIXME: Work around for a bug in Transformers (4.24.0)
        # Reference: https://github.com/huggingface/transformers/issues/20105
        # -------- START OF FIX --------
        if transformers.__version__ == "4.24.0":
            if "args" not in kwargs:
                kwargs["args"] = TrainingArguments(output_dir="tmp_trainer")

            kwargs["args"].label_names = ["start_positions", "end_positions"]
        # --------  END OF FIX   --------

Might have to add to imports in primeqa/mrc/trainers/mrc.py:
import transformers

@seirasto : Could you please check on this ? Is this same as what you had fixed during <IP_ADDRESS> testing of CI errors.

I don't think so import transformers is already in mrc.py. It looks like this may be an attempt to run predict instead of eval which is not supported in run_mrc.py. @bhavani105

@PauToroIsaza Evaluation requires examples with gold answers. Would it be possible to provide some examples of the input data.

@bhavani105 and @seirasto Sorry if I didn't explain clearly. The fix from https://github.com/primeqa/primeqa/blob/3837f1a663b5ee8cb1519b579fe82a88c8041603/primeqa/mrc/trainers/mrc.py#L38 worked. @avisil asked me to create an issue anyways explaining the problem and that the fix worked. I just had to add that import line but maybe I had a older version of mrc.py that didn't have import transformers.
The issue isn't with the evaluation input data. It works fine.

@PauToroIsaza The current version in main https://github.com/primeqa/primeqa/blob/main/primeqa/mrc/trainers/mrc.py
has the import transformers.  Is it possilble to test with this ?


Use reentry to cache entrypoints

Coverage decreased (-0.1%) to 78.186% when pulling 50497c29e96fddd1e5d281a0340bf39d63a21d00 on reentry into d79e53047be5b9bc09f98e88e70c7b5970bd8b34 on master.


Add missing themes (from minilauta.org) and implement theme selector

Simple HTML dropdown, clicking a theme selects it immediately. Top right corner of all pages.

Implement the following styles

https://github.com/Anonyymi/minilauta-tinyib/blob/master/css/burichan.css
https://github.com/Anonyymi/minilauta-tinyib/blob/master/css/tomorrow.css
https://github.com/Anonyymi/minilauta-tinyib/blob/master/css/minilauta.css

Use the current futaba theme as a starting point. Do minimal changes, meaning only fonts, font-sizes and colors.

Also implement yotsuba and yotsuba_blue.

Good enough for now.


Create email accounts for DDS team and adopter support

The problem
We do not have a proper email address for our adopters to get in touch with our team.
The solution
Create proper email address/addresses to meet adopter's needs.
Additional information
Through a Slack discussion:

Jeff mentioned we have an email account for the engineering team.
Olivia mentioned we need an email account for our team Sketch Cloud account.
We know we need an email account for adopter support purposes.

👉 Question: Is there any other email accounts we need to create?
Resource:

Document shared by Jeff on how to create an email account: https://ibm.ent.box.com/notes/493614117176

The Leadership team has decided that adopter support requests will be submitted using Slack or Github issues.  Closing this issue.


[BEAM-11775]:Move org.apache.beam.runners.spark.aggregators.metrics.s…

…ink.InMemoryMetrics class out of test jar
Currently,  org.apache.beam.runners.spark.aggregators.metrics.sink.InMemoryMetrics class is in test jar, but InMemoryMetrics is needed when doing unit tests and local runs for spark runner. So move it out of test jar to support unit tests and local runs.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @xinyuiscool


How do i hide the ini file?

I want to hide it entire,but singly.

Right clicking any file or pressing the … , there will be a “hide file” button

On Apr 23, 2024, at 5:12 AM, llleeekkkwww @.***> wrote:
I want to hide it entire,but singly.
—
Reply to this email directly, view it on GitHub https://github.com/Make-md/makemd/issues/306#issuecomment-2071808155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHKNSNR3M75PEG2CVUSRDY6YQZDAVCNFSM6AAAAABGUPBQ76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRHAYDQMJVGU.
You are receiving this because you are subscribed to this thread.


SassError when consuming Bootstrap 4 variables when importing into SCSS files, how to resolve?

What import is needed in order to import Bootstrap 4 at SCSS level, AND also be able to use the variables? I get a SassError for undefined variables. This feels like it might be a bug?
Generally speaking, Bootstrap works. The utility classes work. I can use mixins. I can re-define variables with no problem. I just can't consume existing BS4 variables.
See https://stackoverflow.com/questions/60948890/sasserror-undefined-variable-with-angular-9-and-bootstrap-4-out-of-the-box for further details.

This seems completely unrelated to Bootstrap, since as you said in StackOverflow you made it work with Angular 8.
Importing Sass files is documented, as well as overriding variables and working with maps, functions, etc.
Either you are using the wrong path, or not including this path in your Sass compilation script, or not importing it at the right place (since _variables.scss has to be imported before you use any variables).
I'll bet on not importing it at the right place / moment, since you said you can override variables: it's imported. Maybe should you explicitly import _variables.scss at the beginning of your your styles.scss?
But importing our variables works and is documented. We cannot provide support for working in Angular. I hope my comment will help, otherwise please wait for any Stack Overflow help on this. You may ask on our Slack, too.

Thanks for the reply, and I am sure your advice is helpful.
I guess that Angular is one of the main JS libraries out there, and that it might have been something that someone at Bootstrap has encountered.
I have tried explicitly importing _variables.scss, I've tried the following variants:
@import "~bootstrap/scss/bootstrap";
@import "~bootstrap/scss/_variables";
@import "~bootstrap/scss/_variables.scss";
@import "../node_modules/bootstrap/scss/_variables.scss";
@import "../node_modules/bootstrap/scss/variables";

I just can't consume existing BS4 variables.

This is a limitation of Sass unfortunately... when you override the Sass default variables, you do so before the import of Bootstrap itself. See this WIP v5 docs page for customizing: https://twbs-bootstrap.netlify.app/docs/4.3/customize/sass/#variable-defaults
You could double import I think, but I'm not 100% sure that'd solve what you're experience.


Consider adding sqlite, libpng, zlib, libjpeg, libarchive, zstd, openssh and busybox

I couldn't find any of these keywords in the "Critical Projects" sheet of the current spreadsheet, my apologies if I missed any.

SQLite has a longstanding claim to being the most widely deployed database and to being one of the most widely deployed components of any kind (they helpfully list libpng, zlib and libjpeg)
zstd and libarchive (which includes bsdtar, I believe) due to their centrality when it comes to the underlying archive manipulation of package managers and transports
I also couldn't find OpenSSH and would suggest that it is, not least by virtue of https://github.com/git/git/pull/1041
busybox is a commonly found component not only in embedded but also in container images that can easily be overlooked

My rationale for suggesting this includes popularity and footprint across different scenarios (from embedded and mobile to legacy applications) as well as the centrality of these components in performing actions critical to trust.

These all seem to me to be "obvious" candidates for inclusion. libarchive should also be a candidate based on previous vulnerabilities/exploits, see e.g. https://www.cvedetails.com/product/26168/Libarchive-Libarchive.html?vendor_id=12872, https://blog.malwarebytes.com/exploits-and-vulnerabilities/2022/01/update-now-microsoft-patches-97-bugs-including-6-zero-days-and-a-wormable-one/, etc.

These projects have been added to the candidates set for consideration. Voting, discussion, and feedback is open until 3/23/2023 for more suggestions. Thank you!
link: https://docs.google.com/spreadsheets/d/1ONZ4qeMq8xmeCHX03lIgIYE4MEXVfVL6oj05lbuXTDM/edit#gid=991730401


Added Cc to header informations table and attachment names below the body text

Added Cc to header informations table.
Added attachment names below the body text (option "-aa", "--add-attachment-names").

Hi mattgolem, thanks for your contribution!
The code looks good to me.
Please consider extending the unit tests, I would be grateful :)

unit tests added

Can you make new build?

Great stuff, thanks for your contribution.

Thanks a lot!
Could you also update the setup.exe binary? As far as I see the feature is not yet implemented there.

The "innosetup.iss" script remains the same. What should I change?
Can make you the new binaries please?


v1.0 Twitter Scraper

Get tweet related to a username (with reply to tweet as well)
Insert in database
I've used an existing library: twitterscraper
CLI

Add environment variables to control HOST, PORT etc, take example on the spotify PR


Math with units doesn't work as documented

Describe the bug

Adding units
The plugin cannot calculate if one of your tokens had the unit included (e.g. spacing.sm = 2rem). In that case you can either decide to remove the unit or append the unit after the operation (e.g. {spacing.xs} * {spacing.scale}rem)

Docs
To Reproduce
According to the docs, shouldn't this equation render 256rem?:

It works as expected without the units:

(I tried adding some spaces or wrapping the calculation in parenthesis's, but it didn't help)

Yeah, that part of the docs contains wrong information unfortunately, will update that!
Math operations cannot be mixed with units, so the following will not work:
{size.rem} * {size.scale}rem
Extracting the math part into its own token will work:
size.calculation: {size.rem} * {size.scale}
other token: {size.calculation}rem

Changed docs to explain how it would work, thanks for reporting!


Approved certificate request should be ready with Approved status

apiVersion: cert-manager.io/v1
kind: CertificateRequest
metadata:
  uid: e9719a93-fd45-4998-8dc9-519904d64d92
  name: gitlab-registry-tls-1
  labels:
    app: registry
    chart: registry-0.7.0
    release: gitlab
    heritage: Helm
    helm.toolkit.fluxcd.io/name: gitlab
    app.kubernetes.io/managed-by: Helm
    helm.toolkit.fluxcd.io/namespace: gitlab
  namespace: gitlab
  annotations:
    cert-manager.io/certificate-name: gitlab-registry-tls
    cert-manager.io/certificate-revision: "1"
    cert-manager.io/private-key-secret-name: gitlab-registry-tls-rxvln
  ownerReferences:
    - uid: 7328d775-104a-4a6a-b419-c65a16995819
      kind: Certificate
      name: gitlab-registry-tls
      apiVersion: cert-manager.io/v1
      controller: true
      blockOwnerDeletion: true
  creationTimestamp: 2024-10-28T08:22:13Z
spec:
  uid: af529559-388a-4dc4-9235-eea2791dab08
  extra:
    authentication.kubernetes.io/pod-uid:
      - 5ac25ab3-c084-4d50-8877-d6e1f781a400
    authentication.kubernetes.io/pod-name:
      - cert-manager-5584949975-5hrss
  groups:
    - system:serviceaccounts
    - system:serviceaccounts:cert-manager
    - system:authenticated
  usages:
    - digital signature
    - key encipherment
  request:
  username: system:serviceaccount:cert-manager:cert-manager
  issuerRef:
    kind: ClusterIssuer
    name: letsencrypt-dns
    group: cert-manager.io
status:
  conditions:
    - type: Approved
      reason: cert-manager.io
      status: "True"
      message: Certificate request has been approved by cert-manager.io
    - type: Ready
      reason: Pending
      status: "False"
      message: 'Waiting on certificate issuance from order
        gitlab/gitlab-registry-tls-1-751983884: "pending"'

Certificates Issuing for > 15m should be in warning, and > 1h in error (based on notBefore)
And a Ready:False with a non-empty reason/message should override status of Issuing
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  uid: 73dc6b75-a54c-4cf7-92eb-bb2ea356a1c3
  name: gitlab-wildcard-tls
  labels:
    app: kas
    chart: kas-8.5.1
    release: gitlab
    heritage: Helm
    helm.toolkit.fluxcd.io/name: gitlab
    app.kubernetes.io/managed-by: Helm
    helm.toolkit.fluxcd.io/namespace: gitlab
  namespace: gitlab
  ownerReferences:
    - uid: e5bfab40-3e8b-44c8-9bd9-eed9da3ff0a7
      kind: Ingress
      name: gitlab-kas
      apiVersion: networking.k8s.io/v1
      controller: true
      blockOwnerDeletion: true
  creationTimestamp: 2024-10-28T08:11:09Z
spec:
  usages:
    - digital signature
    - key encipherment

  issuerRef:
    kind: ClusterIssuer
    name: letsencrypt-dns
    group: cert-manager.io
  secretName: gitlab-wildcard-tls
status:
  notAfter: 2025-10-28T08:05:00Z
  notBefore: 2024-10-28T08:05:00Z
  conditions:
    - type: Ready
      reason: IncorrectIssuer
      status: "False"
      message: Issuing certificate as Secret was previously issued by
        "Issuer.cert-manager.io/"
    - type: Issuing
      reason: IncorrectIssuer
      status: "True"
      message: Issuing certificate as Secret was previously issued by
        "Issuer.cert-manager.io/"
  renewalTime: 2025-06-28T16:05:00Z


Static Image don't work with remote images

I'm using Nextra alpha.18.
image like this:
![](https://github.com/xxxx/assets/30863296/1b405347-f4c3-4c55-82f6-47116f2210d0)

won't work as document says:

duplicate https://github.com/shuding/nextra/issues/2024


Fix single column tables

GitHub supports single-column tables (https://gist.github.com/smoogipooo/054691dd361c36cb917c08028d09fea5)
So unless this is following some specification that explicitly doesn't support single-column tables, then I think this is a fair addition.

Thanks! I squashed your commits https://github.com/webuni/commonmark-table-extension/commit/23c598ba75f4df6dceb9c51f533ce0aaf98f73b1 and fixed implementation https://github.com/webuni/commonmark-table-extension/commit/55a26edf951d4fc30575673421b8d60b057e5a72.

@smoogipooo You can use the new version 0.6.1.


Cypress. Update case 60 for check fix "Autoborder points are visible for invisible shapes"

Related: #3931
Motivation and context
Adding a check for "Autoborder points are visible for invisible shapes"
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Hi, how exactly this PR checks that there are not points of hidden shapes in autobordering mode? I see only
cy.get('#cvat_canvas_shape_3').should('be.hidden');
but it does not guarantee us anything regarding the fixed issue.

Hi, how exactly this PR checks that there are not points of hidden shapes in autobordering mode? I see only
cy.get('#cvat_canvas_shape_3').should('be.hidden');
but it does not guarantee us anything regarding the fixed issue.

Hi.
The main check is on line 97
testAutoborderPointsCount(8); // 8 points at the rectangles

Which checks the number of points after activating autoborder mode.
Before the fix, I got the assert that 8 != 12.

@dvkruchinin
Probably you didn't commit it.


Adding components to calc.py

I looked at calc.py in the examples, and wanted to add more math operators. To do so, I edited calc.py to look like this:
from lark import Lark, Transformer, v_args

calc_grammar = """
    ?start: sum
          | NAME "=" sum ";"   -> assign_var
    ?sum: product
        | sum "+" product      -> add
        | sum "-" product      -> subtract
    ?product: misc
        | product "*" atom     -> multiply
        | product "/" atom     -> divide
    ?misc: atom
        | exponent "**" atom   -> exponent
        | modulus "%" atom     -> modulus
    ?atom: NUMBER              -> number
         | "-" atom            -> neg
         | NAME                -> var
         | "(" (sum misc) ")"
    %import common.CNAME -> NAME
    %import common.NUMBER
    %import common.WS_INLINE
    %ignore WS_INLINE
"""

@v_args(inline=True)    # Affects the signatures of the methods
class CalculateTree(Transformer):
    from operator import neg
    from my_ast.math_ast import add, subtract, multiply, divide, exponent, modulus
    number = float

    def __init__(self):
        self.vars = {}

    def assign_var(self, name, value):
        self.vars[name] = value
        return value

    def var(self, name):
        return self.vars[name]

calc_parser = Lark(calc_grammar, parser='lalr', transformer=CalculateTree())
calc = calc_parser.parse

def main():
    while True:
        try:
            repl_in = raw_input('> ')
        except EOFError:
            break
        print(calc(repl_in))

if __name__ == '__main__':
    main()

The lark and python code above looks fine to me, but when I ran the code I got this error:
Traceback (most recent call last):
  File "C:/Users/Xilpex/Desktop/Qxc/Qxc.py", line 44, in <module>
    calc_parser = Lark(calc_grammar, parser='lalr', transformer=CalculateTree())
  File "C:\Python27\lib\site-packages\lark\lark.py", line 170, in __init__
    self.grammar = load_grammar(grammar, self.source)
  File "C:\Python27\lib\site-packages\lark\load_grammar.py", line 832, in load_grammar
    raise GrammarError("Rule '%s' used but not defined (in rule %s)" % (sym, name))
GrammarError: Rule 'modulus' used but not defined (in rule misc)

Why am I getting this error? Is there some way I can change my lark or python code to fix this?

You can't do recursion with aliases. You have define a separate rule.

@erezsh The problem is, if I define a separate rule, I won't be able to set a variable to it...

What's wrong with this?
    ?misc: atom
        | exponent "**" atom   -> exponent
        | modulus

modulus: (modulus "%")? atom

@erezsh -- I've change my lark code to this:
    ?start: sum
          | NAME "=" sum ";"   -> assign_var

    ?sum: product
        | sum "+" product      -> add
        | sum "-" product      -> sub

    ?product: misc
        | product "*" atom     -> mul
        | product "/" atom     -> divide

    ?misc: atom
        | exponent             -> pow
        | modulus              -> mod

    modulus: (modulus "%")? atom
    exponent: (exponent "**")? atom

    ?atom: NUMBER              -> number
         | "-" atom            -> neg
         | NAME                -> var
         | "(" (sum misc) ")"

    %import common.CNAME -> NAME
    %import common.NUMBER
    %import common.WS_INLINE
    %ignore WS_INLINE

But I am getting this error:
Traceback (most recent call last):
  File "C:\Python27\parser_test.py", line 50, in <module>
    calc_parser = Lark(calc_grammar, parser='lalr', transformer=CalculateTree())
  File "C:\Python27\lib\site-packages\lark\lark.py", line 191, in __init__
    self.parser = self._build_parser()
  File "C:\Python27\lib\site-packages\lark\lark.py", line 215, in _build_parser
    return self.parser_class(self.lexer_conf, parser_conf, options=self.options)
  File "C:\Python27\lib\site-packages\lark\parser_frontends.py", line 48, in __init__
    self.parser = lalr_parser.Parser(parser_conf, debug=debug)
  File "C:\Python27\lib\site-packages\lark\parsers\lalr_parser.py", line 15, in __init__
    analysis.compute_lookahead()
  File "C:\Python27\lib\site-packages\lark\parsers\lalr_analysis.py", line 100, in compute_lookahead
    for _ in bfs([self.start_state], step):
  File "C:\Python27\lib\site-packages\lark\utils.py", line 40, in bfs
    for next_node in expand(node):
  File "C:\Python27\lib\site-packages\lark\parsers\lalr_analysis.py", line 96, in step
    raise GrammarError("Collision in %s: %s" %(k, ', '.join(['\n  * %s: %s' % x for x in v])))
GrammarError: Collision in Terminal('LPAR'):
  * Reduce: <exponent : atom>,
  * Reduce: <modulus : atom>,
  * Reduce: <misc : atom>

Is there some way I can change my lark code to fix this error? My python code is calc.py, except more objects are imported from the operator module; Here is everything imported from the operator module:
from operator import neg, add, sub, mul, truediv as divide, pow, mod

You have to specify the priority by creating a "flow" of rules. See how calc is written: sum into product into atom. You have to keep the flow going, instead of having multiple rules pointing to the same resolution.
Read up on LALR. Or just use Earley, which will work no matter how you write your grammar.

@erezsh -- So, I have to make it sum into product into misc into atom? Will that work?

Oh, could you give me a link to a good lalr article? I'm finding it kind of hard to find one. =) Thanks.

See this: http://blog.erezsh.com/how-to-write-a-calculator-in-50-python-lines-without-eval/
It's a tutorial for my old library, but it gives a good idea of the right technique for LALR

@erezsh Thanks! =D


Unable to query backups with filter and startTime

Package Name: azure-mgmt-recoveryservicesbackup
Package Version: 0.6.0
Operating System: Darwin 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
Python Version: Python 3.6.10

Describe the bug
I am unable to query the recoveryservicesbackup api using the python sdk for date ranges on startTime.
To Reproduce
Steps to reproduce the behavior:
1.
>>> iaasvm_odata_filter = "startTime eq '2020-08-1400:32:38'"
>>> backups = conn.azure_sdk_client.backup_jobs.list('auto-infrastructure-as-code-backup-vault', 'auto_infrastructure_as_code', filter=iaasvm_odata_filter)
>>> for backup in backups:
...     str(backup.properties.start_time)
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/philipkrauss/miniconda3/envs/dev_azure24/lib/python3.6/site-packages/msrest/paging.py", line 143, in __next__
    self.advance_page()
  File "/Users/philipkrauss/miniconda3/envs/dev_azure24/lib/python3.6/site-packages/msrest/paging.py", line 129, in advance_page
    self._response = self._get_next(self.next_link)
  File "/Users/philipkrauss/miniconda3/envs/dev_azure24/lib/python3.6/site-packages/azure/mgmt/recoveryservicesbackup/operations/_backup_jobs_operations.py", line 110, in internal_paging
    raise exp
msrestazure.azure_exceptions.CloudError: Azure Error: BMSUserErrorGetJobsInvalidInput
Message: The inputs specified for Get jobs API are incorrect. Please check your inputs and try again.
Make sure your filter parameters are following these guidelines - The OData filter options. status eq { InProgress , Completed , Failed , CompletedWithWarnings , Cancelled , Cancelling } and backupManagementType eq {AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql } and operation eq { ConfigureBackup , Backup , Restore , DisableBackup , DeleteBackupData } and jobId eq {guid} and startTime eq { yyyy-mm-dd hh:mm:ss PM } and endTime eq { yyyy-mm-dd hh:mm:ss PM }.

or a filter such as
>>> iaasvm_odata_filter = "startTime ge '{}T00:00:00Z'".format(datetime.datetime.now().date())
>>> backups = conn.azure_sdk_client.backup_jobs.list('auto-infrastructure-as-code-backup-vault', 'auto_infrastructure_as_code', filter=iaasvm_odata_filter)
>>> for backup in backups:
...     str(backup.properties.start_time)
...
'2020-08-14 00:32:38.202948+00:00'
'2020-08-13 00:32:42.812803+00:00'
'2020-08-12 00:32:14.893336+00:00'
'2020-08-11 00:32:31.104376+00:00'
'2020-08-10 14:28:14.387283+00:00'
'2020-08-10 14:24:14.013058+00:00'

Expected behavior
using a filter like:
iaasvm_odata_filter = "startTime ge '{}T00:00:00Z'".format(datetime.datetime.now().date())

should return nothing, as i have no backups today yet.
Screenshots
na
Additional context
I will be honest this could be me not hitting the mark on whats expected, however following the exceptions, suggestion
startTime eq { yyyy-mm-dd hh:mm:ss PM }
>>> iaasvm_odata_filter = "startTime ge '2020-08-14 16:37:05 PM'"
>>> backups = conn.azure_sdk_client.backup_jobs.list('auto-infrastructure-as-code-backup-vault', 'auto_infrastructure_as_code', filter=iaasvm_odata_filter)
>>> for backup in backups:
...     str(backup.properties.start_time)
...
'2020-08-14 00:32:38.202948+00:00'
'2020-08-13 00:32:42.812803+00:00'
'2020-08-12 00:32:14.893336+00:00'
'2020-08-11 00:32:31.104376+00:00'
'2020-08-10 14:28:14.387283+00:00'
'2020-08-10 14:24:14.013058+00:00'

still no luck.

@sambitratha: Can we provide some suggestion here?

retain_until field should be of format 2020-08-31T00:00:00.000Z
Here is a snapshot how this can be generated
`
from datetime import datetime, timedelta
retain_until = (datetime.utcnow() + timedelta(days=30)).strftime('%d-%m-%Y')
`

retain_until field should be of format 2020-08-31T00:00:00.000Z
Here is a snapshot how this can be generated
`
from datetime import datetime, timedelta
retain_until = (datetime.utcnow() + timedelta(days=30)).strftime('%d-%m-%Y')
`

i did try that formatting suggestion:
iaasvm_odata_filter = "startTime ge '{}T00:00:00Z'".format(datetime.datetime.now().date())
Which results in the same format.

Hi @DataDecay  in filter strings only eq is supported. So you may have to replace the ge by eq.
And can you please try the filter startTime eq '2020-08-18 05:29:36 AM'
@pvrk  can we please add someone from service team for quicker resolution to this problem?

@sambitratha so there is no way to query backup data from a date range?

@DataDecay : Can you please elaborate on the date range? I think 'startTime eq' and 'endTime eq' should act as a date range, right?

@pvrk you know what, i get what you are saying now, i was thinking from a single record standpoint. However this can be used for an entire range of records. Thank you! i will test this and reply back.

@DataDecay : Thanks. We will keep the issue open for few days, in case you find any more issues. Otherwise, I hope this can be closed.

@DataDecay : A gentle reminder. Were you able to test? Can I close this issue?

Yes this can be closed as working as intended.
On Wed, Sep 2, 2020, 1:24 AM Kartik P V R<EMAIL_ADDRESS>wrote:

@DataDecay https://github.com/DataDecay : A gentle reminder. Were you
able to test? Can I close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-sdk-for-python/issues/13123#issuecomment-685307009,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOG2UEZ4DSRAKFAZ2OWPJTDSDXJHLANCNFSM4P727NGQ
.


ImportError: No module named 'actualvim' (Mac OSX)

Installed via Package Control, on Mac OSX 10.11.6. When I restart ST3 I get
an ImportError: No module named 'actualvim'.
Since I get another ImportError from RegReplace (no yaml)
this might be an issue with my installation rather than
ActualVim, but how to fix it?
Here is the complete log (repeated three times):
reloading plugin ActualVim.actual
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 109, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/init.py", line 90, in import_module
File "", line 1584, in _gcd_import
File "", line 1565, in _find_and_load
File "", line 1532, in _find_and_load_unlocked
File "", line 584, in _check_name_wrapper
File "", line 1022, in load_module
File "", line 1003, in load_module
File "", line 560, in module_for_loader_wrapper
File "", line 868, in _load_module
File "", line 313, in _call_with_frames_removed
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/actual.py", line 6, in
from .view import ActualVim, enabled
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/view.py", line 5, in
from . import neo
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/neo.py", line 9, in
from .lib import neovim
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/init.py", line 9, in
from .api import Nvim
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/api/init.py", line 7, in
from .buffer import Buffer
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/api/buffer.py", line 2, in
from .common import Remote
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/api/common.py", line 4, in
from actualvim.lib.msgpack import unpackb
ImportError: No module named 'actualvim'
reloading plugin ActualVim.edit
reloading plugin ActualVim.neo
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 109, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/init.py", line 90, in import_module
File "", line 1584, in _gcd_import
File "", line 1565, in _find_and_load
File "", line 1532, in _find_and_load_unlocked
File "", line 584, in _check_name_wrapper
File "", line 1022, in load_module
File "", line 1003, in load_module
File "", line 560, in module_for_loader_wrapper
File "", line 868, in _load_module
File "", line 313, in _call_with_frames_removed
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/neo.py", line 9, in
from .lib import neovim
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/init.py", line 9, in
from .api import Nvim
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/api/init.py", line 7, in
from .buffer import Buffer
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/api/buffer.py", line 2, in
from .common import Remote
File "/Users/piero/Library/Application Support/Sublime Text 3/Packages/ActualVim/lib/neovim/api/common.py", line 4, in
from actualvim.lib.msgpack import unpackb
ImportError: No module named 'actualvim'

Oops, package control uses the package name rather than the repository name, and capitalization is different. Try the latest master: b00bc512cb0bf568a6820bd5ec963d358a3e6a28

This should be fixed, can you confirm?

Yes it works now! thanks

On 13 Mar 2017, at 15:55, Ryan Hileman<EMAIL_ADDRESS>wrote:
This should be fixed, can you confirm?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Creating link for image in pros and cons of open data (Abrd

Image was updated in the correct sub-directory. Closing this out.


Found CVEs in your dependencies

Hi,
I found some CVEs in the library dependencies, which may affect the security of your projects. In order to avoid threats, I recommend updating to a safe version. See details below:

Vulnerable Library Version: com.google.guava : guava : 21.0
CVE ID: CVE-2018-10237
Import Path: build.gradle
Suggested Safe Versions: 24.1.1-android, 24.1.1-jre, 25.0-android, 25.0-jre, 25.1-android, 25.1-jre, 26.0-android, 26.0-jre, 27.0-android, 27.0-jre, 27.0.1-android, 27.0.1-jre, 27.1-android, 27.1-jre, 28.0-android, 28.0-jre, 28.1-android, 28.1-jre, 28.2-android, 28.2-jre

Hi,

Unbounded memory allocation in Google Guava 11.0 through 24.x before 24.1.1 allows remote attackers to conduct denial of service attacks against servers that depend on this library and deserialize attacker-provided data, because the AtomicDoubleArray class (when serialized with Java serialization) and the CompoundOrdering class (when serialized with GWT serialization) perform eager allocation without appropriate checks on what a client has sent and whether the data size is reasonable.

Source:  https://nvd.nist.gov/vuln/detail/CVE-2018-10237
We don't use those two classes so the vulnerability doesn't affect us. Additionally, Sponge is a plugin API for Minecraft and guava is one of the dependencies directly tied to what's available from Minecraft.


Link to Harold's slides on the history/context for this repo

Get the slides from @hsolbrig, upload to this drive:
https://drive.google.com/drive/folders/0AL7TKPAX863lUk9PVA
and link to them from the README

@cmungall I uploaded: https://drive.google.com/drive/folders/1XMTNVazu30KwG_1OuCGuSxtgVZna1JER
But I don't have permission to allow anyone to view the presentation, it looks like. Can you change the permission?


SDL_KeyboardEvent is currently split into KeyDown and KeyUp events

https://github.com/veandco/go-sdl2/blob/master/sdl/events.go#L146-L173
There is even a comment about this in the code:

//TODO: Key{Up,Down}Event only differ in 'Type' - a boolean field would be enough to distinguish up/down events

SDL_KeyboardEvent contains the type of the event SDL_KEYDOWN or SDL_KEYUP so there is no need for boolean.
https://wiki.libsdl.org/SDL_KeyboardEvent

https://github.com/veandco/go-sdl2/commit/b565ce20739d7a6df3ef64abe70ee21d5b8e8d9a


DM-21183: Update python coverage section of dev guide

We are using pytest-cov+Coverage.py for automatic test coverage now:
these docs now reflect that, and provide some guidelines on how to use
the output.

I added a couple of screenshots with captions.


Is LLMA can improve model effectiveness in semantic retrieval?

there is 500 class of output .give  model a sentence, and infere what class it is. Can I use LLMA in chatglm to accelerate and imporve accuracy?

I'm afraid LLMA won't work if your model is a classification model.


Store the packetID instead of the entire packet for forwarded packets

Summary
Following https://github.com/cosmos/ibc-go/issues/6635, transfer could store only the packetID for the packet received which generated a forwarded packet. Currently we store the entire packet, when only the packetID information is needed

For Admin Use

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

Can I handle this issue @colin-axner ?

Hi, @NisTun. Thanks for asking and thanks for your interest. Unfortunately you cannot, the issue is on hold and requires changes to core IBC before it can be worked on. Once that is done, I think the team would like to handle this issue ourselves

This issue is on hold until https://github.com/informalsystems/hermes/issues/4078 is addressed. I have moved the issue out of the v9 milestone and into v10, but the exact release it can be addressed in is dependent on the relayers


Weird Characters showing up on IOS

My site kegge.accessipd.com is showing up with some weird characters..It looks like it might be Gzipped but it  Gizip compression is disabled in the system.yaml file.. any help??

Where is GZip disabled, through Grav or the server?

I never changed anything related to Gzip, but i checked the system.yaml file. under the "cache" catagory i checked and both webserver gzid and gzip is not enabled

Depending on your server, Gzip may be enabled - which generally it should be for speed - and in which case you do want to enable allow_webserver_gzip.

okay thank you, is there a reason why these characters would only be showing up on ios devices?

for some reason, only certain newer ios devices have this problem.

i set the system.yaml file to allow_webserver_gzip. no difference !! grr..

Ok, some more diagnostic questions:

Did this occur after an upgrade to Grav v1.2.3?
What version of Gantry are you running?
In your .htaccess-file in Grav's root directory, is there any mod_deflate set up?
Is compression enabled through PHP? Typically set through zlib.output_compression in php.ini, which on a live server you can reveal through a simple file containing <?php phpinfo(); ?> accessed through the browser.
Just to verify, does your system.yaml now contain the following?

cache:
  gzip: false
  allow_webserver_gzip: false

The reason it wold only show up on certain devices is because of how their browsers interpret the output from the server. Per your site, it is encoded as Content-Encoding: identity currently and running on Apache, both of which are normal. It also appears to have Gzipping set up through the server, as it returns Accept-Encoding: gzip, deflate, sdch.
The error appears to be outside of Grav, ie. between PHP and Apache, so we'll need to find more information from their setups as suggested above.

yes it occurred after i updated to grav 1.2.3

i the latest version of gantry 5

Can you possible test an installation of Grav without Gantry5? That would help isolate the issue.

Hey guys, thank you so much for your support, i looks like i may have fixed the issue, i am confirming with my client currently. we can close the issue and if for some reason i was mistaken and it's not fixed we can re-open it

Can you let us know what it was in case it comes up again?  Cheers.

for some reason the site was being gzipped even though i did not have it set in the system.yaml file
i had to enable "webserver gzip" then i had to clear gantry 5 cache, grav cache, and the phones browser cache.


preview picture of nuclio models

Good Morning,
in the documentation "cvat with models of roboflow", this is shown:

The roboflow model is presented by a picture. So the user can see, if the model is useful for him. In the model of nuclio - also models of mine - I see a symbol for an not existing picture.
Have I the possibility to insert such a preview picture in nuclio models ? Or another way to formulate my question: Exists a parameter in CVAT for showing such pictures.
The idea: The human is a visual creature. Because we have a lot of own models in nuclio, a collegue can faster find a model for his purpose, if he sees a preview picture.
Best Regards
Rose

Hello,
Unfortunately there is no option to assign a picture as a preview for a function, deployed with nuclio.


Fix typo

Fix https://github.com/theatre-js/theatre/issues/361

@clementroche Don't close this until it gets merged 🙌

Sorry I deleted my fork for some reason

Thanks @clementroche – this is merged via e7ebe15c2862a88d15498d862eef0d4bf7515689 but it doesn't show on github because I did a rebase and don't have push access to this branch.


Explore plotting metrics

We should make sure that the actual plotting metrics (in deeprankcore/Metrics.py):

plots epochs vs metrics (e.g. accuracy)
plots epochs vs loss
add examples in the docs about how to get the above plots

For the plotting, one could implement new metrics exporters, as in https://github.com/DeepRank/deeprank-core/blob/main/deeprankcore/models/metrics.py

In the old Deeprank-GNN, in NeuralNet class there were methods such as get_metric and plot_loss that are absent from deeprank-core. Why were they removed?
Also, in deeprankcore.models.metrics there are already exporters such as OutputExporter and TensorboardBinaryClassificationExporter that seem very handy, but I don't know how to use them, and I don't understand it from the tests. Could you help?
@cbaakman

See issue #188


An error is reported in the log when running flink cdc, and an error is also reported when saving.

Search before asking

[X] I had searched in the issues and found no similar document requirement.

Description
运行flink cdc 时日志报错，保存时也报错
SQL: INSERT INTO dinky_task (statement, operator, create_time, update_time, creator, updater, tenant_id) VALUES (?, ?, ?, ?, ?, ?, 1)
Cause: java.sql.SQLException: Field 'name' doesn't have a default value
; Field 'name' doesn't have a default value; nested exception is java.sql.SQLException: Field 'name' doesn't have a default value
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@aiwenmo 这个问题有结果了吗

@aiwenmo 这个问题有结果了吗

依赖问题导致 先把基础环境搞好，按照官网的dinky集成flink相关文档操作


Inaccurate Cylinder3D Shape

Describe the bug
When using the Rapier3D physics engine, the Cylinder3DShape does not match the expected cylinder shape. The issue with the cylinder only applies to the flat part of the cylinder. The round part of the cylinder is accurate.
To Reproduce
Collide with the top or bottom of a Rigidbody3D/Staticbody3D/Characterbody3D that has a Cylinder3DShape as it's CollisionShape3D. The collision is always less than the expected size causing a sinking appearance.
I was able to reproduce this on the following versions:
v0.8.2 - Godot 4.3
v0.8.0 - Godot 4.3
v0.7.23 - Godot 4.2.1
v0.7.18 - Godot 4.2.1
Steps to reproduce the behavior:

Create a Rigidbody3D.
Give the Rigidbody3D a CollisionShape3D with a Cylinder3DShape as it's shape.
Provide a StaticBody3D underneath the Rigidbody3D for it to land on.
Play the scene: the cylinder will sink past its expected bounds then stop partway in the floor.

Expected behavior
The collision should line up with the Godot collision previews and have size/bounds parity with the default collision cylinder size.
Environment:

OS: Windows 11
Version: v0.8.4
Godot Version: 4.3
Type: cross platform determinism

Example project(zip)
rapier_cylinder_issue.zip
(Press space to re-run the simulation)
https://github.com/user-attachments/assets/7d6fb923-ecb9-4ed2-85df-6a8c151b8a90

This might be the same issue as #212.

Seems. I was doing for whatever reason:
physics_engine.shape_create_cylinder((self.height / 2.0) - self.radius, self.radius)


use independent tedge.toml settings to access the http server provided by tedge-agent

Is your feature improvement request related to a problem? Please describe.

The http.bind.address setting is used by two different components but for different purposes,

tedge-agent interprets this setting as the bind address where the http server should be made available
tedge-mapper-c8y interprets this setting as the target ip address when uploading files to the tedgeUrl.

The different in the interpretation of the two settings makes it difficult to configure the tedge-mapper-c8y address, as it needs to know the ip address of the tedge-agent, and it can't use a hostname (as the setting only accepts an ip address, in the form of x.x.x.x). When using thin-edge.io in containers generally the container does not know the ip address of each other upfront, but rather at runtime, that is where using a hostname would be more useful when telling the tedge-mapper-c8y when creating the tedgeUrl.
This problem is not too dissimilar to the changes which prompted splitting the mqtt.bind.address and mqtt.client.host settings.
Describe the solution you'd like

Create the following new settings which are used by the tedge-mapper-c8y when it needs to communicate with the http server provided by the tedge-agent.

http.client.host - ip or hostname of the http server provided by the tedge-agent
http.client.port - port of the http server provided by the tedge-agent

Describe alternatives you've considered

Additional context

QA has thoroughly checked the improvement and here are the results:

[x] Test for ticket exists in the test suite.
tests/alpine-s6/children/operations.robot
tests/RobotFramework/tests/config_management/child_conf_mgmt_plugin.robot
tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot
tests/RobotFramework/tests/cumulocity/firmware/firmware_operation_child_device.robot
tests/RobotFramework/tests/cumulocity/log/log_operation.robot
tests/RobotFramework/tests/cumulocity/log/log_operation_child.robot
[x] QA has tested the improvement and it's functioning according description.


Adding an Azure Function Project to Solution in VS Code, some tasks.json file settings have been overwritten and removed

I have a Stack Overflow post https://stackoverflow.com/questions/67612216/after-adding-an-azure-function-project-to-solution-some-tasks-json-file-settings that describes my issue and was told to report it to Microsoft.
Description - After I add an Azure Function project to my VS Code Solution (containing other projects) the Azure Function wizard overwrites areas of tasks.json that contain similar type, label and identifier, rather than trying to extend them.
It's possible I'm not adding the project correctly, using the Azure Extension tools in VS Code?
I'm a little unsure what I can do now as there doesn't seem to be any solution and I find it odd that it hasn't been discussed yet as simply adding a Azure Function project to an existing solution should be pretty common, if you are implementing this type of project so that you can reference other projects contained within your solution.
Using
.Net 5

Yeah I see what you mean - we'll look into fixing this behavior.
In the meantime, I took a look at your task.json from the stackoverflow post and I believe I have one that will work for you. In addition to updating your tasks.json, also change "azureFunctions.preDeployTask" from "publish" to "publish functions" in your "settings.json".
{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "build",
			"command": "dotnet",
			"type": "process",
			"args": [
				"build",
				"${workspaceFolder}/API/API.csproj",
				"/property:GenerateFullPaths=true",
				"/consoleloggerparameters:NoSummary"
			],
			"problemMatcher": "$msCompile"
		},
		{
			"label": "publish",
			"command": "dotnet",
			"type": "process",
			"args": [
				"publish",
				"${workspaceFolder}/API/API.csproj",
				"/property:GenerateFullPaths=true",
				"/consoleloggerparameters:NoSummary"
			],
			"problemMatcher": "$msCompile"
		},
		{
			"label": "watch",
			"command": "dotnet",
			"type": "process",
			"args": [
				"watch",
				"run",
				"${workspaceFolder}/API/API.csproj",
				"/property:GenerateFullPaths=true",
				"/consoleloggerparameters:NoSummary"
			],
			"problemMatcher": "$msCompile"
		},
		{
			"label": "clean functions",
			"command": "dotnet",
			"args": [
				"clean",
				"/property:GenerateFullPaths=true",
				"/consoleloggerparameters:NoSummary"
			],
			"type": "process",
			"problemMatcher": "$msCompile",
			"options": {
				"cwd": "${workspaceFolder}/Azure/Functions"
			}
		},
		{
			"label": "build functions",
			"command": "dotnet",
			"args": [
				"build",
				"/property:GenerateFullPaths=true",
				"/consoleloggerparameters:NoSummary"
			],
			"type": "process",
			"dependsOn": "clean functions",
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"problemMatcher": "$msCompile",
			"options": {
				"cwd": "${workspaceFolder}/Azure/Functions"
			}
		},
		{
			"label": "clean release functions",
			"command": "dotnet",
			"args": [
				"clean",
				"--configuration",
				"Release",
				"/property:GenerateFullPaths=true",
				"/consoleloggerparameters:NoSummary"
			],
			"type": "process",
			"problemMatcher": "$msCompile",
			"options": {
				"cwd": "${workspaceFolder}/Azure/Functions"
			}
		},
		{
			"label": "publish functions",
			"command": "dotnet",
			"args": [
				"publish",
				"--configuration",
				"Release",
				"/property:GenerateFullPaths=true",
				"/consoleloggerparameters:NoSummary"
			],
			"type": "process",
			"dependsOn": "clean release functions",
			"problemMatcher": "$msCompile",
			"options": {
				"cwd": "${workspaceFolder}/Azure/Functions"
			}
		},
		{
			"type": "func",
			"dependsOn": "build functions",
			"options": {
				"cwd": "${workspaceFolder}/Azure/Functions/bin/Debug/net5.0"
			},
			"command": "host start",
			"isBackground": true,
			"problemMatcher": "$func-dotnet-watch"
		}
	]
}

Hi Eric. Thanks for the help, I'm hesitant to add any Azure Function project to my solution at this moment as I'm afraid it will change/alter other files and cause other problems. Should I just wait until you have a better solution/update?

Is your project tracked in git? If so, you should be able to double check the diff on any changes we make. The only files we update should be in the "Azure/Functions" folder as you specified and the ".vscode" folder. The 'Create Project' action is a one-time change and we won't modify your project down the line. It is meant to be a starting point for our users of course you are welcome to customize and modify what we create to suit your project, which is essentially what I did with the above tasks.json.

Hi Eric. It is tracked in git. So, I should just copy and paste your task.json file into mine and move on? Then wait until you have some update?

Hi Eric. Also, one last thing, after I added the Azure Function project, I found I don't have any intellisense in the function .cs file. Are you aware of something I have to do to get that functionality or is there no support in Azure functions for intellisense?

A fix for this will essentially do the same thing as the workaround I described - it'll just use slightly different names for the task labels. Once you modify your tasks manually as I described, there's no reason to wait for an update from us.
Our extension doesn't do anything around Intellisense for cs files - that's all coming directly from the C# extension


Deployment Failure Reason: Failed to deploy the Azure Functions.

Since a couple of hours ago, we're getting Deployment Failure Reason: Failed to deploy the Azure Functions. on all our deploy attempts.
Including on re-running old pipelines on old commits that previously deployed successfully, will now 100% return that error.
This is a hybrid Next.JS app being deploying using Azure Pipeline's AzureStaticWebApp@0, which uses Oryx.
Throughout the week we have however regularly seen Failure Reason: Web app warm up timed out. Please try again later., but a retry of the pipeline often just succeeded after.
We have tried deleting the environment, but it didn't help.
We're seeing the same issue across multiple Azure Static Web app instances across 2 separate Subscriptions.
The last deploy to succeed was at 12:09 PM GMT, the first to fail at 12:37 PM.
---End of Oryx build logs---
Web App Runtime Information. OS: linux, node version: 18
Finished building function app with Oryx
Zipping Api Artifacts
Done Zipping Api Artifacts
Zipping App Artifacts
Done Zipping App Artifacts
Uploading build artifacts.
Finished Upload. Polling on deployment.
Status: InProgress. Time: 0.0432745(s)
Status: Failed. Time: 18.771164(s)
Deployment Failed :(
Deployment Failure Reason: Failed to deploy the Azure Functions.

          - task: AzureStaticWebApp@0
            displayName: "Build and Deploy to Azure Static Web Apps"
            inputs:
              azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN)
              app_location: "/"

same problem here, with Next.js hybrid ...
i noticed that while the pipeline stopped deploying, the existing app could finally be connected to Application Insight (i could not, before today, since i don't use azure functions as a BE  for this portal)
Might it be tha some update has been silently deployed, causing this issue?

it seems somehow the issue was resolved during this 15H period...
i was now able to deploy once again on multiple resources...
Azure Status reports no incident during the last 48h... this is weird...

I have the same problème, the service work fine on 29/03/2024 and don't work now.
my YML file :
name: Azure Static Web Apps CI/CD

on:
  push:
    branches:
      - azure_static_web_app
  pull_request:
    types: [opened, synchronize, reopened, closed]
    branches:
      - azure_static_web_app

jobs:
  build_and_deploy_job:
    if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
    runs-on: ubuntu-latest
    name: Build and Deploy Job
    steps:
      - uses: actions/checkout@v3
        with:
          submodules: true
          lfs: false
      - name: Build And Deploy
        id: builddeploy
        uses: Azure/static-web-apps-deploy@v1
        with:
          azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
          repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
          action: "upload"
          ###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
          # For more information regarding Static Web App workflow configurations, please visit: ttps://aka.ms/swaworkflowconfig
          app_location: "/" # App source code path
          api_location: ".output/server" # Api source code path - optional
          output_location: ".output/public" # Built app content directory - optional
          ###### End of Repository/Build Configurations ######
        env:
          APP_URL: "https://example.com"
          API_URL: "https://api.example.com"
          APP_NAME: "example"
          LOCAL_STORAGE_KEY: "test"
          DEFAULT_LOCAL: "fr"
          # DEFAULT_TIMEZONE: "Europe/Paris"
          PUBLIC_SENTRY_DSN: ""
          SENTRY_AUTH_TOKEN: ""
          PUSHER_APP_ENABLED: true
          # PUSHER_APP_ID: "id"
          PUSHER_APP_KEY: "key"
          # PUSHER_APP_SECRET: "secret"
          PUSHER_APP_CLUSTER: "eu"
          PUSHER_APP_LOG: true
          TZ: "Europe/Paris"

  close_pull_request_job:
    if: github.event_name == 'pull_request' && github.event.action == 'closed'
    runs-on: ubuntu-latest
    name: Close Pull Request Job
    steps:
      - name: Close Pull Request
        id: closepullrequest
        uses: Azure/static-web-apps-deploy@v1
        with:
          azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
          action: "close"

I am battling with the same issue here but on a Python API. At first, I thought it was due to me using V2 model, but it does not work with V1 as well. It would help if we could log what action failed causing the app not to be deployed, the current error message is unfortunately not useful:

I created a new nextjs 14 (app router) app based on https://github.com/staticwebdev/nextjs-hybrid-starter  As soon as I added prisma the web app deployment stopped working. I run into the problem mentioned above.  It happens late in the deployment when it uploads the artifacts. So the app builds well. I am unsure if it has something to do with the prisma client being generated?
Status: Failed. Time:<PHONE_NUMBER>(s)
Deployment Failed :(
Deployment Failure Reason: Web app warm up timed out. Please try again later.

I created a new nextjs 14 (app router) app based on https://github.com/staticwebdev/nextjs-hybrid-starter  As soon as I added prisma the web app deployment stopped working. I run into the problem mentioned above.  It happens late in the deployment when it uploads the artifacts. So the app builds well.
Status: Failed. Time:<PHONE_NUMBER>(s)
Deployment Failed :(
Deployment Failure Reason: Web app warm up timed out. Please try again later.

I receive the same issue while trying to deploy SWA + API (.net 7 Azure Functions) :(

@ISkomorokh did you find a workaround for this issue? I'm now finding the same problem with a C# function back end.  There does seem to be some large differences in the logs referencing oryx and the location it's downloading an extracting dotnet to be difference..
Looking at the last successful deployment on the 14th Oct:
---Oryx build logs---

Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.20231128.3, Commit: 0b76566110f0db32097b869761e056fd9b01848d, ReleaseTagName: 20231128.3

Build Operation ID: d[890](https://github.com/DuncWatts/xxx/actions/runs/xxx/job/xxx#step:4:891)343ca297d3ca
Repository Commit : 5d04d27e04f20e8ed721ef74080f6aa30478d943
OS Type           : bullseye
Image Type        : jamstack

Detecting platforms...
Detected following platforms:
  dotnet: 7.0.20
Version '7.0.20' of platform 'dotnet' is not installed. Generating script to install it...

Source directory     : /github/workspace/api
Destination directory: /bin/staticsites/b2950f75-19ab-4bb3-9528-8e41e9d17d2b-swa-oryx/api

Installing common platform dependencies...
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [303 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Fetched 8575 kB in 1s (6712 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing dotnet specific dependencies...
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [303 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Fetched 8575 kB in 1s (7537 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libgcc-s1 is already the newest version (10.2.1-6).
libstdc++6 is already the newest version (10.2.1-6).
libc6 is already the newest version (2.31-13+deb11u11).
libgssapi-krb5-2 is already the newest version (1.18.3-6+deb11u5).
libuuid1 is already the newest version (2.36.1-8+deb11u2).
libuuid1 set to manually installed.
zlib1g is already the newest version (1:1.2.11.dfsg-2+deb11u2).
The following NEW packages will be installed:
  libunwind8
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 54.5 kB of archives.
After this operation, 201 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libunwind8 amd64 1.3.2-2 [54.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 54.5 kB in 0s (1862 kB/s)
Selecting previously unselected package libunwind8:amd64.
(Reading database ...

Preparing to unpack .../libunwind8_1.3.2-2_amd64.deb ...
Unpacking libunwind8:amd64 (1.3.2-2) ...
Setting up libunwind8:amd64 (1.3.2-2) ...
Processing triggers for libc-bin (2.31-13+deb11u11) ...
Downloading and extracting 'dotnet' version '7.0.410' to '/opt/dotnet/7.0.410'...
Detected image debian flavor: bullseye.
Downloaded in 3 sec(s).
Verifying checksum...
Extracting contents...
performing sha512 checksum for: dotnet...
Done in 8 sec(s).

image detector file exists, platform is dotnet..

Using .NET Core SDK Version: 7.0.410

While in the failed deployment I see:
---Oryx build logs---

Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.20241003.1, Commit: d5352431d933306ccee1be9b5d822c73bf723e9e, ReleaseTagName: 20241003.1

Build Operation ID: e3e636622cb52544
Repository Commit : 439c43203cf81ef44458318f12eba12a033ee2d7
OS Type           : bullseye
Image Type        : githubactions

Detecting platforms...
Detected following platforms:
  dotnet: 7.0.20
Version '7.0.20' of platform 'dotnet' is not installed. Generating script to install it...

Source directory     : /github/workspace/api
Destination directory: /bin/staticsites/2a[179](https://github.com/DuncWatts/xxx/actions/runs/xxx/job/xxx#step:4:180)52d-87b6-48db-a2bb-5951a2fc06bb-swa-oryx/api

Downloading and extracting 'dotnet' version '7.0.410' to '/tmp/oryx/platforms/dotnet/7.0.410'...
Detected image debian flavor: bullseye.
Downloaded in 2 sec(s).
Verifying checksum...
Extracting contents...
performing sha512 checksum for: dotnet...
Done in 8 sec(s).

Using .NET Core SDK Version: 7.0.410

Maybe if Bill wasnt so focused on partying on Epstein Island this might work


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[RFC] Python 3 host: Handle byte strings for specs requests.

@Shougo does this work for you?
Possible alternative:
diff --git a/neovim/plugin/host.py b/neovim/plugin/host.py
index 2526394..2fb2fcb 100644
--- a/neovim/plugin/host.py
+++ b/neovim/plugin/host.py
@@ -61,6 +61,9 @@ class Host(object):
             warn(msg)
             raise Exception(msg)

+        if IS_PYTHON3:
+            args = [arg.decode(self._nvim_encoding) if isinstance(arg, bytes)
+                    else arg for arg in args]
         debug('calling request handler for "%s", args: "%s"', name, args)
         rv = handler(*args)
         debug("request handler for '%s %s' returns: %s", name, args, rv)
@@ -75,6 +78,9 @@ class Host(object):
             warn('no notification handler registered for "%s"', name)
             return

+        if IS_PYTHON3:
+            args = [arg.decode(self._nvim_encoding) if isinstance(arg, bytes)
+                    else arg for arg in args]
         debug('calling notification handler for "%s", args: "%s"', name, args)
         handler(*args)

It works.  Thanks!

I like this idea, but don't we want to do this recursively, i e if rpcnotify(0,"mymethod", "aa", ["bb", "cc"]), we also want to decode the strings in the list. There is already support code for this in neovim/api/common.py for decoding/encoding the arguments/return for api functions, which could be reused.

@bfredl Something like this? Didn't test it, though (not sure how).
diff --git a/neovim/plugin/host.py b/neovim/plugin/host.py
index 2526394..1a00594 100644
--- a/neovim/plugin/host.py
+++ b/neovim/plugin/host.py
@@ -7,6 +7,7 @@ import os
 import os.path

 from ..api import DecodeHook
+from ..api.common import walk
 from ..compat import IS_PYTHON3, find_module

@@ -53,8 +54,7 @@ class Host(object):

     def _on_request(self, name, args):
         """Handle a msgpack-rpc request."""
-        if IS_PYTHON3 and isinstance(name, bytes):
-            name = name.decode(self._nvim_encoding)
+        name = self._decode_if_bytes(name)
         handler = self._request_handlers.get(name, None)
         if not handler:
             msg = 'no request handler registered for "%s"' % name
@@ -62,21 +62,21 @@ class Host(object):
             raise Exception(msg)

         debug('calling request handler for "%s", args: "%s"', name, args)
-        rv = handler(*args)
+        rv = self._decode_if_bytes(handler(walk(self._decode_if_bytes,
+                                                self, args)))
         debug("request handler for '%s %s' returns: %s", name, args, rv)
         return rv

     def _on_notification(self, name, args):
         """Handle a msgpack-rpc notification."""
-        if IS_PYTHON3 and isinstance(name, bytes):
-            name = name.decode(self._nvim_encoding)
+        name = self._decode_if_bytes(name)
         handler = self._notification_handlers.get(name, None)
         if not handler:
             warn('no notification handler registered for "%s"', name)
             return

         debug('calling notification handler for "%s", args: "%s"', name, args)
-        handler(*args)
+        handler(walk(self._decode_if_bytes, self, args))

     def _load(self, plugins):
         for path in plugins:
@@ -156,6 +156,11 @@ class Host(object):
         if specs:
             self._specs[plugin_path] = specs

+    def _decode_if_bytes(self, obj):
+        if IS_PYTHON3 and isinstance(obj, bytes):
+            obj = obj.decode(self._nvim_encoding)
+        return obj
+
     def _configure_nvim_for(self, obj):
         # Configure a nvim instance for obj(checks encoding configuration)
         nvim = self.nvim

Just looked into the "python3" branch of my nvim-ipy rplugin again, and realized that I had to add this
        if PY3:
            vim = vim.with_hook(
                neovim.DecodeHook(
                    encoding=vim.options['encoding']))
        self.vim = vim

even to get api function decoding right.. Perhaps there should be a flag to neovim.plugin, like @neovim.plugin(decode=True) to enable decoding both for api functions and rpc handlers. (or even be the default, but not sure of that).

@bfredl I don't think I have time to do anything more complicated than the current PR at the moment (I am not really familiar with the code), so if you want to work on that, feel free :-)

@fwalch I think so, too.

Yes, this PR is a improvement by it self, let's merge it and I will look into decoding convenience later.


problem with query

Try to visit site just after installation
got
3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'osc.p.products_ordered' which is not in SELECT list; this is incompatible with DISTINCT
select distinct p.products_id, pd.products_name from products p, products_description pd where p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' order by p.products_ordered desc, pd.products_name limit 10
MySQL 5.7.11-4

With mysql 5.7 distinct and order by does'nt work.

Same problem here
MySQL Server version: 5.7.9
OS: OS X 10.9.5

This has been fixed for v2.4 in https://github.com/osCommerce/oscommerce2/commit/253711722fcb9c4aed9b0afb6994322920f02633 and for v2.3 in #419

I just download the latest production version from the web site and this issue is still not fixed.


Add note about UseRateLimiter() order of statement in relation to UseRouting()

Could you please indicate in the document the order of where to place app.UseRateLimiter() in the program/startup is important in relation to app.UseRouting() (i.e. after it) or RateLimiting will not work.

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

ID: bb96b20f-0991-d6de-4d98-192cd469460f
Version Independent ID: bb96b20f-0991-d6de-4d98-192cd469460f
Content: Rate limiting middleware in ASP.NET Core
Content Source: aspnetcore/performance/rate-limit.md
Product: aspnet-core
Technology: aspnetcore-performance
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Associated WorkItem - 85543

Thanks @Rick-Anderson


not bug

why i use VPN it is still download slowly? because some reason i need use VPN to download.

it didnt go VPN link just use the nomal netlink


Complete rewrite of README.md

Adding polish and more explanations for non-tech-savvy users.

Review required: I have changed "directory population instructions" to use C:\WSA to be able to use Windows Explorer and not get into the "non-escaped spaces in the path" problem, which poses a hard question: should this README be more oriented for tech-savvy people or not tech-savvy?, as, I mean, who will try to install Android that way right now? Leave "Change request" if you feel like previous version with (text below) was better:
Run the scripts
make sure you're in the same directory as the scripts before running, then run:
./extract_gapps_pico.sh
sudo ./extend_and_mount_images.sh
sudo ./apply.sh
sudo ./unmount_images.sh

Copy the edited images
cd \#IMAGES
cp *.img /mnt/path-to-extracted-msix/

Review required: I have changed "directory population instructions" to use C:\WSA to be able to use Windows Explorer and not get into the "non-escaped spaces in the path" problem, which poses a hard question: should this README be more oriented for tech-savvy people or not tech-savvy?, as, I mean, who will try to install Android that way right now? Leave "Change request" if you feel like previous version with (text below) was better instead of the way that allows less terminal interaction for the user (the way I wrote it):

I prefer it for not tech-savvy people.
Anyway, both ways are OK, users can open the current folder using explorer at any time by typing explorer.exe . in their WSL terminal.
In addition, we have a Telegram group for users to communicate. You can add it to the README.

Done, I've added changes, and headers for easy navigation.
#71 #74 #81 #119 can be closed now as their proposals have been implemented.
@MlgmXyysd or @ADeltaX can you merge?


Updated to work with uwsgi

Updated the init.d scripts to work with uwsgi

@jpoyau Thanks John I'll make that update

looks good


feat: Make django logo clickable. onClick redirect to homepage

Closes #240
Changes
Make top django logo clickable.
Type of change

[x ] Feature update

Author Checklist

[ x] Code has been commented, particularly in hard-to-understand areas
[ x] Changes generate no new warnings
[ x] Vital changes have been captured in unit and/or integration tests
[ x] New and existing unit tests pass locally with my changes
[x ] Documentation has been extended, if necessary
[x ] Merging to main from fork:Suraj1089/djangoindia.org

LGTM ! Thanks @Suraj1089 @Saurabhsharma884  👍


(feature) Support Google Storage 🪣

Requirements
It probably makes sense to implement Google Storage buckets to ease implementation for GCP folks 🤷♂
I can help out if you want 🚀

Yes, it could be awesome to have Google Storage buckets.
If we support google storage I guess we need it for both notifier and dataCollector.

I'd like to work on this issue.


Fixed test failures with gem command path on ruby core repo

What was the end-user problem that led to this PR?
Some of the examples failed with ruby-core repository.
What was your diagnosis of the problem?
The ruby-core repository used gem commands under the its repository named bin/gem directory. But the current examples points gem command with a global path.
What is your fix for the problem, implemented in this PR?
I fixed them used by ruby_core? helper methods.

@deivid-rodriguez Can you backport this to 2-1-stable branch before releasing 2.1.0?

Yes, I'll take care of it.

Thanks!

I confirmed to pass all tests of Bundler 2.1.0 with ruby master. https://github.com/ruby/ruby/pull/2753/checks?check_run_id=348617036 👍

@hsbt One test failed in bundler, I tried to fix it.

@bundlerbot merge

@deivid-rodriguez Thanks!


Handle Newlines

I think it can be helpful if there's a way to specify an escape sequence that represents a newline but which does not separate the text into different options.
I can get 90% of the way there (by defining the escape sequence myself and splicing it in before and replacing the output with newlines), but I need support inside fzf to show the entry as a multiple line entry with the whole thing being one item.
But as a workaround having a big ugly placeholder escape code that I can see inside the menu is still more or less usable.
(Example use case -- I want to use fzf with my shell history, and the shell history can contain multi line commands that would be cool if I can reproduce faithfully, rather than what fc -l 1 does which is just print \n for them)

Related: #121
Thanks for the suggestion but it's non-trivial to implement multi-line entry display and it will make many parts of the code much more complex. Think about how we should handle long-line truncation, multi-part highlighting in extended-search mode, page scroll, terminal resize, mouse clicks, etc. I have very limited time to work on fzf, so I can't say anything about it right now.

Yep, and I definitely can't fault you for making the decision originally (or even now) to say that newline is the de facto standard delimiter.
My workaround works fine... I will close since you left #121 open.

https://junegunn.github.io/fzf/tips/processing-multi-line-items/


IllegalArgumentException

Environment:

Jib version: 2.1.0
Build tool: 3.0.0-M1
OS: Ubuntu

Description of the issue:
Can not build Docker daemon using command mvn compile com.google.cloud.tools:jib-maven-plugin:2.1.0:dockerBuild
Steps to reproduce:

download project  https://github.com/Jojoooo1/spring-boot-base
mvn compile com.google.cloud.tools:jib-maven-plugin:2.1.0:dockerBuild

Log output:
 Failed to execute goal com.google.cloud.tools:jib-maven-plugin:2.1.0:dockerBuild (default-cli) on project carros: Execution default-cli of goal com.google.cloud.tools:jib-maven-plugin:2.1.0:dockerBuild failed.: IllegalArgumentException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:2.1.0:dockerBuild (default-cli) on project carros: Execution default-cli of goal com.google.cloud.tools:jib-maven-plugin:2.1.0:dockerBuild failed.

Thanks for reporting this, @Jojoooo1.
For now you can work around this by explicitly setting the mainClass, e.g.,
mvn compile com.google.cloud.tools:jib-maven-plugin:2.1.0:dockerBuild \
    -Djib.container.mainClass=com.carros.CarrosApplication

You can also configure <mainClass> in pom.xml.

It is coming from the ASM library.
Caused by: java.lang.IllegalArgumentException
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:258)
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:283)
        at com.google.cloud.tools.jib.api.MainClassFinder.find(MainClassFinder.java:165)

@Jojoooo1 your project looks strange. Why do you have .class files under src/main/resources? For example,
./src/main/resources/classes/classes/com/carros/api/IndexController.class
./src/main/resources/classes/com/carros/api/IndexController.class

If I remove those .class files, the error goes away. I think they are not meant to be checked into the source repo?

Yes thanks you very much ! Those files had nothing to do overthere, it was problably coming from an unexpected copy. It is now working perfectly.


Adds an ad-hoc /game command

Resolves #616

Codecov Report

Merging #633 (acd9b07) into master (445e397) will decrease coverage by 1.09%.
The diff coverage is 53.62%.

@@            Coverage Diff             @@
##           master     #633      +/-   ##
==========================================
- Coverage   94.70%   93.61%   -1.10%
==========================================
  Files          51       52       +1
  Lines        2606     2661      +55
  Branches      230      239       +9
==========================================
+ Hits         2468     2491      +23
- Misses        117      148      +31
- Partials       21       22       +1

Impacted Files
Coverage Δ

src/spellbot/interactions/lfg_interaction.py
64.93% <9.37%> (-9.20%)
:arrow_down:

src/spellbot/cogs/events.py
90.47% <90.47%> (ø)

src/spellbot/services/games.py
92.93% <93.75%> (-0.40%)
:arrow_down:

Continue to review full report at Codecov.

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


fix exception while file do not have '/'

If the file do not have '/', these code will throw exception:
[main] WARN  io.swagger.v3.parser.OpenAPIV3Parser - Exception while resolving:
java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 23
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at io.swagger.v3.parser.processors.ExternalRefProcessor.processRefToExternalSchema(ExternalRefProcessor.java:128)

hi @savagecm thank you so much for taking the time and contributing into this project, can you please send me the definition file that is exposing this exception... or if you can add a test to the PR, that would definitely speed up the process of reviewing and merging. Thanks.

Hi @savagecm sorry this took so long to review, issue #1658 could benefit from this PR, I would like to merge and I'll add the test case submitted by  @JukkaOravasaari but this is really out of dated so can you please rebase this PR so I can keep your contribution. thanks!


Fix on_{macos_version} blocks on Linux

This PR fixes a bug that I found when investigating Linux dependencies for some formulae. It turns out that evaluating an on_{macos_version} block while on Linux will throw an error because MacOS.version is nil. Instead, we need to just return false early if we're currently on Linux (simulating or not) and we've reached a macOS version check.

Review period skipped due to critical label.


Add FeaturedDocumentWithChartBlock for use on TopicPage

Just had a look at this, and I can see from the design why you chose the featured document block variant - and in fact my argument about the list item applies to the normal featured document block too - you get a list of one in that case (not that I think we should change that now).
I can go ahead and adapt it as is to show the chart, but I think we should wait for further feedback before doing any more work, whether that is going with this block, or making a custom one.


ci: Manual upload to Waldo

Hi everyone!
To prevent all PRs to be sent to Waldo and only use it when we want, I've changed the action to be a manual one.
Instead, we have to go to the Actions tab, then we have to input the repo and the branch names:

Codecov Report

Merging #4452 (ad388d7) into develop (01ab57b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #4452   +/-   ##
========================================
  Coverage    10.36%   10.36%
========================================
  Files          296      296
  Lines        15241    15241
========================================
  Hits          1579     1579
  Misses       13662    13662

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

thanks @g123k


Re-word manual session_id sentence

Reword last session under 'Sessions' to reflect usage of HTTP APIs for seeing session IDs manually
Amplitude Developer Docs PR
Description
Reword last session under 'Sessions' to reflect usage of HTTP APIs for seeing session IDs manually
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[X] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[ ] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[X] I have performed a self-review of my own documentation.

@amplitude-dev-docs

@markfoo do we still need this PR?

Closing this in preparation of migrating the repository.


Thermal Simulation

We need a thermal simulation that can handle different materials for heat simulations. We can assume density of these materials are uniform.

[ ] Heat source (from a resistor or burning fuel, for example)
[ ] Heat exchange over different materials
[ ] Cable heat simulation

The code for this should live in what we currently call libelectric, but the implementation should integrate with Cell and allow cells to add the thermal simulation to their properties in Minecraft.

I deleted the old simulator in libage so we will need a new one. After that's done, this can be completed. Pending completion of https://github.com/age-series/libage/issues/9


How to close expanded body on main body tap?

Hello,
I am new to flutter. I have used expanded bottom app bar, i want to close the expanded body when user taps in the outside area. However i dont know how it can be done.
What exactly should be detected in order to close the pulled up expanded bottom bar?

You could add a GestureRecognizer to the outside area, and call close on your BottomBarController, for example:
DefaultBottomBarController(
  child: Scaffold(
    body: GestureDetector(
      onTap: DefaultBottomBarController.of(context).close,
      ...
    ),
    bottomNavigationBar: BottomExpandableAppBar(
	...
    ),
  ),
);

Closing. Good answer provided


[cmake] update to 3.9.1

@atkawa7,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

You also needs to change the version here:
https://github.com/Microsoft/vcpkg/blob/master/toolsrc/src/VcpkgPaths.cpp#L99

Also in README.md https://github.com/Microsoft/vcpkg/blob/master/README.md

@alexkaratarakis @Mixaill updated

So fast! :) Thanks!


Convert project to Swift 4.0

This PR is related to issue #13.
All tests are ✅.
The only changes on the code are:

new CGSize properties name
UIColor colorLiteralRed deprecation

Merged, thanks @darthpelo and @filletofish.
I'll release pod version 1.0.1 (with this changes) soon.


Round the output of the printing

fixes #2
example:
  setup - 1.1ms (6.5%)
  physics - 2.2ms (13.2%)
    collision - 1.1ms (49.6%)
    update positions - 1.1ms (49.6%)
  render - 13.3ms (80.1%)
    cull - 1.1ms (8.3%)
    gpu submit - 2.1ms (15.7%)
    gpu wait - 10.1ms (75.9%)

Excellent, thanks!


Provide a migration for Jenkins+GitLab to Integrated code lifecycle

Is your feature request related to a problem?
As we're migrating away from Atlassian to ICL. I would like to list the steps that would be required, from my point of view, for a similar migration from Jenkins. I'll list which hurdles, with an estimation, we need to tackle before we can offer a similar migration as in #7842 and #7855

The Jenkins pipeline may need to be loaded from both Jenkins and Artemis, as Aeolus currently cannot handle it. If we assume that only the build plan in Artemis is our source of truth, the Aeolus API needs modification for parsing. This modification does not require changing the current API and can be done in approximately one day.
Parsing the pipelines is the most time-consuming task. The current templates may take 3-4 days to build a rudimentary parser for basic cases. However, handling edge cases and supporting old tasks with different formats could significantly increase the effort, roughly estimated at one to two weeks. This needs to be done in aeolus.
Depending on the usage of Blackbox Maven, complexity increases. At least this type of exercise requires script rewriting due to pipeline method calls with various options. This involves distinguishing between student and solution build plans, which is not currently possible in LocalCI. Adapting to these complexities, including Docker parameter considerations and project-type-specific adjustments, may add several days and require extensive debugging.
Additionally, parsing the results of these tasks in LocalCI (presumably JSON files) is missing; I'd estimate that this will take at least one week. I added a platform-independent template in #8029, but some restrictions still apply, such as the parameters passed to the docker container in the student build plans.

Describe the solution you'd like
What do you think of the steps and estimations?
Describe alternatives you've considered
Given that this is an extensive new feature that requires a lot of hard work within aeolus and Artemis, I'd like to bring another idea to the table:
Make Aeolus mandatory for Jenkins + GitLab from a certain version onwards, storing the build plans in a platform-independent format (the windfile). This would allow for a very straightforward migration of new exercises, but at a later time when most exercises don't need any manual activities to be used with LocalCI.
But this would also limit the the working edit build plan feature already part of Artemis and used by other universities.
Additional context
See ls1intum/Aeolus#79 for a little more detail on the work that is required within aeolus.

However, handling edge cases and supporting old tasks with different formats could significantly increase the effort, roughly estimated at one to two weeks.

I do not think you will be able to parse and translate existing pipeline.groovy files that deviate from the template into the Aeolus format:
The pipeline in this case can be arbitrary Groovy-Code with the addition of the Jenkins-specific-DSL/methods. This allows for the conditional or repeated  inclusion of more pipeline steps (stages in the Jenkins terminology).
This is for example used to differentiate between the solution and student build plans (Maven Blackbox Template), but also allows for further customisation, e.g. for A/B grouping of students based on the hash of the repo name (idea proposed in #2812, maybe in use in the CodeAbility project).

This is not limited to the use of the Blackbox Maven template. For us, we have many exercises where the base-Maven template was used to set up the initial project, but the pipeline has been completely customised afterwards. For example, in a software testing course, a pipeline might look like

Pipeline Groovy Example
dockerImage = "ghcr.io/uni-passau-artemis/artemis-java-firefox:21"
dockerFlags = "..."

void testRunner() {
    setDockerFlags()

    docker.image(dockerImage).inside(dockerFlags) { c ->
        runTestSteps()
    }
}

private void setDockerFlags() {
    // … similar to Maven Blackbox
}

private void runTestSteps() {
    catchError {
        timeout(time: 15, unit: 'MINUTES') {
           studentTests()
        }
    }

    catchError {
        timeout(time: 15, unit: 'MINUTES') {
            functionalTests()
        }
    }

    catchError {
        pythonChecks()
    }
}

private void studentTests() {
    stage('Execute Cucumber Tests Written by Student') {
        // We need to set HOME for this command, because otherwise it is bound to `/`, which is not
        // writable for the user that runs the job inside the Docker container.
        sh "HOME=/tmp mvn --no-transfer-progress -Pintegration-tests clean verify || true"
        sh "cat target/failsafe-reports/*.txt > cucumber.log"
        sh 'mkdir -p results'
        sh 'cp target/failsafe-reports/failsafe-summary.xml $WORKSPACE/results/cucumber.xml || true'
    }
}

private void functionalTests() {
    stage('Execute Function Tests by Us') {
        // We need to set HOME for this command, because otherwise it is bound to `/`, which is not
        // writable for the user that runs the job inside the Docker container.
        sh "HOME=/tmp mvn --no-transfer-progress -Psystem-tests clean verify || true"
        sh "cat target/failsafe-reports/*.txt > functional_tests.log"
    }
}

private void pythonChecks() {
    stage('Execute BDD Process Check') {
        sh "python3 tdd_process_checker.py ./assignment/"
    }
    stage("Export Cucumber Results") {
        sh "python3 cucumber_results.py"
    }
}

void postBuildTasks() {
    // …
}

return this

Some concrete examples we use the pipelines for that are not supported by the local CI workflows at all as far as I know:

dynamically set up the flags a container should be started with, i.e. run some setup code outside the container
start sidecar containers for a database (similar to https://www.jenkins.io/doc/book/pipeline/docker/#running-sidecar-containers)
run different stages in different containers

Migration of GitLab to LocalVCS exists with #8972.


Fix for null Ipam.config

See comment https://github.com/spotify/docker-client/issues/821#issuecomment-315020814.
Fixes #821.

Codecov Report

Merging #827 into master will decrease coverage by 0.05%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #827      +/-   ##
============================================
- Coverage     66.38%   66.33%   -0.06%
+ Complexity      738      737       -1
============================================
  Files           165      165
  Lines          3130     3131       +1
  Branches        357      357
============================================
- Hits           2078     2077       -1
  Misses          893      893
- Partials        159      161       +2

@johnflavin Should config be null or an empty list? Looks like we have nullable lists in other classes like HostConfig.

I made it nullable and added unit tests here https://github.com/spotify/docker-client/pull/842


Fix protobuf tag deserialization (wouldn't parse field numbers greater than 31 correctly)

The varint decoding in read_tag_or_eof was missing the initial bitwise & and so it would fail to deserialize any field number greater than 31.

Thank you for the fix


Official demo panic on mipsel device(musl,32-bit), help me,please.

official demo panic on mipsel device(musl,32-bit), help me,please.
root@SG000:/msata/demo# RUST_BACKTRACE=full ./gluesql-demo
EXEC:[DropTable]
EXEC:[Create]
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', df7c3c540f42cdbd/crossbeam-utils-0.8.12/src/sync/sharded_lock.rs:290:15
stack backtrace:
   0: 0x55b6d85c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc37aee607bb0e387
   1: 0x55b9df78 - core::fmt::write::h2eedc9dbdcb200a6
   2: 0x55b68f64 - <unknown>
   3: 0x55b6f9c4 - <unknown>
   4: 0x55b6f4c4 - std::panicking::default_hook::hb617c17663db0ad5
   5: 0x55b70cf8 - std::panicking::rust_panic_with_hook::h37ac99123a383970
   6: 0x55b70b68 - <unknown>
   7: 0x55b6ded4 - <unknown>
   8: 0x55b70714 - rust_begin_unwind
   9: 0x5560829c - core::panicking::panic_fmt::ha2049effd17168ff
  10: 0x556081c4 - core::panicking::panic_bounds_check::h9e26b85bbc229668
  11: 0x55791000 - <unknown>
  12: 0x5578ba64 - <sled::lru::CacheAccessIter as core::iter::traits::iterator::Iterator>::next::h90499192b1c23568
  13: 0x5578c27c - <unknown>
  14: 0x557e6b00 - <unknown>
  15: 0x557d15ec - sled::tree::Tree::view_for_pid::h0e07442d2b5ca3c4
  16: 0x557d3ec0 - <unknown>
  17: 0x557ced78 - sled::tree::Tree::insert_inner::hadd8cea1ddaf9ac1
  18: 0x55784f7c - sled::transaction::TransactionalTrees::commit::h136ecaccb6ac2bf9
  19: 0x556cb4d8 - <unknown>
  20: 0x55705990 - <unknown>
  21: 0x5562a4f8 - <unknown>
  22: 0x556483f0 - <unknown>
  23: 0x55681170 - <unknown>
  24: 0x55615ebc - <unknown>
  25: 0x5561371c - <unknown>
  26: 0x5561eab0 - <unknown>
  27: 0x5562617c - <unknown>
  28: 0x5561aa84 - <unknown>
  29: 0x55b6fe2c - <unknown>
  30: 0x55b804c8 - <unknown>
  31: 0x55b70580 - <unknown>
  32: 0x55b804c8 - <unknown>
  33: 0x55b63bf0 - std::rt::lang_start_internal::h7463e7af181ae443
  34: 0x5561aa58 - <unknown>
  35: 0x5561f620 - main
  36: 0x77dc0a08 - <unknown>

Could you run memory-storage only test?
It would be helpful to know that it is issue of sled storage or the others.

It would be nice if you could also add what example gluesql-demo refers to.
or github link for example code


Add Vale and GitHub Action

I was talking to Drew about the Seqera docs in Boston and he mentioned they were using Vale. I had played with it before.
Wondering how bad it's going to be with our docs.

@mashehu Should be good for a first attempt, and we'll see what goes wrong 😬


Wrong offset selected for timezones which don't observe DST and have had their UTC offset increased since the beginning of time

When a timezone is added which does not observe Daylight Savings Time, the minimum UTC offset which was ever used for the timezone is used which can be incorrect if the timezone has ever increased the UTC offset it uses.
For example:

A calendar with a timezone of "America/Cayman" reports the offset as -05:19:36 (which was from 01/01/1890 - 22/04/1908). Since 22/04/1908, the correct offset is -05:00:00.
A calendar with a timezone of "Asia/Singapore" reports the offset as 06:55:25 (which was from the beginning of time - 31/05/1905). Since 31/12/19818, the correct offset is 08:00:00.

string timezone = "Asia/Singapore";
var iCal = new Ical.Net.Calendar();
iCal.AddTimeZone(timezone);
Console.WriteLine("The reported offset is: " + ((VTimeZoneInfo)iCal.TimeZones[0].Children[0]).OffsetTo);

The issue is because NodaTime treats the current timezone interval as not having an end time. Code at VTimeZone.cs:47 specifically excludes timezone intervals which don't have an end time incorrectly.

Will be available in nuget version 4.1.5 in the next hour or so:
https://www.nuget.org/packages/Ical.Net/4.1.5


chore(package): update dependencies

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


USE UPDATED FORK

This repo is no longer maintained, but there is a fork that is.
Check out The Fork, Download the Latest Release or Join The Discord
New Features in the fork

In-App Updates
Spotify Podcasts
Idle Profile (if you havent played a song in a while the player will 'minimize')
Open up your music player through audioband (double click on any non button)
A ton of bug fixes

Features to come

Volume button
Spotify Like button
Spotify Share button
And many more!

@svr333  Thanks. As mentioned in #290, are you ok if I just link to the repo in the readme?

@svr333  Thanks. As mentioned in #290, are you ok if I just link to the repo in the readme?


Implement post-render action for uploading to an S3 bucket

This PR implements a post-render action for uploading to an S3 bucket.
Usage
When creating your render job provide this module as one of the postrender actions:
// job.json
{
   "actions": {
       "postrender": [
           {
               "module": "@nexrender/action-upload",
               "input": "",
               "params": {
                   "region": "us-east-1",
                   "bucket": "name-of-your-bucket",
                   "key": "folder/output.mp4",
                   "acl": "public-read"
               }
           }
       ]
   }
}

Information

input optional argument, path of the file you want to encode, can be either relative or absulte path. Defaults to current job output video file.
params required argument, object containing parameters for the S3 put object request.

Oh, @velocitysystems, that looks great, amazing job!
I only have one thing I want to ask. Could you please add a switch/if condition inside the body of the action-upload with a type of the provider we are currently working with. And in your case, it will be s3.
Like it's done in the download part:
https://github.com/inlife/nexrender/blob/master/packages/nexrender-core/src/tasks/download.js#L88
And then move the actual aws s3 body into the following spot:
https://github.com/inlife/nexrender/blob/master/packages/nexrender-provider-s3/src/index.js#L24
That way it would be following the pattern we've already layered out for the project.
Let me know what you think!
Thank you.

P.S. you can follow this package as an example of how to setup the package.json and readme file for the action-upload package: https://github.com/inlife/nexrender/tree/master/packages/nexrender-action-encode

One useful feature of this would be to expose the endpoint url, as Digital Ocean Space can use the aws-sdk to perform the same action.

Thanks @inlife. I have made changes to the PR to be in line with your review.
I'm just running some additional testing following the changes. Will confirm once this is done.

oh, looking good @velocitysystems!

@inlife What is your recommend approach for testing this?

Well, I guess the simplest one would be to just run the file directly, by requiring it and providing all necessary arguments. Since that is a pretty much pure function, the result should be ok for all other cases.

@inlife I have tested this and made a number of improvements. All working perfectly!

@inlife I have adjusted the package versions but I'm not sure how you version your packages.
Please feel free to change if necessary. Let me know if you need me to do anything else.

everything looks great @velocitysystems
version management is done by lerna, so there is no need to worry about that :)


add exception handling in ParseRestartPolicy() of parse.go

it is an exception under "len(parts) == 1", should return err.

I am afraid functional test fails a lot in opts_test.go
03:15:15 --- FAIL: TestParseRunLinks (0.00s)
03:15:15 	opts_test.go:64: invalid restart policy format
...

oh, parts can only include name.


Challenge: Maximum Number of Vowels in a Substring of Given Length

Summary:
- Added challenge README.
- Added challenge whiteboard image.
- Added challenge test.
- Added challenge solution.
- Updated repo README, added challenge link.

Fixed sonarlint suggestions for code smell, using continue statement. In this case it's preferable to a conditional branching statement.


Request to adding "mouse without borders" to PowerToys

Description of the new feature / enhancement
Mouse without borders it's a feature that could be integrated in PowerToys, sharing a single mouse and keyboard (and clipboard if possible) between multiple computers is incredible handy when working with multiple devices.
Scenario when this would be used?
Can be useful to control multiple devices with a single set of keyboard and mouse
Supporting information
No response

/dup #77