Make doctests work with Python 2/3 string outputs

This allows to remove a bunch of doctest: +SKIP statements and improve overall test coverage.
Fixes #87.

I'd prefer it the other way around, actually, because the documentation is supposed to be Python 3. I guess that applying the regular expression to got instead of want would allow you to make everything work too, without the need to put 'u in the docstrings everywhere?

Cool, LGTM.
Too bad that you need to duplicate all the code-blocks into hidden doctests though. Maybe we can make a ticket for it, and implement a custom DocTestParser sometime in the future. It should be possible to basically add a :doctest: directive to code-blocks, that will be picked up by a custom DocTestParser.

Yeah, it kind of bothers me as well. I think I might have something for that, though, let met give it a try.

Nevermind, looks like doctest only recognizes interpreter-like commands.

Shall I go ahead and merge?

Yeah, go ahead.


Fix typo in template_test.go

Following typo error should be fixed:
Line 2136:  "seperator" is a misspelling of "separator" (misspell)
Line 2141: "seperator" is a misspelling of "separator" (misspell)
Line 2161:  "seperator" is a misspelling of "separator" (misspell)
Help Links :
Contributors guide

Hi, I would like to fix this.

@fdmarcin
Thank you.
You can raise PR for one of the issue assigned to you and then you can take this up.


Is there any way to add a column  before expandableRow icon?

https://codesandbox.io/s/19r60?file=/src/ExpandableRowTable.js
I want to add a column of icon/no before expadableRow(collapse button).
Thanks,

As far as I am aware there is not a way to inject a column before it. This would be a cool feature.


Action Required Switch to the Play Referrer API by March 1, 2020

Hello Google Play Developer,

We recently announced that we’ll be deprecating the install_referrer intent broadcast mechanism. Because one or more of your apps uses this intent to track referrals, we wanted to ensure you make the switch before March 1, 2020. After this date, new versions of the Play Store app will no longer broadcast the install_referrer intent after app installs.

Action required

Migrate to the Play Install Referrer API to track your app installs for the following apps and/or games.The Play Install Referrer API offers better performance, uses a secure communication channel between your app and the Play Store, and offers a more robust solution against spoof and attribution fraud.We know this change may require some additional work on your part and appreciate your understanding.  Thank you for being a part of Google Play.

what can i do for it ? what's the time of firebase-unity sdk update to solve it? thanks~

I believe that this is due to a dependency in the Firebase Analytics SDK. I have reached out to that team to discuss it further.  I'll let you know of what I find out.

Chatted with @DellaBitta and he's still waiting to hear from the Google Analytics team.

Hi @zhangjianshuai ,
which verison of the Firebase SDK are you using, and does occur as an issue for you on the latest release?

@zhangjianshuai, @DellaBitta looked into this with our analytics SDK folks and it turns out you'll need to update to the Android analytics library, ideally to com.google.firebase:firebase_analytics:17.2.0 as the install_referrer intent being deprecated (see this) which was used by the Firebase Analytics Android library prior to version 16.5.0.  Since 16.5.0 the SDK has moved to use the Play Install Referrer API.
Since quite a few Firebase libraries depend upon Firebase Analytics the easiest way to upgrade is to integrate the 6.9.0 release which depends upon this package.
Alternatively, if you just want to try upgrading the Android libraries and you're not too out of date that the API surface has changed, you could manually update the Assets/Firebase/Editor/*Dependencies.xml files to point at the latest Android library releases based upon the Android packages listed here.  For more information about these *Dependencies.xml files see https://github.com/googlesamples/unity-jar-resolver#android-resolver-usage


V5.21.1 Doesn't considers logo

For web i have given logo as a .png file but web interface still shows default verdaccio logo.
This was working fine in v5.20.1 for me, issue occurred after upgrading

Thanks, I was afraid this might happens, could you share your config so I can reproduce ?

Following is the config -
# Created by Abhishek Rathore
# TODO: Security, HTTPS

# path to a directory with all packages
storage: ./storage
# path to a directory with plugins to include
plugins: ./plugins

web:
  enable: true
  title: Ingenuity NPM Repo
  gravatar: true
  darkMode: true
  scope: "@quest"
  showInfo: false
  showSettings: true
  showFooter: true
  showSearch: true
  showDownloadTarball: true
  showRaw: false
  logo: http://<IP_ADDRESS>:8082/images/logo.png
  favicon: http://<IP_ADDRESS>:8082/images/favicon.ico
  pkgManagers:
    - npm

auth:
  htpasswd:
    file: ./htpasswd
    # Maximum amount of users allowed to register, defaults to "+inf".
    # You can set this to -1 to disable registration.
    # max_users: 1000
    # Hash algorithm, possible options are: "bcrypt", "md5", "sha1", "crypt".
    algorithm: bcrypt # by default is crypt, but is recommended use bcrypt for new installations
    # Rounds number for "bcrypt", will be ignored for other algorithms.
    rounds: 10

packages:
  '@quest/*':
    # scoped packages
    access: $authenticated
    publish: arathore
    unpublish: arathore

# You can specify HTTP/1.1 server keep alive timeout in seconds for incoming connections.
# A value of 0 makes the http server behave similarly to Node.js versions prior to 8.0.0, which did not have a keep-alive timeout.
# WORKAROUND: Through given configuration you can workaround following issue https://github.com/verdaccio/verdaccio/issues/301. Set to 0 in case 60 is not enough.
server:
  keepAliveTimeout: 60

middlewares:
  audit:
    enabled: true

security:
  api:
    jwt:
      sign:
        expiresIn: 360d
        notBefore: 1
    web:
      sign:
        expiresIn: 360d

# log settings
logs: { type: file, path: verdaccio.log, format: pretty-timestamped, level: http }

listen: <IP_ADDRESS>:4873

# experiments:
#  # support for npm token command
#   token: false
#  # support for the new v1 search endpoint, functional by incomplete read more on ticket 1732
#   search: false
#  # disable writing body size to logs, read more on ticket 1912
#   bytesin_off: false

Thanks, I'll work on this and just wait the next release, when is ready I'll post here again.

https://github.com/verdaccio/verdaccio/releases/tag/v5.21.2


Right way to set up STRAPI_URL in .env

How do I use STRAPI_URL ? I have tried the following:
File .env:
STRAPI_URL="http://localhost:1337"

File .env.production:
STRAPI_URL="https://my-app.herokuapp.com/"

In nuxt.config.js I have first tried to set env property and the new runtime config:
env: {
  STRAPI_URL: process.env.STRAPI_URL || 'http://localhost:1337',
},

publicRuntimeConfig: {
  STRAPI_URL: process.env.STRAPI_URL,
},

Then I have also tried the url option:
strapi: {
  url: process.env.STRAPI_URL || 'http://localhost:1337',
},

It doesn't work, $strapi is always doing calls to localhost:1337.

@baermathias You can just set STRAPI_URL=https://my-app.herokuapp.com in your .env file and it should work.

In my .env.production ? Or how would I specify which url is loaded into the prod environment?

Nuxt does not support .env.production @baermathias
You need to directly add it to .env or in your hosting provider.

I think I needed to put
require("dotenv").config();

on top of nuxt.config.js. Then, referenced the URL like this (in this case for the auth module):
`${process.env.API_AUTH_URL}/auth/local`

@Atinux Thank you for the answer, but if I add my constants directly to .env, how do I specify different values for different environments in this one file?? My solution is now to use a js file instead of .env:
// env.config.js - all the env constants with their different values (depending on the env)

const configs = {
  development: {
    BASE_URL: "http://localhost:1337",
    STRAPI_URL: "http://localhost:1337",
    MEDIA_CDN: "http://localhost:1337"
  },
  staging: {
    BASE_URL: "https://....herokuapp.com",
    STRAPI_URL: "https://....herokuapp.com",
    MEDIA_CDN: "https://....s3.eu-central-1.amazonaws.com"
  },
  production: {
    BASE_URL: "https://....herokuapp.com",
    STRAPI_URL: "https://....herokuapp.com",
    MEDIA_CDN: "https://....s3.eu-central-1.amazonaws.com"
  }
}

const nodeEnv = process.env.NODE_ENV
module.exports = configs[nodeEnv]

// nuxt.config.js - now you can use all the constants (with the considered env) in different places

const {BASE_URL, STRAPI_URL, MEDIA_CDN} = require('./env.config')

export default {
  env: {
    BASE_URL,
    MEDIA_CDN
  },
  publicRuntimeConfig: {
    BASE_URL,
    MEDIA_CDN
  },
  privateRuntimeConfig: {
    // ...
  },
  strapi: {
    url: STRAPI_URL
  },

@luixal you don't need to require('dotenv'), Nuxt does it for you.
@baermathias This is a valid solution, keep in my mind that you may expose sensitive information to git if this file is not gitignore

@Atinux right, it isn't need. I would assure I had to add it once, but I can confirm it's working without :)


x/tools/gopls: intra-file references broken in standalone packages

