amplify configure error FeatureFlags is not initialized

How did you install the Amplify CLI?
npm 10.1.0
If applicable, what version of Node.js are you using?
20.9.0
Amplify CLI Version
12.8.2
What operating system are you using?
windows 10 64bits
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No changes made
Describe the bug
PS C:\users\ruy> amplify configure
🛑 FeatureFlags is not initialized
Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report'
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/
Session Identifier: 689480c9-8605-458c-9fda-dcb79237a1ae
PS C:\users\ruy.amplify> amplify diagnose --send-report
Learn more at https://docs.amplify.aws/cli/reference/diagnose/

Creating Zip
No Amplify backend project files detected within this folder.
× Creating Zip

No zip file created
Expected behavior
amplify configure to run and setup the configuration for use in projects (amplify init)
Reproduction steps

user curl to install amplify cli -> OK
run amplify config and create the users and keys -> OK
use npm to install support packages listed in amplify site -> OK
run amplify init -> ERROR missing package body-parser
use npm to install body-parser -> OK
run amplify plugin -> OK
run amplify init -> ERROR missing package body-parser at C:\snapshot... (C:|snapshot does not exist)
create C\snapshot and copy body-parser to the required location -> OK
run amplify plugin -> OK
run amplify init -> ERROR missing package express at C:\snapshot...
use npm to install express -> OK
copy express to the required location in C:\snapshot -> OK
run amplify plugin -> OK
run amplify init -> ERROR missing package express at C:\snapshot...
uninstall amplify -> OK
remove C:\users\Ruy.amplify and C:\snapshot
open a new powershell instance running as administrator
use npm to install amplify cli -> OK
check if C:\snapshot was ceeated -> NOT CREATED
run amplify config -> ERROR FeatureFlags is not initialized

Project Identifier
No zip file is create by running amplify diagnose --send-report
Log output

# Put your logs below this line
2023-11-15T09:28:55.292Z|info : amplify version core
2023-11-15T09:31:40.570Z|info : amplify diagnose core
2023-11-15T09:31:40.619Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2023-11-15T09:32:14.470Z|info : amplify diagnose core  {"send-report":true,"yes":false}
2023-11-15T09:32:14.520Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2023-11-15T09:33:02.244Z|info : amplify configure core
2023-11-15T09:33:02.291Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2023-11-15T09:33:33.118Z|error : FeatureFlags is not initialized
UnknownFault: FeatureFlags is not initialized
2023-11-15T09:33:48.255Z|info : amplify diagnose core  {"send-report":true,"yes":false}
2023-11-15T09:33:48.305Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2023-11-15T09:39:00.842Z|info : amplify init core
2023-11-15T09:39:00.890Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2023-11-15T09:40:09.622Z|error : FeatureFlags is not initialized
UnknownFault: FeatureFlags is not initialized

Additional information
I first thought the problem could be related to install without running as administrator because the C:\snapshot directory wasn't created but in fact my regular user can create files in the C:\
I've tried to redo the installation a few times using curl first and then npm as indicated in one of the message logs.
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hello yekthan, first of all thanks a lot for your answer! It is similar to #11396, only in that case it looks like it was working normally, what ever happened with me as I was having errors while loading the libraries - that's the reason I've tried the reinstallation. I've looked for the amplify-pending-delete.exe but there was none so I've went through with the removal of the .amplify tree and made a new installation from a CDM terminal. It took longer as there was a timing-something message blinking around, but when finished the amplify configure failed the very same way...
Anyway thanks again for the help and don't hesitate in asking me to look for more information at my PC or trying some other procedures :-)

Hey @RuyCosta, interesting.  Would be open for a quick chat on discord? my handle is ykethan

