get_probes_config gives traceback

Description of Issue/Question
It looks like the junos_views.yml probes config has a bad path of get: services/rpm/probe/test (line 560) where it should just be get: services/rpm/probe, which I tested and am no longer receiving an error on, however I'm not actually able to retrieve the probe config with that command.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
[x ] Yes
[ ] No
Setup
napalm-junos version
(Paste verbatim output from pip freeze | grep napalm-junos between quotes below)
napalm-junos==0.12.0

JunOS version
(Paste verbatim output from show version and haiku between quotes below)
<EMAIL_ADDRESS>show version and haiku
Hostname: junos.test.env
Model: firefly-perimeter
JUNOS Software Release [12.1X47-D20.7]

        ... hush puppies.... good beer ...
        ... the sea just before sunset ...
        ... living like a king ...

Steps to Reproduce the Issue
device.get_probes_config()
Error Traceback
(Paste the complete traceback of the exception between quotes below)
...
/usr/local/lib/python2.7/dist-packages/jnpr/junos/decorators.pyc in wrapper(*args, **kwargs)
     29         else:
     30             try:
---> 31                 return function(*args, **kwargs)
     32             except Exception:
     33                 raise

/usr/local/lib/python2.7/dist-packages/jnpr/junos/device.pyc in execute(self, rpc_cmd, ignore_warning, **kvargs)
    788             raise EzErrors.RpcError(cmd=rpc_cmd_e,
    789                                     rsp=rsp,
--> 790                                     errs=ex)
    791         # Something unexpected happened - raise it up
    792         except Exception as err:

RpcError: RpcError(severity: error, bad_element: test, message: syntax error)

Hi @wasabi222 - sorry for late reply.
Can you please provide more details? I've never seen any errors with the RPM probes config getter, and I used it quite frequently. It's equally true that I have never tried on a VM - maybe that could be the problem.
But to be able to debug this, I would need more details, i.e. the structure of the XML object retrieved from the device (show configuration services rpm | display xml).

Ping @wasabi222 - did you see the question above?

Sorry Mircea - this got lost in the sauce when I was on vacation - I believe this is specific to vmx. I will get you these details before the week's end.

I just tried this again and there were no issues on vmx. I'm closing this out.


Реализация логирования и чата

пример кода
https://github.com/DjangoIPython/TelegramBot/blob/master/bot.py

import logging

from telegram import ReplyKeyboardMarkup, ReplyKeyboardRemove, Update
from telegram.ext import (
    Application,
    CommandHandler,
    ContextTypes,
    ConversationHandler,
    MessageHandler,
    filters,
)

# Enable logging
logging.basicConfig(
    format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.INFO
)
# set higher logging level for httpx to avoid all GET and POST requests being logged
logging.getLogger("httpx").setLevel(logging.WARNING)

logger = logging.getLogger(__name__)

GENDER, PHOTO, LOCATION, BIO = range(4)
TOKEN = '6344722417:AAFnGHMiREq6zf7cWzDr5v2jasimKy22STk'