In standalone main packages (e.g. //go:build ignore), rename works but surprisingly intra-file references appear not to work.
Have not yet investigated why.

Err, I can't reproduce this. Not sure what I was seeing before.


Scroll with Arrow Keys

Is there an option to scroll with Arrow Keys? Looks like the vanilla JS plugin allows scrolling with Arrow Keys.

I need this as well!


Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform

following #64021
related issue #64456 (Fix the issue but the issue is for 3.5 so not really a fix to this issue)
After a thorough check of all instances where CTRL is used(is_ctrl_pressed(),Key::CTRL and KeyModifierMask::CTRL) i have sorted the uses in multiple categories here in this PR are three categories where i think modifications should be done :

the first commit consist on modification that aims for better readibility and a clearer code. This is mostly replacing places where CMD_OR_CTRL was reimplemented on the fly and remove him from places where he was checked in conjonction with both CTRL and META
the second commit consist on modification that are needed because the use of CTRL is either preventing MacOS user from using the functionality or makes it inconsistent with either what is said or what is already done else where.
the last commit is about modified actions for dropping when CTRL is pressed. This functionality is used consistently with ctrl but on mac. it seems CMD would be more appropriate especially since you might start pressing the modifier button when starting to drag.

There are a few other places where CTRL is used and i think it should stay like this but i'm not entirely sure see here for all places:

snapping : it is pretty clear when you press control it activates a snap. I think it should stay as CTRL but this is the one i'm the least sure of.
zoom with CTRL+ SCROLL: when scrolling pressing CTRL will enables you to zoom. This is better as CTRL as this is fundamentally not a MacOS way to do it. Therefore even on mac if i think of doing it i would use CTRL as if i was on a windows.
one case where pressing control would switch between scroll and pan movements. I was not sure about this one but it seemed similar to zooming as i would look for CTRL instead of CMD

The problem here is that i currently have only my experience and what feels right to me. So i would really like the opinion of other MacOS users on the subject.
Left to do (maybe another PR):

[x] check all documentation linked to CMD_OR_CTRL to add it is CMD if it is not already done (edit : did everything in the editor part might do the documentation part later)
[x] rename is_command_or_control_pressed() to is_cmd_or_ctrl_pressed()to be more in line with other similar functions (is_ctrl_pressed())

CC @bruvzg

Thanks!


Simple Choices Validation error message could be clearer

>>> choices = validators.Any(["choiceA", "choiceB", "choiceC"])

>>> Scheme(choices).validate("choiceA")
'choiceA'

Instead of:

>>> Scheme(choices).validate("hello")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: value did not pass any validation

This would be clearer

>>> Scheme(choices).validate("hello")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: value was not one of "choiceA", "choiceB", "choiceC".

Any validator is a generic validator (Simple list of string choices is only one of the possibilites here). Following example demonstrates what i mean:
lambdas = validators.Any([lambda x: x > 100, lambda x: x < 0, "hello", {str: int}])

In above example, a value will be validated to true in any of the following case:

If value is an integer greater than 100
If value is an integer less than 0
If value is string "hello"
If value is a dict with string keys and integer values

Printing out "value was not one of " followed by the above list would be cryptic since it would print out lambda functions and dicts in the error message
Also, if the list of validators is very long, error message would end up being long too.

In which case something like::
Value was not one of "x > 100", "x < 0", "hello", "{str: int}"

Would be clearer.
(code inside lambdas can be extracted using the inspect module.)

Also, if the list of validators is very long, error message would end up being long too.

So truncate?

Yes both are possible and I too believe that the error message for Any validator would be better that way.. I did not get enough time to format it. So it is left as it is. That said, if someone adds this and creates a PR, I would happily merge it.


Lazy fields

Discord's new "lazy guild" backend behavior has added guild_id to several objects, as well as a partial GuildMember object to messages.
Sample JSON with message.guild_id and message.member: https://gist.github.com/z64/7f6c07584c20868201f9f85dc2e74b57
This isn't officially documented yet; I've implemented these fields from a similar commit to disco-py from b1nzy. On that note I'm not 100% sure on the nilability of PartialMember fields, but I've got a test bot running on DAPI for a bit now with no issues reported.
This also adds caching of a messages author and member if possible, which we probably do want in order to cache invisible users that we may not have otherwise observed at all yet in any other cached event.

Rebased this for conflicts.
There is another G250K change: Message#mentions are now Array(User) that may contain a PartialGuildMember field. This is only filled in the MESSAGE_CREATE event. I've just added this to User:
 @mentions=
  [Discord::User(
    @avatar="208bcfc90f49915f25ec3808dcfa0f85",
    @bot=true,
    @discriminator="3729",
    @email=nil,
    @id=Discord::Snowflake(@value=213450769276338177_u64),
    @member=
     Discord::PartialGuildMember(
      @deaf=false,
      @joined_at=2016-10-24 17:01:33.196000000 +00:00,
      @mute=false,
      @nick=nil,
      @roles=
       [Discord::Snowflake(@value=226855600586358785_u64),
        Discord::Snowflake(@value=240172879361212416_u64),
        Discord::Snowflake(@value=244951251865960449_u64),
        Discord::Snowflake(@value=284014636582567936_u64)]),
    @mfa_enabled=nil,
    @username="Hornet",
    @verified=nil)],


Dock is 'global' and does not play well with other docks

Put a dock on the left, put one on the bottom. They overlap.
If the panel is contained within its parent and is not globally positioned, this will work.
Do you think this scenario should be supported?

I'm not sure it will work nice, actually.
Also it's not supposed to be on screen permanently, I think, so it's probably better to show one dock at a time, not both of them simultaneously.
(and I'm definitely don't want to build some complicated non-overlapping system like http://www.dockspawn.com/)

My use case is: three panels, left, right, bottom. Always on screen, but resizeable.
That is why it doesn't work for me;)
Willing to help with PRs if that is a direction you move to.
Or I'll just create a new component that is more in line with what I need. ;)

Yeah, I suppose you just need a resizable component, not a "dockable" one, so it's a different case. I wouldn't mind a PR though, if you think it could be applied here, but I would start with a new component.


.scatter method does not take lists as input for "s" or "size" parameter

Hello, thank you for this amazing library. Very much like the matplotlib interface. I was wondering if there is a way that the .scatter method accepts a list/tuple as input for the "size" parameter.  In matplotlib scatter plots the "s" parameter accepts lists, so that the bubble size can be adjusted for each datapoint. This would also be a great feature for gmplot. Regards, Johannes

That would be a great addition. Would you be interested in coding that up
and submitting a pull request? I might be able to do it, but not
particularly soon. Feel free to poke me about it again if I haven't done
anything in a few weeks.
Michael Woods
On Jul 31, 2016 4:22 PM, "bockjo"<EMAIL_ADDRESS>wrote:

Hello, thank you for this amazing library. Very much like the matplotlib
interface. I was wondering if there is a way that the .scatter method
accepts a list/tuple as input for the "size" parameter. In matplotlib
scatter plots the "s" parameter accepts lists, so that the bubble size can
be adjusted for each datapoint. This would also be a great feature for
gmplot. Regards, Johannes
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vgm64/gmplot/issues/20, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABml05FRsO7i6yDFgqpmRCAG6zVzgPkvks5qbS4sgaJpZM4JZJXU
.

def scatter(self, lats, lngs, sizes, color=None, marker=True, c=None, **kwargs):         color = color or c         args["color"] = color         settings = self._process_kwargs(args)         #print kwargs         for lat, lng, size in zip(lats, lngs, sizes):             if marker:                 self.marker(lat, lng, settings['color'])             else:                 self.circle(lat, lng, size, **settings)

def scatter(self, lats, lngs, sizes, color=None, marker=True, c=None, **kwargs):         color = color or c         kwargs["color"] = color         settings = self._process_kwargs(kwargs)         for lat, lng, size in zip(lats, lngs, sizes):             if marker:                 self.marker(lat, lng, settings['color'])             else:                 self.circle(lat, lng, size, **settings)


[determinism] Add v2.8 release notes

Add op-determinism changes to the version 2.8 release notes in the master branch (prior to the r2.8 branch cut).
@reedwm, please will you review. This is not much different than the notes for version 2.7. I'm wondering if there any additional enhancements in version 2.8 that I'm not yet aware of.

Yesterday I added a brief section in the release notes, in d5b368107de08b6b55b6685b4eec72dab1b8e677, but it doesn't list the 2.7 changes. I don't think it is worth listing the 2.7 changes for TF 2.8 despite having not listing them in the TF 2.7 release, since there are no known ops that are nondeterministic and do not raise an error. So users don't need to be aware of which ops are nondeterministic by reading the release notes, because they all should be deterministic. Granted, there are almost certainly bugs that still will cause nondeterminism, but hopefully such bugs will be rare.
I have a small XLA change that makes XLA aware of the TF global determinism variable, which will allow determinism to work correctly when tf.function(jit_compile=True) is used. I'm hoping it will be submitted within an hour of now, by the branch cut, and I'll let you know when it is submitted. I also added exceptions to some FakeQuant ops in ae1581faa8d7f24d7974c4021394bc559ed6110b. Unfortunately, my changes to make tf.data faster with determinism haven't landed yet.
Anyway, I'm happy to use your wording of the release notes, or keep my wording, but I don't think we should list 2.7 changes. It does make sense to mention the 2.8 changes though, so feel free to add those in, whether we go with my wording or yours.

I'm hoping it will be submitted within an hour of now, by the branch cut, and I'll let you know when it is submitted.

Actually looks like the change already landed 5 minutes ago, in 4dc6d4d59008b4558040afa1a5a5993f583bb48e.

@reedwm, I'm sorry I missed your addition to the release notes.
I have merged your change with mine in this PR. I have also added notes about the two changes you listed above. Thank you for sharing. I put it in the "Major Features and Improvements" section because it's a new, official API feature.
When possible, I would like to document the incremental changes for this functionality in the release notes. For example, some users are likely going to care, going forward, when an exception is replaced with an implementation. Also, if it makes sense to include the changes that are 2.8-specific then why not include the changes that were not reported for the 2.7 release? I tend to err on the side of being detail-oriented about tracking and reporting these changes because I'm trying to make this functionality as explicit and thoroughly documented as possible (for those who care), to minimize potential confusion.

Agreed we should document incremental changes. I was a bit reluctant to include 2.7 changes in the 2.8 release notes, but you're right that this makes sense since we didn't report them in 2.7.
I pushed a commit to this PR that keeps the enable_op_determinism function in the "Major Features" section but moves the individual op changes to the "Bug Fixes and Other Changes" section. Since determinism was previously inaccessible through a public API, the entirety of the determinism work can be considered a major new feature, so it's not worth listing the individual determinism changes in that section IMO.

We cut the branch for TF 2.8 now. Can you rebase this on r2.8 branch?
Apologies for the conflict, but if we keep this against master then the changes will be missed after the release when we merge the release notes from the branch back into master.

I think the PR author may be offline until January, and I'm not sure if it's possible for me to rebase a PR that I didn't author (although I can create commits). Can I create a cherrypick into 2.8 instead?
If necessary, I can create a new PR as well.

Yes, let's land in master and then do a cherrypick. Sorry it needs extra work, I should have checked these a few days ago

Thank you, @reedwm. Nice improvements. Also, thanks for making that cherry-pick happen. Note that some of the indentation got lost somewhere, which PR 53720 addresses.


how is csrf filter work,where is the token

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: One line description
Description:

Describe the issue.
how is csrf filter work,where is the token optional Relevant Links:]
Any extra documentation required to understand the issue.

Hi @13567436138 ,
The Envoy CSRF filter does not use a token pattern but instead uses an origin-based one. You can read more on the possible mitigation patterns and why we chose to rely on the origin as well as implementation details in the description of the original PR https://github.com/envoyproxy/envoy/pull/6470 :)


Highlight Connection after Opening in Sidebar

Bug description
When opening a connection from the server list, the "Servers" entry stays selected although the windows displays the actual shell. As a user I would expect, that the sidebar reflects the currently displayed connection.
Screenshots

Steps to reproduce

click an entry in the server list and select SSH

You're right Nils I need to fix it!
Now added to the plan

It's far better


Delete default Provisioning Parameters

Having the wrong provisioning_parameters.json file causes cluster creation to fail so we're removing the default one.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks!


Allow use with a non-bot api token

Some bots should talk like people.

Thanks!

cc https://github.com/slackhq/hubot-slack/issues/228 for tracking getting this released


Why is Papyrus a black box?

Describe your bug here.
So, in "To the Bone", when I play it on Normal difficulty, Papyrus turns into a black box. Not because my PC is slow or anything. It was running at a smooth 120 frames-per-second, so I don't know what the freak the problem is.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

Oh yeah I'm not making a mod

No it's not. It was running smooth, but it took a while to load.


Added A Readme to Tic-Tac-Toe

Hey @chicken-biryani @Ayushparikh-code
This PR will Resolve => Add Readme.md to Tictactoe Webapp #60
Please Review my PR

Very Good @Atif0604 !

Hey @Ayushparikh-code @chicken-biryani @harshita2216
Please Add LGMSOC21 label to this PR that it should be showing in the label section of PR as my PR is not being counted just because the LGMSOC21 label is not showed up in label section


23 Free won't start listener

Since the rebranding from 23c to 23ai, the older image has been removed and a new one made available. I had initialized a single-instance DB using the old image. Unfortunately I used the latest tag. When I started k8s on docker desktop after the rebrand, I noticed the new image has been pulled but it won't. I used kubectl describe and log commands and found out the following statements:
PS C:\Users\Admin> kubectl logs -f pod/oracle-db-5b1bm -n database
Defaulted container "oracle-db" out of: oracle-db, init-permissions (init), init-prebuiltdb (init)
Starting Oracle Net Listener.
Starting Oracle Database instance FREE.
Oracle Database instance FREE started.

Failed to start Oracle Net Listener using /opt/oracle/product/23ai/dbhomeFree/bin/tnslsnr and Oracle Database using /opt/oracle/product/23ai/dbhomeFree/bin/sqlplus.
ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID .
You can set ORACLE_BASE manually if it is required.
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /opt/oracle
/opt/oracle/setPassword.sh: line 28: sqlplus: command not found
ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID .
You can set ORACLE_BASE manually if it is required.
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /opt/oracle
/opt/oracle/checkDBStatus.sh: line 26: sqlplus: command not found
#####################################
########### E R R O R ###############
DATABASE SETUP WAS NOT SUCCESSFUL!
Please check output for further info!
########### E R R O R ###############
#####################################
The following output is now a tail of the alert.log:
FREEPDB1(3):Tablespace created: USERS ts# 6
FREEPDB1(3):Completed: CREATE SMALLFILE TABLESPACE "USERS" LOGGING  DATAFILE  '/opt/oracle/oradata/FREE/FREEPDB1/users01.dbf' SIZE 5M REUSE AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED  EXTENT MANAGEMENT LOCAL  SEGMENT SPACE MANAGEMENT  AUTO
FREEPDB1(3):ALTER DATABASE DEFAULT TABLESPACE "USERS"
FREEPDB1(3):Completed: ALTER DATABASE DEFAULT TABLESPACE "USERS"
ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE
Completed: ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE
2024-04-24T21:27:27.562404+00:00
ALTER SYSTEM SET local_listener='' SCOPE=BOTH;
ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE
Completed: ALTER PLUGGABLE DATABASE FREEPDB1 SAVE STATE

Here's my setup:
apiVersion: v1
kind: Namespace
metadata:
 name: database
---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: oracledb-vol
spec:
  capacity:
    storage: 100Gi
  accessModes:
    - ReadWriteOnce
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: "/run/desktop/mnt/host/d/dev/data/oradata"
    type: Directory
  storageClassName: hostpath
  volumeMode: Filesystem
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: oracledb-vclaim
  namespace: database
spec:
  resources:
    requests:
      storage: 100Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteMany
    - ReadWriteOnce
  volumeName: oracledb-vol
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
  name: db-admin-secret
  namespace: database
data:
  oracle_pwd: <REDACTED>
---
---
#
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#

apiVersion: database.oracle.com/v1alpha1
kind: SingleInstanceDatabase
metadata:
  name: oracle-db
  namespace: database
spec:

  ## Use only alphanumeric characters for sid
  sid: FREE

  ## DB edition
  edition: free

  ## Secret containing SIDB password mapped to secretKey
  adminPassword:
    secretName: db-admin-secret

  ## DB character set
  charset: AL32UTF8

  ## PDB name
  pdbName: FREEPDB1

  ## Enable/Disable Flashback
  flashBack: true

  ## Enable/Disable ArchiveLog. Should be true to allow DB cloning
  archiveLog: true

  ## Enable/Disable ForceLogging
  forceLog: true

  ## Enable TCPS
  enableTCPS: false

  listenerPort: 31521
  tcpsListenerPort: 31522

  ## Database image details
  image:
    ## Oracle Database Free is only supported from DB version 23.2 onwards
    pullFrom: container-registry.oracle.com/database/free:<IP_ADDRESS>
    prebuiltDB: true

  ## size is the required minimum size of the persistent volume
  ## storageClass is specified for automatic volume provisioning
  ## accessMode can only accept one of ReadWriteOnce, ReadWriteMany
  persistence:
    volumeName: oracledb-vol
    size: 100Gi
    storageClass: hostpath
    ## oci-bv applies to OCI block volumes. Use "standard" storageClass for dynamic provisioning in Minikube. Update as appropriate for other cloud service providers
    accessMode: ReadWriteMany

  ## Type of service . Applicable on cloud enviroments only
  ## if loadBalService : false, service type = "NodePort" else "LoadBalancer"
  loadBalancer: false

  ## Count of Database Pods. Should be 1 for express edition.
  replicas: 1

I have deleted the contents of the PV and restarted the pod. It created a new instance and is now running. How ever I have lost my data. It was OK with this test environment but I think an autonomous upgrade path should be incorporated into images.
Also digging through the alert logs I have noticed that domain name is predefined. Is there a way to join or initialize a DB to a domain so it could be monitored through cloud control?

@khooz which domain name are you referring to here? and what is it pre-defined as?

I have deleted the contents of the PV and restarted the pod. It created a new instance and is now running. How ever I have lost my data. It was OK with this test environment but I think an autonomous upgrade path should be incorporated into images.

If the database wasn't configured to use a persistent volume for its data, dropping/recreating the pod deletes the data. This is true of any database, not just Oracle. :)

Thanks @oraclesean

If the database wasn't configured to use a persistent volume for its data, dropping/recreating the pod deletes the data. This is true of any database, not just Oracle. :)

I have manually setup the PV to be retained.
as you can see here:
---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: oracledb-vol
spec:
  capacity:
    storage: 100Gi
  accessModes:
    - ReadWriteOnce
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: "/run/desktop/mnt/host/d/dev/data/oradata"
    type: Directory
  storageClassName: hostpath
  volumeMode: Filesystem
---

  persistence:
    volumeName: oracledb-vol
    size: 100Gi
    storageClass: hostpath
    ## oci-bv applies to OCI block volumes. Use "standard" storageClass for dynamic provisioning in Minikube. Update as appropriate for other cloud service providers
    accessMode: ReadWriteMany

It was working fine with image using 23c as brand (which is not available in the repository now). I have deleted and re-applied multiple times using the same image and PV before. I can do it now with 23ai too, but it seems there were no interoperability or upgrade path available.

There is no upgrade path for Free DB releases. Upgrade and patching are only supported with Enterprise edition.


Alternative class based API

Inspired by the typing goodness of useMethods, I've been using a modified version that works nicely with Typescript. I've been calling it useInstance :)
const state = useInstance(() => new CounterState());