Sure thing, I'm usually available but yesterday I got some business to deal with and just saw your message today...
Let me know what time works better for you (by the way I'm in GMT)

H3y @RuyCosta, sure. Do reach out, we can try to find an ideal time.

I've sent a friend request...

Thanks ykethan, it was really a issue from mc development pc as it works in another one, so I'm closing this issue.


Version of python?

Which version on python this requires? I upgraded to 3.9 but I'm still getting error:
Traceback (most recent call last):
File "./pycaruna/pycaruna.py", line 5, in
def login_caruna (username: str,password: str|None):
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

I have used version 3.10 but now I changed that function so I think that an older version should work too. Could you test it now?

I have used version 3.10 but now I changed that function so I think that an older version should work too. Could you test it now?

Confirmed to work now. Thanks a lot!


datetimepicker in iFrame on Android Internet 1.5.28.

Any suggestions on how to get the picker to fit in this iFrame? It appears to work fine on other Android and iOS browsers.
Android Internet 1.5.28.

you could try inline, but I'm not sure what else you could do.


OracleFMWInfrastructure 12213-domain-in-volume -  getDatabaseDefaults() failed - Failed to build JDBC Connection object

Hi,
I am trying to build FMW Infrastructure Domain Image per instructions at https://github.com/oracle/docker-images/tree/master/OracleFMWInfrastructure/samples/12213-domain-in-volume.
Step $ ./build.sh InfraNET fails with error:
Step 22/24 : RUN /u01/oracle/container-scripts/createFMWDomain.sh &&     echo ". $DOMAIN_HOME/bin/setDomainEnv.sh" >> /u01/oracle/.bashrc &&     chmod -R a+x $DOMAIN_HOME/bin/*.sh
 ---> Running in e5afb5d9e99d
Configuring Domain for first time
=====================================
Domain Home is:  /u01/oracle/user_projects/domains/myinfraDomain
CUSTOM_CONNECTION_STRING=InfraDB:1521/InfraPDB1.us.oracle.com
CUSTOM_RCUPREFIX=INFRA08
CUSTOM_DOMAIN_NAME=myinfraDomain
DOMAIN_HOME=/u01/oracle/user_projects/domains/myinfraDomain
CONNECTION_STRING=InfraDB:1521/InfraPDB1.us.oracle.com
RCUPREFIX=INFRA08
jdbc_url=jdbc:oracle:thin:@InfraDB:1521/InfraPDB1.us.oracle.com
Creating Domain Home
ls -l /u01/oracle/properties
Domain Configuration Phase
==========================

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Creating Admin Server...
Creating cluster...
managed server name is infraMS1
Creating Node Managers...
Will create Base domain at /u01/oracle/user_projects/domains/myinfraDomain
Writing base domain...
Base domain created at /u01/oracle/user_projects/domains/myinfraDomain
Extending domain at /u01/oracle/user_projects/domains/myinfraDomain
Database  InfraDB:1521/InfraPDB1.us.oracle.com
Applying JRF templates...
Extension Templates added
Configuring the Service Table DataSource...
fmwDatabase  jdbc:oracle:thin:@InfraDB:1521/InfraPDB1.us.oracle.com
Getting Database Defaults...
Error: getDatabaseDefaults() failed. Do dumpStack() to see details.
Error: runCmd() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
  File "/u01/oracle/container-scripts/createFMWDomain.py", line 297, in ?
  File "/u01/oracle/container-scripts/createFMWDomain.py", line 42, in createInfraDomain
  File "/u01/oracle/container-scripts/createFMWDomain.py", line 141, in extendDomain
  File "/tmp/WLSTOfflineIni9123244009121955878.py", line 263, in getDatabaseDefaults
  File "/tmp/WLSTOfflineIni9123244009121955878.py", line 19, in command
Failed to build JDBC Connection object:
        at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
        at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2983)
        at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:735)
        at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)

com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: Got exception when auto configuring the schema component(s) with data obtained from shadow table:
Failed to build JDBC Connection object:

Removing intermediate container e5afb5d9e99d
The command '/bin/sh -c /u01/oracle/container-scripts/createFMWDomain.sh &&     echo ". $DOMAIN_HOME/bin/setDomainEnv.sh" >> /u01/oracle/.bashrc &&     chmod -R a+x $DOMAIN_HOME/bin/*.sh' returned a non-zero code: 1

I have completed the previous steps.

$ docker ps -a
CONTAINER ID        IMAGE                                       COMMAND                  CREATED             STATUS                      PORTS                                            NAMES
3cb360a8d1a3        12213-fmw-rcu                               "/u01/oracle/contain…"   29 minutes ago      Exited (0) 29 minutes ago                                                    RCU
3985ba844e28        store/oracle/database-enterprise:<IP_ADDRESS>   "/bin/sh -c '/bin/ba…"   46 minutes ago      Up 46 minutes (healthy)     <IP_ADDRESS>:1521->1521/tcp, <IP_ADDRESS>:5500->5500/tcp   InfraDB

Any advice would be appreciated.
Thanks,
Veronica
(Edited for formatting)

Where is your database running?  Did you give the right permissions to the DB user/password so that it can create the schema in the database?

Hi Monica,
I am running everything on my laptop using Docker Desktop. The goal is to containerize an ADF application. For now, I am trying to deploy it locally in the container. I am new to both Docker and python.
docker ps -a shows:
$ docker ps -a CONTAINER ID        IMAGE                                       COMMAND                  CREATED             STATUS                   PORTS                                            NAMES 3cb360a8d1a3        12213-fmw-rcu                               "/u01/oracle/contain…"   3 days ago          Exited (0) 3 days ago                                                     RCU 3985ba844e28        store/oracle/database-enterprise:<IP_ADDRESS>   "/bin/sh -c '/bin/ba…"   3 days ago          Up 19 hours (healthy)    <IP_ADDRESS>:1521->1521/tcp, <IP_ADDRESS>:5500->5500/tcp   InfraDB
Per further debugging, it appears the issue is an ORA-01017: invalid username/password. I am investigating why this happens - your help will be much appreciated.
I am attaching the current output from $ ./build.sh InfraNET command.
Thanks and regards,
Veronica
ORA-01017 invalid username-password.docx

Please follow the exact steps in the README https://github.com/oracle/docker-images/blob/master/OracleFMWInfrastructure/samples/12213-domain-in-volume/README.md
The section Running the Oracle FMW Infrastructure domain Docker image

Hi Monica,
Please specify if I need to build myself the Oracle Fusion Middleware Infrastructure <IP_ADDRESS> binary image.
My understanding per the README was that this would be an optional step, since the base image is referenced in Dockerfile https://github.com/oracle/docker-images/blob/master/OracleFMWInfrastructure/samples/12213-domain-in-volume/Dockerfile
Thanks again,
Veronica

@VBAICEAN you can either build the FMW Infra binary image or pull it from container-registry.oracle.com/middleware/fmw-infrastructure:<IP_ADDRESS>


broadcast and sync

github.com/anycable/anycable-go looks like a nice match with go-elem. It's designed for Turbo, but it will work with go-elem and htmx and SSE / Web Sockets.
It can also embed the NATS Server for you.
https://dev.to/chasefleming/building-a-counter-app-with-htmx-go-fiber-and-elem-go-9jd looks good too @chasefleming

Thanks @gedw99 , working on some more tutorials. Coming soon.

Closing this. Was thinking about opening a GitHub Discussion board on here soon for more ongoing topics like this that are more for conversations around the library as opposed to specific issues. Let me know if you'd find that useful. Thanks!

Discussion is a good idea

@gedw99 The discussions tab has been added! https://github.com/chasefleming/elem-go/discussions


New Tasks priorities support.

Add support for new tasks priorities: Highest and Lowest.

addressed by #35


Error message underscores (_) displays as dashes (-)

If an error occurs in a compilation, for example if a scss variable is referenced that doesn't exist, then an error message is shown about this. This is all great, but if a scss variable uses underscores (_), then the error message somehow changes these to dash (-) in the detailed output panel. At least it looks like it is dashes.
So for the variable reference:
$c__red
it somehow changes it to:
$c--red
So the entire error message looks like this:
Error: Undefined variable: "$c--red".

It is still possible to just use the filename and line-number to identify the actual scss variable name, but it should still display the correct variable in my mind :-)

Hey! Thanks for your report! But that's not an issue of my package, it's node-sass that replaces the underscrore. Have a look at my terminal output. The underscore is replaced there too.
$ node-sass main.sass main.css
{
  "formatted": "Error: Undefined variable: \"$c--red\".\n        on line 11 of main.sass\n>>   color: $c__red;\n   ---------^\n",
  "message": "Undefined variable: \"$c--red\".",
  "column": 10,
  "line": 11,
  "file": "C:/Users/Armin/.atom/packages/sass-autocompile/test/main.sass",
  "status": 1
}

I found this issue about that (in my opinion) strange behaviour.

@armin-pfaeffle I agree it is indeed strange behaviour. Feel free to "like" any comments on the issue which question the behaviour, I'd like to see it changed.

/* Error: expected "{".

,
7 |     font - family:$primary_font;
|                                ^
'
scss\style.scss 7:32  root stylesheet */

body::before {
font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
"Droid Sans Mono", monospace, monospace;
white-space: pre;
display: block;
padding: 1em;
margin-bottom: 1em;
border-bottom: 2px solid black;
content: 'Error: expected "{".\a   \2577 \a 7 \2502      font - family:$primary_font; \d\a   \2502                                 ^\a   \2575 \a   scss\style.scss 7:32  root stylesheet';
}
why getting compile error in SASS when using hypen in variable $primary-font?


JSON schema generation of Discriminated Unions doesn't work with lists

Checks

[X] I added a descriptive title to this issue
[X] I have searched (google, github) for similar issues and couldn't find anything
[X] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
pydantic version: 1.9.0
            pydantic compiled: True
                 install path: C:\Users\Adrien\Documents\GitHub\mft\backend\venv\Lib\site-packages\pydantic
               python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
                     platform: Windows-10-10.0.19044-SP0
     optional deps. installed: ['dotenv', 'email-validator', 'typing-extensions']

I tested the ne feature "discriminated unions", using the sample at https://pydantic-docs.helpmanual.io/usage/types/#discriminated-unions-aka-tagged-unions, and it works great.
But when I use it in arrays, it doesn't work. The resulting json schema doesn't contains any discriminator.
See here, I modified the sample ( pet: Pet to pet: List[Pet] ) :
from typing import Literal, Union, List
from typing_extensions import Annotated
from pydantic import BaseModel, Field

class BlackCat(BaseModel):
    pet_type: Literal['cat']
    color: Literal['black']
    black_name: str

class WhiteCat(BaseModel):
    pet_type: Literal['cat']
    color: Literal['white']
    white_name: str

Cat = Annotated[Union[BlackCat, WhiteCat], Field(discriminator='color')]

class Dog(BaseModel):
    pet_type: Literal['dog']
    name: str

Pet = Annotated[Union[Cat, Dog], Field(discriminator='pet_type')]

class Model(BaseModel):
    pet: List[Pet]
    n: int

print(Model.schema_json())

...

JSON schema gives :
"pet":{
         "title":"Pet",
         "type":"array",
         "items":{
            "anyOf":[
               {
                  "anyOf":[
                     {
                        "$ref":"#/definitions/BlackCat"
                     },
                     {
                        "$ref":"#/definitions/WhiteCat"
                     }
                  ]
               },
               {
                  "$ref":"#/definitions/Dog"
               }
            ]
         }
      }

Maybe the title should be more specific. The parsing works correctly AFAICS. The JSON schema generation doesn't.

Hi all, this workaround seems to work for me, until using raw annotations is fixed:
from typing import Literal, Annotated, Union
from pydantic import BaseModel, Field

class Dog(BaseModel):
    animal_type: Literal['dog']
    name: str
    claw: str

class Bird(BaseModel):
    animal_type: Literal['bird']
    name: str
    wing_size: str

class Animal(BaseModel):
    __root__: Annotated[
        Union[
            Dog,
            Bird
        ],
        Field(discriminator='animal_type')
    ]

# Animal = Annotated[
#     Union[
#         Dog,
#         Bird
#     ],
#     Field(discriminator='animal_type')
# ]

class Zoo(BaseModel):
    animals: list[Animal]

print(Zoo.schema_json())

The schema I get:
{
  "title": "Zoo",
  "type": "object",
  "properties": {
    "animals": {
      "title": "Animals",
      "type": "array",
      "items": {
        "$ref": "#/definitions/Animal"
      }
    }
  },
  "required": [
    "animals"
  ],
  "definitions": {
    "Dog": {
      "title": "Dog",
      "type": "object",
      "properties": {
        "animal_type": {
          "title": "Animal Type",
          "enum": [
            "dog"
          ],
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "claw": {
          "title": "Claw",
          "type": "string"
        }
      },
      "required": [
        "animal_type",
        "name",
        "claw"
      ]
    },
    "Bird": {
      "title": "Bird",
      "type": "object",
      "properties": {
        "animal_type": {
          "title": "Animal Type",
          "enum": [
            "bird"
          ],
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "wing_size": {
          "title": "Wing Size",
          "type": "string"
        }
      },
      "required": [
        "animal_type",
        "name",
        "wing_size"
      ]
    },
    "Animal": {
      "title": "Animal",
      "discriminator": {
        "propertyName": "animal_type",
        "mapping": {
          "dog": "#/definitions/Dog",
          "bird": "#/definitions/Bird"
        }
      },
      "anyOf": [
        {
          "$ref": "#/definitions/Dog"
        },
        {
          "$ref": "#/definitions/Bird"
        }
      ]
    }
  }
}

@nayef-livio-derwiche thank, it worked for me !
I just had to add this to the Animal class, to be able to use dot notation for getting attributes:
    def __getattr__(self, item):  # if you want to use '.'
        return self.__root__.__getattribute__(item)

@adrienyhuel
Sure, something like that might help if you want to use the root class transparently:
def use_root_class_decorator(cls):
    def new_method_proxy(func):
        def inner(self, *args):
            return func(self.__root__, *args)
        return inner

    cls.__getattr__ = new_method_proxy(getattr)
    cls.__setattr__ = new_method_proxy(setattr)
    cls.__delattr__ = new_method_proxy(delattr)
    cls.__getattr__ = new_method_proxy(getattr)
    cls.__bytes__ = new_method_proxy(bytes)
    cls.__str__ = new_method_proxy(str)
    cls.__bool__ = new_method_proxy(bool)
    cls.__dir__ = new_method_proxy(dir)
    cls.__hash__ = new_method_proxy(hash)
    # not sure of the consequences of using / not using the following line...
    # cls.__class__ = property(new_method_proxy(operator.attrgetter("__class__")))
    cls.__eq__ = new_method_proxy(operator.eq)
    cls.__lt__ = new_method_proxy(operator.lt)
    cls.__gt__ = new_method_proxy(operator.gt)
    cls.__ne__ = new_method_proxy(operator.ne)
    cls.__hash__ = new_method_proxy(hash)
    cls.__getitem__ = new_method_proxy(operator.getitem)
    cls.__setitem__ = new_method_proxy(operator.setitem)
    cls.__delitem__ = new_method_proxy(operator.delitem)
    cls.__iter__ = new_method_proxy(iter)
    cls.__len__ = new_method_proxy(len)
    cls.__contains__ = new_method_proxy(operator.contains)

    return cls

@use_root_class_decorator
class Animal(BaseModel):
    __root__: Annotated[
        Union[
            Dog,
            Bird
        ],
        Field(discriminator='animal_type')
    ]

Or if you can, you may use this lib: https://github.com/GrahamDumpleton/wrapt

Thanks for the patience, I've submitted a fix for this, see #4071.
@adrienyhuel, please could you take a look and test that it fixes your problem. I hope to get v1.9.1 out with this included in the next few days.

@samuelcolvin
I installed with pip from "git+https://github.com/samuelcolvin/pydantic.git@refs/pull/4071/merge" and it works great.
Thanks for the fix, waiting for 1.9.1 release :)

Thanks so much for confirming. Should be very soon now.


Add fork points to sync

Fixes #979.
This PR adds the tip of forks near canon tip to block locator hashes. This avoids the issues outlined in #979.
Future work may include doing more than just tip of forks, but this is sufficient in current testing and has minimal impact for an initial rollout.
Tested to tip canon tip twice and over a few days in local testing, no issues.

it would be great if we could have a test for this functionality; one of the consensus_sidechain ones could be copied and modified to check if the fork points are returned as expected, and if they belong to the locator hash list


Recognizer and intent rule only works for parallel node not child node.

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
What package version of the SDK are you using.
I am using adaptive dialog 4.6
Describe the bug
Give a clear and concise description of what the bug is.
I have  conversion flow with multiple path where i have used ChoiceInput and switch condition.
i am able to travel to my flow paths based on my inputs  as expected there is no issues.
Now i am trying to achieve the  jump from node 2 to node 10 using Recognizer  and intent rule.
till now i can see intent rule only works at parallel nodes i have can jump between nodes.
i have applied the Recognizer  and AllowInterruptions at every node.
but still i am not able to move
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

@som-nitjsr - can you share bit more information?

Are you using preview packages off botbuilder.myget.org or building from 4.Future branch?
Can you share code snippet for your scenario? Is node 2 an input node and based on the user's response, you need to jump to node 10 in the flow? Is node 2 your choice input? Where does node 10 live? is that one of the branch in the switch condition or outside the entire block?

The interruption model in adaptive dialogs enables you to model non-linear conversations. There is no support for a jump except for having the interruption provide required values required to skip through node 3...9 or we would need to re-organize the flow or your code snippet might require us to re-consider supported actions collection.

we are using the builds from https://botbuilder.myget.org/gallery/botbuilder-declarative
out bots are live here https://social27.com/
this is our designer
https://botdashboard.social27.com/social27/
i wil share more info.

i am going with parallel node. hence closing it.


[firefox] "SecurityError: The operation is insecure" alert.

When I include restive.js on my html+css static files it throws the error opening a javascript alert popup that cannot be closed. The error occurs only on firefox and in every page, no matter if I delete all the content or the restive() init call.

[update] now it works again. It broke without doing anything and it went back up the same way.

Thanks for your feedback.
I'm going to have to see how your code is setup so I can try to recreate your issue and debug (if necessary).
Could you setup a CodePen or JSFiddle?

I stripped out all the html and made a jsfiddle
Oddly, the issue comes and goes (worked well for two days, now it's back. Console says "exception: out of memory"), and happens only on html static files called with file:/// on Firefox.

Thanks. I just ran your jsfiddle and I see a long list of warnings and errors in the console log. However, I don't see one that points to restive.min.js.
When you get the "out of memory" exception, does it actually point to restive.min.js? Does the console point to any specific script? Also, what browser are you using to test?

The code occurs only when I include the restive script. If i trim out the  it starts working again.
I'm testing it on Firefox (latest version), Chrome (latest version), IE 11.
The logged console error is not specific to a file.
(meanwhile, it started working again and I did have done anything. I am puzzled)

It might be an issue with the combination of scripts, not necessarily restive.min.js on it's own. Ensure that you have restive.min.js directly after jquery.
Do you get the "out of memory" error on each of those 3 browsers?

No, it happens only on Firefox.

Doing a Google search on "Firefox out of memory exception" seems to point to some scenarios where Chrome has no issue but FIrefox does.
Can you run just jquery and restive.min.js (i.e. remove or comment out all the other scripts) and see if the issue persists?

Hi freshdevelop,
I haven't heard back from you on this. We're you able to get things working?
I'll close this for now, but please open if you still have issues.


[QUESTION] {pre-/post}-install step with setupmeta?

Thanks for the great library, it has been working so well for easy PyPI deploys!
Question: I have a binary dependency (an NLP machine learned model) that I'd like to {pre-/post}-install via a bash script. With setuptools I'd invoke it via the scheme below with cmdclass={'install': .... Is there a good way to accomplish an extra install step via setupmeta? or what do you recommend to support installing a binary dependency to ./bin/. Thank you and Cheers!
import atexit
from setuptools.command.install import install

def _post_install():
    print('POST INSTALL')

class new_install(install):
    def __init__(self, *args, **kwargs):
        super(new_install, self).__init__(*args, **kwargs)
        atexit.register(_post_install)

setuptools.setup(
    cmdclass={'install': new_install},

(from this StackOverflow thread)

You can apply this same technique with setupmeta (in general, setupmeta only auto-fills missing stuff, doesn't prevent you from explicitly specifying anything).
There is not great way I know off to pull in external (non-python) dependencies. I tend to specify those in the README file, and let users bring it themselves (like via apt or brew on OSX etc).
Writing such a post-install in a multi-platform way is probably going to be challenging :)

Thanks Zoran!!


Pack-K-Purple

Updated or removed buggy images.

 I really wasted time making it.


Visualization of DataflowError

Don't complain when trying to visualize DataflowError. We can easily extract the underlying payload message instead.
Visualisation evaluation failed: Cannot encode class org.enso.interpreter.runtime.error.DataflowError to byte array.. pops up rather frequently in the logs.

I have a lot of concerns regarding this change.
First, the IDE does not expect the visualization messages form the error nodes. It has different mechanism for visualizing errors.
Also the toString representation probably won't be helpful to the end user in understanding the issue, and can expose some implementation details of the underlying object.
Overall, I believe those errors in the log can indicate a different error somewhere else in the logic, but are not harmful on their own.

I would rather add some more info to the logs to have better view of the situation. I'll see what we can do

I have a lot of concerns regarding this change. First, the IDE does not expect the visualization messages form the error nodes. It has different mechanism for visualizing errors. Also the toString representation probably won't be helpful to the end user in understanding the issue, and can expose some implementation details of the underlying object. Overall, I believe those errors in the log can indicate a different error somewhere else in the logic, but are not harmful on their own.

OK. I would certainly vote then into reducing the level of the log for this message. Since it is a warning, and there are typically lots of them, it will be typically the first to catch somebodies attention when debugging the problem. Probably debug would suffice.

Misclicked.
I realized that we should be able to visualize the dataflow errors. Visualization helpers define an appropriate method on error. I spent some time investigating and I think I found what's causing those errors.
Component browser inserts some functions in the process of typing. And the visualization of a function produces a dataflow error.

Since it was indeed an error, I wouldn't lower the loglevel of the failure. Instead we can add some extra information to the log about the visualization and maybe the class of the visualized value.

OK, will file a separate PR

Original problem addressed by #4080


Add new metrics in data-collector

Fixed existing metrics in 9d13c53
Added Summary Metrics for total time taken for collection
Added Gauge Metrics for total size of Topology Inventory data in bytes

Codecov Report

Merging #41 into master will decrease coverage by 0.31%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   40.27%   39.95%   -0.32%
==========================================
  Files          14       14
  Lines         437      448      +11
==========================================
+ Hits          176      179       +3
- Misses        261      269       +8

Impacted Files
Coverage Δ

prometheus_metrics/prometheus_metrics.py
50% <100%> (ø)
:arrow_up:

collector/topological_inventory.py
24.13% <15.78%> (+0.32%)
:arrow_up:

Continue to review full report at Codecov.

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

I will be noting down current trends in the CI env for all Topology Inv. use cases
(WIP for now)

Grafana dashboards for Topological Inventory data collection use cases
https://metrics-mnm-ci.5a9f.insights-dev.openshiftapps.com/d/NOrLCiMZz/instance-type-validation?orgId=1
https://metrics-mnm-ci.5a9f.insights-dev.openshiftapps.com/d/MOrLCiMZz/volume-type-validation?orgId=1
https://metrics-mnm-ci.5a9f.insights-dev.openshiftapps.com/d/POrLCiMZz/idle-cost-savings?orgId=1
The first two panels in the grafana dashboard indicate the metrics added in this PR
The other panels are CPU/Memory metrics not related to this PR

@jameswnl Trying out Histogram with the default bucket setting for the total data size metric..
So far so good, and seems to work exactly like Summary for the most part


Do we need to add svg on cdnjs

Hello @somerandomdude , I am the member of cdnjs project. We want to host this library. There is a question want to ask. I want to confirm that do I need to add all files under svg/ and open-iconic.svg, open-iconic.min.svg under sprite/. Thanks!
https://github.com/cdnjs/cdnjs/issues/9222
https://github.com/cdnjs/cdnjs/pull/10224

Hey Kenny - yes all the files are needed. Thanks!

Thank you


Feat: Improve the about page content

Read this and improve the page.
https://www.bigcommerce.com/blog/ecommerce-about-us-page/
https://expandcart.com/en/41257-about-us-page/

Issue Close with the commit 4e55628


Removing UIWebView

Replacing deprecated UIWebView with WKWebView
This fixes https://github.com/xamarin/XamarinUniversity/issues/1172

.DS_Store should be removed.
WKWebView allows navigation (it's a web view after all :-)) but by default this navigation would happen inside the view itself. The delegate method will make sure that the XamU link will be opened in the external browser. The delegate method is called before navigation is about to happen. The Action<WKNavigationActionPolicy> decisionHandler is a callback and a way of telling iOS if it should allow the navigation to happen or not. In case of XamU, we don't allow the (internal) navigation and perform a custom operation instead (open the browser). Does that help?

Confirmed changes run happily for Ex1/Completed and verified changes match up on Ex2-3.


Pylab images not getting rendered in the docs

It looks like plots are not appearing when generated with % pylab notebook
E.g. http://geoscienceaustralia.github.io/digitalearthau/notebooks/products/GettingStartedWithSentinel2.html#See-what-Sentinel-2-products-are-currently-available
Using %matplotlib inline will work, and we could investigate other methods, such as %matplotlib notebook

Closing for now; can reopen if we find examples of notebooks that still use pylab notebook


[Bug] Incorrect display of Series bars on zoom in

Version
5.5.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=dataset-simple0&code=PYBwLglsB2AEC8sDeAoWbZmMANpEAXMgL4A0GsAzgKYBOE1lRA2hbO6u112AJ4jUiAcgBGAQ1pDy3btDEBbQbCEBlOg0qwAjFLbcAJmLBiWemcyEA1MTgCu1bVNgAOALrSZ3C9bsOATE5aAAzuZl5WNvawAMyBoZ7hPlEALE4A7PEJ7N6RDgCsTn6ZWTm-sABsTnnFCaVRaYEhHiURZc5Obs21rVEAnE7lrmGwQ55kZpwJfALC4pJd3HMA4mKEQQtccorCavSMsAEb7IbGplnZPQ46pDE1nnX-jXfmlzEdz4m5sKk3WlofXAesAKN2qR0Br0qN2SAIuSQcDRunWGcK-7VBsNgQP6N0Gw1GMnG7EyAA8AIIkiBMZCYfhKIQAYyM1AA5sBaLwhLAibBeBSqUQkNN6QA3XJCHknMQALWw8gIk3YADMIHg6ABZYD6QRCaAwai6bjCghCSg4CDayQYHkAehtsAAItQGTgJA4aCK6DZYHMqOpGDdqGIGQALWAAd1VOB9DnkqwE-gwdswwFgYlgDNwtnkcGAStgUpoYAAdJRgLZaAyHCJeAXqEqxLY8MW0ChiABuIA
Steps to Reproduce

Add a series of type 'bar'
Add a dataZoom with 'type: slider' and  'filterMode:'none''
Preferably add tooltip option.
Zoom in with the slider to max possible view, so that  a single bar is visible
Check the tooltip which shows correct value of the bar, but the bar graphic does not represent the same. It shows some random value and not the one on tooltip

Current Behavior
The issue only occurs when the series type is bar and the dataZoom.filterMode = 'none'
Expected Behavior
The actual representation of the bar graphic should match the actual value (the one also on tooltip)
See in the image: actual value is 8, but on the UI bar is set to 10

Environment
- OS: Windows
- Browser: Chrome
- Framework: Angular 17

Any additional comments?
No response

confirmed - bug in filterMode:'none' when zoomed in to a single category value - Demo.


sampling weight & tracestate propagation

What does this PR do?
Fixes #1293
Fixes #1385
Implementation notes / questions

not sure if Sampler#getSampleRate() is relevant as there might be non-probabilistic samplers which can't provide any meaningful value. For root transactions, we could simply get the value from configuration instead.
sample rate rounding is applied to 1) configuration and 2) when parsing tracestate header
as an optimization, we might avoid tracestate parsing and transmit as-is if it does not contains es= string,

Checklist

[x] This is an enhancement of existing features, or a new feature in existing plugins

[x] I have updated CHANGELOG.asciidoc
[x] I have added tests that prove my fix is effective or that my feature works
[x] Added an API method or config option? Document in which version this will be introduced
[x] I have made corresponding changes to the documentation

:broken_heart: Tests Failed

Expand to view the summary

Build stats

Build Cause: [Pull request #1384 opened]

Start Time: 2020-09-04T08:52:30.424+0000

Duration: 22 min 34 sec

Test stats :test_tube:

Test
Results

Failed
1

Passed
1185

Skipped
1

Total
1187

Test errors
Expand to view the tests failures

Name: Tests / Unit Tests / testGeneratedConfigurationDocsAreUpToDate – co.elastic.apm.agent.configuration.ConfigurationExporterTest

Age: 1
Duration: 3.864
Error Details: The rendered configuration documentation (/docs/configuration.asciidoc) is not up-to-date.
If you see this error on CI, it means you have to execute the tests locally (./mvnw clean test -pl elastic-apm-agent -am -DfailIfNoTests=false -Dtest=ConfigurationExporterTest) which will update the rendered docs.
If you see this error while running the tests locally, there's nothing more to do - the rendered docs have been updated. When you execute this test the next time, it will not fail anymore.

Steps errors
Expand to view the steps failures

Name: Shell Script

Description: #!/bin/bash                set -euxo pipefail                ./mvnw test

Duration: 12 min 52 sec

Start Time: 2020-09-04T09:01:54.223+0000

log

Log output
Expand to view the last 100 lines of log output

[2020-09-04T09:13:56.585Z] 2020-09-04 09:13:56,403 [main] DEBUG com.github.dockerjava.core.command.AbstrDockerCmd - Cmd: 57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b,false,com.github.dockerjava.core.exec.InspectContainerCmdExec@29515614
[2020-09-04T09:13:56.585Z] 2020-09-04 09:13:56,403 [main] DEBUG com.github.dockerjava.core.exec.InspectContainerCmdExec - GET: OkHttpWebTarget(okHttpClient=org.testcontainers.shaded.okhttp3.OkHttpClient@15710468, baseUrl=http://docker.socket/, path=[/containers/57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b/json], queryParams={})
[2020-09-04T09:13:56.585Z] 2020-09-04 09:13:56,407 [main] DEBUG docker[wnameless/oracle-xe-11g-r2:latest] - Trying to create JDBC connection using oracle.jdbc.OracleDriver to jdbc:oracle:thin:system/oracle@localhost:32781:xe with properties: {password=oracle, user=system}
[2020-09-04T09:13:56.585Z] 2020-09-04 09:13:56,557 [main] DEBUG com.github.dockerjava.core.command.AbstrDockerCmd - Cmd: 57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b,false,com.github.dockerjava.core.exec.InspectContainerCmdExec@58f29453
[2020-09-04T09:13:56.585Z] 2020-09-04 09:13:56,557 [main] DEBUG com.github.dockerjava.core.exec.InspectContainerCmdExec - GET: OkHttpWebTarget(okHttpClient=org.testcontainers.shaded.okhttp3.OkHttpClient@15710468, baseUrl=http://docker.socket/, path=[/containers/57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b/json], queryParams={})
[2020-09-04T09:13:56.585Z] 2020-09-04 09:13:56,560 [main] DEBUG docker[wnameless/oracle-xe-11g-r2:latest] - Trying to create JDBC connection using oracle.jdbc.OracleDriver to jdbc:oracle:thin:system/oracle@localhost:32781:xe with properties: {password=oracle, user=system}
[2020-09-04T09:13:56.853Z] 2020-09-04 09:13:56,696 [main] DEBUG com.github.dockerjava.core.command.AbstrDockerCmd - Cmd: 57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b,false,com.github.dockerjava.core.exec.InspectContainerCmdExec@18795cb8
[2020-09-04T09:13:56.853Z] 2020-09-04 09:13:56,696 [main] DEBUG com.github.dockerjava.core.exec.InspectContainerCmdExec - GET: OkHttpWebTarget(okHttpClient=org.testcontainers.shaded.okhttp3.OkHttpClient@15710468, baseUrl=http://docker.socket/, path=[/containers/57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b/json], queryParams={})
[2020-09-04T09:13:56.854Z] 2020-09-04 09:13:56,705 [main] DEBUG docker[wnameless/oracle-xe-11g-r2:latest] - Trying to create JDBC connection using oracle.jdbc.OracleDriver to jdbc:oracle:thin:system/oracle@localhost:32781:xe with properties: {password=oracle, user=system}
[2020-09-04T09:13:56.854Z] 2020-09-04 09:13:56,846 [main] DEBUG com.github.dockerjava.core.command.AbstrDockerCmd - Cmd: 57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b,false,com.github.dockerjava.core.exec.InspectContainerCmdExec@1a9903b1
[2020-09-04T09:13:56.854Z] 2020-09-04 09:13:56,846 [main] DEBUG com.github.dockerjava.core.exec.InspectContainerCmdExec - GET: OkHttpWebTarget(okHttpClient=org.testcontainers.shaded.okhttp3.OkHttpClient@15710468, baseUrl=http://docker.socket/, path=[/containers/57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b/json], queryParams={})
[2020-09-04T09:13:57.119Z] 2020-09-04 09:13:56,853 [main] DEBUG docker[wnameless/oracle-xe-11g-r2:latest] - Trying to create JDBC connection using oracle.jdbc.OracleDriver to jdbc:oracle:thin:system/oracle@localhost:32781:xe with properties: {password=oracle, user=system}
[2020-09-04T09:13:57.119Z] 2020-09-04 09:13:56,996 [main] DEBUG com.github.dockerjava.core.command.AbstrDockerCmd - Cmd: 57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b,false,com.github.dockerjava.core.exec.InspectContainerCmdExec@63087c12
[2020-09-04T09:13:57.119Z] 2020-09-04 09:13:56,997 [main] DEBUG com.github.dockerjava.core.exec.InspectContainerCmdExec - GET: OkHttpWebTarget(okHttpClient=org.testcontainers.shaded.okhttp3.OkHttpClient@15710468, baseUrl=http://docker.socket/, path=[/containers/57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b/json], queryParams={})
[2020-09-04T09:13:57.119Z] 2020-09-04 09:13:57,000 [main] DEBUG docker[wnameless/oracle-xe-11g-r2:latest] - Trying to create JDBC connection using oracle.jdbc.OracleDriver to jdbc:oracle:thin:system/oracle@localhost:32781:xe with properties: {password=oracle, user=system}
[2020-09-04T09:13:57.120Z] 2020-09-04 09:13:57,077 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to STOPPED state
[2020-09-04T09:13:57.120Z] 2020-09-04 09:13:57,085 [elastic-apm-init-instrumentation-shutdown-hook] DEBUG co.elastic.apm.agent.bci.MatcherTimerLifecycleListener - Total time spent matching: 642,836,876ns
[2020-09-04T09:13:57.120Z] | Advice name                                        | Type ns         | Method ns       |
[2020-09-04T09:13:57.120Z] | ConnectionInstrumentation                          |     189,046,749 |      64,887,535 |
[2020-09-04T09:13:57.120Z] | StatementInstrumentation$ExecuteWithQueryInstrumentation |     139,488,142 |      37,416,100 |
[2020-09-04T09:13:57.120Z] | StatementInstrumentation$ExecuteUpdateWithQueryInstrumentation |      25,244,789 |      35,687,094 |
[2020-09-04T09:13:57.120Z] | StatementInstrumentation$ExecuteBatchInstrumentation |      33,026,222 |      11,747,969 |
[2020-09-04T09:13:57.120Z] | StatementInstrumentation$ExecuteUpdateNoQueryInstrumentation |      24,738,878 |      12,920,285 |
[2020-09-04T09:13:57.120Z] | StatementInstrumentation$ExecutePreparedStatementInstrumentation |      20,695,474 |      16,153,277 |
[2020-09-04T09:13:57.120Z] | StatementInstrumentation$AddBatchInstrumentation   |      24,589,958 |       7,196,376 |
[2020-09-04T09:13:57.120Z]
[2020-09-04T09:13:57.120Z] 2020-09-04 09:13:57,085 [elastic-apm-circuit-breaker] INFO  co.elastic.apm.agent.impl.circuitbreaker.CircuitBreaker - Stopping the Circuit Breaker thread.
[2020-09-04T09:13:57.382Z] 2020-09-04 09:13:57,140 [main] DEBUG com.github.dockerjava.core.command.AbstrDockerCmd - Cmd: 57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b,false,com.github.dockerjava.core.exec.InspectContainerCmdExec@7c104a54
[2020-09-04T09:13:57.382Z] 2020-09-04 09:13:57,140 [main] DEBUG com.github.dockerjava.core.exec.InspectContainerCmdExec - GET: OkHttpWebTarget(okHttpClient=org.testcontainers.shaded.okhttp3.OkHttpClient@15710468, baseUrl=http://docker.socket/, path=[/containers/57ffb84d070aa8769ddd7024d7a7cc4d46a7383cc77b0738a3f5d7185f27480b/json], queryParams={})
[2020-09-04T09:13:57.382Z] 2020-09-04 09:13:57,147 [main] DEBUG docker[wnameless/oracle-xe-11g-r2:latest] - Trying to create JDBC connection using oracle.jdbc.OracleDriver to jdbc:oracle:thin:system/oracle@localhost:32781:xe with properties: {password=oracle, user=system}
[2020-09-04T09:13:57.989Z] script returned exit code 143
[2020-09-04T09:13:59.153Z] Post stage
[2020-09-04T09:13:59.183Z] Recording test results
[2020-09-04T09:13:59.208Z] Post stage
[2020-09-04T09:13:59.238Z] Recording test results
[2020-09-04T09:14:00.225Z] None of the test reports contained any result
[2020-09-04T09:14:00.293Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1384/src/github.com/elastic/apm-agent-java
[2020-09-04T09:14:00.310Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1384/src/github.com/elastic/apm-agent-java
[2020-09-04T09:14:00.341Z] [INFO] Codecov: Getting branch ref...
[2020-09-04T09:14:00.355Z] [INFO] Codecov: Getting branch ref...
[2020-09-04T09:14:00.393Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-09-04T09:14:00.406Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-09-04T09:14:00.721Z] [INFO] Codecov: Sending data...
[2020-09-04T09:14:00.747Z] [INFO] Codecov: Sending data...
[2020-09-04T09:14:01.264Z] + curl -sSLo codecov.sh https://codecov.io/bash
[2020-09-04T09:14:01.378Z] + curl -sSLo codecov.sh https://codecov.io/bash
[2020-09-04T09:14:01.650Z] + bash codecov.sh
[2020-09-04T09:14:01.650Z]
[2020-09-04T09:14:01.650Z]   _____          _
[2020-09-04T09:14:01.650Z]  / ____|        | |
[2020-09-04T09:14:01.650Z] | |     ___   __| | ___  ___ _____   __
[2020-09-04T09:14:01.650Z] | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
[2020-09-04T09:14:01.650Z] | |___| (_) | (_| |  __/ (_| (_) \ V /
[2020-09-04T09:14:01.650Z]  \_____\___/ \__,_|\___|\___\___/ \_/
[2020-09-04T09:14:01.650Z]                               Bash-20200825-997b141
[2020-09-04T09:14:01.650Z]
[2020-09-04T09:14:01.650Z]
[2020-09-04T09:14:01.650Z] ==> Jenkins CI detected.
[2020-09-04T09:14:01.650Z]     project root: .
[2020-09-04T09:14:01.650Z] --> token set from env
[2020-09-04T09:14:01.650Z]     Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
[2020-09-04T09:14:01.650Z] ==> Running gcov in . (disable via -X gcov)
[2020-09-04T09:14:01.650Z] ==> Python coveragepy not found
[2020-09-04T09:14:01.650Z] ==> Searching for coverage reports in:
[2020-09-04T09:14:01.651Z]     + .
[2020-09-04T09:14:01.778Z] + bash codecov.sh
[2020-09-04T09:14:01.778Z]
[2020-09-04T09:14:01.778Z]   _____          _
[2020-09-04T09:14:01.778Z]  / ____|        | |
[2020-09-04T09:14:01.778Z] | |     ___   __| | ___  ___ _____   __
[2020-09-04T09:14:01.778Z] | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
[2020-09-04T09:14:01.778Z] | |___| (_) | (_| |  __/ (_| (_) \ V /
[2020-09-04T09:14:01.778Z]  \_____\___/ \__,_|\___|\___\___/ \_/
[2020-09-04T09:14:01.778Z]                               Bash-20200825-997b141
[2020-09-04T09:14:01.778Z]
[2020-09-04T09:14:01.778Z]
[2020-09-04T09:14:01.778Z] ==> Jenkins CI detected.
[2020-09-04T09:14:01.778Z]     project root: .
[2020-09-04T09:14:01.778Z] --> token set from env
[2020-09-04T09:14:01.778Z]     Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
[2020-09-04T09:14:01.778Z] ==> Running gcov in . (disable via -X gcov)
[2020-09-04T09:14:02.040Z] ==> Python coveragepy not found
[2020-09-04T09:14:02.040Z] ==> Searching for coverage reports in:
[2020-09-04T09:14:02.040Z]     + .
[2020-09-04T09:14:02.225Z] --> No coverage report found.
[2020-09-04T09:14:02.225Z]     Please visit http://docs.codecov.io/docs/supported-languages
[2020-09-04T09:14:02.302Z] --> No coverage report found.
[2020-09-04T09:14:02.302Z]     Please visit http://docs.codecov.io/docs/supported-languages
[2020-09-04T09:14:02.732Z] Failed in branch Smoke Tests 01
[2020-09-04T09:14:02.851Z] Failed in branch Smoke Tests 02
[2020-09-04T09:14:03.137Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2020-09-04T09:14:03.235Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2020-09-04T09:14:03.276Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2020-09-04T09:14:03.923Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1384
[2020-09-04T09:14:04.040Z] [INFO] getVaultSecret: Getting secrets
[2020-09-04T09:14:04.129Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-04T09:14:05.016Z] + chmod 755 generate-build-data.sh
[2020-09-04T09:14:05.016Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1384/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1384/runs/1 FAILURE 1294321
[2020-09-04T09:14:05.567Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1384/runs/1/steps/?limit=10000 -o steps-info.json
[2020-09-04T09:14:06.117Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1384/runs/1/tests/?status=FAILED -o tests-errors.json

We now have

taking the header has-is if we just need to read the value
write and append the header to existing values
for a given TraceState instance, we cache the last computed header value, thus if sample rate does not change, we don't allocate to compute header.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1384   +/-   ##
=========================================
  Coverage     60.85%   60.85%
  Complexity     3087     3087
=========================================
  Files           388      388
  Lines         17952    17952
  Branches       2507     2507
=========================================
  Hits          10925    10925
  Misses         6313     6313
  Partials        714      714

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 b157471...e088b99. Read the comment docs.


There is no file nuscenes_converter_new.py

There is no file nuscenes_converter_new.py in data_converter, did you miss it?

Thanks, we have fixed this bug.


[Awaiting pending offer] [$125] mWeb - Copilot - User navigated to incorrect page when using device back button in MC page

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

Version Number: 9.0.66-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Open the staging.new.expensify.com website
Tap on "Settings" on the bottom of the screen
Tap on "Security" and select "Add Copilot"
Select any user as copilot
Select an access level
Tap on "Add Copilot"
On Magic Code page, use the device back button to return to previous page
Verify you are redirected to copilot confirmation page

Expected Result:
When using the device back button to return to previous page on magic code page while adding copilot, the user should land on the copilot confirmation page
Actual Result:
User lands on "Access Level" page instead of copilot confirmation, when using the device back button while in the Magic Code page
Workaround:
Unknown
Platforms:

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

[ ] Android: Standalone
[ ] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/a0e22933-33e7-4135-92ac-f3345841c0a0
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021861786354506701472
Upwork Job ID:<PHONE_NUMBER>506701472
Last Price Increase: 2024-11-27
Automatic offers:

dominictb | Reviewer | 105157484
daledah | Contributor | 105157485

Issue OwnerCurrent Issue Owner: @dominictb

https://github.com/user-attachments/assets/5cb0fbdf-6804-4fa6-8260-27a41c42e12d

Web:
https://github.com/user-attachments/assets/c6a22c6f-34b5-481a-8ef8-31f2f527110b
iOS:
https://github.com/user-attachments/assets/5cb0fbdf-6804-4fa6-8260-27a41c42e12d

Ah, my android device doesn't have a back button, I guess I would need to enable it in the settings. Okay, browser made it much easier. I agree then, this is a bug.

Proposal
Please re-state the problem that we are trying to solve in this issue
When using the device back button while in the Magic Code page, user lands on "Access Level" page instead of copilot confirmation page.
What is the root cause of that problem?
The RC of the problem is that the copilot confirmation page (ConfirmDelegatePage) contains a modal component DelegateMagicCodeModal which becomes visible when we tap the Add copilot button while the page under the visible modal is the copilot confirmation page (ConfirmDelegatePage).
Our issue occurs because the DelegateMagicCodeModal does not currently include logic that handles hardware / browser back button in order to return to the copilot confirmation page when going back from the modal.

[!caution]
This issue is present on all platforms where hardware / browser back button is available - this includes Web / Android: mWeb Chrome / iOS: mWeb Safari.

Here's the proof

Web: Chrome
iOS: mWeb Safari
Android: mWeb Chrome

What changes do you think we should make in order to solve the problem?

[!note]
The reason I decided to post a proposal is because the other proposal would only solve the issue on mWeb Chrome which I don't consider a complete solution.

In the ValidateCodeActionModal component, pass shouldHandleNavigationBack (true) without any condition, which would ensure we have the same behaviour of the hardware / browser back button on all platforms where this issue is present, as per the Expected result.

Result videos

Web: Chrome
iOS: mWeb Safari
Android: mWeb Chrome

Proposal
Please re-state the problem that we are trying to solve in this issue
When using the device back button while in the Magic Code page, user lands on "Access Level" page instead of copilot confirmation page.
What is the root cause of that problem?
The RC of the problem is that the copilot confirmation page (ConfirmDelegatePage) contains a modal component DelegateMagicCodeModal which becomes visible when we tap the Add copilot button while the page under the visible modal is the copilot confirmation page (ConfirmDelegatePage).
Our issue occurs because the DelegateMagicCodeModal does not currently include logic that handles hardware / browser back button in order to return to the copilot confirmation page when going back from the modal.

[!caution]
This issue is present on all platforms where hardware / browser back button is available - this includes Web / Android: mWeb Chrome / iOS: mWeb Safari.

Here's the proof

Web: Chrome
iOS: mWeb Safari
Android: mWeb Chrome

What changes do you think we should make in order to solve the problem?

[!note]

The reason I decided to post a proposal is because the other proposal would only solve the issue on mWeb Chrome which I don't consider a complete solution.
Another error of the other proposal is that DelegateMagicCodeModal does not take the shouldHandleNavigationBack prop dirrectly.

In the ValidateCodeActionModal component, pass shouldHandleNavigationBack (true) without any condition, which would ensure we have the same behaviour of the hardware / browser back button on all platforms where this issue is present, as per the Expected result.

Result videos

Web: Chrome
iOS: mWeb Safari
Android: mWeb Chrome

Nice!! Thank you @dominictb, let's move forward with @daledah proposal.

Use Browser.isMobileChrome() if we only want to fix it in mobile chrome.

@daledah I don't think that is the intention, we should have this fixed in native with back buttons as well, @twisterdotcom please correct me if I got this wrong.

Sounds good.

Payment Summary:

@dominictb paid $125 here (Reviewer)
@daledah paid $125 here (Contributor)

Waiting on @dominictb to accept the Upwork offer now.

I think this can be closed now, but I'll wait @twisterdotcom to be back


Catching up ll-cloudops

PR o'clock
Description
Please explain the changes you made here and link to any relevant issues.
Checklist

[ ] terraform fmt and terraform validate both work from the root and examples/eks_test_fixture directories (look in CI for an example)
[ ] Tests for the changes have been added and passing (for bug fixes/features)
[ ] Test results are pasted in this PR (in lieu of CI)
[ ] I've added my change to CHANGELOG.md
[ ] Any breaking changes are highlighted above

Catching up ll-cloudops with source of the fork before we do any development since no commits have been made.


Asset amends

refs #8221
Task list from the issue:

[x] 3. Co-locate assets (@AileenCGN done in #8273)
[x] 6. get rid of ghosticon.jpg (@AileenCGN done in #8285)

In this PR:

[x] 1. No more ghost="true" or serving admin assets except via the static middleware in
admin/app

this was straight forward

[x] Bonus: reconsider build pipeline

we now have a build tool for minifying css via cssnano. This just works for ghost.css at the moment, but can always be extended.

[x] 4. Get rid of minifyInProduction / minifyAsset

these properties have been renamed and reworked to hopefully be simpler.
minifyInProduction -> hasMinFile = this means this asset should have a .min file available
minifyAssets -> useMinFiles = this means that in this env we want to serve .min files if available

[x] 2. Ensure the error templates will always work

this is mostly a documentation task. We will still need the asset helper for rendering errors, so I've removed the TODO in the code, updated the code comments & added a note to #7421.

[x] 8. revisit the use of the asset helper in ghost_head

now that the other tasks are done, it was easy to change this

TODO:

[ ] 7. asset url utility
[ ] 5. Reconsider asset hashing

I think this PR is done enough for the beta. I tried to get all the way through #8221, but there are still a few issues left with https://github.com/TryGhost/Ghost/issues/7688 that tripped me up.
I would declare this done and move the last two tasks to be done post-beta once we're 100% with the favicon behaviour.


Actually use version numbers for GL context creation

The GLContext creation part of this crate is mostly incomplete, a good first step would be to allow the GL version to be specified.

If we pass in a major and minor version upon context creation, are we okay with just ignoring them for web?

If we pass in a major and minor version upon context creation, are we okay with just ignoring them for web?

Yup!
Also a word of warning: in general the GL Context crate is less polished than the rest of kapp. I got it to the point where it worked for me, but didn't go much further.
If you see anything you think could be improved feel free to open an issue or pull request.

Yup!
Also a word of warning: in general the GL Context crate is less polished than the rest of kapp. I got it to the point where it worked for me, but didn't go much further.
If you see anything you think could be improved feel free to open an issue or pull request.

These flags still need to be set properly on Mac.


Improve documentation for figure kind

The main goal was to mention that the "default" kind is image.
Maybe there is a bit too much link spam. I'm not sure where to remove them, though.

Looks good, thanks!


SAS Content - Copy File from Filesystem

Please include answers to these questions as part of your pull request
In the GitHub webUI, use the Write tab to modify the Markdown text that is part of the pull request. For each question simply place an X inside the square brackets, [X], that represents your answer. Make sure there are no blanks inside the brackets, otherwise MarkDown doesn't render properly. Using the Preview tab while editing this form, you can see the formatted/rendered version of the message.

Q1: Confirm that you have the right to submit the code that is being contributed. Please consider the origin of your code and confirm you have the appropriate rights to make the submission subject to the Apache 2.0 license that applies to everything in this repository of custom steps. If so, follow the instructions for the Contributor Agreement (which is based on the industry-standard Developer Certificate of Origin (DCO)).

[X] Yes, I have the right to submit the contributed code on behalf of myself, my company, or any other owner of the code. I have also attached my signed copy of the DCO to this message.
[ ] No

Q2: Confirm that your contribution does not include any personally identifiable information (PII), for example, in any examples used in your README file.

[X] My contribution does NOT include PII data
[ ] My contribution includes PII data

Q3: Confirm your contribution does not include any encryption or other export-controlled technology.

[X] My contribution does NOT contain encryption or other export-controlled technology
[ ] My contribution includes encryption or other export-controlled technology

ContributorAgreement.txt

Hi @snlwih , just a note that this pull request emanates from a non-main branch of my fork.  Hopefully, I've followed Ignacio's new tip correctly.  I'm sure you'll let me know in case of any remediation.
regards,
Sundaresh

Thank you, @snlwih .  I have incorporated the above points.

Thanks. Looks good. Will merge now...


Allow using iPhone to gather data (Airport Utility + Shortcut to send data to website)

Would be sweet to be able to use iPhone to walk around and make the measurements. But the only app that Apple allows to have access to wifi info is Airport Utility.
This project https://github.com/kavinaidoo/ioswifisurvey is a pretty cool workaround for that, which uses a Shortcut so that in the Airport Utility you can do a wifi survey, then click Share and pick the shortcut, and it sends the wifi data to a website. Perhaps wifi-heatmapper could use a similar shortcut, and when it launches the url (with the wifi data included) you could pick the spot on the floorpan where you are, and it could add all the wifi signal strength data to that location.

Yeah, thanks for the suggestion. Would be awesome to have something like that, I was thinking about the same with my android phone. I don't think the current architecture allows for that though, unfortunately. It's trivial to host this app on some address, and connect to it, but the iperf measurements would happen to be on the machine this app is running.
However, this app is relatively agnostic to where the data come from - as long as it follows fairly simple JSON structure, you can visualize it. I think it would be easier to rather produce some output like that e.g. using the similar approach as above and use that as a database file then somehow figuring out a way how to get around this.
I am quite annoyed how bad Apple is with allowing things like these to happen... For example, to the best of my knowledge, there is no way how to force 5ghz over 2ghz on Mac (which would be useful for the measurements here, when you wanted to really see how far you are). Unless you have two different SSIDs, you are out of luck 😡 .


ES6 syntax fix

Just a small ES6 syntax fix.

@admmasters  Thanks for submitting.
As I'm not aware of any issue with the ES6 version of mark.js, could you please explain what this fixes?

I'm closing this for now, as you're not answering.

Apologies - sorry been so busy, only just seen this! I will try and reply properly.


Make table options invisible when radio buttons are selected.

We can maybe setup a variables that tracks a boolean value whenever the radio button is selected. https://stackoverflow.com/questions/2272507/find-out-if-radio-button-is-checked-with-jquery
The variable can then be used in a V-show command.
https://vuejs.org/v2/guide/conditional.html#v-show

We actually don't need jquery since the radio buttons are part of a vue template. They can be tied to a v-model variable like isSquare or isRound. This method is more direct and works just like any other Boolean toggle. The v-show condition when attached to an element toggles its visibility . ( <form v-show: "isSquare">Show square stuff as a form .

Closing this, I thought it was part of the table creation issue, which I just closed.


Not work on same device

This plugin is vary useful for me. Thanks you.
But the keyboard not showing on some device of using Cordova 5.0.
Test device of user response:
Asus PadFone Infinity Lite: android 4.1, anddroid 4.2
Asus Fonepad: android 4.1.2
HTC One (E8): 4.4
This plugin is worked fine on these device of previous Cordova 5.0, but not work on Cordova 5.0.

@ctl1690 Were you able to find a workaround for this? I'm experiencing the same issue with these test devices (I don't have the others you mention, but it's obviously an issue):
HTC One with android 4.4
ASUS ZenPad: android 5.0


Need Scrolling feature for Files Bar

Under Dynamic Programming under Uncategorized, the max_subarray tab is not visible. If we stretch the Editor left a little bit, it becomes visible.
This becomes a problem when a category has more than a few programs. Their tabs get hidden.
We therefore need a way to notify the user that there may be more tabs to the right, which are hidden.
A suitable way would be to give a scrolling feature so the user knows that they can scroll to the right and see more visualizations under that category.

@parkjs814 here's a screenshot of what I've implemented. (Notice the Next & Previous Button)
If you think it looks fine, I'll merge.

I would try something like this and without text.
http://jsfiddle.net/f4xkxkwL/

Or, since we seem to use font-awesome and not bootstrap atm, maybe just use one of these.
http://fontawesome.io/icons/

@TornjV  Well, icons alone are quite intuitive. So I guess they're suitable as well

@duaraghav8 It looks great.
As @TornjV it will be okay without text.

I've thought about it more, and we may need to show the lists vertically somewhere since they are going to be too many. How do you guys think?

Additionally I think there should be a horizontal scroll for the algorithm description bar. For a large description like in the Knapsack Problem, it is becoming difficult to read.

guys please test my fork on your machines for the scrolling in Files Bar
Don't pay attention to the icons, will change them.
Just see if the functionality is good enough, or does something need to be changed.
Thanks

@duaraghav8 can you push it to gh-pages so that everyone can see easily?

I don't have a problem with that. I just didn't want to push it until it was finalized. I'll do it, just check and let me know.

Ok done, check

I meant push it to gh-pages on your fork, my bad.
But no worries, it looks great :)

:+1:  Is it possible to grey out the next button to indicate the end of the list ?
Great work with the description bar  :+1:

@archie94 I thought about it too. I first wanted people to decide if this looks ok. I'll improve it further, thanks

@duaraghav8 I'm currently working on improving it. I'll let you know when I'm done.

improved at 99c5a3eeb244c25f58070b6ff720d57a8d67bdbc


Steps to reproduce
No response

hey @agardnerIT, thanks for reporting this. I was able to reproduce this behavior. I think it could be a good first issue for someone. I'll add the label and see if there's interest.

While agreeing with what @toddbaert mentioned. Seems you have an outdated flagd binary. The latest flagd versions expect flagd sources to have an appropriate prefix. For example, file sources require file: prefix. You can read more here [1].
And in my view, even with correct prefixes, handling this internally is not recommended as specific notations like ~ is complex to interpret based on the OS
[1] - https://github.com/open-feature/flagd/blob/main/docs/configuration/configuration.md#uri-patterns

It's an expansion and shouldn't be relied on as its not portable

Thanks all. After reading the comments plus some background, I'm going to close this as "will not do". I don't think the benefits outweigh the issues we'd have trying to implement and maintain.


W-11936894: missing isNumeric import

Writer's Quality Checklist
Before merging your PR, did you:

[x] Run spell checker
[x] Run link checker to check for broken xrefs
[x] Check for orphan files
[x] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[x] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[x] If applicable, verify that the software actually got released

Thx for your contribution, @shyamrajprasad

@shyamrajprasad I needed to create a new PR for this due to commit sig issue and the need to apply the same sort of fix another function. https://github.com/mulesoft/docs-dataweave/pull/203/files


The Component Details API is not returning the Enums used in the component

Currently, the Component Details API does not have any implementation to return the Enums used in the component which is mandatory for the demo pages.

duplicate of #2101 2101


Unable to make

Hello
I tried to follow the instructions on your GitHub to run GloVe, but when I try to make the file I am getting the following error:
gcc -c src/vocab_count.c -o build/vocab_count.o -lm -pthread -O3 -march=native -funroll-loops -Wall -Wextra -Wpedantic
make: gcc: No such file or directory
make: *** [Makefile:33: build/vocab_count.o] Error 127
I am not sure what I am doing wrong.
Could someone help me?
Tks!

So, I was using a fresh installed Ubuntu 21.04 and I guess I missed some dependencies.
I rolled back to Ubuntu 20.04 and installed all git tools and it worked. My guess is that I was missing "gcc" in the new Ubuntu.
Anyway, I'll leave this comment here in case anyone runs into the same problem.


Fix peer cmd

Fix peer cmd, so we can use peer channel cmd in api-engine container.  There are some changes in this pr.

Refactor the configtx generation by using a template file.
The admin permission check errors were caused by MSP ID mismatched, the configtx defined the MSP as Org1OrdererMSP, but orderer.yaml and core.yaml defined different ones.
Add some environment variables when creating nodes.
Create a docker network to connect node containers, api-engine container and agent container for development purposes.

Please split into sub tasks.

Please split into sub tasks.

Have split into 5 PRs.

#348  for correcting wrong variable names and removing unused fields.
#347  for updating the name of fabric nodes' containers to appropriate names.
#346  for fixing channel creating and channel peer cmd class.
#345  for creating and adding a docker network
#344  for refactoring configtx and configtxgen class

Split into other PRs.


[bug] Inconsistent numbering sequence in the exercises section

Page speech exercises (ready for classes) words by the Queen (3 words out of 6).
Description:
There are 10 tasks in the exercise card.
Prerequisites:
The main page is open https://brainup.site/
Log in as an existing user
Steps to playback:

Click on the speech exercises card (ready for classes), go to the page https://brainup.site/groups/2/series/1
Click on the block “words of the Queen”, go to the page https://brainup.site/groups/2/series/17
Click on the card “3 words out of 6”, go to the page https://brainup.site/groups/2/series/17/subgroup/124

Actual result:
Open exercises from 200 to 209
Expected result:
Exercises from 1 to 10 are opened
Wednesday:
mac Os
Yandex Browser 23.1.0
The screen is attached

@ElenaSpb
corrected
Google Chrome 112.0.5615.139


[Style] Add logo on navbar

What's the style idea?
We need to improve:
a relevant logo can be added at top left corner of the navbar

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

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

I want to work on this issue Can you please assign it to me? Can i select both JWOC as well as SWOC ? @Ishita928

Which logo you want to add @Ishita928

any logo that matches your game title and description ,like;

i have made this logo ,if you want me to make changes ,please suggest ! thanks

Can you include this icon in the favicon as well @Ishita928

In favicon an icon is already present and this logo is quite large for favicon icon but if u want i can try.

Yes, favicon is present but navbar icon and favicon should be same or similar. So you can think of some different icon which fits at both the places @Ishita928

can we make favicon like this and navbar icon as mentioned in the initial image

Yes, you can but make sure favicon should be clear @Ishita928

Status of your PR pls @Ishita928

I changed the style of the logo to improve its design ,pls review it

favicon will look like this , as it is not possible to keep the entire logo clearly visible in such small size so i made it like this

Logo looks good and favicon also seems fine @Ishita928

Is this fine?

I suppose make the size little small so that it don't exceeds the navbar on the next page when we are scrolling to select any edible @Ishita928

Now ,is it fine ?

Create your PR, I will check in the deploy preview @Ishita928


Integration tests could also test lookout

Since sdk is a lookout dependency, I wonder if it could be tested deeper here.
Currently, we only test the example analyzers with lookout-sdk binary (lookout-tool) what might be not enough.
We could try, for example, building lookout-sdk binary (lookout-tool) to ensure the sdk didn't break lookout.

Sorry @dpordomingo I just realized it's not going to work as is.
We lock lookout-sdk version in lookout. So building will always use locked version, not the one in PR.
Maybe we can work around it using some crazy sed or something else but I'm not sure it's a good idea.


getUpdates function of lightclient no longer works

Calling the endpoint https://lodestar-goerli.chainsafe.io/eth/v1/beacon/light_client/updates?start_period=484&count=1 no longer works.

Simply goto https://lodestar-goerli.chainsafe.io/eth/v1/beacon/light_client/updates?start_period=484&count=1 in your browser.

It should have returned the best update for period 484. The Goerli network is current on period 526, so the best update here should exist.

Simply goto https://lodestar-goerli.chainsafe.io/eth/v1/beacon/light_client/updates?start_period=484&count=1 in your browser. The error I get is:
HttpError: Internal Server Error: No partialUpdate available for period 484
    at HttpClient.requestWithBody (/home/john/zk-light-client/operator/node_modules/@lodestar/api/src/utils/client/httpClient.ts:258:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at HttpClient.json (/home/john/zk-light-client/operator/node_modules/@lodestar/api/src/utils/client/httpClient.ts:128:12)
    at Object.request (/home/john/zk-light-client/operator/node_modules/@lodestar/api/src/utils/client/client.ts:75:21)
    at main (/home/john/zk-light-client/operator/src/helper/step.ts:32:28) {
  status: 500,
  url: 'https://lodestar-goerli.chainsafe.io/eth/v1/beacon/light_client/updates?start_period=484&count=1'
}

We had to resync our public nodes last week, and they're still syncing :(
$ curl https://lodestar-goerli.chainsafe.io/eth/v1/node/syncing
{"data":{"head_slot":"868031","sync_distance":"3448992","is_syncing":true,"is_optimistic":false}}

Actually, I don't think that this is the reason for the issue. I have my own node running that claims that the sync distance is 0. I still get the same error.
Furthermore, if it were just a syncing issue, partial updates for early periods should be available, but they are not.

We had to resync our public nodes last week, and they're still syncing :(
$ curl https://lodestar-goerli.chainsafe.io/eth/v1/node/syncing
{"data":{"head_slot":"868031","sync_distance":"3448992","is_syncing":true,"is_optimistic":false}}

May I ask why you need to re-sync lodestar? because I also run a lodestar node.

May I ask why you need to re-sync lodestar? because I also run a lodestar node.
It is due to #4702 which changes the way light client updates are stored. So we had to resync the database since the v1.2.x upgrade.

@philknows May I ask why the lodestar mainnet node re-sync again? I notice the syncing.
~ curl https://lodestar-goerli.chainsafe.io/eth/v1/node/syncing
{"data":{"head_slot":"4402709","sync_distance":"0","is_syncing":false,"is_optimistic":false}}⏎

Closing issues for specific incidents on old versions of Lodestar, please re-open if it happens with latest stable


Build: tsnode for dev precompile for prod

Adds:

dev script that utilizes ts-node
build step in the docker files

Concerns/Questions:

clean script is using rm -rf, which is platform specific. I think it fails on like, Windows? We could use the rimraf package to get portable behavior.

Current image sizes:

REPOSITORY
TAG
IMAGE ID
CREATED
SIZE

actual-server-alpine
latest
3d72e9f7bd7b
2 weeks ago
103MB

actual-server
latest
6eb799e19345
2 weeks ago
241MB

Sizes using master branch (ie prior to these changes)

REPOSITORY
TAG
IMAGE ID
CREATED
SIZE

actual-server-alp
old
334e2c0fb05a
22 seconds ago
110MB

actual-server
old
a32605b18fd2
About a minute ago
243MB

@PartyLich So sorry for the delay (again). Things have finally settled a bit for me so I'm going through these PRs, some of which are a bit old.
Just checking before I merge this -- you still good with everything here?


Cell View not using SwiftUI offset and custom gesture disables collection view gesture

Bug report

First of all, thanks for creating this great library @amirdew!

I found some issue when using a dragGesture and an offset on the CollectionView cell. Below I laid out my observation and added a full example.

Have you noticed those issues already as well? In case it can not be fixed, it might be an idea to add that to the limitations section.
Is there another way of moving up/down an individual cell, to trigger some custom action, while the collection view is using the horizontal scroll direction?

Let me know if you have any related questions or need more information from my side!
CellView does not rerender position when published offset changes
ScalePageView(...) { _ in
  CellView()
    .offset(...)
}
.options(.layout(.linear))
.gesture(...)

does not update the cells view vertical position
collectionView swipe gesture works

CollectionView swipe gesture is disabled
ScalePageView(...) { _ in
  CellView()
    .gesture(...)
    .offset(...)
}
.options(.layout(.linear))

does not update the cells view vertical position
disables/overrides the collectionView swipe gesture

Full example view
import SwiftUI
import CollectionViewPagingLayout

struct Item: Identifiable {
    let number: Int
    var id: Int {
        number
    }
}

let items = [
    Item(number: 0),
    Item(number: 1),
    Item(number: 2)
]

struct ContentView: View {
    @State var verticalOffset: CGFloat = 0

    var body: some View {
        ScalePageView(items) { _ in
            Rectangle()
                .fill(Color.orange)
                .offset(y: verticalOffset)
                .gesture(dragGesture)
        }
        .options(.layout(.linear))
        .pagePadding(.absolute(50))
    }

    var dragGesture: some Gesture {
        DragGesture()
            .onChanged {
                verticalOffset += $0.translation.height
            }
            .onEnded { _ in
                verticalOffset = 0
            }
    }
}

Hey, thanks for reporting the issue.
Yes, it only refreshes the cells when items change. So, only if you change the order of items or the id.
But, I realized that's not convenient in your case.
So I released a new version (1.0.3) now you can optionally make your model Equatable
Therefore, any change in your model will refresh the cells.
struct Item: Identifiable, Equatable {
    let number: Int
    var offset: CGFloat = 0
    var id: Int {
        number
    }
}

struct ContentView: View {
    @State var items = [
        Item(number: 0),
        Item(number: 1),
        Item(number: 2)
    ]

    @State var currentItemId: Item.ID? = 0

    var body: some View {
        ScalePageView(items, selection: $currentItemId) { item in
            Rectangle()
                .fill(Color.orange)
                .offset(y: item.offset)
        }
        .options(.layout(.linear))
        .pagePadding(.absolute(50))
        .gesture(dragGesture)
    }

    var dragGesture: some Gesture {
        DragGesture()
            .onChanged {
                items[currentItemId!].offset = $0.translation.height
            }
            .onEnded { _ in
                items[currentItemId!].offset = 0
            }
    }
}

Thanks so much @amirdew! The two gestures now work amazingly well together ;)


Fixed backwards scope.choices test.  Fixes #778.

Note: I couldn't test the code directly, because make install was erroring on me, and I don't have the time this second to dig into it.

Closing this, though the issue remains, as this PR is the wrong solution.
I think the right solution might be
(angular.isFunction(scope.choices) && scope.choices()) ? scope.choices : (field.choices ? field.choices() : []);

I'm guessing that Angular is seeing the &? and not assigning the value if it's not set, but I honestly have no idea.  I have not seen &? used much.


Development status of Pond

agl no longer developing Pond?

Afaik @agl is simply very busy with his day job.  And there are some pretty big changes in the pipeline that'd require large blocks of time.  He occasionally accepts patches though.


Feature Narrator

usage:
It plays random narrator audio phrase of chosen category.
narrator...play()
eg. narrator.currentLanguage.good.play();

I consider to rebuild this a bit:
/**

Narrator
concerns:

Extracts narrator phrases from dictionary

Creates collection of NarratorPhrases

Offers method to get phrase of certain category

Usage:
const narrator = createNarrator(dictionary, playAudio)
narrator.getPhrase(Category.good).playCurrentLanguage()

NarratorPhrase
extends Phrase
concerns:

Extension offers methods to play Phrase soundUrl in current, other and random language

Consumer must provide playAudio function to play sound from url

Pitfalls:

Ensure that you get sound and translation in same language when use random language methods

*/


added support for specifying host name on backend http settings

Addresses part 1 of issue #557

looks good to me - moving to integration branch - thanks for your contribution @swilkodev


Default route for ipv6

Hi,
I don't use ipv6 with my vpn, but I noticed in your code that you don't set up de default ipv6 route.
According to http://www.naju.se/articles/openvpn-netns, the command would be:
ip netns exec vpn ip route add default via "$ifconfig_ipv6_remote"

Hope this makes sense and helps :)

Thanks for the suggestion. I don't use IPv6 with my VPN either, and the IPv6 parts of the script are not properly tested.
I'm not convinced that using $ifconfig_ipv6_remote is the correct way to set the default route. The correct way would of course be to do whatever OpenVPN normally does, but that doesn't seem to be well documented. Correct or not, $ifconfig_ipv6_remote seems like a reasonable default value for default gateway as long as any explicit default route in $route_ipv6_network_* overrides it.
I added code that does that. Also, because the code is still untested, IPv6 is now disabled by default.


Labels displaying letters in 'random' places

I have observed this bizarre behaviour intermittently over a long period. I have updated the cesium base twice and running the latest (December November '16) release. This was also observed in the August '16 release and once or twice on a version in between but I can't recall which - point being this appears to have been occurring consistently for a long time.
The issue comes when I add a label to my globe. The first two letters render together in completely the wrong location, then I get a few letters, then miss one, get some, miss some. The 'missing' ones are all neatly lined up at the completely wrong location where the first two letters went, the remainder appear to be in the correct positions.
I have thousands of points on the globe and on mouse hover I display a label with its name. When the error occurs it happens to every single point that I tested (and it was lots). I do notice that the 'missing' letters all appear at roughly the same longitude regardless of the position of the intended point. The latitude does vary slightly in the direction of the intended position (ie if the intended position is north of the incorrect location, the incorrect letters are further north than if the intended position is south.)
I cannot replicate this at will, it doesn't happen all the time, and simply refreshing the window gets the desired behaviour back. Unfortunately people signing off on a billion dollar project don't want to hear "just refresh it and it'll come good". No exaggeration, billion dollar project (not all of those dollars are software, of course).
Attached is a partial screen shot. The label should read "WUGANG ATLANTIC" and is rendered with a small pixeloffset to place it slightly right of the triangle which is selected. I have deliberately taken a sample where the intended position is close to the error position for ease of viewing. If I were to mouse over a vessel that is 100 degrees east of this location the 'missing' letters would still appear where the WU is.
** Apparently I can't upload an attachment from this site, I will email it home for the end of the day.
(edit: removed December and corrected to November release, sorry)

I've seen this once, but don't know how to reproduce.  Were you using HeightReference other than NONE on the labels?  Can you share any code that created the labels, or their settings?

Hello @jeffwhitty, I believe this issue was fixed in the 1.27 release in November.  Are you able to reproduce this with the latest version of Ceisum?  If so, as @emackey said, please share a code sample to reproduce this.  Thanks!

Hey guys, I have a dozen installations in this environment so there's a chance I'm simply incorrect in which version I saw this in, it certainly happened with the August release. I thought it was my dev server (which is up to November release) that I saw this on most recently but I guess there's a chance I'm mistaken.
Literally just refreshing the page caused the problem and then fixed it again, zero code change. My dev system is isolated for just me at the moment and I happen to be in control of the promotion to other environments so I can absolutely guarantee there were no code changes by other people to contaminate the result. This leads me to suspect something within Cesium iself loads out of order occasionally because my code uses Promises to wait until everything is ready before loading my code in order.
I can't paste the actual code from the other environment so if there's a typo in the below it's not affecting my actual code;
(code as per the screenSpaceMouseMoveEventHandler samples to detect the mouse hover, inside which we have the below)
var e = viewer.entities.getById(id);
e.label = new Cesium.LabelGraphics({
  text: 'WUGANG ATLANTIC',
  pixelOffset: new Cesium.Cartesian2(15,0),
  horizontalOrigin: Cesium.HorizontalOrigin.LEFT,
  eyeOffset: new Cesium.Cartesian3(0.0, 0.0, -2000.0),
  font: 'bold 18px Calibri',
  fillColor: color, //color is something like Cesium.Colors.BLUE, stored in a variable
  outlineColor: outline, //like color, something like Cesium.Colors.BLACK
  outlineWidth: 1,
  style: Cesium.LabelStyle.FILL_AND_OUTLINE
});

@jeffwhitty I think I finally figured out what the problem was here, and the fix will be included in the Cesium 1.36 release available on August 1.  Please re-open this issue if you're still experiencing the problem after updating.  Thanks!


Fix Audio

Change Spatial Blend to 3D (Except for world audio)
-Move Listener to Player instead of camera
-Rebalance all audio
-Changed key sound to not hurt my ears
-Enemies now have a short cut off distance

Make sure all scenes have appropriate changes


Build/publish 0.14.3 packages

Hi,
Can we get the debs for 0.14.3 built/published? I checked the download site but looks like they haven't been published.
Thanks!

Hi @jaredledvina,
Sorry for the delay. The 0.14.3 packages should now be on the repositories. For reference, you can also retrieve the packages from https://uchiwa.io/#/download.
Thanks


HOS : SODA Bucket / Object Storage Lifecycle - Sanity.   AWS

Issue/Feature Description:
Why this issue to fixed / feature is needed(give scenarios or use cases):
Perform sanity for the Bucket / Object Storage Lifecycle - AWS.
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Implemented in Isabela Release


Python

add support for language parameters in Python

Wonderful change! Any idea when this'll be released?

Wonderful change! Any idea when this'll be released?

In result to make same change in Java and .net, maybe end of week.

I'm really happy of it. It allows us to use multiple instances in parallel without interfering (compared to using env variables). Thank you.

I'm really happy of it. It allows us to use multiple instances in parallel without interfering (compared to using env variables). Thank you.

In addition you can create a config_sv.properties  😉


uui-combobox more padding for options

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.
v1.5.0 @umbraco-ui/uui-combobox
Bug summary
When navigating the combo box with the keyboard the "current" indicator could benefit from some more padding. Currently it looks like this in the Umbraco backoffice.

,
Specifics
No response
Steps to reproduce
Try the combo box here: https://uui.umbraco.com/?path=/docs/uui-form--docs
Expected result / actual result
No response

Fixed with #670


Create developer paths on the docs landing page

What problem does your feature solve?
Help users navigate the docs right away by adding paths to the landing page.
What would you like to see?
Stellar 101 (Learn -> Fundamentals)
Write a Smart Contract (Smart Contracts - Getting Started)
Issue an Asset (Docs - Issue Asset Tutorial)
Build an Application (Docs -> Build Applications)
Developer Tools (Tools -> Developer Tools)
Access Data (Platforms -> RPC)

Can I also get these assigned to me, I'd love to contribute 🥂

Assigned to you @Phenzic


Fix artemis hawtio plugin overriding sublevel tabs

This fix addresses an issue in the HawtIO Artemis plugin where it was overriding the workspace sublevel tabs, thereby causing the HawtIO Camel plugin to only display a limited number of tabs in the UI.

Can you open a JIRA in Artemis?
Ideally you would have the jira as part of your commit message
ARTEMIS-XXX BLBLABLABLA
although that's not a big deal as I can ammend your commit before I merge it.. but it would be great if you could do it.
Nice on putting screenshots... I don't know if JIRA has a way to have it.. but at least we can keep a reference of them on the JIRA with a link here.

Opened a JIRA issue and ammended the commit message. Let me know if those work.


Posiblity of deletion of paste by anyone

During recent test of this pastebin, i discovered that its possible for almost anyone to delete your paste without any authentication. Is it made this way for some special reason ?

Is there any way to reproduce what you described?
According to the design, the user can only delete a paste if he holds the passwd, which is a long random string generated by the server by default.
https://github.com/SharzyL/pastebin-worker/blob/d006eaba34b5d2d34200d75a8650ee6b3bee32ac/src/index.js#L209

Is there any way to reproduce what you described?
According to the design, the user can only delete a paste if he holds the passwd, which is a long random string generated by the server by default.
https://github.com/SharzyL/pastebin-worker/blob/d006eaba34b5d2d34200d75a8650ee6b3bee32ac/src/index.js#L209

Thanks for your quick reply, sorry i forgot to mention how that works, so basically once i had pasted it and shared it to someone e.g: https://domain.com/rNdm then its possible for anyone to delete that paste with:
pb d rNdm command (pb is bash script).
I know that there are private mode to decrease that possiblity, but suppose you want to make paste for long time then it seems somewhat faulty.

also, the above case is dangerous. Suppose some bad actor want to delete most of the public paste, then he can do that until and unless cloudflare blocks his ip.
Still its vulnerable if attacker is using multiple proxy.

Oh, this is because when using pb script, it will store the password generated by the server in a local file (typically in $HOME/.config/pb_hist. And when you pb d the paste, the script will read the password from this file. Therefore unless the adversary has access to your local filesystem, the password cannot be read and your paste cannot be deleted.


improved Contributors heading

🛠 Fixes Issue

closes #1006
👨💻 Changes proposed
improved the visibility of heading of contributors page

✔ Check List (Check all the applicable boxes)

[ x] My code follows the code style of this project.
[ x] This PR does not contain plagiarized content.
[ x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@Naresh-chandanbatve Why are there 523 files ?
Please only change the files you were told to work upon


Update the game over message

Update the game over message so people know how to play again!

Pull request is not ready to merge.