async def start(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Starts the conversation and asks the user about their gender."""
    reply_keyboard = [["Boy", "Girl", "Other"]]

    await update.message.reply_text(
        "Hi! My name is Professor Bot. I will hold a conversation with you. "
        "Send /cancel to stop talking to me.\n\n"
        "Are you a boy or a girl?",
        reply_markup=ReplyKeyboardMarkup(
            reply_keyboard, one_time_keyboard=True, input_field_placeholder="Boy or Girl?"
        ),
    )

    return GENDER

async def gender(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Stores the selected gender and asks for a photo."""
    user = update.message.from_user
    logger.info("Gender of %s: %s", user.first_name, update.message.text)
    await update.message.reply_text(
        "I see! Please send me a photo of yourself, "
        "so I know what you look like, or send /skip if you don't want to.",
        reply_markup=ReplyKeyboardRemove(),
    )

    return PHOTO

async def photo(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Stores the photo and asks for a location."""
    user = update.message.from_user
    photo_file = await update.message.photo[-1].get_file()
    await photo_file.download_to_drive("user_photo.jpg")
    logger.info("Photo of %s: %s", user.first_name, "user_photo.jpg")
    await update.message.reply_text(
        "Gorgeous!
    )

    return LOCATION

async def skip_photo(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Skips the photo and asks for a location."""
    user = update.message.from_user
    logger.info("User %s did not send a photo.", user.first_name)
    await update.message.reply_text(
        "I bet you look great!
    )

    return LOCATION

async def location(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Stores the location and asks for some info about the user."""
    user = update.message.from_user
    user_location = update.message.location
    logger.info(
        "Location of %s: %f / %f", user.first_name, user_location.latitude, user_location.longitude
    )
    await update.message.reply_text(
        "Maybe I can visit you sometime! At last, tell me something about yourself."
    )

    return BIO

async def skip_location(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Skips the location and asks for info about the user."""
    user = update.message.from_user
    logger.info("User %s did not send a location.", user.first_name)
    await update.message.reply_text(
        "You seem a bit paranoid! At last, tell me something about yourself."
    )

    return BIO

async def bio(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Stores the info about the user and ends the conversation."""
    user = update.message.from_user
    logger.info("Bio of %s: %s", user.first_name, update.message.text)
    await update.message.reply_text("Thank you! I hope we can talk again some day.")

    return ConversationHandler.END

async def cancel(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """Cancels and ends the conversation."""
    user = update.message.from_user
    logger.info("User %s canceled the conversation.", user.first_name)
    await update.message.reply_text(
        "Bye! I hope we can talk again some day.", reply_markup=ReplyKeyboardRemove()
    )

    return ConversationHandler.END

def main() -> None:
    """Run the bot."""
    # Create the Application and pass it your bot's token.
    application = Application.builder().token(TOKEN).build()

    # Add conversation handler with the states GENDER, PHOTO, LOCATION and BIO
    conv_handler = ConversationHandler(
        entry_points=[CommandHandler("start", start)],
        states={
            GENDER: [MessageHandler(filters.Regex("^(Boy|Girl|Other)$"), gender)],
            PHOTO: [MessageHandler(filters.PHOTO, photo), CommandHandler("skip", skip_photo)],
            LOCATION: [
                MessageHandler(filters.LOCATION, location),
                CommandHandler("skip", skip_location),
            ],
            BIO: [MessageHandler(filters.TEXT & ~filters.COMMAND, bio)],
        },
        fallbacks=[CommandHandler("cancel", cancel)],
    )

    application.add_handler(conv_handler)

    # Run the bot until the user presses Ctrl-C
    application.run_polling(allowed_updates=Update.ALL_TYPES)

if __name__ == "__main__":
    main()


CDN not functional

Unable to pull the annyang 2.4.0 from the example documentation in the cdn form:
GET file://cdnjs.cloudflare.com/ajax/libs/annyang/2.4.0/annyang.min.js net::ERR_FILE_NOT_FOUND
Expected Behavior

Expecting to be able to pull the annyang script from the CDN.
Current Behavior

GET file://cdnjs.cloudflare.com/ajax/libs/annyang/2.4.0/annyang.min.js net::ERR_FILE_NOT_FOUND
Possible Solution

Steps to Reproduce (for bugs)

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>title</title>
  </head>
  <body>
    <script src="//cdnjs.cloudflare.com/ajax/libs/annyang/2.4.0/annyang.min.js"></script>
    <script>
    if (annyang) {
      // Let's define a command.
      var commands = {
        'hello': function() { alert('Hello world!'); }
      };

      // Add our commands to annyang
      annyang.addCommands(commands);

      // Start listening.
      annyang.start();
    }
    </script>
  </body>
</html>

Context

Your Environment

Version used: 2.4.0
Browser Name and version: Latest Chrome
Operating System and version (desktop or mobile): Ubuntu
Link to your project:

Hi @ctrlaltdylan
Loading the script using // will translate to file:// when running off the filesystem.
You should have no issues when running your app on a webserver, or use https:// when loading the library to receive the expected results.

Learned you need a webserver. Doh!
Works perfect now. Excellent library thank you!


module 'tensorflow_core._api.v2.nn' has no attribute 'rnn_cell

Code does not work with the latest Tensorflow library:
Traceback (most recent call last):
  File "/Users/XXXXX/opt/anaconda2/envs/XXXXXX/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/XXXXX/opt/anaconda2/envs/XXXXXX/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/XXXXX/Model/nmt/nmt.py", line 28, in <module>
    from . import inference
  File "/Users/XXXXX/Model/nmt/inference.py", line 25, in <module>
    from . import gnmt_model
  File "/Users/XXXXX/Model/nmt/gnmt_model.py", line 216, in <module>
    class GNMTAttentionMultiCell(tf.nn.rnn_cell.MultiRNNCell):
AttributeError: module 'tensorflow_core._api.v2.nn' has no attribute 'rnn_cell'

I have the same problem in tf 2.2.0. I change tf version to 1.14，problem has been solved

Code does not work with the latest Tensorflow library:
Traceback (most recent call last):
  File "/Users/XXXXX/opt/anaconda2/envs/XXXXXX/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/XXXXX/opt/anaconda2/envs/XXXXXX/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/XXXXX/Model/nmt/nmt.py", line 28, in <module>
    from . import inference
  File "/Users/XXXXX/Model/nmt/inference.py", line 25, in <module>
    from . import gnmt_model
  File "/Users/XXXXX/Model/nmt/gnmt_model.py", line 216, in <module>
    class GNMTAttentionMultiCell(tf.nn.rnn_cell.MultiRNNCell):
AttributeError: module 'tensorflow_core._api.v2.nn' has no attribute 'rnn_cell'

I have the same problem in tf 2.2.0. I change tf version to 1.14，problem has been solved

@bjjoy so you have to install tensorflow 1.14?
I tried with tensorflow 1.5 which worked fine as well.

Its now working with 2.1.x, I am using rasa which requires >=2.1 & <2.2 so can anyone tell me what is the concrete solution??

@parikshit-ai I presume you meant its not working with 2.1.x?
If you found a solution, do keep us posted.

@bjjoy so you have to install tensorflow 1.14?
I tried with tensorflow 1.5 which worked fine as well.

It should be 1.14==1.4. pip list to show tf version 1.14

This code is not for tensorflow 2.x. tensorflow 2.x has many break changes.

@nashid you can use it with nvidia. i am using without any problem.


Wrong client_address/server_address in application client/server metrics(http_server_request_duration_seconds_bucket)

We are getting deployment name in client_address in server metrics in latest beyla image.
http_server_request_duration_seconds_bucket{client_address="opscruise-dev1-promgw", instance="<IP_ADDRESS>:8090", job="oc-kubernetes-pods", k8s_namespace_name="dev3", k8s_node_name="w04-md-w04-85c7bbd88dx8cf5x-d9hs5", k8s_pod_name="chronix-consumer-hour-5f856676b-tgvlf", k8s_replicaset_name="chronix-consumer-hour-5f856676b", neinstip="<IP_ADDRESS>", service_name="chronix-consumer-hour", service_namespace="dev3"}
wrong server_address in client metrics too "a7de0457831fd11f7.awsglobalaccelerator.com"
http_client_request_duration_seconds_count{http_request_method="GET", http_response_status_code="408", http_route="/tests", instance="<IP_ADDRESS>:8090", job="oc-kubernetes-pods", k8s_daemonset_name="beyla", k8s_namespace_name="beyla", k8s_node_name="w04-md-w04-85c7bbd88dx8cf5x-jw5wn", k8s_pod_name="beyla-fd8bp", k8s_pod_start_time="2024-06-04 13:01:19 +0000 UTC", k8s_pod_uid="89befede-d858-4419-88a4-be8ebadd22a0", neinstip="<IP_ADDRESS>", server_address="a7de0457831fd11f7.awsglobalaccelerator.com", server_port="80", service_name="beyla", service_namespace="beyla", url_path="/tests"}
expecting pod/service ips instead.

Thanks for reporting this @sudhi1991, I think we need to split those attributes, address and name.

It look like a breakage of existing behaviour. in 1.5.2 the value was IP address for client_address label in http_server_.* metrics and for Server_address in http_client_.* metrics.

According to the OpenTelemetry semantic convention the name is preferred, which is why this change was made. We weren't able to determine the name until recently and this is simply to comply better.
https://opentelemetry.io/docs/specs/semconv/http/http-metrics/
server.address	string	Name of the local HTTP server that received the request.
In absence of a name we are to provide the IP address.
The best we can do here is to provide a way to control the behaviour, e.g. let you choose if you prefer the IP address instead of the name, because for a lot of folks the name is the preferred choice.

Thanks for the clarification @grcevski and also giving an option based on preference for IP address or name. it would be good if we split the attributes, address and name as you mentioned earlier. Since name is the preferred one, address can be included/excluded based on user preference.

@grcevski
Agreed that there should be option to either give the IP address or name of the server that receives the request. This is acceptable in the 'http_client/rpc_client...' metrics for the label ''server_address". Even though there exists a cardinality risk in using the 'Host: ' header for this purpose.
Other part of the issue is, why should you mention the 'deployment' name in 'client_address' label of http_server../rpc_server.. metric ? It should be the ip address of the client from which the request was received by the server. This is a standard practice to show client ip address in http server access logs. Can you fix this issue on http_server... metric ?"


Two way databinding

I just want to know if it's possible to edit content?
Because when I start to change content the ng-model doesn't update. It would seem to be in one-way.
Thanks

Bump, running into this myself, would be nice to have this.


Schmucks not picking up items.

I've tried using the job specific Schmucks, and jobless Schmucks. They have a chest that's whitelisted, but none of them will pick up the items on the ground. I can manually put the items into their inventories and they will put those in the chest, but the Schmucks will NOT pick up on their own.

I am also having this issue.


SnapTo not accessible

How do I access and use SnapTo() in another file where the custom component is being rendered? I can't seem to use it. Can someone give an example on how this is done? I was trying to use it via refs but seems I might be doing it wrong.

i have same case. i want to trigger a panel that should snap to specific place with a button onPress event. how to do that?


Fix for case-sensitive file systems.

Just a case change.  See the diff.

Thank you! I've merged it.


Make time of timers editable

Is your feature request related to a problem? Please describe.
Timers are not editable. Once a new timer has been added, only its name can be edited. When I want to do "pasta cooking" for 5 min, I can add a timer for 5 min with that name. If the next day I want to do it for 8 min, I have to make a new timer, and name it again. It would be easier if the time of the first timer was editable.
Describe the solution you'd like
Tapping on a timers time while it is in "reset" state (not running and also not paused) prompts you to edit its running time.
Use case
See problem description.
Describe alternatives you've considered
My current work-around is deleting the old timer, and adding a new one with the desired time. However, that requires me to name it again and requires a significant amount of extra steps. Furthermore, the order of the timers is messed up as the new timer is just added at the top.
Additional context
Nothing.

Duplicate of #76

Furthermore, the order of the timers is messed up as the new timer is just added at the top.

The order of timers once reset can be customized in the Timers settings.


Investigate if CircleCI API could be used to verify uploads

Will be irrelevant after the custom CI implementation.


Imgur doesn't copy to clipboard though xsel or xclip alone or both are installed

I'm interpreting this as "doesn't copy to clipboard whether xsel is installed, or xclip, or both".
I'll need more details, since it works fine for me.

/usr/bin/env bash --version?
xsel --version?
xclip -version?
uname -a?
echo $DISPLAY?

+ GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
+ xsel version 1.2.0
+ xclip version 0.13
+ Linux arch 5.16.2-zen1-1-zen #1 ZEN SMP PREEMPT Thu, 20 Jan 2022 16:18:31 +0000 x86_64 GNU/Linux
+ :0
+ No error messages

Since the script checks for xsel before xclip so I tried with:
+ Both installed: Nothing copied to clipboard
+ Only xclip installed: Nothing copied to clipboard
+ Both uninstalled: Nothing copied to clipboard & Script outputs "Haven't copied to the clipboard"

My friend using Endeavor OS experienced similar issue with only xsel installed.

Could it be that you're trying to paste from the clipboard when it's actually being put on the X selection? xsel (and maybe xclip too; I don't remember) uses the selection by default. You can normally paste from the selection with a middle click. xsel with no arguments will output the contents of the selection. So try running the imgur script and then right after running xsel, and see if it outputs the URL.

I've just made a small change to the script so you can set configuration for those programs.
If you want to use the clipboard rather than the selection, and you're using xsel, you can set an environment variable IMGUR_XSEL_OPTIONS=-b. You can export that in your .bashrc or wherever you like to put environment variables to set it for all your terminal sessions, or you could make a wrapper script.
Let me know if this solves your issue.

I've just made a small change to the script so you can set configuration for those programs.
If you want to use the clipboard rather than the selection, and you're using xsel, you can set an environment variable IMGUR_XSEL_OPTIONS=-b. You can export that in your .bashrc or wherever you like to put environment variables to set it for all your terminal sessions, or you could make a wrapper script.
Let me know if this solves your issue.

It was my lack of knowledge about clipboards in linux. I should've tested the script with middle click previously. It does paste the link with middle click but still I prefer using IMGUR_XSEL_OPTIONS=-b.


Custom indentation settings not fixable

I added a custom indentation rule: 'indent': ["error", 2],
The eslint docs say this should be fixable. If I run it with fix, I get the error messages, but it's not fixing.

@SheepFromHeaven can you confirm it's fixed?
Please take note that you may need to add "@typescript-eslint/indent": ["error", 2], instead of (or together with) "indent": ["error", 2],.

@SheepFromHeaven ping


报错这种影响大吗?还是不用管它:Token indices sequence length is longer than the specified maximum sequence length for this model (2431 > 2048). Running this sequence through the model will result in indexing errors

报错：Token indices sequence length is longer than the specified maximum sequence length for this model (2431 > 2048). Running this sequence through the model will result in indexing errors
这种影响大吗
还是不用管它

something similar happen to me and i have adapted the parameter on the model that i have lanched the train file for me it was vocab size
hope it helps
by the way did you solve your problem on using chat.py after training your data from scratch , I'm still strugling with it
我试了用 RWKV-v4neo 训练出来的模型既不能在 chat.py中运行，也都不能在run.py中运行? #118


Pending cap show market id

When querying the pending caps the id is the concatenation of the market params. I think it would be better if it was the the id of the market instead

id must be unique for a pending cap, but you can retrieve the market id by doing the following query:
{
  pendingCaps(first: 1) {
    metaMorphoMarket {
      market {
        id
      }
    }
  }
}

Better, you can do that:
{
  metaMorphos(first: 10) {

    markets {
      market {
        id
      }
       pendingCaps {
        validAt
        isNewMarket
        cap
        status
      }
    }
  }
}


Instructions for importing data are not working

As a User I want to import data from datahub into my favourite language so I can work with it on my project.

As a User I want to import particular data (resource) from datahub so I get only what I need to work on my project.
As a User I want to import all data (resources) from datahub so I can start working with them on my project.

Reported here: https://github.com/datahq/datahub-qa/issues/49
We cannot use data from the datahub following the instruction
Acceptance criteria

[x] All examples in instructions section are working fine

[x] R
[x] Pandas
[x] Python
[x] JavaScript
[ ] Ruby

Tasks

[x] Test and update the following languages in instructions section

[x] R
[x] Pandas
[x] Python
[x] JavaScript
[ ] Ruby

Analysis
How to reproduce
Go to any dataset page on the datahub.io and try to use the dataset due to instructions, e.g. http://datahub.io/core/cofog#python
The current status:

Pandas

python 2.7 and 3.6
tableschema.exceptions.DataPackageException: Unable to load JSON at "http://datahub.io/zelima/basic-csv/datapackage.json"

Casting error happens if I use this library from https://github.com/frictionlessdata/tableschema-pandas-py
  File "/Users/Zhiyenbayev_mirza/anaconda3/lib/python3.6/site-packages/tableschema/schema.py", line 152, in cast_row
    raise exceptions.CastError(message, errors=errors)
tableschema.exceptions.CastError: There are 5 cast errors (see exception.errors)

Python

Update path to resource data = package.resources[1].read().
Currently, it is pointing to validation report resource
We cannot use a particular index to get data, so we need to retrieve data from identifying type of a file. For example, some datasets, they do not have a validation_report resource, meaning that we cannot use our package.resources[1], it will point to JSON version of the file. This is the optimal solution to get CSV data:
if (resourseTypeList[x]['type'] == 'derived/csv'):

Javascript

(async () => {
^

TypeError: "http://datahub.io/zelima/basic-csv/datapackage.json" is not a function

^^^ you forgot to import Dataset probably

[anu]: we should think how to give resource index correctly not just [0]... also need to print data in the end so users copy-paste and get data on their screen

This snipped for JS works fine, only need to add ; in the beginning of the function according to the https://github.com/babel/babel/issues/7172

Ruby

redirection error: ruby is not allowing redirection when trying to read dp.json
once dp.json is read, in instructions we suggest reading [0] resource but it is pointing to dp report which cannot be read because not tabular

This package does not work for any type of resource: https://github.com/frictionlessdata/datapackage-rb
InvalidFormat: The format `%Y-%m-%d` is not supported by the type ``

TableSchema::InvalidDateType: Date is not a valid date

R

Update path to resource path_to_file = json_data$resources$path[1][1].
Currently, it is pointing to validation report resource
Again, same problem as with Python part, so this is snippet to check type of file
for(i in 1:length(json_data$resources$datahub$type)){
  if(json_data$resources$datahub$type[i]=='derived/csv'){
    path_to_file = json_data$resources$path[i]
  }
}

We decided to remove Ruby instructions since it was a lots of issues with date type. For example
InvalidFormat: The format `%Y-%m-%d` is not supported by the type `

That's why it fails for some datasets.
And we are planning to replace it with cURL . But, in tutorial it lists only list of resources, but it needs more time to follow our common algorithms which includes printing all tabular files.

TESTED: Failed
https://github.com/datahq/datahub-qa/issues/49#issuecomment-364008767

FIXED, updated instruction for R, python, pandas, javascript. Since we have a lot of issue with Ruby, we decided to remove ruby instruction. Also, updated docs on getting data tutorial, and blog posts how to use datapackages from R and core data essential datasets for data wranglers and data scientists


Full build and unit testing - fails

Following instructions at
https://github.com/mpusz/units/blob/master/doc/INSTALL.md
fails to update fmt lib and fails to link.
Here is abbreviated commands I am using
git clone --recurse-submodules https://github.com/mpusz/units.git
mkdir build && cd build
CC=gcc-9 CXX=g++-9 conan install .. -pr /home/andy/.conan/profiles/default  -s compiler.cppstd=20 -b=outdated -u
CC=gcc-9 CXX=g++-9 cmake ..
cmake --build .
below is diagnostic
~/cpp/projects/units_temp$ git clone --recurse-submodules https://github.com/mpusz/units.git
Cloning into 'units'...
remote: Enumerating objects: 355, done.
remote: Counting objects: 100% (355/355), done.
remote: Compressing objects: 100% (216/216), done.
remote: Total 3884 (delta 193), reused 257 (delta 116), pack-reused 3529
Receiving objects: 100% (3884/3884), 963.54 KiB | 1.47 MiB/s, done.
Resolving deltas: 100% (2519/2519), done.
Checking connectivity... done.
Submodule 'cmake/common' (https://github.com/mpusz/cmake-scripts.git) registered for path 'cmake/common'
Cloning into 'cmake/common'...
remote: Enumerating objects: 58, done.
remote: Total 58 (delta 0), reused 0 (delta 0), pack-reused 58
Unpacking objects: 100% (58/58), done.
Checking connectivity... done.
Submodule path 'cmake/common': checked out 'fa85aebdd45ce88e6c2d72dedc8e1693dc419f67'
andy@andy-Aspire-ES1-521:~/cpp/projects/units_temp$ mkdir units/build && cd units/build
andy@andy-Aspire-ES1-521:~/cpp/projects/units_temp/units/build$ CC=gcc-9 CXX=g++-9 conan install .. -pr /home/andy/.conan/profiles/default  -s compiler.cppstd=20 -b=outdated -u
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++
compiler.version=9.2
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
fmt/6.1.0: WARN: Can't update, no package in remote
fmt/6.1.0: Package is up to date
range-v3/0.10.0@ericniebler/stable: Package is up to date
Catch2/2.11.0@catchorg/stable: Package is up to date
conanfile.py (mp-units/0.5.0): Installing package
Requirements
fmt/6.1.0 from 'conan-center' - Cache
range-v3/0.10.0@ericniebler/stable from 'conan-center' - Cache
Packages
fmt/6.1.0:51e5e7a80b9495fcaf79f641808d5f28857e09df - Cache
range-v3/0.10.0@ericniebler/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
Build requirements
Catch2/2.11.0@catchorg/stable from 'conan-center' - Cache
Build requirements packages
Catch2/2.11.0@catchorg/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
Catch2/2.11.0@catchorg/stable: Already installed!
fmt/6.1.0: Already installed!
range-v3/0.10.0@ericniebler/stable: Already installed!
conanfile.py (mp-units/0.5.0): Applying build-requirement: Catch2/2.11.0@catchorg/stable
conanfile.py (mp-units/0.5.0): Generator cmake created conanbuildinfo.cmake
conanfile.py (mp-units/0.5.0): Generator txt created conanbuildinfo.txt
conanfile.py (mp-units/0.5.0): Generated conaninfo.txt
conanfile.py (mp-units/0.5.0): Generated graphinfo
andy@andy-Aspire-ES1-521:~/cpp/projects/units_temp/units/build$ CC=gcc-9 CXX=g++-9 cmake ..
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/gcc-9
-- Check for working C compiler: /usr/bin/gcc-9 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++-9
-- Check for working CXX compiler: /usr/bin/g++-9 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Adjusting output directories
-- Conan: Using cmake targets configuration
-- Library fmt found /home/andy/.conan/data/fmt/6.1.0///package/51e5e7a80b9495fcaf79f641808d5f28857e09df/lib/libfmt.a
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Current conanbuildinfo.cmake directory: /home/andy/cpp/projects/units_temp/units/build
-- Conan: Compiler GCC>=5, checking major version 9.2
-- Conan: Checking correct version: 9.2
-- CODE_COVERAGE=OFF
-- Performing Test HAVE_WLOGICAL_OP
-- Performing Test HAVE_WLOGICAL_OP - Success
-- Performing Test HAVE_WUSELESS_CAST
-- Performing Test HAVE_WUSELESS_CAST - Success
-- Performing Test HAVE_WDUPLICATED_COND
-- Performing Test HAVE_WDUPLICATED_COND - Success
-- Performing Test HAVE_WDUPLICATED_BRANCHES
-- Performing Test HAVE_WDUPLICATED_BRANCHES - Success
-- Performing Test HAVE_WNULL_DEREFERENCE
-- Performing Test HAVE_WNULL_DEREFERENCE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/andy/cpp/projects/units_temp/units/build
andy@andy-Aspire-ES1-521:~/cpp/projects/units_temp/units/build$ cmake --build .
Scanning dependencies of target unit_tests_runtime
[  3%] Building CXX object test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/catch_main.cpp.o
[  6%] Building CXX object test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/digital_info_test.cpp.o
[ 10%] Building CXX object test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/math_test.cpp.o
[ 13%] Building CXX object test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/fmt_test.cpp.o
[ 17%] Building CXX object test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/fmt_units_test.cpp.o
[ 20%] Linking CXX executable ../../../bin/unit_tests_runtime
CMakeFiles/unit_tests_runtime.dir/fmt_test.cpp.o: In function std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > fmt::v6::internal::grouping<char>(fmt::v6::internal::locale_ref)': fmt_test.cpp:(.text._ZN3fmt2v68internal8groupingIcEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_10locale_refE[_ZN3fmt2v68internal8groupingIcEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_10locale_refE]+0x2e): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator > fmt::v6::internal::grouping_impl(fmt::v6::internal::locale_ref)'
collect2: error: ld returned 1 exit status
test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/build.make:144: recipe for target 'bin/unit_tests_runtime' failed
make[2]: *** [bin/unit_tests_runtime] Error 1
CMakeFiles/Makefile2:129: recipe for target 'test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/all' failed
make[1]: *** [test/unit_test/runtime/CMakeFiles/unit_tests_runtime.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

The issue seems to be that there is no pre-built fmtlibpackage for my system. I can build fmtlib.a from source easy enough on my system, and presumably  just need to slot that into the ~.conan/data/fmt/6.1.0/ structure, but that is pretty opaque!
andy@andy-Aspire-ES1-521:~/cpp/projects/mpusz_units/units/build$ CC=gcc-9 CXX=g++-9 conan install .. -pr /home/andy/.conan/profiles/default  -s compiler.cppstd=20
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++
compiler.version=9.2
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
conanfile.py (mp-units/0.5.0): Installing package
Requirements
fmt/6.1.0 from 'conan-center' - Cache
[... diagnostic elided ...]
fmt/6.1.0: WARN: Can't find a 'fmt/6.1.0' package for the specified settings, options and dependencies:

Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.cppstd=20, compiler.libcxx=libstdc++, compiler.version=9.2, os=Linux
Options: fPIC=True, header_only=False, shared=False, with_fmt_alias=False
Dependencies:
Package ID: 51e5e7a80b9495fcaf79f641808d5f28857e09df

ERROR: Missing prebuilt package for 'fmt/6.1.0'
Try to build it from sources with "--build fmt"
Or read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package"

Aha  This seems to have worked
andy@andy-Aspire-ES1-521:~/cpp/projects/mpusz_units/units/build$ CC=gcc-9 CXX=g++-9 conan install .. -pr /home/andy/.conan/profiles/default  -s compiler.cppstd=20 --build fmt
Hope that solved i!

OK.
So after conan builds fmt lib from source compiling the projects works, but linking again fails due to not finding some function. The issue there seems to be that libfmt is building with c++11, so I obviously have a issue with the config somewhere. ( I known nothing about conan and not much about cmake). The vanilla cmake project for fmt from github adds std=gnu++11 to compile ( looking in the generated makefile). Probably an easy fix but don't know what that is.
Meanwhile I built libfmt.a by hand without std=gnu++11 flags slotted it in to .conan dir and build succeeds :)  so am running at the moment
Will look into getting onto slack

-b=outdated should do the same as --build fmt. Please note that by default Conan builds in compatibility mode which means it links with libstdc++ instead of libstdc++11. You can set it from a command line or put it to a profile file.
Here is my conan profile file:
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=9
compiler.cppstd=20
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]
CC=/usr/bin/gcc-9
CXX=/usr/bin/g++-9


ReleaseNotes for 0.86 links to non-existing page

https://github.com/facebook/flow/releases/tag/v0.86.0
Under "New Features:

Added the flowtest package. flowtest is a CLI tool for running tests on Flow types.

The link to https://github.com/facebook/flow/tree/master/packages/flowtest is "404 Not Found".

this is a duplicate of https://github.com/facebook/flow/issues/7154


Celestia Core Devs Call 19

Celestia Core Devs Call 19

Meeting Information
When: Wednesday, November 06, 3:00 PM UTC, 60 minutes max
Where: Youtube Livestream
Agenda

Working Groups Updates

Updates from DA Working Group
Updates from Interface Working Group
Updates from ZK Working Group

Updates on CIPs

Discuss Ginger (v3) next steps for upgrades of Mocha and Mainnet

Arabica successfully upgraded 🎉
Mocha to be upgraded Tomorrow, submit signal transactions, then the upgrade from 2 to 3 happens week of 11th
Mainnet Beta: Week of December 2nd, upgrade binary and submit signal transactions, upgrade happens the following week

Hi, What's target plan for beta mainnet Celestia ?

just added it! @cryptopunkstar

Mainnet Beta: Week of December 2nd, upgrade binary and submit signal transactions, upgrade happens the following week


Add degress argument for rotate

Enables the specified page(s) in a PDF file to be rotated either 90, 180 or 270 degrees in one run, without having to make multiple calls.

Closed this PR because I found a bug that hampered the functionality.  Can't re-open this one cause I deleted the repo, so I opened a new one here #10


docs(ref): Provide guidance on version requirements

What does this PR try to resolve?
I've been dealing with these situations as either the package author, depending on such a package, or supporting users who run into problems that I figure documenting this guidance in a central place means I won't have to repeat myself as often and have to re-find all of the relevant links each time.
How should we test and review this PR?
Alternatives to how this was documented

Use a regular header.  All of sections in this document are flat and its hard to see association between them.  This also feels like its more on the level of the "note"s.
Put this in a central Recommendations page.  I think we should do something more for these when we have more (nothing else in my quick scan stood out as "recommendations" like this).  At that point we can have a better idea of how it would work (much like the rule of 3 for generalizing code).  I also suspect a "Recommendations" index might be better.
Put this in the FAQ.  This can easily be framed as a question and we put the Cargo.lock policy in there.

I left out talking about alternative proc-macro designs as I feel like treading new ground in community practices is out of the scope of this.
Additional information
See also https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Version.20Requirements.20documentation

@bors r+

:pushpin: Commit 6c37c34b0f955d4f1edce3269f62e50b91a2da83 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 6c37c34b0f955d4f1edce3269f62e50b91a2da83 with merge 45782b6b8afd1da042d45c2daeec9c0744f72cc7...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 45782b6b8afd1da042d45c2daeec9c0744f72cc7 to master...


multi-gpus training error

When i run 'python -m torch.distributed.launch --nproc_per_node=4 ./tools/train.py configs/cbgs/nusc_cbgs_01voxel.py',  I met the error like this:
File "./tools/train.py", line 133, in
main()
File "./tools/train.py", line 128, in main
logger=logger,
File "/media/hy/DATA3/z393/CenterPoint-master/det3d/torchie/apis/train.py", line 344, in train_detector
find_unused_parameters=True,
TypeError: init() got an unexpected keyword argument 'find_unused_parameters'
and when I run 'python tools/train.py configs/cbgs/nusc_cbgs_01voxel.py',the error is ：
pure virtual method called
terminate called without an active exception
Aborted (core dumped)
My environment is cuda9.0 torch1.0.0

Please update to torch >=1.1. 1.0 is not supported


Update documentation

Summary of changes
Update documentation. Also introduced table of contents because the User's Guide is growing.
Context and reason for change
We introduce new ".opossum" file extension.
How can the changes be tested
Check the documentation.

Looks good! Just squash commits.

Done. Should be merged after #1426


Get index mapping and Get reference document are inconsistent with noteboook in "OpenAI function calling with Elasticsearch"

I read through the blog at https://www.elastic.co/search-labs/blog/function-calling-with-elastic, and I found two functions defined in the notebook and blog are insconsistent:

def get_index_mapping():
get_ref_document()

The ones defined in the blogs are not correct:
def get_index_mapping():

    url = f"""{ES_ENDPOINT}/{ES_INDEX}/_mappings"""

    headers = {
        "Content-type": "application/json",
        "Authorization": f"""ApiKey {ES_API_KEY}""",
    }

def get_index_mapping():

    url = f"""{ES_ENDPOINT}/{ES_INDEX}/_mappings"""

    headers = {
        "Content-type": "application/json",
        "Authorization": f"""ApiKey {ES_API_KEY}""",
    }

    resp = requests.request("GET", url, headers=headers)
    resp = json.loads(resp.text)
    mapping = json.dumps(resp, indent=4)

    return mapping

The correct ones are shown in the attached pictures,

Merged. Thanks @liu-xiao-guo for pointing this.


[zh]Update content/zh/docs/reference/command-line-tools-reference/kub…

/lgtm

/lgtm

/hold
@zyy19981018 have you carefully reviewed the list for feature gates?

This needs to be rebased on to main. There is a conflict to be resolved.

Hey @zyy19981018, are you ready to move forward?
Please rebase onto kubernetes:main. If you have any problem, you can contact us though #kubernetes-docs-zh channel in Slack.

/close
Stale for too long and there are conflicts to be resolved.
Please feel free to reopen and resume this work.


PaymentDetails throws JsonUnsupportedObjectError

JsonUnsupportedObjectError (Converting object to an encodable object failed: Instance of 'InitatePurchaseRequest') thrown by coffeecard_api_v2.swagger.swagger.chopper.dart

Bug report created https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/335

Relates to #103

The generated code offers custom methods that serve this purpose that we need to make use of for enums. In this instance, we use paymentTypeToJson() to solve it.


Incorrect cachekey parameters for https origin servers

When a delivery service uses the parameter "ignore in cache key, and pass up" for the query string and an https delivery service at the same time, the resultant remap line will cause all requests to cache to the exact same key: an empty one.
This is the result of get_qstring_ignore_remap in DeliveryService.pm hardcoding http:// in the regex. Since this doesn't match an https DS, it returns an empty string. ATS is fine with this, and happily serves the DS as though everything were the exact same content. This isn't great.

@alficles - is this bug only applicable in the TO UI or does it apply to TP/TO API as well?

Both. It's a bug in the perl that generates the config lines.

oh, i see
get_qstring_ignore_remap
is a function that is used by the following api routes:
# -- CONFIG FILES
$r->get("/api/$version/servers/#id/configfiles/ats")->over( authenticated => 1, not_ldap => 1 )->to ( 'ApacheTrafficServer#get_config_metadata', namespace => 'API::Configs' );
$r->get("/api/$version/profiles/#id/configfiles/ats/#filename")->over( authenticated => 1, not_ldap => 1 )->to ( 'ApacheTrafficServer#get_profile_config', namespace => 'API::Configs' );
$r->get("/api/$version/servers/#id/configfiles/ats/#filename")->over( authenticated => 1, not_ldap => 1 )->to ( 'ApacheTrafficServer#get_server_config', namespace => 'API::Configs' );
$r->get("/api/$version/cdns/#id/configfiles/ats/#filename")->over( authenticated => 1, not_ldap => 1 )->to ( 'ApacheTrafficServer#get_cdn_config', namespace => 'API::Configs' );

Resolved via #2590.


#5097: Support for dedicated completion queue thread

This PR enables support for dedicated completion queue thread and events written to completion queue.
Details:

Dedicated thread for completion queue, constantly stepping through the completion queue when the comp_write ptr updates
Support for non-blocking reads
Finish semantics have simplified. Finish just waits for num_issued_commands to reach 0

@pgkeller "Don't follow this particularly well" could you expand on this?
"Is the re-init temporary or permanent" definitely temporary. The reason this was done is because the GetCommandQueue API was originally reconstructing a CQ each time it was being called. That means on subsequent calls, the CommandQueue destructor is called. Unfortunately, I assert now that we don't have any commands in flight by the time we call the destructor.  I essentially now want to ensure that we only make a command queue when we initialize a device, which is of course temporary. A better solution would be for the device to own the command queue.
If you can think of a cleaner way to achieve this with the least possible code changes and without changing the API, let me know. The only other way I can think of is with a global, which can be marked as temporary and won't change the API.


[GURPS] <IP_ADDRESS>

Changes / Comments
Changes

Removed a Nullish Coelesce Operator that isn't supported by Roll20's API. This resulted in a syntax error when restarting the API Sandbox,

Syntaxerror unexpected token '?'

Used eslint, typed definitions for roll20 methods, to find undeclare variables, block level variable issues, in hopes of finding why Roll20 API was returning syntax error.
Formatted javascript using Visual Code eslint formatter

Files

GURPS\gurps.html

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

The API error is more than likely caused by Optional Chaining. IIIRC, the API doesn't use a version of Javascript recent enough to support it.


add missing dep

add dependency to run example

Thanks for the catch, maybe we could make this one optional later.


Align subscribers table

references issue #8503

Aligned icon with table header
Added padding to table data

Hi @isabelgm, thanks for the PR! However, it does look like you've submitted the PR to the wrong repo - you'll need to submit it to https://github.com/TryGhost/Ghost-Admin

Feel free to hop in our slack #core-dev channel (https://slack.ghost.org) if you have any questions on how to commit the changes correctly!


Collections

Collections (still needs a bit of work, but pretty good)
Fixes https://github.com/lic-nz/Malone/issues/4

Waiting on #47. Also GitHub says there are conflicts to resolve.

#47 resolved, waiting on #68.

Woops, didn't mean to merge that in myself (but I resolved the conflicts anyway).

It's alright, we'll work through this one next for release. #68 resolved.

Canary release up. Noticed one thing:

The title should now be fixed, and it also doesn't create (or close the Add Collection window) if the collection name is empty or whitespace (as it would not be visible in the list)

New canary release for you to test.

This will be backed out: https://github.com/lic-nz/Malone/pull/69#issuecomment-183973305


please add license text to the published rust crate

If I understand correctly, this is the repo for the published rust crate https://crates.io/crates/scip. Could you please add the license text to the published crate?

I'll have someone check this out asap @krasimirgg

#202 takes care of this too


Take another pass at visual hierarchy - make the pages flow

Changed how results are displayed - shrunk the overly large result item and pulled it up alongside the item result. This might not explicitly be a visual flow issue, but I think some consistency might help with the flow. Let me know your thoughts.

You mentioned that some of the pages felt like they didn't flow very well - any in particular that come to mind?


add grouping predict e.g. for lin reg

suggestion from user to add this example

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/295/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/298/


Merge master into collab-gcp-identity.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: incfly
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: hklai
Assign the PR to them by writing /assign @hklai in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: incfly, quanjielin
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: hklai
Assign the PR to them by writing /assign @hklai in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

New changes are detected. LGTM label has been removed.

/lgtm and you need to update branch.

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

Needs approval from an approver in each of these files:

OWNERS [wattli]

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

/retest

Okay, since this is to merge upstream:master directly, any new pr check-in will remove the cla label. I'll close this one and use a local repo to mirror the master. :(


added Runway360 to list of sites using plyr

Link to related issue (if applicable)
Summary of proposed changes

Awesome, cheers!


Linux version doesn't prompt for Android keystore password, won't build

Self help steps before reporting the issue:

[X] Check Solar2D forums for a solution
[X] If Android: make sure Java8 is installed and reported when running java -version and javac -version if not, download and install Java 8

Description
The Linux version UI doesn't allow a password to be entered when selecting a keystore file for Android builds. Whatever I do, clicking "Build" produces an alert box that says "The keystore password is invalid" with buttons "View" and "Done" which just dismiss the dialog.
Also, if I click the "Save to folder" field, it becomes linked with the content of the keystore field (perhaps the wrong index was used in the dialog box).
Platforms involved
Building on: Linux, Pop!_OS 21.10, x64
Building for: Android
Attach your build.settings
settings =
{
	orientation =
	{
		default = "portrait",
		supported = { "portrait", },
	},

	android =
	{
		usesPermissions =
		{
			"android.permission.INTERNET",
		},
	},

	iphone =
	{
		xcassets = "Images.xcassets",
		plist =
		{
			UIStatusBarHidden = false,
			UILaunchStoryboardName = "LaunchScreen",
		},
	},

	plugins =
	{

	},

	excludeFiles =
	{
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
}

Full build log
Enable full build log:
On macOS:
defaults write com.coronalabs.Corona_Simulator debugBuildProcess  -int 5

On Windows:
reg ADD "HKEY_CURRENT_USER\Software\Ansca Corona\Corona Simulator\Preferences" /f /v debugBuildProcess /d 5

Before the build clean console and then copy log between backticks below

Sorry, how do I do this in Linux? I searched but didn't find an example of how to do this. All I'm seeing in the simulator console is:
WARNING: Using custom daily build from user preferences: false - 68934a3e9455fa72420237eb05902327 (userPreferenceCustomDailyBuild)The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
WARNING: Cannot create path for resource file 'AppSettings.lua (/snap/solar2d/6/usr/local/bin/Solar2D/Resources/AppSettings.lua)'. File does not exist.

The Linux version UI doesn't allow a password to be entered when
selecting a keystore file for Android builds
https://github.com/coronalabs/corona/pull/375
^^^^ Hoping this pull request will fix the issue.

Sorry, how do I do this in Linux? I searched but didn't find an example
of how to do this.

[image: image.png]
Added "Debug Build Process" checkbox in the Preferences window.
On Sat, Apr 9, 2022 at 2:29 AM Oisín @.***> wrote:

Self help steps before reporting the issue:

Check Solar2D forums https://forums.solar2d.com/ for a solution
If Android: make sure Java8 is installed and reported when running java
-version and javac -version if not, download and install Java 8
https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

Description
The Linux version UI doesn't allow a password to be entered when selecting
a keystore file for Android builds. Whatever I do, clicking "Build"
produces an alert box that says "The keystore password is invalid" with
buttons "View" and "Done" which just dismiss the dialog.
Also, if I click the "Save to folder" field, it becomes linked with the
content of the keystore field (perhaps the wrong index was used in the
dialog box).
Platforms involved
Building on: Linux, Pop!_OS 21.10, x64
Building for: Android
Attach your build.settings
settings =
{
orientation =
{
default = "portrait",
supported = { "portrait", },
},
android =
{
usesPermissions =
{
"android.permission.INTERNET",
},
},
iphone =
{
xcassets = "Images.xcassets",
plist =
{
UIStatusBarHidden = false,
UILaunchStoryboardName = "LaunchScreen",
},
},
plugins =
{
},
excludeFiles =
{
all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
android = { "LaunchScreen.storyboardc", },
},
}
Full build log
Enable full build log:
On macOS:
defaults write com.coronalabs.Corona_Simulator debugBuildProcess  -int 5
On Windows:
reg ADD "HKEY_CURRENT_USER\Software\Ansca Corona\Corona Simulator\Preferences" /f /v debugBuildProcess /d 5
Before the build clean console and then copy log between backticks below
Sorry, how do I do this in Linux? I searched but didn't find an example of
how to do this. All I'm seeing in the simulator console is:
WARNING: Using custom daily build from user preferences: false - 68934a3e9455fa72420237eb05902327 (userPreferenceCustomDailyBuild)The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
WARNING: Cannot create path for resource file 'AppSettings.lua (/snap/solar2d/6/usr/local/bin/Solar2D/Resources/AppSettings.lua)'. File does not exist.
—
Reply to this email directly, view it on GitHub
https://github.com/coronalabs/corona/issues/377, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABI7FJG74ZMGYIVWTNZCQETVEC6NZANCNFSM5S54CJRQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Adding negative match on generic secrets

No longer matching common variable names, placeholders and constants used in configuration

@GeekMasher, got time to test this?


Xaiki/color

This has a few bugs, but mostly

[ ] clicking closes the dropdown

https://github.com/elrumordelaluz/coloreact

Anyway we need to add some css tweaks to dropdown-color

clicking closes the dropdown
Maybe it's bootstrap's fault.

https://github.com/elrumordelaluz/coloreact

looks good,

Clicking closes the dropdown.
Maybe it's bootstrap's fault ^^

oh it is, but having a working dropdown currently also is =P

http://jedwatson.github.io/react-select/
http://fraserxu.me/react-dropdown/
we would have to port style and animations though, but nothing impossible. i guess it's the last thing that depends on bootstrap

@xaiki I don't think we need another component

@xaiki I don't think we need another component

without bootstrap we're going to have to implement a dropdown component, i'd rather use someone else' work.

Ok but we had a 90% working dropdown right now, again is up to you.

any thought on this ?

Yes, but I'm thinking to use something more simple ( we need more control over the ui / layout )

I guess we can kill this one ?

I guess, it has conflicts

https://github.com/buttercomponents/butter-base-components


With a new version 12.1.5 of "@testing-library/react" running "npx create-react-app" fails with an ERESOLVE issue

Describe the bug
If you run "npx create-react-app Project-Name" after version 12.1.5 of @testing-library/react was released if will fail because current "cra-template" has "@testing-library/react": "^12.0.0" in its dependencies template for a new project. Version 12.1.5 of @testing-library/react requires "react": "<18.0.0" in its peer dependencies. That creates a conflict of dependencies.
Error report:
While resolving<EMAIL_ADDRESS>Found<EMAIL_ADDRESS>node_modules/react
<EMAIL_ADDRESS>from the root project
Could not resolve dependency:
peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>node_modules/@testing-library/react
<EMAIL_ADDRESS>from the root project
Raw JSON explanation object:
{
"code": "ERESOLVE",
"current": {
"name": "react",
"version": "18.0.0",
"whileInstalling": {
"name": "test2",
"version": "0.1.0",
"path": """
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react",
"spec": "^18.0.0",
"from": {
"location": """
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react",
"spec": "^18.0.0",
"from": {
"location": """
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "<18.0.0",
"error": "INVALID",
"from": {
"name": "@testing-library/react",
"version": "12.1.5",
"whileInstalling": {
"name": "test2",
"version": "0.1.0",
"path": """
},
"location": "node_modules/@testing-library/react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "@testing-library/react",
"spec": "^12.0.0",
"from": {
"location": "*********************************"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}

I came across this problem, too!

Why you closed this? @stas-litv Did you solve this problem?

Closed the issue because the problem was in npm cache of my computer.
The dependencies list was already updated three days ago and now it contains ^13.0.0 of @testing-library/react

How did you fix the issue? I have the same problem. Thanks in advance.

Ah okay, so we just need to wait for an update?

Ah okay, so we just need to wait for an update?

Looks like we need to wait, I don't know for sure. That's why I reopened the issue.
I'm waiting for someone to comment it.

This is happening to me too.

Same issue here

The problem has appeared just 6-7 hours ago when version 12.1.5 of @testing-library/react was released
Before it was totally ok

Currently experiencing the same issue.

OK. After digging, I found this: testing-library/react-testing-library PR#1041,
So here's the timeline:

Months ago, CRA 5.0.0 is released with React 18 and RTL 12.x, everything works fine.
Two weeks ago, RTL 13.x was released to support React 18. Everything still works fine.
Three days ago, CRA merged a PR to upgrade RTL to 13.x and targeting Milestone 5.0.1.
Some hours ago, RTL released 12.1.5 and limits 12.x to support only up to React 17. This breaks the dependency tree because 5.0.1 hasn't been released.

So, I found a solution.
You need to use custom template for Create-React-App.
For this:

install cra-template to a separate folder (other than your new project app's folder) using "npm install cra-install"
Go to tha cra-template package folder and in file "template.json" change '"@testing-library/react": "^12.0.0"' to '"@testing-library/react": "^13.0.0"'
Go back to your root folder and run npx create-react-app my-app (your app name) --template file:PATH_TO_YOUR_CUSTOM_TEMPLATE

It worked for me

Another workaround is to delete the node_modules package as well as the package-json.lock file. Then open "package.json" and change "react": "^18.0.0" & "react-dom": "^18.0.0" to an earlier version e.g. "react": "^17.0.2" & "react-dom": "^17.0.2".
Re-install with npm install.

Temporary workaround:
npx create-react-app my-app (let the build fail) Delete the node_modules directory Delete the package-json.lock file Open package.json and change it to the following:
{
  "name": "my-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "cra-template": "1.1.3",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "5.0.0"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

Delete reportWebVitals.js Remove import reportWebVitals from './reportWebVitals'; from index.js Remove reportWebVitals(); from the bottom of index.js
Re-install with npm install.

@stas-litv is this closed because it has been resolved?

It will be resolved in the next version on CRA, there's already accepted pull request for it (mentioned before).
I closed an issue because I can't see a way to solve this issue permanently until the new version is published.
Temporary solutions are here for anybody to use.

@stas-litv I see - thank you!

hola , en un grupo de facebook un usuario me compartio esta solucion:
abran el proyecto en visual studio y en el index.js remplazarlo por esto:
import React from 'react';
import { createRoot } from 'react-dom/client';
import './index.css';
import App from './App';
const container = document.getElementById('root');
const root = createRoot(container);
root.render(
<React.StrictMode>

</React.StrictMode>,
);
luego puedes ejecutar npm start sin problemas

I found the solution.
create-react-app is not updating index.js as per the new react V18
so you need to modify index.js file as follow
import React from 'react';
import {createRoot} from 'react-dom/client';
import './index.css';
import App from './App';
// import reportWebVitals from './reportWebVitals';
const container = document.getElementById('root');
const root = createRoot(container)
root.render(

)
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
// reportWebVitals();

Jesus... what is this issue all about? There are already a lot of workarounds available.

Use --legacy-peer-deps as instructed IN THE CONSOLE MESSAGE ITSELF
Upgrade to @testing-library/react@13
Use React 17. React 18 is still new and obviously, a lot of the libraries won't have their dependency list updated yet. Yet, just because the library has a dependency on React 17 doesn't mean it will simply break on React 18.

Anyway, this is the wrong place for creating this issue. Go to https://github.com/testing-library/react-testing-library/issues please. This is related to @testing-library/react instead of CRA.

Workaround
Create a project using npm init instead
npm init react-app <your_project_name> --legacy-peer-deps

npm init react-app <your_project_name> --legacy-peer-deps

+1 for @mwskwong here, worked well.
Also in case anyone's just looking to get a project running in the interim,  yarn create react-app my-app is still working without --legacy-peer-deps.

I also have this issue. Has it officially been fixed yet or do I need to use the workaround solution for now? What are the pros and cons, should I wait for the official fix?

Another work around, that allows me to go ahead with React 18 and the TypeScript CRA template:
export NPM_CONFIG_LEGACY_PEER_DEPS=true
npx create-react-app webapp --template typescript

Thank you for fixing the issue. I thought something was with my computer, so I tried on Windows, Linux and Mac all with the same issue. Today everything worked great. Thank you for your work. A deep bow from me!


chore: upgrade monitoring to new sample format

Relies on https://github.com/googleapis/google-cloud-php/pull/5302 to be released

The error coming from the REST-only tests ("Object of class Google\Cloud\Monitoring\V3\TimeInterval could not be converted to string") will be fixed in https://github.com/googleapis/gax-php/pull/430


Figure(s)

ideas?

could be something along of what reproin has: https://github.com/ReproNim/reproin/#overall-workflow but improved, how?

benchmarking data?

we have some integration testing data, but no benchmarking setup really :-/
For datalad we use asv https://asv.readthedocs.io/ , might be nice to establish some rudimentary benchmarks.  But worth dedicated issue etc.

I can add a dependency graph figure. The title and selling point — if we want to have one beyond just the descriptive value — could be that it's compact and therefore makes the software sustainable. But that claim would need some sort of comparison term, so we'd need to compare heudiconv to some other software which is similar-ish but has a more sprawling dependency graph.
In any case I can provide some commentary on what gets pulled in.

PR for figure(s) here → https://github.com/nipy/heudiconv-joss-paper/pull/14


How to read data using torch-dataset?

Hi, I have 8 samples. There is an input matrix x[4][2] and a target vector y[4] in each sample.
local trainSet = {x = torch.FloatTensor(8,4,2), y = torch.FloatTensor(8,4)}
for s = 1, 8 do
   for b = 1, 4 do
       trainSet.y[s][b] = 0
       for d = 1, 2 do
           trainSet.x[s][b][d] = 1
       end
   end
end
torch.save('train.t7', trainSet)

The number of sample showed 32 instead of 8 when I used torch-dataset. Do you have any idea?
local trainingDataset = Dataset('train.t7', {partition = 1, partitions = 1})
local getTrainingBatch, numTrainingBatches = trainingDataset.sampledBatcher({
   samplerKind = 'linear',
   batchSize = 1,
   inputDims = {4,2},
   verbose = true,
   cuda = true,
   processor = function(res, processorOpt, input)
      input:copy(res)
      return true
   end,
})
print(numTrainingBatches())  -- it showed 32 instead of 8

Thank you very much.

Hi,
You could fix the issue yourself. Look at IndexTensor.lua line 69. Its an apply call on the labels Tensor. The correct code would only traverse the outermost dimension of the labels Tensor.
Thanks,
Zak

Thank you Zak, the problem is resolved :)


feat(test_runner): allowed_errors in storage scrubber

Problem
resolve https://github.com/neondatabase/neon/issues/9988#issuecomment-2528239437
Summary of changes

New verbose mode for storage scrubber scan metadata (pageserver) that contains the error messages.
Filter allowed_error list from the JSON output to determine the healthy flag status.

Next step: figure out which test cases would produce orphan layers and allow such errors for these test cases. We can also choose to add it to default allowed errors.


CI: run on windows?

Don't know if it works, let's try :-)
'windows-latest` currently means Windows Server 2022
(https://github.blog/changelog/2022-01-11-github-actions-jobs-running-on-windows-latest-are-now-running-on-windows-server-2022/)

:red_circle: ruby 2.5 to 3.0 fail with:
Run gem install rake bundler
ERROR:  Error installing rake:
	"rake" from rake conflicts with C:/hostedtoolcache/windows/Ruby/3.0.3/x64/bin/rake
Successfully installed bundler-2.3.9
1 gem installed

:red_circle: ruby 3.1, ruby-head, truffleruby-head pass bundle install :tada: but fail with:
C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:159:in `rescue in create_default_data_source': No source of timezone data could be found. (TZInfo::DataSourceNotFound)
Please refer to https://tzinfo.github.io/datasourcenotfound for help resolving this error.
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:156:in `create_default_data_source'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:55:in `block in get'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in `synchronize'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in `get'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb:235:in `data_source'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb:158:in `all_identifiers'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb:152:in `all'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:30:in `<class:UserInfo>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:3:in `<class:ResponseObject>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:2:in `<module:OpenIDConnect>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:1:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:7:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:7:in `block in <top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:6:in `each'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:6:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/connect_object.rb:52:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/connect_object.rb:52:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect.rb:101:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect.rb:101:in `<top (required)>'
	from D:/a/kubeclient/kubeclient/test/test_oidc_auth_provider.rb:2:in `require'
	from D:/a/kubeclient/kubeclient/test/test_oidc_auth_provider.rb:2:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:17:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:17:in `block in <main>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:5:in `select'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:5:in `<main>'
C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_data_source.rb:232:in `initialize': None of the paths included in TZInfo::DataSources::ZoneinfoDataSource.search_path are valid zoneinfo directories. (TZInfo::DataSources::ZoneinfoDirectoryNotFound)
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:157:in `new'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:157:in `create_default_data_source'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:55:in `block in get'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in `synchronize'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb:54:in `get'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb:235:in `data_source'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb:158:in `all_identifiers'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb:152:in `all'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:30:in `<class:UserInfo>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:3:in `<class:ResponseObject>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:2:in `<module:OpenIDConnect>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object/user_info.rb:1:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:7:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:7:in `block in <top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:6:in `each'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/response_object.rb:6:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/connect_object.rb:52:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect/connect_object.rb:52:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect.rb:101:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/openid_connect-1.3.0/lib/openid_connect.rb:101:in `<top (required)>'
	from D:/a/kubeclient/kubeclient/test/test_oidc_auth_provider.rb:2:in `require'
	from D:/a/kubeclient/kubeclient/test/test_oidc_auth_provider.rb:2:in `<top (required)>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:17:in `require'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:17:in `block in <main>'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:5:in `select'
	from C:/hostedtoolcache/windows/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!

Yay, windows now on parity with other platforms, all passes except #569 :tada:
(Well, except truffleruby-head which apparently has no windows builds? anyway that's not a blocker.)

Force-pushed to use same rebased commits as #570.
now macos 2.5 keeps timing out :confused:
It's not always at same moment — attempt 1 got stuck after test_get_from_json_oapi_v1, attempt 2 got stuck after test_timeouts_open, attempt 3 after test_irregular_names.
There is a warning that might or might not be related :shrug: :

Your RubyGems version (<IP_ADDRESS>) has a bug that prevents required_ruby_version from working for Bundler. Any scripts that use gem install bundler will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running gem update --system 3.2.3

I guess it's time to drop EOL Ruby 2.5 (and 2.6?) on master branch?

https://github.com/ruby/truffleruby-dev-builder/releases/latest has no windows build.
Trying to exclude it...

This ubuntu ruby 2.5 failure is somewhat interesting, must be a low-probability flake:
  1) Failure:
RetryTest#test_can_watch_watches [/home/runner/work/kubeclient/kubeclient/test/test_informer.rb:115]:
Expected: [["ADDED"], ["ADDED"]]
  Actual: [[], ["ADDED"]]

but unrelated to the addition of windows CI.

Bah, broke something in github actions file.
I'm tempted to just leave non-existant (windows, truffleruby) combination in, but I think the rubocop job was already broken (it did not use os_and_command) :roll_eyes: so need to debug anyway...


Error getting metadata

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: 78.0.3904.108 (Official Build) (64-bit)
Operating system and its version: Linux MInt (buster/sid)
PDF.js version: 2.2.228 (tried with 2.3.200 pre-release also)
Is a browser extension: no

Steps to reproduce the problem:
The following code contains two links in the example. The first one doesn't work and return an exception. The second one return the PDF metadata correctly
`"use strict"
var PDFJS = require("pdfjs-dist");
// THIS PDF HAS PROBLEMS
var url = "https://invest.medincell.com/wp-content/uploads/2019/11/MEDCL_CP_-Annonce-des-reésultats-semestriels-2019-2020_F.pdf";
// THIS PDF WORK AS EXPECTED
// var url = "https://www.idexx.com/files/2019-q1-earnings-release-20190501.pdf";
async function getPDFMetaDataFromUrl(url) {
var numOfPages;
var pdfMetadata;

return new Promise(function (resolve, reject) {
    try {
        var loadingTask = PDFJS.getDocument(url);
        loadingTask.promise.then(function (pdf) {
            console.log('PDF loaded');
            numOfPages = pdf.numPages;

            pdf.getMetadata(numOfPages).then(function (pdfMeta) {
                console.log('Metadata loaded');

                // if (typeof pdfMeta["info"]["CreationDate"] !== 'undefined') {
                //     pdfMeta["info"]["CreationDateISO"] = convertPDFDateTimeToISO(pdfMeta["info"]["CreationDate"])
                // }
                pdfMeta["info"]["numberOfPages"] = numOfPages;

                resolve(pdfMeta);

            }, function (reason) {
                // PDF loading error
                console.error(reason);
            });

        })

    } catch (e) {
        reject(e);
    }

})

}
async function app(url) {
try {

    var pdfdate = await getPDFMetaDataFromUrl(url);

    console.log(pdfdate);

} catch (e) {
    console.log("An exception occurred: "+ e);
}

}
app(url);
`
Am I doing something wrong here ?

https://invest.medincell.com/wp-content/uploads/2019/11/MEDCL_CP_-Annonce-des-reésultats-semestriels-2019-2020_F.pdf

That link redirects to https://invest.medincell.com/, which clearly isn't a PDF document. (The issue template asks for files to be attached to the issue, to avoid problems with broken links.)
Assuming that you actually meant https://invest.medincell.com/wp-content/uploads/2019/11/MEDCL_CP_-Annonce-des-résultats-semestriels-2019-2020_FR.pdf then that file, and the getMetadata method, works just fine in the default viewer.
Please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us on the IRC channel -- keep in mind that just code snippets won't help us troubleshoot the problem.

Yes, you're right there's a redireciton in the middle, I missed it.
In this case: https://www.townofcortemadera.org/ArchiveCenter/ViewFile/Item/3103 there's no redirection but I get an exception. The file is correclty displayed in Chrome but trying to read the metadata with the example I posted returns an exception.

In this case: https://www.townofcortemadera.org/ArchiveCenter/ViewFile/Item/3103 there's no redirection but I get an exception.

That also works just fine in the default viewer, hence you'll need to actually follow the last paragraph from https://github.com/mozilla/pdf.js/issues/11376#issuecomment-560451847 since otherwise this issue won't be actionable.

Closing since no runnable example is provided.


chore: use sass for security package style snapshot test

This is a suggestion, which updates the style snapshot test to use 'sass' rather than node-sass. This has the advantage of using the same sass compiler used for builds, and removing the dependency on the now long-deprecated node-sass. Somewhat surprisingly, it even runs faster for me: a 46s run vs 74s for the node-sass version. Note that this test calls sass at the command line rather than through the API because of the huge performance penalty the sass API currently imposes on compiles that include a large number of @imports.
What did you change?
styles-test.js
How did you test and verify your work?
Ran tests

Thanks for the reference @dcwarwick — this solution has been synced from ibm-security to packages/security in https://github.com/carbon-design-system/ibm-cloud-cognitive/pull/1409.


Start audio (onPlay?)

Hi,
Great application!
I've created a rule/action that turns off my receiver when the mac starts to sleep. I would like to turn on my receiver when there is an audio output, or if certain application start playing. Is there a method to do this already or should this be a feature request?
Thanks!
Roy

There is nothing that detects audio output but there is a running application evidence source. Could fire a script when an app starts that turns on the receiver.

Thanks @dustinrue,
I cannot get it to work as I would like using the method you mentioned and will try the shell script evidence source or add some code to achieve this.

Hi @dustinrue,
I cannot find any examples on how to use scripts for evidence sources. You documentation seems clear, but it does not seems to work.
I'm using the following script to detect if iTunes is playing:
tell application "iTunes"
if player state is playing then
#display alert ("iTunes is playing")
return 0 #success
else
#display alert ("iTunes is not playing")
return 1 #failure
end if
end tell
Is this the way it should be used?
Thanks!
Roy

Issued a pull request that should fix this issue


On Interpolating start and end symbol to '[[ - ]]' arrayVal[index] fails

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
No
What is the current behavior?
On setting '[[' and ']]' as the start and end symbol. Then this produces an error: [[arrayVal[index]]]
The error produced is: https://docs.angularjs.org/error/$parse/ueoe?p0=arrayVal[0
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
Codepen reproduction of the bug: http://codepen.io/rijosimon/pen/oxpmJO
There is a workaround, putting space between the expression and the start and end symbols: http://codepen.io/rijosimon/pen/VaygqJ
What is the expected behavior?
[[arrayVal[0]]] should not be different from {{arrayVal[0]}} when you do interpolation.
What is the motivation / use case for changing the behavior?
It should be the expected behavior.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
AJs: 1.4, Browser: Chrome
Other information (e.g. stacktraces, related issues, suggestions how to fix)

This is a duplicate of #8642


Eclipse Luna IDE Support

This PR adds an Eclipse Luna (latest stable) project for

developing (using navigation and Intellisense-completion),
building, and
debugging

DMD. I did it through the standard

File -> Import -> Existing Code as Makefile Project
Project local settings for assume .c .h are C++ source instead of C.
Project local setting that registers src as a source directory (tree) to make debugger find sources.
Add a Debug build target that uses class build through make ENABLE_DEBUG=1.

See also:

http://forum.dlang.org/thread/kvqklkmjnajuhrlthuug@forum.dlang.org?page=1
https://stackoverflow.com/questions/28286568/make-eclipse-understand-that-c-and-h-is-c

All you Emacs hackers: Note that Eclipse includes a quick setting (click at Window => Preferences and search for Emacs) for adjusting editing keybindings to Emacs for the most common editing operations including increment search (C-s/r), basic navigation, cut and paste and undo.

What do you mean by IDE-specific project files? Is this whole PR bad? I noticed that DMD has some xcode settings. Why not add Eclipse aswell then?

Should I close this?

I'll also remove the XCode project, putting a sub folder into .gitignore and adding wiki infos is the way to go IMO.

I you remove the Xcode project you better remove the Visual Studio project as well.

As I said here or in the other thread, we need the VS project to build a 64-bit DMD on Windows.

If it's simple to create one, I don't see much point in adding this.

The VS compiler cannot be used from a makefile?

For the record I'll try keeping https://github.com/nordlow/dmd/tree/eclipse-ide-support update along the way.


Issues are on

@DougDougGithub if you are not planning on maintaining/further developing this, or dont want to do so collaboratively, it may be a good idea to turn off issues on this repository, otherwise people will be able to create a bunch of useless issues like this.
Here's instructions: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/disabling-issues

On the serious note, all the hype will be gone within 15 minutes after the stream. Feels like it’s okay to leave them be just in case. TwitchChatPlays repo is the great example

maybe, but he also didnt upload that on stream. its nbd anyways


Use ansible_os_family instead of testing distribution directly

This will catch the entire Red Hat "family" as it were rather than
limiting to just CentOS, thereby allowing this role to work against RHEL
8.

I think I remember now - ansible_os_family is set to RedHat for Fedora, and so the conditional in your PR is True for all versions of Fedora past 8. The conditional I wrote gets the precision the playbook needs.

@dobbymoodge with the downside that it doesn't work for RHEL systems... It sounds like Ansible considering Fedora RHEL family is what's broken here.

@dobbymoodge with the downside that it doesn't work for RHEL systems... It sounds like Ansible considering Fedora RHEL family is what's broken here.

Um, I think the opposite? My PR is specifically to fix this properly for RHEL systems. Without my PR, the role fails on RHEL 8, which is my team's deployment platform. My change correctly specifies the version check for Fedora versions at or above 27, and CentOS and RHEL systems at or above 8.

@dobbymoodge with the downside that it doesn't work for RHEL systems... It sounds like Ansible considering Fedora RHEL family is what's broken here.

Um, I think the opposite? My PR is specifically to fix this properly for RHEL systems. Without my PR, the role fails on RHEL 8, which is my team's deployment platform. My change correctly specifies the version check for Fedora versions at or above 27, and CentOS and RHEL systems at or above 8.

The check specifies CentOS, which is not the name used for ansible_distribution when the system is a RHEL 8 system, or so I assume. I'd have to go add a debug statement to verify.
This is the reason I created the PR in the first place because while deploying against a RHEL 8 system it failed to properly set the facts for setting the appropriate path.

I merged #117 since that's closer to the intent of listing specific versions that we know are compatible.
My intent was more along the lines of "Fedora split openvpn configs into server and client, and CentOS followed". RHEL missing from that list was an oversight.
That said, I don't think the answer is to say "all RedHat type releases past 8 should used the systemd logic", since that isn't true.
It might be enough to say "if it's a RHEL-type, and using systemd, then use the systemd logic". I'm continuing that in #129, closing this for now.


[UI/UX] storymaps link on GeoHub landing page

Description
the below screenshot is what I added storymaps menu in header and footer.
but we need to think how we put storymaps link in landing page, header and footer.
Screenshots

Mockup URL/file
No response

My suggestions regarding the storymap navigation flow is here: Figma Prototype
We should have another issue to align the home page to the UNDP design system.


Add new breadcrumb variable

Add $breadcrumb-item-color variable

Thank you for believing in me.
On Tuesday, August 16, 2022, Volodymyr Farylevych @.***>
wrote:

Add $breadcrumb-item-color variable
You can view, comment on, or merge this pull request online at:
https://github.com/twbs/bootstrap/pull/36964
Commit Summary

30f75b2
https://github.com/twbs/bootstrap/pull/36964/commits/30f75b227bcd84e2ebbf42ed17f21f135c3fd978
Add item-color
8ba3302
https://github.com/twbs/bootstrap/pull/36964/commits/8ba3302e652ccf376735863c83664ede208ef5e7
Add $breadcrumb-item-color

File Changes
(2 files https://github.com/twbs/bootstrap/pull/36964/files)

M scss/_breadcrumb.scss
https://github.com/twbs/bootstrap/pull/36964/files#diff-4219169e92f41a59d6f67d6e226b02f0dcc0a740f4c8eb48b16dcd858ffa47e2
(3)
M scss/_variables.scss
https://github.com/twbs/bootstrap/pull/36964/files#diff-108a57a50d5ebe203f447ef7bf1e5e53826bdb82baab2baa2b41b4158cdd4d09
(1)

Patch Links:

https://github.com/twbs/bootstrap/pull/36964.patch
https://github.com/twbs/bootstrap/pull/36964.diff

—
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/36964, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHORFC2CYHCV7LBKGUP7RWDVZMUXHANCNFSM56UPF45Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This doesn't actually change the color of links in the breadcrumb, and since it reuses the body color, it doesn't make much of a difference. Maybe I'm missing something but I think we can skip this for now?


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:32: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
ERROR: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:32: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:38: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:38: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:38: missing_description: The recipe is missing a description
ERROR: /tmp/abs_31r7wxm62t/clone/recipe/meta.yaml:38: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


[sub-issue] CRw: Alternate texts of all the Icons list are not readable

All icons are read wrong by screen readers.
http://swiss.github.io/styleguide/base_layout_-_general.html#e-icons
==> Use ARIA "labelledby" or a hidden text.
If you use ARIA check it out with the screen reader NVDA http://www.nvaccess.org/download/

Main issue is #340

There is a paragraph about accessibility already here: http://swiss.github.io/styleguide/base_layout_-_general.html#e-icons
Note that the styleguide itself is a resource for developers: the elements are just a reference and the developer should be able to choose the correct aria- or .sr-only string depending on the case.
I made this paragraph more visible in an alert.


Better wiki examples

We could use more interesting examples in:

Matrix
Random
The gamepad section of Input

Could also use more interesting examples in Sound to demonstrate the range of audio things you can do.


Fix the missing constraint error message for apoc.import.json()

Fixes #290
Signed-off-by: John Lin<EMAIL_ADDRESS>Proposed Changes (Mandatory)
Use FOR instead of ON and use REQUIRE instead of ASSERT.

Hi @johnlinp,
Thank you so much for offering this pull request. The code change you'd like to make seems like a valuable change to me! However, in order to accept your pull request I would need you to first accept our contributor license agreement. This process for doing so can be found at https://neo4j.com/developer/cla/.
Please let me know once you've sent the email and I will approve this request.

Thanks for the reminder. I've sent the email.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: AzuObs:x: johnlinpYou have signed the CLA already but the status is still pending? Let us recheck it.

Closing this PR in favour of https://github.com/neo4j/apoc/pull/304. I hope this is OK with you.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: AzuObs:x: johnlinpYou have signed the CLA already but the status is still pending? Let us recheck it.


Update reference tests to latest version

Automated reference tests dependency update

This PR updates the reference tests dependency to the latest available version and copies the necessary files.
If tests have failed, see https://app.asana.com/0/0/1203766026095653/f for further information on what to do next.

[ ] All tests must pass

@joshliebe this is failing because the tracking parameters ref tests are not taking into account exceptPlatforms


Update checkpointing

Closes #71 . Due to the requested move of the checkpointing records from a file to the Hive schema, Checkpoint was removed. Similarly, since that class had stubs for running the pipeline off the last processed day, I moved that functionality to main.py, and moved all of that functionality to client.py's _Client so all of the pipeline tools can be unified in one place. I also write methods of _Client to process all unprocessed data since the latest processed date, as well as a method to process the next unprocessed date, and also a method to reprocess a date range as requested by Kristin during our demo. Due to _Client being a client, testing would require a systems-testing level suite, so there are very few tests for this class - there is an instance fixture ready to go though. The requirements have been updated to have this extra date field in flagged_data. Documentation for using _Client has been added to the README.md as it is extremely externally facing.

Additionally, there was some forgetfulness of who was adjusting config.json and the like to allow for a sharp divide between the aperture/portal engine and the hive engine, so that was done here as well.