And you define your state/actions in a single class:
class CounterState {

  nextId = 0;
  counters = [];
  updateCount = 0;

  addCounter() {
    this.counters.push({ id: this.nextId++, count: 0 });
  }
  incrementCounter(id) {
    this.getCounter(id).count++;
  }
  resetCounter(id) {
    this.getCounter(id).count = 0;
  }

  // "Dispatch" methods can call other private methods (and return values)

  private getCounter(id) {
    return this.counters.find(counter => counter.id === id);
  }

  // You can return the state to replace the state completely
  // Otherwise, do not return state (see immer for details)

  startOver() {
    return new CounterState();
  }

  // I've been playing with this idea..
  // A "magic" method that runs just before every dispatch end.

  beforeDispatchEnd() {
    this.updateCount++;
    console.log("Update done. Count: " + this.updateCount);
  }
}

What I like about this API:

wraps state together with the actions that modify it (love or hate it)
from "dispatched" methods, you can call internal/private methods (with return values)
works nicely with types/refactoring

Here's a demo (as a JS class, but intended for Typescript):
https://codesandbox.io/embed/usereducer-vs-usemethods-comparison-llmvr
As it's a little out of scope I was going to create a new project.. or ... would you be interested in integrating something like this?
Related #18 #2

Looks interesting; I wonder what the advantages/disadvantages of this approach are vs MobX. But yeah, I think it is out of scope for this library.


added schochastics.net

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the Cloudflare report
[x] This site is not an ultra minimal site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: mr.schochastics.net
  url: https://mr.schochastics.net/
  size: 226.44
  last_checked: 2024-09-09

Cloudflare Report: https://radar.cloudflare.com/scan/cd8718cc-cc94-4c64-8ad1-a0cebd2379f8/summary

Thanks!


updating the design of my profile card in admin panel as it not showing the username of the admin

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

in the my profile section in admin panel the card is not displaying the actual username of the admin which they have entered inside the update information

Describe the solution you'd like

ill add a username also in the card whose font would be smaller then the first name and second name and it will appear below the name
like this ill display the username

https://github.com/HITK-TECH-Community/Community-Website/assets/127100604/43e66202-f995-4431-a98c-3e62b445f0a4
Additional context
this is important as admin have to see there username frequently and they dont have that in profile card
assign me this under gssoc label
and can you please assign me this under level 2
Have you read the Code of Conduct?
yes

https://github.com/HITK-TECH-Community/Community-Website/issues/1042 this issue should cover it as that's thereason it was given level1.


Update: O(n) Time Complexity O(1) Space Complexity

This update optimizes the time and space complexity to O(n) and O(1) respectively.

Thank you Swapnanil for opening the first PR on this repository! Very much appreciated.
Can you add this solution as a different function with a comment that this is an optimised solution?
For example -
func isPalindromeOptimised(_ head: ListNode?) -> Bool {
// your solution
}

Will do!

Thank you so much @SwapnanilDhol! Keep contributing! :]


[MNT] address deprecation of skbase.testing.utils.deep_equals

This PR addresses deprecation (and removal in skbase 0.6.0) of skbase.testing.utils.deep_equals, by moving imports to the new location of the same module.

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (0df7c6c) 71.67% compared to head (1f9b66d) 69.71%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   71.67%   69.71%   -1.97%
==========================================
  Files          93       93
  Lines        4950     4949       -1
  Branches      900      900
==========================================
- Hits         3548     3450      -98
- Misses       1173     1275     +102
+ Partials      229      224       -5

Files
Coverage Δ

skpro/tests/test_all_estimators.py
84.05% <100.00%> (ø)

... and 6 files with indirect coverage changes

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


Docs: Remove indexBuckets, journalSize, doCompact, isVolatile from docs

Addendum to https://github.com/arangodb/docs/pull/565 and #12866
@jsteemann What about the --database.maximal-journal-size option?
Is it supposed to be removed as well, and hence this DocuBlock?
https://github.com/arangodb/arangodb/blob/devel/Documentation/DocuBlocks/databaseMaximalJournalSize.md
(referenced by arangodb/docs!)

For posterity: The server ignores additional parameters in the REST API, but unknown startup options are a fatal error. --database.maximal-journal-size should thus not be removed for compatibility. It was marked as obsolete, which means it won't show in docs and arangod will warn you if it's used.


Use cargo-tarpaulin instead of kcov

Coverage increased (+67.1%) to 67.097% when pulling 754b5900d272b685f718b67d30150f3849778632 on philipc:cov into 53d96eac196af9c7c2d21b400c19e7465f697744 on gimli-rs:master.


Force MSBuild (.sln, .vcxproj) to use embedded debug info (e.g. /Z7)

Some packages tend to setup custom PDB locations, hence "vcpkg" might not be able to pick them, thus storing the debug information "OldStyle" might be the best thing to do. E.g. your "/Z7" option.
Then there are packages, like directxtex, that are build using MSBuild, and while one can do various sed "s///g" tricks to patch it up, there is a more straightforward method of using Directory.build.props (and/or Directory.build.targets) file to achieve this. E.g. more documentation here: https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2017
So basically for DirectXTex, all I had to do was to place this file (Directory.build.props) in the "src/" folder - e.g. "src/jul2018-abacbbcd72/Directory.build.props" with these contents:
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemDefinitionGroup>
    <ClCompile>
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
    </ClCompile>
  </ItemDefinitionGroup>
</Project>

What would be the best way to go with such patch? Should VCPKG itself be patched, or do it per package?
NOTE: DirectXTex would still include a .pdb reference to the file, but the debug information would be in the .obj/.lib file (that's because a
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
was specified in there, so not completely clean, but no actual .pdb files got regenerated.

In the mean time, I've found this trick, which ChakraCore is using (on a side note, having all ports file as local makes it real easy to dig for such things, workarounds, etc. So another BIG PLUS for vcpkg in that respect).
https://github.com/Microsoft/vcpkg/blob/master/ports/chakracore/portfile.cmake#L33
specifying this file: https://github.com/Microsoft/vcpkg/blob/master/ports/chakracore/no-warning-as-error.props
so I'll use this for my local directx patch, but not sure if I propose the same would be good, or just not have VCPKG to do it for all. Looks like there are 30 packages out there using "vcpkg_build_msbuild" so they might benefit too.

This issue hasn’t been updated in a year; if it is still an issue, please reopen.

This is still an issue, for reference, but I've figured out a workaround.
The core issue which I had is that .pdb files are not copied with .lib files, so you get the dreaded "linking without debugging information" warnings. This is because vcpkg_copy_pdbs is kinda dumb, and only copies .pdb files for .dll's (not .lib's).
Workaround, as promised:

Add SKIP_CLEAN option to vcpkg_install_msbuild command
Add the following code (or variation) to the portfile.cmake for your library after the build:

if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
    set(BUILD_TREE_PATH ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel)
    file(GLOB_RECURSE PDB_FILES ${BUILD_TREE_PATH}/*.pdb)
    if(PDB_FILES)
        file(COPY ${PDB_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
    endif()
endif()

if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
    set(BUILD_TREE_PATH ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg)
    file(GLOB_RECURSE PDB_FILES ${BUILD_TREE_PATH}/*.pdb)
    if(PDB_FILES)
        file(COPY ${PDB_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
    endif()
endif()

Add vcpkg_clean_msbuild() to the bottom of the port file

Note: Code sorta exposes a leaky abstraction, since you need to pull the .pdb files from the msbuild script tree, but there doesn't appear to be a supported alternative method to fix the issue. Also, no promises this will work for all libraries, of course.
It might be nice to add an option/script to allow this via a simple option passed to vcpkg_install_msbuild(), but I'm not exactly important enough to make that type of change.


define a value for metadata "CopyLocal"??? (reopening)

NOTE: I am reopening this issue ...
When I build my project in Release mode, I get the following error:
The item "C:\ ... \X_Solution\packages\BouncyCastle.1.8.2\lib\BouncyCastle.Crypto.dll" in item list "ReferencePath" does not define a value for metadata "CopyLocal".  In order to use this metadata, either qualify it by specifying %(ReferencePath.CopyLocal), or ensure that all items in this list define a value for this metadata.
I did not get that error when I was building in Debug mode,
I thought that I had resolved this by migrating from packages.config management format to the PackageReference format, but I had to roll that back because it caused other problems.
This is a WPF app, on a Windows 10 system, with Visual Studio 2017 Community.
Any assistance with this would be appreciated.
THANKS!

BouncyCastle.Cryptography is being used by MailKit. I have updated MailKit, which updated BouncyCastle.Cryptography. This is my error now:
The item "C:\ ... \X_Solution\packages\BouncyCastle.Cryptography.2.2.1\lib\net461\BouncyCastle.Cryptography.dll" in item list "ReferencePath" does not define a value for metadata "CopyLocal".  In order to use this metadata, either qualify it by specifying %(ReferencePath.CopyLocal), or ensure that all items in this list define a value for this metadata.

SOLVED with this:

https://stackoverflow.com/a/70591425

false

******************************************************
Placed within  tag of .csproj.


Starscream.WSError Error 1

I use socektio-swift to do socket connection. But some online users always can not create a socket connection. I print the log which says "Starscream.WSError Error 1". I find socketio-swift use your library. So any advises about this error.
Most of the users are good. Only a few ones get this error.

The issue is that WSError always gets logged as error 1 because it doesn't adopt either CustomNSError or LocalizedError. I'm not sure if it should adopt LocalizedError at least with the current descriptions it provides since they aren't directed towards end users, but here's what it would look like:
// public enum ErrorType: String, Error { ...

public struct WSError: Error, CustomNSError, LocalizedError {
    public let type: ErrorType
    public let message: String
    public let code: Int

	public var errorDescription: String? {
		return message
	}

	public var errorCode: Int {
		return code
	}

	public var errorUserInfo: [String: Any] {
		[
			"type": type.rawValue
		]
	}
}

Services like Crashlytics use errorUserInfo so it's always good to map error details into that format.


Report View disappears when manipulating table data

There doesn't appear to be any way to get Report Viewer back once it's gone.  I went to edit table data and now the left-navigation just shows tables.  But, I want the left-navigation that defaults on Power BI Desktop when opening existing Power BI file.
"You can switch between Report View, Data View, and Relationship View by selecting the icons in the left-hand navigation bar:"  How do users get this view back if it disappears.  This has happened a few times.
May also be worth mentioning this on this page since it's the only page "Report View" is discussed, seemingly.
Thanks,

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

ID: 2f750471-143b-f0fe-3d92-0bdaaa06dcc1
Version Independent ID: 66cc67fb-28ff-4a0c-34f0-f688369cc15c
Content: Report View in Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-report-view.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @awentzel . This issue has been assigned to the doc author for review.

Thanks for posting @awentzel - I haven't seen or heard of the Report view disappearing (it is a selection found on the left side of the canvas), so it appears this may be a support issue that should be taken up, for further investigation, rather than a documentation issue.
You might find a solution in the Power BI Community, found at https://community.powerbi.com. If not, you can get support by going to https://support.powerbi.com.


PLAT-126934: Support scroll by hover

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[x] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
New UX requirement to scroll a list by hover.
Resolution
Implemented a new feature.
Additional Considerations
Links
PLAT-126934
Comments

I found two issues.

focus is disappeared when pressing 5way up or down to the scrolling direction by hover.
The reproducibility is very rare but the focus doesn't blur when scrolling by hover.
If you can fix this in this PR, please do. If not, let's create another ticket.

The first issue looks like an issue of asynchronous scroll position between threads inside renderer as it is not reproducible in translate mode and the symptom is a kind of delayed stopping.
The second issue is rarely reproduced in a PC environment, and it looks not possible to happen in a real device as the reproducing steps require a very rapid input type changing like pointing-key-pointing which is not possible in a target device.

I think we have ui test failure from this branch. Please take a look.
 1) with spottable should set correct focus after Page Up [ENYO-6281]
[chrome 79.0.3945.88 Linux #0-25] button 1 has focus again: expected false to be true
[chrome 79.0.3945.88 Linux #0-25] AssertionError: button 1 has focus again: expected false to be true
[chrome 79.0.3945.88 Linux #0-25]     at Context.<anonymous> (/home/jenkins/workspace/enact-ui-tests/sandstone/tests/ui/specs/Scroller/WithSpottable/ScrollerWithSpottable-specs.js:27:83)

Good catch! Thank you. It was an issue of UI test app which uses two classes having a conflict CSS attribute value at the same time. In this case, the definition order of classes can affect the result.


Support for InvokeModelWithResponseStream param in invoke_model and InvokeModelWithResponseStream in Bedrock

Describe the feature
AWS Bedrock now supports LLM prompt caching (as a beta feature) and it added a new explicitPromptCaching parameter to invoke_model and invoke_model_with_response_stream. But this param is not yet reflected in the boto request shape so trying to use the param fails validation. It would be great if we could add it!
Use Case
We'd love to use the new bedrock prompt caching feature to reduce time to first token.
Proposed Solution
Add explicitPromptCaching to InvokeModelRequest and InvokeModelWithResponseStream in botocore/data/bedrock-runtime/<date>/service-2.json.
Other Information
No response
Acknowledgements

[X] I may be able to implement this feature request
[ ] This feature might incur a breaking change

SDK version used
1.35.*
Environment details (OS name and version, etc.)
Any environment

Thanks for reaching out. Here are the Bedrock docs on prompt caching: https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html, where it currently notes at the top:

Amazon Bedrock prompt caching is currently only available to a select number of customers. To learn more about participating in the preview, see Amazon Bedrock prompt caching.

For now you can request access to the prompt caching preview in order to try using this feature. Since the Bedrock team owns the upstream InvokeModel API that the Boto3 invoke_model command calls, new features must be supported by service APIs in order for SDKs like Boto3 to access them. Please stay tuned to the blog and CHANGELOG for updates.


Psych engine crashes when playing a song, help :((

Describe your problem here.
So I have this copy of psych engine 0.5.1 which i'm using for a mod, it uses source code and everything
Like 2 days ago I compiled it for something and when I try to play a song the game just crashes, even though I didn't even edit anything in the source, tho I do think it has to do with the source
And it happens literally in every song, not just the ones from the mod
if anyone knows a solution please tell me, I don't want this to happen again :((
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
just healthicon.hx, main.hx, titlestate.hx, playstate.hx, and creditstate.hx

Can you display the Terminal/Prompt when the game crashes?

Just as Max said previously, could you show Terminal when the game crashes and the line of code that is faulty if possible (given that it's a syntax error). Thank you 👍


Moved pull implementation from stream.hpp to new file pull.hpp

This is a more major refactoring of stream.hpp, which is why I'm doing it on it's own branch, and initiating a pull request. This branch splits the implementation of stream and pull into separate files. It also removes the function pull.toStream(), which just invoked stream's constructor. This created an unnecessary cyclic dependency between the two classes. All instances of pull.toStream() were replaced with a direct call to streams constructor.
Questions:

What is bot (declared as an empty union), and how does it differ from top (declared as using top = std::monostate)?
Can we remove eff.hpp? It doesn't seem to do anything. It contained the definitions for bot and top, but I moved those into stream.hpp and pull.hpp respectively.

top = top type, meaning it has only one inhabitant. An example of top is a struct with no fields. The only inhabitant is the single empty struct.
bot = bottom type, meaning it has zero inhabitants. An example of bot is a union with no entries. There's no way to initialize this union. (So, a task<bot> is a task that never completes. A vector<bot> can only ever be an empty vector. Etc.)

Regardless, pull should not be exposed as a primary type. I will explain why in tidy/stream.docs.


Expose the 'extra' parameter in PrerecordedTranscriptionOptions

Proposed changes
I propose adding an Extra property to the  PrerecordedTranscriptionOptions class that allows users of the SDK to include additional metadata in the request with the expectation that it will be echo'd back to them in the response. This is already a feature of the REST API, just needs to be exposed in the SDK.
Context
From https://developers.deepgram.com/docs/extra-metadata:
"Extra Metadata allows you to label your requests for the purpose of identification in downstream processing. Deepgram’s Extra Metadata feature allows you to attach arbitrary key-value pairs to your API requests that are attached to the API response for usage in downstream processing.
Extra metadata is limited to 2048 characters per key-value pair."
This feature is critical to our processing pipeline.

This should have been addressed in the Prerecorded Audit.
https://github.com/deepgram/deepgram-dotnet-sdk/blob/main/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs#L99
Will be available on the first release of v4.


Fix page reload when navigating to sub-level menu

Your website is a SPA, so when we want to navigate there is no page reload.
However, after setting up nextra, I found that the page was reloading in some case. Here is an example :

When I navigate in top-level documentation (from Introduction to Test page), the page is not reloaded.
However when I navigate to sub-level documentation (from Introduction to Example > Installation page), the page is reloaded.

please share reproduction

closing due lack of repro


resourceTags is not working

resourceTags is file tag that used by on-demand resource.
It seems look the xcodegen completes successfully, but the pbxproj is not generated correctly.
It have two issues.

Attribute key generated is knownAssetTags, but it should be KnownAssetTags. (Should be UpperCamel)

ASSET_TAGS was not generated.

Environment

XcodeGen 2.15.0
Xcode 11.4
Catalina 10.15.4（19E266）

project.yml
...
sources:
            - path: App
            - path: App/Resources/OnDemand.bin
              resourceTags: ["sample"]
...

XcodeGen output
...
attributes = {
    LastUpgradeCheck = 1020;
    TargetAttributes = {
        823176D8938E37592F637520 = {
            DevelopmentTeam = FBQ6Z8AF3U;
            ProvisioningStyle = Automatic;
            SystemCapabilities = {
                com.apple.Push = {
                    enabled = 1;
                };
            };
        };
        D174A26AB12AC2A0A8C9A735 = {
            DevelopmentTeam = FBQ6Z8AF3U;
        };
    };
    knownAssetTags = (
        sample
    );
};

...

1D59437662A80EB7180E6FD3 /* OnDemand.bin in Resources */ = {isa = PBXBuildFile; fileRef = 262FA0089849963171D62AB1 /* OnDemand.bin */; };

resourceTags source must have resources buildPhase.

UPDATE:
Should exclude resources another source.


[WIP] transpilation passes for dynamic circuits

Summary
This WIP intends to serve as a discussion for transpilation features that would make it easier to consume dynamic circuits. This pull request contains code for a prototypical example from Methodology for quantum logic gate construction on using dynamic feed-forward to swap the state of two qubits with the knowledge that one is in the |0> state (a non-exhaustive list of further examples follows):
Details and comments
We wish to swap a qubit in the |0> state with one in an arbitrary state |ψ>
|0>: ─X─
      │
|ψ>: ─X─

which can be implemented by measurement and feed-forward via
      ┌───┐        ┌──────────┐
|0>: ─┤ X ├────────┤0         ├ |ψ>
      └─┬─┘┌───┐┌─┐│          │
|ψ>: ───■──┤ H ├┤M├┤1 If_else ├ |0>
           └───┘└╥┘│          │
  c: ════════════╩═╡0         ╞
                   └──────────┘

where the controlled part of the if_else is
     ┌───┐
q_0: ┤ Z ├
     ├───┤
q_1: ┤ X ├
     └───┘

which both projects the top qubit into the correct state |ψ> and resets the bottom qubit.
As currently implemented, this PR creates a class ReplaceSwapWithZeroState that manages this substitution for two cases:

a node proceeding the swap is a DAGInNode (i.e., it has been initialized at the start of a circuit)
a node proceeding the swap contains a Reset instruction as its operation

However, an error arises when using substitute_node_with_dag because of the disagreement in the number of arguments of the swap (the 2 qubits to be swapped) and the mini_dag that contains the circuit to replace it with (which now includes a single-bit classical register that controls the feed-forward gates). As such, this method likely needs expansion to enforce agreement for quantum registers only, since a systematic replacement of static with dynamic circuit elements will necessitate more classical registers.

As a noise generation widget (suggested by @taalexander), one could introduce coherent error stochastically, for example by the following circuit that applies a phase of φ to the state |ψ> with probability α:

                   ┌───────┐
|ψ>: ──────────────┤ Rz(φ) ├
     ┌─────────┐┌─┐└───╥───┘
|0>: ┤ Ry(π*α) ├┤M├────╫────
     └─────────┘└╥┘ ┌──╨──┐
c: 1/════════════╩══╡ 0x1 ╞═
                 0  └─────┘

Repeat-until-success for state preparation and Non-deterministic decomposition of single-qubit unitaries
Generation of highly entangled (i.e., GHZ/cluster states) with auxiliary qubits as in Persistent entanglement in arrays of interacting particles
Dynamic circuits can be inserted in circuits and used as a resource for many-body physics, as in Characterizing a non-equilibrium phase transition on a quantum computer, and Quantum Convolutional Neural Networks where QCNN (requiring dynamic feed-forward) implement the time-reverse of the MERA circuits (that require a known initial state)
General nonlinear transformations involve both quantum circuits and classical post-processing, and some algorithms have recently been proposed in On nonlinear transformations in quantum computation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

59 of 64 (92.19%)  changed or added relevant lines in 8 files are covered.
17 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.003%) to 85.282%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/algorithms/utils/assign_params.py
8
9
88.89%

qiskit/algorithms/eigensolvers/numpy_eigensolver.py
2
4
50.0%

qiskit/algorithms/time_evolvers/trotterization/trotter_qrte.py
34
36
94.44%

Files with Coverage Reduction
New Missed Lines
%

qiskit/algorithms/time_evolvers/trotterization/trotter_qrte.py
1
96.2%

qiskit/circuit/library/pauli_evolution.py
2
96.61%

qiskit/algorithms/time_evolvers/variational/solvers/var_qte_linear_solver.py
3
93.18%

qiskit/transpiler/coupling.py
4
93.94%

qiskit/transpiler/passes/utils/gate_direction.py
7
95.24%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
67275

Relevant Lines:
78885

💛  - Coveralls

Hi @nbronn, it looks like this PR covers several different features and bug fixes. In order to clarify things it might be better to split it up into separate PRs somewhat along the lines of what's described in your release notes but also adding the ReplaceSwapWithZeroState pass you describe in the Summary. Thanks!

Thanks for the reply @ewinston. The PR does include several topics, and in a way I was trying to make this WIP a clearinghouse of things that need to be added to DAG circuits/nodes in order to support these enhancements. To that end, I will include some details regarding the specific need to add ClassicalRegisters to DAGOpNodes below, and can spin these off into separate PRs if you think that is more appropriate.
From an offline conversation with @jakelishman:
DAGOpNodes must have the same number of ins/outs as to not change dependencies in the data flow, and this is the essence of the issue with adding passes for converting between static and dynamic circuits. Basically these tasks require the addition of a temporary classical register that can be measured into and controlled from (in the sense the controller can read from the register) but is unavailable to end user because it is effectively internal memory. The addition of such a temporary register should not introduce any control flow because it would effectively be created just before measurement and destroyed upon completion of the if_test block. Then the ability of DAGOpNodes to include the addition of such registers needs to be added and that should allow flexibility of conversion.


Allow choosing learning and forwarding state during StopBridge

Hi,
In my system I must enforce, that during stopping the STP stack both forwarding and learning are disabled, as opposed to current implementation.
Since C disallows function overloading, I've added 2 parameters to the existing STP_StopBridge function.

In my system I must enforce, that during stopping the STP stack both forwarding and learning are disabled, as opposed to current implementation.
emphasis mine on my system)
learning and forwarding are STP-specific operational parameters. They are meant to be used for STP operation, not for other purposes. With other words, when STP is not running, they should keep their default state = enabled.
If you want to do something strange with them in your application (keeping them disabled is strange), then please do it in application-specific code, not in the STP-specific code. You can do that for example somewhere near your call to STP_StopBridge.
I won't be accepting this PR.

I see, that it is quite a domain-specific requirement. I will enforce it outside of the library scope.
Thanks for the response.


Hello, thank you very much for sharing TXMixer's multivariate prediction implementation. How is its performance?

Hi,
I have not properly benchmarked it and sadly can't provide you any numbers on the performance. I plan to benchmark the performance on the different ETT datasets, but I can't guarantee when I'll find the necessary time.
Best,
Konstantin

hello,
self.projection = (
nn.Linear(input_channels, output_channels)
if input_channels != output_channels
else nn.Identity()
)
def forward(self, x: torch.Tensor) -> torch.Tensor:
   """
        x: A 3D tensor with shape (N, C, L) where C is the channel dimension.
    """
    x_proj = self.projection(x)

are you sure the middle channel is C ？

hello, self.projection = ( nn.Linear(input_channels, output_channels) if input_channels != output_channels else nn.Identity() )
def forward(self, x: torch.Tensor) -> torch.Tensor:
   """
        x: A 3D tensor with shape (N, C, L) where C is the channel dimension.
    """
    x_proj = self.projection(x)

are you sure the middle channel is C ？

actually, shape is (N, L, C)


Add field to chant-search page to allow filtering by indexed/not-indexed

In an email from Debra:

We would like to be able to list sources for which we do not have an inventory (yet) and have this list be somewhat separate from the "regular" list of sources for which the contents are identified.
This would either be: i) 2 lists, or ii) 1 large list with the sources "with chants" as a subset -- is this possible? Is it possible to have it clear to the user of the site which sources have been inventoried and which not?

... all indexed sources have chants. So, if we can specify "with chants" then all sources could potentially be in the same list. ... I think a filter "with chants (inventoried)" / "without chants (not inventoried)" might be more what we are looking for.

In emails, I suggested:

Recently, I set up the feature on the chant search page where you can click on the column headers to reorder the search results - it allows you, for example, to bring all chants that have volpiano to the top of the page (see, for example, http://<IP_ADDRESS>/chant-search/?op=starts_with&keyword=remansit puer&order=has_melody&sort=asc ; note that this feature is up on our staging server, but not yet on the production server to which many people have the link)
On the page where sources are listed and can be searched, we have a chants/melodies column. Would it work to simply add this ordering feature to the sources page, which would allow people to pull sources with chants (this is equivalent to a source being indexed, correct?) to the top of the page and easily count them? A less preferred option could be to add a field to the top of the source-list/search page to filter by whether or not the source has at least 1 chant - would this do the trick?

Debra responded:

not all sources have melodies, but all indexed sources have chants. So, if we can specify "with chants" then all sources could potentially be in the same list.
I wonder about the ordering though, because I would want all sources "with chants" to show up in alphabetical order by siglum. It seems like this is a different sort, and one within a type of result I want.
I think a filter "with chants (inventoried)" / "without chants (not inventoried)" might be more what we are looking for. I probably also want to see all sources that are not inventoried too, and there may be hundreds more of these as our DACT Teams begin their work of collecting information about all known manuscripts and fragments of chant all over the world.

Anna suggested:

Depending on the number of un-indexed sources we are talking about, and what we want to do with them,  I wonder if a good solution to idea #1 would be to set up a sort of database-within-a-database solution like the Calvin Bower sequences (Debra's "two list" solution). Would it be possible to assign these sources to a third "segment"?  It would keep these unindexed sources out of the way of the indexed ones and let people do different things with them (which I find appealing). On the other hand, some sources might get indexed later, in which case we'd want them to show up in the first list--can a source ever change the segment it is in? Or belong to more than one segment? If not, maybe filtering one big list is the better option.


Dev kmr

I think the proposed changes here are good to go, but I'm leaving this PR in draft mode until I verify it won't break rickshaw.


How do I insert images? Gatsby makes me surprised

Hi!
Gatsby is partly easy to use. I'm surprised about images:  I insert an  in a Markdown blog post (gatsby-starter-blog clone) but Gatsby removes it. How can I prevent it from removing the image?
Then I try with: ![Kittens](./kittens-kittens.png), and then instead of insterting an , Gatsby inserts an  that links to undefined (404 not found), with some nested s inside with a background image, and finally an  with hardcoded width 590px and that I cannot style without adding !important.
I feel surprised about all this. Is the href="undefined" (mentioned above) link pehaps a bug? Am I not recommended to use  tags? What should I do instead when ![...](..) does those other weird (from my point of view) things? I want an  tag, and not in a .
Otherwise Gatsby works fine and I've started writing a plugin  :- )

image can be display when develop, but lost when build.there 're not images in the static folder.

I've fixed this issue here by updating gatsby-remark-images, after which my images were working but eventually become blurry. Not sure why since initially it worked. Either way, updating all other dependencies fixed that too.

Now I have the same issue again after deleting public/* since it didn't want to reload a image I updated.

Hey there! Figured I'd add my issue onto this existing one to reduce clutter.
I can't for the life of me figure out how to properly add an image to a blog post. I've been reading through issues here, on remark-images, and elsewhere for about an hour. Here's where I am:
I've added the images in question to the same folder as the index.md of the post itself. In the markdown I'm referencing those images like so:
![](animage.jpg)

It loads in the images, but they're very small tumbnails that can't be clicked. The documentation for gatsby-remark-images is spartan to say the least.

Check out the using-remark example site https://using-remark.gatsbyjs.org source code at https://github.com/gatsbyjs/gatsby/tree/master/examples/using-remark

But yeah, basically you need gatsby-remark-images and gatsby-plugin-sharp installed

@KyleAMathews It looks like both of those are loaded up and ready to go out of the box with gatsby-starter-blog.
That site is great! Have you thought about linking it in the documentation? Would really help an ex-Hugo user like my self.

Would love a link added! Plan is to sooner than later auto add links to example sites from package pages. But lots to do :-)


Document the required permissions for Elasticsearch

Requirement - what kind of business use case are you trying to solve?
As someone who is configuring Jaeger to connect to a secured Elasticsearch cluster, it would be very helpful to have it documented as to the specific permissions required to get Jaeger to successfully connect. Unfortunately, the errors thrown aren't terribly helpful.
Problem - what in Jaeger blocks you from solving the requirement?
Without specific documentation, it took quite a bit of trial and error to determine what privileges were required.
Proposal - what do you suggest to solve the problem or improve the existing situation?
Include a section in the ES plugin docs around how to create a role that satisfies the minimal requirements.

Here's an example role definition JSON for what worked for us.
{
"jaeger" : {
"cluster" : [
"monitor"
],
"indices" : [
{
"names" : [
"jaeger-"
],
"privileges" : [
"create",
"create_index",
"write",
"read"
],
"field_security" : {
"grant" : [
""
]
},
"allow_restricted_indices" : false
}
],
"applications" : [ ],
"run_as" : [ ],
"metadata" : { },
"transient_metadata" : {
"enabled" : true
}
}
}
The cluster level "monitor" right was what took quite a bit to figure out.
I'm happy to update the documentation files and send in a PR if it's helpful. Thanks!

@yardbirdsax thanks for posting the example.
@pavolloffay I am not that familiar with administering ES. Would  a file like this make sense as part of documentation, or in the code, next to our other ES tools?

+1 on documenting these
@yardbirdsax what plugin is this configuration for?
@yardbirdsax or @jaegertracing/elasticsearch do you know where are the Elasticsearch permissions documented? The latests dosc I found are for 2.2 https://www.elastic.co/guide/en/shield/2.2/privileges-list.html
Here is an example of SearchGuard for Jaeger https://github.com/openshift/origin-aggregated-logging/blob/master/elasticsearch/sgconfig/sg_roles.yml#L56, There will be a change to add cluster role MANAGE because of #1627

Permissions for Elasticsearch will rely on which permission plugin is used (if any - it's an optional thing). I'm guessing @yardbirdsax 's example is for the regular x-pack plugin, but there are tons of others in the ecosystem so it should probably be clearly documented which permission system the example config targets.

You’re correct that my example was for x-pack. Here’s a link with relevant information:
https://www.elastic.co/guide/en/elastic-stack-overview/7.2/security-privileges.html
@pavolloffay re the “manage” privilege: it looks like this is for index templates? As someone in an organization with strict security requirements, justifying giving the account this privilege when it (I think?) would only need it once to install the template would be a little tricky. Perhaps it should only attempt this when a flag is set, and manual steps to install the template once by an admin should be provided? Or at least fail gracefully and carry on if it doesn’t have that right? I haven’t dug into the change in detail, so apologies if it already does this. I can also comment on that issue too, depending on what you say here.

@yardbirdsax you brought a valid point that somebody might not want to add manage privilege for jaeger.
We could introduce a flag which would disable template creation. In that case it would be user responsibility to create the mappings manually before jaeger startup. The mappings are available here https://github.com/jaegertracing/jaeger/tree/master/plugin/storage/es/mappings so they are easily consumable.

{
    "cluster" : [
      "monitor"
    ],
    "indices" : [
      {
        "names" : [
          "jaeger-*"
        ],
        "privileges" : [
          "create",
          "create_index",
          "write",
          "read"
        ],
        "field_security" : {
          "grant" : [
            "*"
          ]
        },
        "allow_restricted_indices" : false
      }
    ],
    "applications" : [ ],
    "run_as" : [ ],
    "metadata" : { },
    "transient_metadata" : {
      "enabled" : true
    }
  }

Cluser permission manage_index_templates is required. Works for me:
POST /_security/role/jaeger
{
    "cluster" : [
      "monitor",
      "manage_index_templates"
    ],
    "indices" : [
      {
        "names" : [
          "jaeger-*"
        ],
        "privileges" : [
          "create",
          "create_index",
          "write",
          "read"
        ],
        "field_security" : {
          "grant" : [
            "*"
          ]
        },
        "allow_restricted_indices" : false
      }
    ],
    "applications" : [ ],
    "run_as" : [ ],
    "metadata" : { },
    "transient_metadata" : {
      "enabled" : true
    }
  }

With using above permissions I am getting error
jaeger-es-index-cleaner-1611532500-b657j   0/1     Error     0          9h
jaeger-es-index-cleaner-1611532500-fdtgx   0/1     Error     0          9h
jaeger-es-index-cleaner-1611532500-hpmkz   0/1     Error     0          9h
jaeger-es-index-cleaner-1611532500-mqbsb   0/1     Error     0          8h
jaeger-es-index-cleaner-1611532500-mtf5f   0/1     Error     0          8h

kubectl logs -n observability jaeger-es-index-cleaner-1611532500-4lb6z
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/curator/utils.py", line 642, in get_indices
    client.indices.get_settings(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 152, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/indices.py", line 719, in get_settings
    return self.transport.perform_request(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 392, in perform_request
    raise e
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 358, in perform_request
    status, headers_response, data = connection.perform_request(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 269, in perform_request
    self._raise_error(response.status, raw_data)
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/base.py", line 300, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.AuthorizationException: AuthorizationException(403, 'security_exception', 'action [indices:monitor/settings/get] is unauthorized for user [elastic-jaeger]')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/es-index-cleaner/esCleaner.py", line 112, in <module>
    main()
  File "/es-index-cleaner/esCleaner.py", line 30, in main
    ilo = curator.IndexList(client)
  File "/usr/local/lib/python3.8/site-packages/curator/indexlist.py", line 31, in __init__
    self.__get_indices()
  File "/usr/local/lib/python3.8/site-packages/curator/indexlist.py", line 66, in __get_indices
    self.all_indices = utils.get_indices(self.client)
  File "/usr/local/lib/python3.8/site-packages/curator/utils.py", line 653, in get_indices
    raise exceptions.FailedExecution('Failed to get indices. Error: {0}'.format(e))
curator.exceptions.FailedExecution: Failed to get indices. Error: AuthorizationException(403, 'security_exception', 'action [indices:monitor/settings/get] is unauthorized for user [elastic-jaeger]')

So added monitor to the Privileges.
        "privileges" : [
          "create",
          "create_index",
          "write",
          "monitor",
          "read"
        ],

With using above permissions I am getting error
jaeger-es-index-cleaner-1611532500-b657j   0/1     Error     0          9h
jaeger-es-index-cleaner-1611532500-fdtgx   0/1     Error     0          9h
jaeger-es-index-cleaner-1611532500-hpmkz   0/1     Error     0          9h
jaeger-es-index-cleaner-1611532500-mqbsb   0/1     Error     0          8h
jaeger-es-index-cleaner-1611532500-mtf5f   0/1     Error     0          8h

kubectl logs -n observability jaeger-es-index-cleaner-1611532500-4lb6z
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/curator/utils.py", line 642, in get_indices
    client.indices.get_settings(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 152, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/indices.py", line 719, in get_settings
    return self.transport.perform_request(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 392, in perform_request
    raise e
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 358, in perform_request
    status, headers_response, data = connection.perform_request(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 269, in perform_request
    self._raise_error(response.status, raw_data)
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/base.py", line 300, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.AuthorizationException: AuthorizationException(403, 'security_exception', 'action [indices:monitor/settings/get] is unauthorized for user [elastic-jaeger]')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/es-index-cleaner/esCleaner.py", line 112, in <module>
    main()
  File "/es-index-cleaner/esCleaner.py", line 30, in main
    ilo = curator.IndexList(client)
  File "/usr/local/lib/python3.8/site-packages/curator/indexlist.py", line 31, in __init__
    self.__get_indices()
  File "/usr/local/lib/python3.8/site-packages/curator/indexlist.py", line 66, in __get_indices
    self.all_indices = utils.get_indices(self.client)
  File "/usr/local/lib/python3.8/site-packages/curator/utils.py", line 653, in get_indices
    raise exceptions.FailedExecution('Failed to get indices. Error: {0}'.format(e))
curator.exceptions.FailedExecution: Failed to get indices. Error: AuthorizationException(403, 'security_exception', 'action [indices:monitor/settings/get] is unauthorized for user [elastic-jaeger]')

So added monitor to the Privileges.
        "privileges" : [
          "create",
          "create_index",
          "write",
          "monitor",
          "read"
        ],

fyi: i am using an aws-managed opendistro elasticsearch cluster (version 7.10) and the following permissions work for me:
{
  "description": "Jaeger permissions",
  "cluster_permissions": [
    "cluster:monitor/main",
    "indices:admin/template/put"
  ],
  "index_permissions": [
    {
      "index_patterns": [
        "*jaeger-*"
      ],
      "fls": [],
      "masked_fields": [],
      "allowed_actions": [
        "*"
      ]
    },
    {
      "index_patterns": [
        "*"
      ],
      "fls": [],
      "masked_fields": [],
      "allowed_actions": [
        "indices:admin/aliases/get",
        "indices:admin/rollover",
        "indices_monitor"
      ]
    }
  ]
}

these permissions are compatible with index prefixes and restrict permissions outside the jaeger indices to the bare minimum (as required by the current versions of jaeger-es-rollover and jaeger-es-index-cleaner).
however, i can only guarantee that jaeger-es-index-cleaner successfully executes against these permissions when there isn't anything to remove since i don't have anything to remove yet. 🤷♀
if anyone's interested... here's how you add the jaeger user to a 7.x opendistro elasticsearch cluster (with internal user database):
$ curl --silent \
       --user "admin" \
       --header "Content-Type: application/json" \
       --data @jaeger_role.json \
       --request "PUT" \
       https://jaeger1-elasticsearch.example.com/_opendistro/_security/api/roles/jaeger

$ curl --silent \
       --user "admin" \
       --header "Content-Type: application/json" \
       --data '{"password": "0penSes@me"}' \
       --request "PUT" \
       https://jaeger1-elasticsearch.example.com/_opendistro/_security/api/internalusers/jaeger

$ curl --silent \
       --user "admin" \
       --header "Content-Type: application/json" \
       --data '{"users": ["jaeger"]}' \
       --request "PUT" \
       https://jaeger1-elasticsearch.example.com/_opendistro/_security/api/rolesmapping/jaeger

(where jaeger_role.json contains the above permission spec)

Used mapping from @andy812 , thanks a lot.
Small addition:
view_index_metadata - is required for /jaegertracing/spark-dependencies job

One more addition, I've needed also "monitor" on the indices privileges. Th esCleaner failed otherwise with:
Traceback (most recent call last):
  File "/es-index-cleaner/esCleaner.py", line 112, in <module>
    main()
  File "/es-index-cleaner/esCleaner.py", line 30, in main
    ilo = curator.IndexList(client)
  File "/usr/local/lib/python3.9/site-packages/curator/indexlist.py", line 31, in __init__
    self.__get_indices()
  File "/usr/local/lib/python3.9/site-packages/curator/indexlist.py", line 72, in __get_indices
    self._get_index_stats()
  File "/usr/local/lib/python3.9/site-packages/curator/indexlist.py", line 149, in _get_index_stats
    iterate_over_stats(stats_result)
  File "/usr/local/lib/python3.9/site-packages/curator/indexlist.py", line 121, in iterate_over_stats
    for index in stats['indices']:
KeyError: 'indices'```

i ended up using opendistro's built-in index state management instead of jaeger-es-rollover and jaeger-es-index-cleaner and adjusted the permissions accordingly.
i have a write-up about it here in case anyone's interested.

Hello,
I tried the roles from this comment, but they did not work: https://github.com/jaegertracing/jaeger/issues/1691#issuecomment-827176019
Jaeger: 1.39.0
Elasticsearch: 7.17.8
But interestingly, I don't get any talking error message like: "this or this permission is missing". For me it comes to a connection error...
This is the role used for Elastic:
kind: Secret
apiVersion: v1
metadata:
  name: roles-secret
stringData:
  roles.yml: |-
    jaeger_writer:
      cluster: [ 'monitor', 'manage_index_templates' ]
      indices:
      - names: [ 'jaeger-*' ]
        privileges: [ 'create',
          'create_index',
          'write',
          'monitor',
          'delete_index',
          'view_index_metadata',
          'read' ]
        field_security:
          grant: ['*' ]
        allow_restricted_indices: false
      applications: [ ]
      run_as: [ ]
      metadata: { },
      transient_metadata: {
        enabled: true
      }

This leads to following error:
failed to create primary Elasticsearch client: health check timeout: no Elasticsearch node available
{"level":"fatal","ts":1671633125.2170196,"caller":"./main.go:82","msg":"Failed to init storage factory","error":"failed to create primary Elasticsearch client: health check timeout: no Elasticsearch node available","stacktrace":"main.main.func1\n\t./main.go:82\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.6.1/command.go:916\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.6.1/command.go:968\nmain.main\n\t./main.go:155\nruntime.main\n\truntime/proc.go:250"}

After switching to the default elastic-user, Jaeger is able to connect to Elastic.
If I curl the URL of elastic with the jaeger-user I receive the following error:
{
    "error": {
        "root_cause": [
            {
                "type": "security_exception",
                "reason": "action [cluster:monitor/main] is unauthorized for user [jaegertracing] with roles [jaeger_writer], this action is granted by the cluster privileges [monitor,manage,all]"
            }
        ],
        "type": "security_exception",
        "reason": "action [cluster:monitor/main] is unauthorized for user [jaegertracing] with roles [jaeger_writer], this action is granted by the cluster privileges [monitor,manage,all]"
    },
    "status": 403
}

Therefore, I think that at least the user with the associated roles was created correctly.
This is Jaeger:
apiVersion: jaegertracing.io/v1
kind: Jaeger
spec:
  agent:
    config: {}
    options: {}
    resources: {}
  allInOne:
    config: {}
    metricsStorage: {}
    options: {}
    resources: {}
  collector:
    config: {}
    kafkaSecretName: ''
    options: {}
    resources: {}
  ingester:
    config: {}
    kafkaSecretName: ''
    options: {}
    resources: {}
  ingress:
    annotations:
      kubernetes.io/ingress.class: nginx-internal
    enabled: true
    hosts:
      - <URL>
    openshift: {}
    options: {}
    resources: {}
    security: none
  query:
    metricsStorage: {}
    options: {}
    resources: {}
  resources: {}
  sampling:
    options: {}
  storage:
    cassandraCreateSchema: {}
    dependencies:
      resources: {}
      schedule: 55 23 * * *
    elasticsearch:
      name: elasticsearch
      nodeCount: 3
      redundancyPolicy: SingleRedundancy
      resources:
        limits:
          memory: 16Gi
        requests:
          cpu: '1'
          memory: 16Gi
      storage: {}
    esIndexCleaner:
      enabled: true
      numberOfDays: 7
      resources: {}
      schedule: 55 23 * * *
    esRollover:
      resources: {}
      schedule: 0 0 * * *
    grpcPlugin: {}
    options:
      es.server-urls: 'https://elasticjaegersearch-es-http.elastic-system.svc:9200'
      es.tls.ca: /es/secrets/ca.crt
      es.tls.enabled: 'true'
      es.tls.skip-host-verify: 'true'
    secretName: elasticsearch-jaeger
    type: elasticsearch
  strategy: production
  ui:
    options:
      dependencies:
        menuEnabled: false
  volumeMounts:
    - mountPath: /es/secrets/
      name: secrets
      readOnly: true
  volumes:
    - name: secrets
      secret:
        secretName: elasticjaegersearch-es-http-certs-public
status:
  phase: Running
  version: 1.39.0


Limit max length of indexation

We are waiting for a decision here.

Done in iota.go

Done in iota.go


React Native support?

Just want to confirm that this library has React Native support? I am assuming it should work fine since it’s purely TypeScript.

Yes. There is nothing that would prevent clientdb from working in react native.


Transparent Conduit Facade aren't showing conduits inside them sometimes

Issue Description:
I misunderstood Transparent Conduit Facades earlier and thought they weren't working: https://github.com/SleepyTrousers/EnderIO/issues/4093
I confused Glass with being a non-solid because it was transparent, so I thought Conduits weren't supposed to show through Transparent Conduit Facades painted with Glass.
Afterwards, I painted 2 new Conduit Facades, 1 regular and one transparent, with Glass. Both of them are now turning the Conduit invisible, even the Transparent Conduit Facade which didn't turn it invisible earlier. I tested this a 2nd time this and the same thing still happened.
What happens:
Transparent Conduit Facades are turning the Conduits inside them invisible, even though the Transparent wasn't earlier.
What you expected to happen:
Conduits to appear inside Transparent Conduit Facades painted with Glass
Steps to reproduce:

Paint a Transparent Conduit Facade.
Cover a Conduit with it.

Affected Versions (Do not use "latest"):

EnderIO: 3.1.156
EnderCore: <IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: <IP_ADDRESS>5

Your most recent log file where the issue was present:
https://gist.github.com/dragon3025/ad93b44fd5b6fc3b02714fbef04730b8
EDIT: I just loaded my world back up. The Transparent Conduit Facade isn't turning the conduit invisible anymore. Why did it in the first place?
EDIT: I reloaded the world and it's invisible again.

Your EnderIO version is outdated - can you try reproducing that with the latest version?

The newest version I can find for 1.10.2 3.1.173, but it's a beta version, are you saying to use that version?

yes

Thanks, I tested it out and it's working, and I haven't removed Optifine yet. If it messes up again, I'll remove Optifine first.


Internal handling of SOS Filter coefficients

When we generate SOS-Filter-objects cross-over networks or fractional octave filters, the SOS can have different lengths. Currently, we add dummy SOSs, i.e., [1, 0, 0, 1, 0, 0] to make everything equal length.
This would cause additional and unnecessary filtering, if scipy does not catch the case.
We could add [None, None, None, None, None, None] instead and catch the case in the process class methods.

I'm unsure about the None type in the arrays, as it would results in a numpy array with a different type (object arrays) rather than simple np.float arrays. I'll look for an alternate solution.

Closed in #64


Not showing check screen while search for binaries

Screen only appears after search routine.

Changed welcome screen. This is not needed anymore.


Yarn patches not being applied

After the update to yarn not all the npm package patches are being applied causing some old issues to resurface.

Tested on iOS v1.0.9-972. LSBC demo site is working again so our AFJ patch is being applied.


Additional fields in yml files

Will supplying additional fields in yml files cause unintended effects? Specifically, I would like to know whether adding a homepage field in organizing_committee.yml will create problems. E.g.,
- role: General Chairs
  members:
  - first_name: Tristan
    last_name: Naumann
    institution: Microsoft Research
    homepage: https://aka.ms/tristan
  ...

This is specifically so that we can use the same yml file as a _data file for Jekyll because it would be pretty cool if the same yml files could be used both for website and proceedings!

@mjpost do you think it can cause any issue in the ingestion process?

@mjpost will this cause issues in the ingestion process?

No, extra fields will not harm us. We only read the fields we care about. Add away!

Perfect! FYI this is very cool because it will allow us to use the same yml files to generate both the proceedings (https://github.com/naacl-2022/ClinicalNLP) and our website (https://github.com/clinical-nlp/clinical-nlp.github.io). Opens up a number of possibilities for future years.

No, it shouldn’t cause a problem.


Allow for custom labels

I can write a test as well but you can also demo here by choosing to pass in label prop or not: https://codesandbox.io/s/62k69jmj0n

Thx for your contribution! 💯
I would like to avoid passing all the the input props down into the component.
Because I think there are a lot more use cases apart from the label.
As stated yesterday I think we should go a more abstract route:
https://github.com/jonas-arkulpa/material-date-range-picker/issues/9#issuecomment-467221756
Have you got some ideas how we could make it this way?
My idea was to mimic the downshift api and just pass down patched versions of getLabelProps and getInputProps as render props.
This way anyone can use any input with the date picker.
Really like the code sandbox. Is it also possible to connect it to the example from the repository (to stay in sync)? Would like to add it here: https://github.com/geeofree/kalendaryo#examples

Here is an example that will stay up to date via npm: https://codesandbox.io/s/zwzo0qojyx
As for how to proceed with a more generic approach, I will defer to you on that. I am happy to contribute once you have an idea to move forward with. For now, I will remove label manually.

Hey Bryce Montano, sry for being silent regarding this topic for so long!
Have not intended to discourage you or diminish your work! Unfortunately I
haven't looked into the project for a while, as I do not use the picker
myself atm. Had quite clear ideas how I wanted to go with it back than.
Would be happy if someone else would take over the maintenance - especially
if the person themself uses the picker. ❤


PHP 8.0 Support

Good evening, since php 8 has been released, will this package be updated to support it?
Currently composer fails:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- neconix/yii2-oci8 1.1 requires php ^5.5 || ^7.0 -> your PHP version (8.0.0) does not satisfy that requirement.

Hi! I've not tested the package with PHP 8. If it works fine in your production environment please share feedback for me.

Hi there, It does not work with PHP 8 because of your dependency of yajra/pdo-via-oci8 being on version 1.
For it to work with PHP 8, you need yajra/pdo-via-oci8 version 3.0 that adds php 8 support -> https://github.com/yajra/pdo-via-oci8/releases/tag/v3.0.0


Clowder terms of service

https://terraref.ncsa.illinois.edu/clowder/tos

[x] ask Erika and Nadia for feedback
[ ] create shortened version referencing longer version
[ ] post shortened version in documentation, other locations

sent reminder to Erika

@robkooper  - I just sent you the comments from Todd.  Please respond directly to him and cc me and Erica.

@robkooper - what are you going to do?  Use the Clowder Terms of Service as is?

I showed David where he can edit license. He took clowder text and data sharing and combined into a single document.