When test， An exception has occurred, use %tb to see the full traceback.

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): I download code from https://github.com/tegg89/SRCNN-Tensorflow

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win 10 64 bits

TensorFlow installed from (source or binary): anaconda3 64bits  conda install

TensorFlow version (use command below): tensorflow-gpu 1.13.1

Python version: 3.6.8  spyder 3.3.3

Bazel version (if compiling from source):

GCC/Compiler version (if compiling from source):

CUDA/cuDNN version: CUDA 10.0.130  cudnn 7.3.1 installed via conda with tensorflow together

GPU model and memory: notebook gtx1060 3GB

You can collect some of this information using our environment capture script
You can also obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

Describe the current behavior
runfile('F:/F_coding/other/SRCNN-Tensorflow-master/main.py', wdir='F:/F_coding/other/SRCNN-Tensorflow-master')
C:\Users\myaccount\AppData\Roaming\Python\Python36\site-packages\h5py_init_.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
{'batch_size': <absl.flags._flag.Flag object at 0x000001A7E0DF4518>,
'c_dim': <absl.flags._flag.Flag object at 0x000001A7E6D0C390>,
'checkpoint_dir': <absl.flags._flag.Flag object at 0x000001A7E6D0C588>,
'epoch': <absl.flags._flag.Flag object at 0x000001A7E0DDEC18>,
'h': <tensorflow.python.platform.app._HelpFlag object at 0x000001A7E6D0C710>,
'help': <tensorflow.python.platform.app._HelpFlag object at 0x000001A7E6D0C710>,
'helpfull': <tensorflow.python.platform.app._HelpfullFlag object at 0x000001A7E6D0C780>,
'helpshort': <tensorflow.python.platform.app._HelpshortFlag object at 0x000001A7E6D0C7F0>,
'image_size': <absl.flags._flag.Flag object at 0x000001A7E0DF4908>,
'is_train': <absl.flags._flag.BooleanFlag object at 0x000001A7E6D0C630>,
'label_size': <absl.flags._flag.Flag object at 0x000001A7E175F6D8>,
'learning_rate': <absl.flags._flag.Flag object at 0x000001A7E6AABBE0>,
'sample_dir': <absl.flags._flag.Flag object at 0x000001A7E6D0C5F8>,
'scale': <absl.flags._flag.Flag object at 0x000001A7E6D0C438>,
'stride': <absl.flags._flag.Flag object at 0x000001A7E6D0C4E0>}
WARNING:tensorflow:From D:\scholarship\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From D:\scholarship\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\util\tf_should_use.py:193: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Use tf.global_variables_initializer instead.
[] Reading checkpoints...
WARNING:tensorflow:From D:\scholarship\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from checkpoint\srcnn_21\SRCNN.model-2550000
[] Load SUCCESS
Testing...
An exception has occurred, use %tb to see the full traceback.

SystemExit
Describe the expected behavior
idk
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance.
This is more related to an issue with another repository. So please post in that repo or in Stackoverflow. Thanks!

I am closing this issue as it is a support questions more suited for Stackoverflow. Thanks!


⚠ Cioos National CKAN Sitemap has degraded performance

In 2af4e0c, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 19056 ms

Resolved: Cioos National CKAN Sitemap performance has improved in a023e03 after 9 minutes.


Inconsistent dependencies in azure-cosmos

Requirement 'six>=1.6' is declared in the following libraries but has not been frozen:

azure-cosmos

The following libraries declare requirement 'requests>=2.10.0' which does not match the frozen requirement 'requests>=2.18.4':

azure-cosmos

FWIW I was running with

requests==2.21.0
six==1.12

when working on Cosmos, so I would not expect any issues with 'requests>=2.18.4' I don't know how to "freeze" six

Pushed 9501455 to #6160 which should resolve this issue.


Pull Request to add theme support to local http renderer

So I wanted to make grip render on localhost, using the github-dark theme.  It seems @parajita largely did this work on https://github.com/joeyespo/grip/pull/335, however, that only applies when using the renderer in CLI mode.
I made a change to the settings.py and README.md to add THEME to settings.py and added code to app.py to look that up, and if set to pass the value to self.theme as if it had been passed on the CLI.
https://github.com/joeyespo/grip/pull/396

I should point out, I tested it running with THEME='dark' in ~/.grip/settings.py and without any value in settings.py and it seems to work ok.  I've not added any tests, as I'm not sure how to do that (this is a trivial change).


Feature/support french language

I implemented French for text clock, hopefully you will merge this for the benefit of other users :)

Thanks for your contribution! I'll have a look at it tomorrow!

Thanks for your contribution! I'll have a look at it tomorrow!

@pierrephi thanks for taking the time to create a PR. Appreciate it! 🙏

@pierrephi thanks for taking the time to create a PR. Appreciate it! 🙏


NTLM, Windows, Ubuntu, and Daemon Support

*Added support for NTLM auth
*Added Kerberos keytab support
*Added daemon support
*Added support for specifying a default role
*Added support for listing all available roles
*Added support for Windows and Ubuntu.
*Added setup script for building distributions
*Kinit now called if no valid tickets are found
*Supports boto2 and boto3
*Revised installation instructions for all platforms
*Added default credentials support

Looks good. Thanks for the significant upgrades.


Tru-er SPA mode

SvelteKit allows building Single Page Apps with the following config:
const adapter = require('@sveltejs/adapter-static');

module.exports = {
  kit: {
    adapter: adapter({
      fallback: '200.html'
    },
    prerender: {
      enabled: false
    },
    ssr: false
  }
};

Is your feature request related to a problem? Please describe.
Even with the ssr disabled in config file, it is impossible to reference window or document without wrapping it in an environment check. This is because each component needs to be evaluated to determine whether it has SSR export, as @Rich-Harris explained here:

The fundamental issue is that the component must be imported in order to determine whether it has an ssr export. That would continue to be true if we checked each page for ssr at build time and added the information to a manifest.

There's a couple of options that spring to mind - we find some other way of establishing whether a given page should be SSR'd, or we determine it with static analysis (which has the usual caveats but should be pretty robust in this case).

Describe the solution you'd like
I'd like to have a way of configuring SvelteKit as a true SPA, in which I need not worry about referencing browser globals.
As a possible way forward, @benmccann suggested to expand the ssr option, allowing not just a boolean value:

The other option would be to make the setting more than just a boolean. E.g. we could have true/false/per-page or something like that or always/never/true-by-default/false-by-default or whatever makes sense

I think this would be a fine solution.
Describe alternatives you've considered
The only alternative I currently see is to preface browser globals with environment check and load naughty dependencies dynamically.
How important is this feature to you?
Slightly annoying. Gets in the way. Forces to add meaningless code.
Additional context
The original issue regarding SPA in SvelteKit https://github.com/sveltejs/kit/issues/754

Since load runs on the browser in SPA mode, it makes sense to be able to use localStorage.

It's really frustrating.
I thought this could have been taken into account during the creation of sveltekit.
Given the fact that we might want to use browser globals in a code that's meant to run on the browser.
What's the point of SSR false if we can't use local storage, document, the window object...?

What's the point of SSR false if we still can't use browser globals without hacks?

+1
I’d expect it to be possible to import pixi.js when I run SvelteKit in SPA-mode, but right now I have to do a dynamic import await import(“pixi.js”) because Pixi references the window object.

Reopening since this isn't actually completely fixed by #2008 — the page's module is still imported, and in a simple test app the server blows up when trying to render a placeholder for a page that imports a client-only dependency

Since load runs on the browser in SPA mode, it makes sense to be able to use localStorage from within load.

I think there's no need for checking valid variables/libraries. You should be able to reference any browser objects, without warnings, when ssr is set to false.

Agree, this is an issue that still results in an compile error with ssr: false in svelte-kit config, for example
Error when evaluating SSR module /src/routes/...
ReferenceError: localStorage is not defined

The app still builds and runs locally but my Render builds are blocked by this.

I think it would be great to have a more "inline option" like this:
import client { chart } from 'svelte-apexcharts';
Default to existing experience (client & server) unless "client" or "server" is specified.

That specific syntax is out of scope because it would enhance the JavaScript syntax, which is a no-go. There's a plugin though which does this by adding ?client or ?server to the end of the import string: https://github.com/bluwy/vite-plugin-iso-import

If you have imports that are only available on the client, it is very likely that you have entire parts of your javascript that is only expected to run on the client. Would it be feasible to have two separate script tags, one that would only be executed on the client and one that would be executed during SSR?

@dummdidumm yeah I'm currently doing it that way but yes, no editor support and you gotta install plugin and config it... not exactly an intuitive developer experience (DX) and I don't think anyone is expecting something so foundational to be found in the FAQ as well.
@AKuederle I wouldn't mind that either; at least you have a definitive way to separate the execution but it would be great if the DX were seamless...
i.e. without you having to say that the library should be loaded or used in either environment and thereby alleviating the need to define another script tag, so if the library could "automagically" know that it could be loaded via server-side, client-side or both on its own which in a sense is currently happening, just that when something goes wrong, we need the option to disable one or the other. Having said that, perhaps some may want more fine-grain control which is why I suggested it on the import level vs script tag level. Now if the other shimmy with the ?client would have worked with the editor, it would have been fine as well but just not the greatest DX.

I opened this issue (closed by @bluwy) because I think we need to consider this too:
Describe the bug
I couldn't understand why Kit builds my project two times even if I disabled ssr in svelte.config.cjs:
vite v2.6.14 building for production...
...
vite v2.6.14 building SSR bundle for production...

Reproduction
https://github.com/frederikhors/iss-svelte-kit-tailwind-comments
Logs
><EMAIL_ADDRESS>build
> svelte-kit build

vite v2.6.14 building for production...
✓ 28 modules transformed.
.svelte-kit/output/client/_app/assets/svelte-logo-87df40b8.svg             1.85 KiB
.svelte-kit/output/client/_app/manifest.json                               1.82 KiB
.svelte-kit/output/client/_app/pages/__layout.svelte-57ab7eca.js           4.04 KiB / gzip: 1.79 KiB
.svelte-kit/output/client/_app/error.svelte-0ebcf88e.js                    1.56 KiB / gzip: 0.75 KiB
.svelte-kit/output/client/_app/start-c23624a4.js                           18.75 KiB / gzip: 6.89 KiB
.svelte-kit/output/client/_app/pages/index.svelte-7be39bf6.js              3.62 KiB / gzip: 1.62 KiB
.svelte-kit/output/client/_app/pages/about.svelte-0cea0aea.js              2.29 KiB / gzip: 1.04 KiB
.svelte-kit/output/client/_app/pages/todos/index.svelte-d9cac2e2.js        5.48 KiB / gzip: 2.33 KiB
.svelte-kit/output/client/_app/assets/start-61d1577b.css                   0.16 KiB / gzip: 0.15 KiB
.svelte-kit/output/client/_app/chunks/vendor-836cc791.js                   14.11 KiB / gzip: 6.00 KiB
.svelte-kit/output/client/_app/assets/pages/__layout.svelte-fd9cb797.css   0.28 KiB / gzip: 0.19 KiB
vite v2.6.14 building SSR bundle for production...
✓ 31 modules transformed.
.svelte-kit/output/server/app.js                          0.10 KiB
.svelte-kit/output/server/chunks/app-32bc2016.js          51.76 KiB
.svelte-kit/output/server/chunks/index.json-784727b1.js   0.42 KiB
.svelte-kit/output/server/chunks/_api-e66b1c82.js         0.60 KiB
.svelte-kit/output/server/chunks/_uid_.json-039b6f30.js   0.41 KiB
.svelte-kit/output/server/chunks/__layout-d917862c.js     2.19 KiB
.svelte-kit/output/server/chunks/error-5c3307f4.js        0.75 KiB
.svelte-kit/output/server/chunks/index-b7efcc6a.js        6.08 KiB
.svelte-kit/output/server/chunks/about-950f4908.js        0.96 KiB
.svelte-kit/output/server/chunks/index-3b94195b.js        1.82 KiB

Run npm run preview to preview your production build locally.

> Using @sveltejs/adapter-static
  ✔ done

System Info
System:
    OS: Windows 10 10.0.19043
  Binaries:
    Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.1.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.29)
  npmPackages:
    @sveltejs/adapter-static: 1.0.0-next.21 => 1.0.0-next.21
    @sveltejs/kit: 1.0.0-next.196 => 1.0.0-next.196
    svelte: 3.44.2 => 3.44.2

Severity
serious, but I can work around it

It's very strange that @bluwy closed https://github.com/sveltejs/kit/issues/2876 without providing solutions. He asked to comment about it in this issue, but both are not related in anyway.
Why build for SSR when it's set to false? Is this the intended behavior of sveltekit/vite bundling?
Even though fallback is specified, svelte-kit build produces two bundles in sveltekit demo project using adapter-static.
How can we configure sveltekit to produce only client bundle and not ssr?

@bluwy can you please re-open https://github.com/sveltejs/kit/issues/2876? Thanks.

There's no way to configure SvelteKit to not bundle for SSR without the effort to support true SPA mode first. That's why I requested the feature request to be added here as they are related. But sure let's bring the discussion to #2876.

https://github.com/sveltejs/kit/issues/2937

After encountering numerous issues, here is the code that worked for me for firebase auth. I had to do the following:

Use Firebase SDK v9
Disable SSR using static adapter
Do not call any firebase functions in variable initialization
Import firebase types separately using import type

firebase.ts
import type { FirebaseApp } from "firebase/app";
import { initializeApp } from "firebase/app";

let app: FirebaseApp = null

export function firebaseApp() {
    if (app == null) {
        app = initializeApp({
            apiKey: "",
            authDomain: "",
            projectId: "",
            storageBucket: "",
            messagingSenderId: "",
            appId: "",
            measurementId: "",
        })
    }
    return app
}

auth.ts
import type { Readable, Subscriber, Unsubscriber } from 'svelte/store'
import { writable } from 'svelte/store'
import { firebaseApp } from './firebase'
import type { User, Auth } from '@firebase/auth'
import { initializeAuth, browserLocalPersistence, onAuthStateChanged } from "@firebase/auth";

let auth: Auth
let authLoaded = false
let isLoaded = writable(authLoaded)

export const isAuthLoaded = { subscribe: isLoaded.subscribe }

export function getAuth(): Auth {
    if (!auth) {
        auth = initializeAuth(firebaseApp(), {
            persistence: browserLocalPersistence,
        })
    }
    return auth
}

export async function getLoadedAuth(): Promise<Auth> {
    const auth = getAuth()
    if (authLoaded) {
        return auth
    }
    return await new Promise((resolve, reject) => {
        const unsubscribe = onAuthStateChanged(
            auth,
            _ => {
                authLoaded = true
                isLoaded.set(true)
                unsubscribe()
                resolve(auth)
            },
            reject
        )
    })
}

let userSubscribers = new Set<Subscriber<User>>()
let unsubscribeUser: Unsubscriber

export const currentUser: Readable<User> = {
    subscribe: (subscriber: Subscriber<User>): Unsubscriber => {
        userSubscribers.add(subscriber)
        const auth = getAuth()
        if (!unsubscribeUser) {
            unsubscribeUser = onAuthStateChanged(auth, user => {
                for (const subscriber of userSubscribers) {
                    subscriber(user)
                }
                if (!authLoaded) {
                    authLoaded = true
                    isLoaded.set(true)
                }
            })
        }
        subscriber(auth.currentUser)
        return () => {
            userSubscribers.delete(subscriber)
            if (userSubscribers.size == 0) {
                unsubscribeUser()
                unsubscribeUser = null
            }
        }
    }
}

hey all — flagging this discussion, as people here might have thoughts on it: https://github.com/sveltejs/kit/discussions/7716


[Bug]: duplicate_entries_found triggered on setID

Bug Description
unclear if this is an error in the ODM definition, or if the code is supposed to handle this primary-key exception, or if this is user error.
error msg: sets(setID, 4,5):  [duplicate_entries_found]

The operating system on which the bug occured
linux
Python Version
3.8

@yulric, do you know who's at fault here?

Was this error generated when creating new schema files? Or when validating a data file?

all the bug reports I made recently are just from validating the delatolla dataset.

oh, it's not supposed to validate the parts and sets tables, is it?

Nope

right, then I will automatically exclude those.

Why was the tool validating the dictionary? Were they in the data you were testing?

Why was the tool validating the dictionary? Were they in the data you were testing?

yeah, the delatolla excel file including the dictionary, apparently.


Snapshot P&M is not optional

Snapshot::read_metadata currently returns Option<Metadata, Protocol>, but those are not optional.
A table whose replay lacks either or both is ill-formed and should always produce an error.
See Delta spec for Action reconciliation:

A given snapshot of a Delta table consists of:

A single protocol action
A single metaData action

Done by #80


ANSYS Icepak2023R2 + PyAEDT. Changing Thermal Network BC.

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
Dear Team,
Whenever I change the internal node power in a Thermal Network boundary condition, the code is changing and destroying the Links and other properties of that thermal network.
I use the following code for changing the internal power:
"""
ThermalB = ipk.boundaries
ThermalB[1].props["Nodes"]["Internal"]["Power"] = "10000mW"
ThermalB[1].update()
"""
Attached are two pictures of the thermal network, "before" and "after" running the code, changing thermal network of index =1.
In addition to that, we see the following Error message from PyAEDT:
"""
PyAEDT WARNING: Because the solution is steady state, neither mass nor specific heat assignment is relevant.
PyAEDT ERROR: KEY ERROR on _add_to_props
PyAEDT ERROR:   File "C:\Users\1990kini\AppData\Local\Programs\Python\Python310\lib\site-packages\pyaedt\modules\Boundary.py", line 4204, in add_link
PyAEDT ERROR:     self._add_to_props(new_link, "Links")
PyAEDT ERROR:   File "C:\Users\1990kini\AppData\Local\Programs\Python\Python310\lib\site-packages\pyaedt\modules\Boundary.py", line 3962, in _add_to_props
PyAEDT ERROR: Method arguments:
PyAEDT ERROR:     new_node = <pyaedt.modules.Boundary.NetworkObject._Link object at 0x0000024663B366B0>
PyAEDT ERROR:     type_dict = Links
PyAEDT ERROR: KEY ERROR on _add_to_props
PyAEDT ERROR:   File "C:\Users\1990kini\AppData\Local\Programs\Python\Python310\lib\site-packages\pyaedt\modules\Boundary.py", line 4204, in add_link
PyAEDT ERROR:     self._add_to_props(new_link, "Links")
PyAEDT ERROR:   File "C:\Users\1990kini\AppData\Local\Programs\Python\Python310\lib\site-packages\pyaedt\modules\Boundary.py", line 3962, in _add_to_props
PyAEDT ERROR: Method arguments:
PyAEDT ERROR:     new_node = <pyaedt.modules.Boundary.NetworkObject._Link object at 0x0000024663B36E30>
PyAEDT ERROR:     type_dict = Links
PyAEDT ERROR: KEY ERROR on _add_to_props
"""
I hope you can provide me with a solution or a fix.
Thank you in advance.
Best regards,
Kim

Steps To Reproduce
Run following pyAEDT code on any icepak project containing one thermal network boundary condition.
from pyaedt import Icepak
desktop = pyaedt.Desktop("2023.2", non_graphical=True)
project_name = ##Path to project
ipkapp = Icepak(projectname=project_name, specified_version="2023.2")
ThermalB = ipkapp.boundaries
ThermalB[0].props["Nodes"]["Internal"]["Power"] = "10000mW"
ThermalB[0].update()
desktop.release_desktop()
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
aiohttp==3.8.1
aiosignal==1.2.0
altgraph==0.17.2
anyio==3.7.1
appdirs==1.4.4
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
arrow==1.2.3
asttokens==2.2.1
async-lru==2.0.3
async-timeout==4.0.2
attrs==23.1.0
Babel==2.12.1
backcall==0.2.0
beautifulsoup4==4.12.2
bleach==6.0.0
cachetools==5.1.0
certifi==2<IP_ADDRESS>
cffi==1.15.1
charset-normalizer==2.0.12
clr-loader==0.2.3
colorama==0.4.6
comm==0.1.3
configobj==5.0.6
cycler==0.11.0
debugpy==1.6.7
decorator==5.1.1
defusedxml==0.7.1
et-xmlfile==1.1.0
exceptiongroup==1.1.2
executing==1.2.0
fastjsonschema==2.18.0
fonttools==4.33.3
fpdf==1.7.2
fqdn==1.5.1
frozenlist==1.3.1
future==0.18.2
google-api-core==2.8.0
google-api-python-client==2.48.0
google-auth==2.6.6
google-auth-httplib2==0.1.0
googleapis-common-protos==1.56.1
grpcio==1.46.1
httplib2==0.20.4
idna==3.3
imageio==2.22.0
ipycanvas==0.13.1
ipyevents==2.0.1
ipykernel==6.25.0
ipython==8.14.0
ipython-genutils==0.2.0
ipyvtklink==0.2.3
ipywidgets==7.7.5
isoduration==20.11.0
jedi==0.18.2
Jinja2==3.1.2
jproperties==2.1.1
json5==0.9.14
jsonpointer==2.4
jsonschema==4.18.4
jsonschema-specifications==2023.7.1
jupyter-events==0.6.3
jupyter-lsp==2.2.0
jupyter_client==8.3.0
jupyter_core==5.3.1
jupyter_server==2.7.0
jupyter_server_terminals==0.4.4
jupyterlab==4.0.3
jupyterlab-pygments==0.2.2
jupyterlab-widgets==1.1.4
jupyterlab_server==2.24.0
kaleido==0.2.1
kiwisolver==1.4.2
MarkupSafe==2.1.3
matplotlib==3.5.2
matplotlib-inline==0.1.6
mistune==3.0.1
multidict==6.0.2
nbclient==0.8.0
nbconvert==7.7.3
nbformat==5.9.1
nest-asyncio==1.5.6
notebook==7.0.0
notebook_shim==0.2.3
numpy==1.22.3
openpyxl==3.0.10
overrides==7.3.1
packaging==21.3
pandas==1.4.2
pandocfilters==1.5.0
parso==0.8.3
pefile==2022.5.30
pickleshare==0.7.5
Pillow==9.1.1
platformdirs==3.9.1
plotly==5.8.0
plumbum==1.7.2
prometheus-client==0.17.1
prompt-toolkit==3.0.39
protobuf==3.20.1
psutil==5.9.5
pure-eval==0.2.2
pyaedt==0.6.86
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
Pygments==2.15.1
pyinstaller==5.3
pyinstaller-hooks-contrib==2022.8
pyparsing==3.0.9
python-dateutil==2.8.2
python-json-logger==2.0.7
pythonnet==3.0.1
pytz==2022.1
pyvista==0.36.1
pywin32==306
pywin32-ctypes==0.2.0
pywinpty==2.0.11
PyYAML==6.0.1
pyzmq==25.1.0
referencing==0.30.0
requests==2.31.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.9.2
rpyc==5.3.1
rsa==4.8
scooby==0.6.0
Send2Trash==1.8.2
six==1.16.0
sniffio==1.3.0
soupsieve==2.4.1
stack-data==0.6.2
tenacity==8.0.1
terminado==0.17.1
tinycss2==1.2.1
tk==0.1.0
tomli==2.0.1
tornado==6.3.2
traitlets==5.9.0
typing_extensions==4.7.1
uri-template==1.3.0
uritemplate==4.1.1
urllib3==1.26.9
vtk==9.2.0rc2
wcwidth==0.2.6
webcolors==1.13
webencodings==0.5.1
websocket-client==1.6.1
widgetsnbextension==3.6.4
wslink==1.8.2
XlsxWriter==3.0.3
yarl==1.8.1

Hi Kim, if you need to use pyAEDT with the fix straight away, please use this pip command to install pyAEDT from git:
pip install pyaedt@git+https://github.com/ansys/pyaedt.git

Hi @lorenzovecchietti
Thank you very much for your guidance.
Best regards,
Kim

Hi @lorenzovecchietti
After installing the pyeadt directly from GitHub, I have been trying out the changes in Thermal Network BC. But I am running into troubles when trying to access the Boundary object module. I am not sure if something has changed, or it is a bug?
Please see error message below.

Basically all I am trying to do is to access "ipkapp.boundaries"
Test code is below:
"""
desktop = pyaedt.Desktop("2023.2", non_graphical=True)
project_name = r"C:\RoadShowDemo\THA_Tool\TempFolder\Project_Fatemeh.aedt"
ipkapp = Icepak(projectname=project_name, specified_version="2023.2")
h3d = Hfss3dLayout(designname="PCB", specified_version="2023.2")
ThermalB = ipkapp.boundaries
for i in range(len(ThermalB)):
if ThermalB[i].name == "TN_U301":
print("I am doing something")
ThermalB[i].props["Nodes"]["Internal"]["Power"] = "10000mW"
ThermalB[i].name = "KIM123_test"
ThermalB[i].update()
ipkapp.save_project()
"""
Also pip freeze output:

I hope you are able to help?
Best regards,
Kim

Can you please send me the file you are working on? I can't reproduce the error on my side

Hi @lorenzovecchietti ,
I checked the project file, at the Thermal Network I was trying to modify was already broken. That caused the error.
I am sorry. My mistake!
Thank you again for the quick response.
Best regards,
Kim


Fix bug where Tundra would often stomp tundra.lua with the starter template

Tundra would sometimes overwrite tundra.lua files as it thought -Q was being passed in. This was because m_QuickstartGen was never initialized and remained as undefined data, more so than not resulting in true (non-zero).

I'd really like to see this bug fix merged. On e.g. ARM Linux the config file stomping seems to happen every time.

Thanks, dupe of a PR that was just merged.


Spin up with docker and nginx not working

Hi there, can someone help me?
I try to start a Rancher 2 server with SSL by using this docker-compose.yml
version: '2'
services:
  nginx-proxy:
    image: jwilder/nginx-proxy:latest
    restart: always
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - '/home/docker/nginx-proxy/ssl:/etc/nginx/certs:ro'
      - '/etc/nginx/vhost.d'
      - '/usr/share/nginx/html'
      - '/var/run/docker.sock:/tmp/docker.sock:ro'
  letsencrypt-nginx-proxy-companion:
    image: jrcs/letsencrypt-nginx-proxy-companion:latest
    volumes_from:
      - nginx-proxy
    volumes:
      - '/home/docker/nginx-proxy/ssl:/etc/nginx/certs:rw'
      - '/var/run/docker.sock:/var/run/docker.sock:ro'
  rancher-server:
    image: rancher/rancher:stable
    restart: always
    environment:
      - VIRTUAL_PORT=8080
      - VIRTUAL_HOST=MY_HOST_COM
      - LETSENCRYPT_TEST=false
      - LETSENCRYPT_HOST=MY_HOST_COM
      - LETSENCRYPT_EMAIL=mail@MY_HOST_COM
      - CATTLE_DB_CATTLE_MYSQL_HOST=MY_IP_ADDRESS
      - CATTLE_DB_CATTLE_MYSQL_PORT=3306
      - CATTLE_DB_CATTLE_MYSQL_NAME=rancher_server
      - CATTLE_DB_CATTLE_USERNAME=rancher_server
      - CATTLE_DB_CATTLE_PASSWORD=MY_MYSQL_PW

but at the end of the spin-up process, it hangs there:
rancher-server_1                     | 2019/03/05 23:44:45 [INFO] uploading azureConfig to node schema
rancher-server_1                     | 2019/03/05 23:44:45 [INFO] uploading azureConfig to node schema
rancher-server_1                     | 2019/03/05 23:44:45 [INFO] uploading amazonec2Config to node schema
rancher-server_1                     | 2019/03/05 23:44:45 [INFO] uploading amazonec2Config to node schema
nginx-proxy_1                        | 2019/03/05 23:44:48 [notice] 90#90: signal process started
nginx-proxy_1                        | Generating DH parameters, 2048 bit long safe prime, generator 2
nginx-proxy_1                        | This is going to take a long time
nginx-proxy_1                        | dhparam generation complete, reloading nginx
rancher-server_1                     | 2019/03/05 23:44:48 [INFO] Updating catalog library
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:44:53 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
rancher-server_1                     | E0305 23:44:54.169574       6 clusterroleaggregation_controller.go:180] admin failed with : Operation cannot be fulfilled on clusterroles.rbac.authorization.k8s.io "admin": the object has been modified; please apply your changes to the latest version and try again
rancher-server_1                     | 2019/03/05 23:44:59 [INFO] Catalog sync done. 30 templates created, 0 templates updated, 0 templates deleted
rancher-server_1                     | 2019/03/05 23:44:59 [ERROR] CatalogController library [catalog] failed with : failed to sync templates. Resetting commit. Multiple error occurred: [Error in HTTP GET of [file://../logo.png], error: Get file://../logo.png: unsupported protocol scheme "file"]
rancher-server_1                     | 2019/03/05 23:45:01 [INFO] Updating catalog library
rancher-server_1                     | 2019/03/05 23:45:02 [INFO] Catalog sync done. 0 templates created, 0 templates updated, 0 templates deleted
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:45:08 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1

When I call my page shows 502 Bad Gateway nginx/1.14.1 and the console ends up with this:
                       | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:54:23 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
rancher-server_1                     | 2019-03-05 23:54:29.345562 I | mvcc: store.index: compact 2221
rancher-server_1                     | 2019-03-05 23:54:29.354758 I | mvcc: finished scheduled compaction at 2221 (took 4.150322ms)
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:54:38 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:54:53 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:55:08 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:55:23 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:55:38 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:55:53 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:56:08 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_HOST_COM <IP_ADDRESS> - - [05/Mar/2019:23:56:16 +0000] "GET / HTTP/1.1" 301 185 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36"
nginx-proxy_1                        | nginx.1    | 2019/03/05 23:56:17 [error] 92#92: *49 no live upstreams while connecting to upstream, client: <IP_ADDRESS>, server: MY_HOST_COM, request: "GET / HTTP/2.0", upstream: "http://MY_HOST_COM/", host: "MY_HOST_COM"
nginx-proxy_1                        | nginx.1    | MY_HOST_COM <IP_ADDRESS> - - [05/Mar/2019:23:56:17 +0000] "GET / HTTP/2.0" 502 575 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36"
nginx-proxy_1                        | nginx.1    | 2019/03/05 23:56:18 [error] 92#92: *49 no live upstreams while connecting to upstream, client: <IP_ADDRESS>, server: MY_HOST_COM, request: "GET /favicon.ico HTTP/2.0", upstream: "http://MY_HOST_COM/favicon.ico", host: "MY_HOST_COM", referrer: "https://MY_HOST_COM/"
nginx-proxy_1                        | nginx.1    | MY_HOST_COM <IP_ADDRESS> - - [05/Mar/2019:23:56:18 +0000] "GET /favicon.ico HTTP/2.0" 502 575 "https://MY_HOST_COM/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:56:23 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:56:38 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:56:53 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:57:08 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:57:23 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:57:38 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:57:53 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:58:08 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:58:23 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
rancher-server_1                     | E0305 23:58:31.879495       6 watcher.go:208] watch chan error: etcdserver: mvcc: required revision has been compacted
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:58:38 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:58:53 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:59:08 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:59:23 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
rancher-server_1                     | 2019-03-05 23:59:29.354256 I | mvcc: store.index: compact 2551
rancher-server_1                     | 2019-03-05 23:59:29.365476 I | mvcc: finished scheduled compaction at 2551 (took 3.431346ms)
nginx-proxy_1                        | nginx.1    | MY_IP_ADDRESS <IP_ADDRESS> - cloud66 [05/Mar/2019:23:59:38 +0000] "GET /haproxy?stats/;csv;norefresh HTTP/1.1" 503 213 "-" "Datadog Agent/6.8.3"
nginx-proxy_1

Any suggestion for the right direction would be a charm. Thank you

Rancher 2 uses port 80 and 443, it seems like you are using a 1.6 example (especially with the DB environment variables) and changed rancher/server to rancher/rancher. Can you check https://rancher.com/docs/rancher/v2.x/en/installation/single-node/single-node-install-external-lb/ and see if that solves your issue?


Move exported code to pkg directory

Add .DS_Store to gitignore
Removes old release workflow

Pull Request Test Coverage Report for Build 570108418

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

Totals

Change from base Build 570105343:
0.0%

Covered Lines:
406

Relevant Lines:
513

💛  - Coveralls


Why does DuckDB read database files as corrupt?

When I execute this line:
conn = duckdb.connect('cdeschools.sqlite')
(using this data: http://2016.padjo.org/tutorials/sqlite-data-starterpacks/#toc-california-school-sat-performance-and-poverty-data)
I receive this error: RuntimeError: IO: Corrupt database file: computed checksum<PHONE_NUMBER>481796550 does not match stored checksum<PHONE_NUMBER>780611411 in block
I have no issue connecting to the DB using sqlite:
con = sqlite3.connect("cdeschools.sqlite")
I received this corrupt database error in DuckDB after trying multiple different DBs. Why is this an issue with DuckDB and how can it be resolved?

I think there is some confusion: DuckDB is not compatible with the SQLite database format. You cannot open a SQLite database file in DuckDB. At least not currently; we might implement this in the future. In order to use DuckDB you need to convert the data inside the SQLite database to a DuckDB database. You could do this, for example, by opening the file with SQLite and writing the data to a CSV, then loading the CSV data into a DuckDB database.
I will leave this issue open because I think it reveals an important point: we need to give a descriptive error message here. In particular, we should prefix the database with a series of bytes indicating that it is a DuckDB database, and throw an error ("not a DuckDB database") when those bytes are not found.

Thank you! Yes, definitely confusion on my part. Thanks for the suggestion.

c.execute("COPY tweets FROM 'Tweets.csv';")
Is this the correct syntax to read from a CSV in duckdb python? This is throwing errors

That is the correct syntax, but perhaps you need to specify whether or not the file has a header or whether or not there are delimiters. See here for more information.
You can also use the automatic CSV dialect reader. Try this:
INSERT INTO tweets SELECT * FROM read_csv_auto('Tweets.csv');

If that still throws errors please include which errors it throws :)

We could detect the SQLite magic bytes and throw a dedicated error to make this more obvious.


Update main.py

Also if the speech_duration exists from the snr calculations, why have 'if else' statement here?
https://github.com/huggingface/dataspeech/blob/84c6337858ba76a798a3b165b56a808aff0b5fde/main.py#L77-L94

Hey @p0p4k, thanks for catching and fixing this!

Also if the speech_duration exists from the snr calculations, why have 'if else' statement here?

One of the goal of this repo is to give recipes that are easy to use and modify.
Let's say one wants to modify main.py to avoid the costly operation of SNR computation, I have thus left the code to perform speaking rate based on audio length rather than speech duration !

Then an apply flag for skipping snr should be there. I'll pr it soon.


Fix viz

The viz package seems to not have been working properly since 6.2.0/6.0.12 (2023-09). This addresses regressions and should make it run as expected.

Revert webpack 5 upgrade (#591) and associated plugins

Revert changes in packages/viz from the following commits:

5ed273d449ddb1efdf93b4f21ba87df6623be29a
24f34cc6879d51c61e9daf6fffad2751cbdd3a51
b850dc450f2ebc1e6b30eb7fc5584d3bd3f3a9b7
54bbc4d9f3296207063fe07a33b1b8f6dbb6231f
72577d652a1d87bed122d7a8ce936386b7362d67

Would be nice to actually do the webpack 5 upgrade but I got blocked on React not being resolved properly inside react-force-graph-3d>react-kapsule.

Force UMD resolution for force-graph packages

This has become necessary after recent upgrades to these dependencies. A more correct/proper solution to reconfiguration likely exists.

Import policies directly through <script> tag in html by templating index.html at runtime

Fixes compatibility with modern Firefox when run from local filesystem. Previous implementation didn't load due to CORS.
Rename index.html to index.html.template for clarity
This replaces generated injectConfigDebugData.js

Stop distributing example policies and associated files from distributed

These make up ~100MB and I found their apparently mixed purpose confusing. If an example on npm registry is desired it can be distributed as a separate package like @lavamoat/viz-examples

Remove package script start and devDependency webpack-dev-server

The script does not work OotB for some time now any way: it doesn't detect the hoisted webpack-cli

This will be followed up with a PR for the usage of viz in metamask-extension (which from what I can tell has been broken independently since 2021)

I'm sure you know this, but the downgrade introduces vulnerable deps.  Mitigating these was the goal of upgrading in the first place

(nitpick) this being in a fork is getting in the way

Could retarget to https://github.com/boneskull/LavaMoat/tree/viz-only


MAINTAINERS: fix missing ":"

Add a missing ":" for "Drivers: Regulators", currently causing PR assigner failure:
yaml.scanner.ScannerError: while scanning a simple key
  in "MAINTAINERS.yml", line 976, column 1
could not find expected ':'
  in "MAINTAINERS.yml", line 977, column 3

Ahh still no good:
`get_maintainer.MaintainersError: MAINTAINERS.yml: glob pattern 'include/zephyr/drivers/regulator' in 'files' in area 'Drivers: Regulators' matches a directory, but has no trailing '/'

didn't we have a CI check for this?

didn't we have a CI check for this?

Guess we don't, and it looks like the assigner script runs on the current version (which I guess is reasonable given what it does). Had to run it locally to find the other errors.


Catchup devlib to master

Hi Patrick, can we please catch up to latest devlib? I need the fix for ls on Android 7 :)

Hi Chris, I submitted a PR for this earlier: https://github.com/ARM-software/lisa/pull/205

Cool, I'll drop this one then!


Unable to generate a combined HTML report

I am executing cypress-image-diff-js in parallel, resulting in multiple JSON files. My goal is to create a consolidated cypress-image-diff-html-report using all these JSON files.
Presently, when I run cypress-image-diff-html-report generate, only the latest JSON file is taken into account.
This is an urgent need. Appreciate any assistance here.
TIA!

Presently, when I run cypress-image-diff-html-report generate, only the latest JSON file is taken into account.

@KosalaiV Hi, this is the expected behaviour at the moment. We do have a plan for viewing multiple report versions/report history both in local and CI/CD. But we need more time to define a clear expectation first, especially when it comes to CI/CD.
If you're in a rush, you could merge all of those JSON files together into one big JSON file beforehand and feed it to the report. Both cypress-image-diff-js and cypress-image-diff-html-report support custom report names.

Hey @kien-ht Yes, I did the same at the moment, Combined the JSON files into one and generated a HTML report.

@KosalaiV Would you mind detailing how you combined the JSON files into one and generated a HTML report based on that? We have the same requirement


Code editor + console output not loading in IE11.0.9600.18163

Describe your problem and - if possible - how to reproduce it
Open any challenge on https://learn.freecodecamp.org with IE11.0.9600.18163.
Add a Link to the page with the problem
Tested pages:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/chaining-if-else-statements/
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/say-hello-to-html-elements
Tell us about your browser and operating system

Browser Name: Internet Explorer
Browser Version: 11.0.9600.18163
Operating System: Windows 7 64Bit

If possible, add a screenshot here

The first screenshot is giving a syntax error. The second one is giving 2 access denied errors.

I'll investigate this issue. If it still exists I'll submit a PR.

I'm not sure if this issue is worth fixing.
I made it as far as identifying line 378 of ReflexContainer.js uses Array.includes which is not supported in IE11
https://caniuse.com/#search=includes
return !_this4.isSplitterElement(child) && resizedRefs.includes(child.ref);
If anyone else wants to look into this further it's worth noting that running IE11 as an administrator can help with permissions issues.


Index items with tilted relationships

In DSpace 7 beta 5  a new concept was added for entities: tilted relationships  https://github.com/DSpace/DSpace/pull/3134
This concept was implemented to address a performance issue for item with many relationships,. Thought it greatly Improves performance, it also creates a problem as content is not index anymore.As a results some content is not displayed anymore in the UI, and facets are also impacted.
For example: if the relation between an author and its publications is designated as Tilted, on the author page, the publications will not displayed. In the author facet, the name of the author will not be displayed anymore.

@benbosman : Do you happen to know if this is a known issue with tilted relationships?  Or is there maybe a configuration missing here?  This behavior seems odd to me, as I thought that tilted relationships shouldn't impact the UI display.
(This tilted relationships feature is not well documented, so I'm not sure of the expected behavior in this case.)

Hi @tdonohue hi @benbosman, we would gladly surprise if it was just a configuration missing. We have inverstigated a lot on the relationship performance issue. The tilted option really make the job and we have found a way to display information in the UI again. It is patch that we can contribute back but before making a PR, we would like to validate our approach. The patch only involves a few files and has few line of code.

@pilasou ; if you already have a patch, please go ahead and submit a PR and link to this ticket.  If you've found that fixing code corrects the behavior, then that makes it more likely to be a bug.   I had thought tilted relationships were working properly in the UI, but it's possible that the behavior broke somewhere along the way (and I haven't had a chance to re-test it myself yet).

Hi,
It is not that is is broken. When a tilted relationship is set, it will impact solr indexation as the RelationshipMetadataServiceImpl's findLatestForDiscoveryMetadataValues method is used by both the indexation and the discover search processes. The main impact of not indexing the tilted relationship is the lost of the corresponding facets indexation.
The solution I found was to inform the item service's getMetadata if we are in the indexation process.
I added two new tilted values for indexed tilted relationships so not to impact existing relationships :
public enum Tilted { NONE, LEFT, RIGHT, INDEXED_LEFT, INDEXED_RIGHT; }
Made the dao (RelationshipDAOImpl.java) compatible with both. Ex:

Added new signatures for ItemService, ItemServiceImpl, RelationshipMetadataService with a new parameter to tell if we are indexing. Ex:

Here's the call from the indexation process:

And added some logic to RelationshipMetadataServiceImpl to ignore tilted while indexing. Ex:

And an example of the new tilted values:

If you like this approach I can send the detail as a pull request.
Thanks,
Felix Jolin-Nicol

@tdonohue I did it this way (INDEXED_LEFT and INDEXED_RIGHT) in order to prevent affecting the existing behavior. If you think it is a bug, I can use the same approach on the existing LEFT and RIGHT relationships instead. My PR would be even smaller.

@FelixNicol : Yes, I think this is a bug.  I don't believe this is the intended behavior of tilted relationships.  So, if you wanted to create a smaller PR which uses the same approach for the existing LEFT and RIGHT relationships, then I'd welcome it.

Ok I will do that next week and watch for Atmire's comments to. Thank you!

Hi @tdonohue @FelixNicol
I've added documentation about this functionality in https://wiki.lyrasis.org/display/DSDOC7x/Configurable+Entities#ConfigurableEntities-Tiltedrelationships
Hopefully this helps understand the functionality in more detail

I have activated the tilted relationships as suggested by @pilasou and @FelixNicol in my issue #10078. Performance has improved, and related-entities search still works (after running index-discover -b). DSpace version is 7.6.2.
For instance, in the Person page we have the following, with the last two being new custom relationships.
<ds-tabbed-related-entities-search
      [item]="object"
      [relationTypes]="[
        {
          label: 'isAuthorOfPublication',
          filter: 'isAuthorOfPublication',
          configuration: 'default-relationships'
        },
        {
          label: 'isAdvisorOfPublication',
          filter: 'isAdvisorOfPublication',
          configuration: 'default-relationships'
        },
        {
          label: 'isCoadvisorOfPublication',
          filter: 'isCoadvisorOfPublication',
          configuration: 'default-relationships'
        },
      ]"
>
</ds-tabbed-related-entities-search>

I tried to reproduce the issue today, but everything looks fine. Maybe there was no bug and I did a bad manipulation. Sorry about that.

Thanks for re-verifying @FelixNicol .  As you are no longer able to reproduce it, I'm closing this ticket.  If we notice the issue again we can always reopen as necessary.

HI @tdonohue @autavares-dev, as @FelixNicol mentionned, we tried to reproduce the indexing problem we encountered but were not able to. When the tilted property is applied to a relationship, contents and facet remains in the UI. This issue can be closed. Thanks!


Add DistributedContext types

Updates https://github.com/open-telemetry/opentelemetry-js/issues/40
Based on specs: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/distributedcontext-api.md#entry

@danielkhan Could you please review this?


bug: Broken links on page workspaces

Describe the bug
Based on tag v0.26.0
Broken links on page https://docs.kcp.io/kcp/v0.26/concepts/workspaces/
The links in the left side menu work, but bot on the page itsself.
Pages
Workspace Types
What are workspaces and how to use them.
Virtual Workspaces
What are virtual workspaces and how do they work?
Steps To Reproduce

Go to page https://docs.kcp.io/kcp/v0.26/concepts/workspaces/
Try to click on any link below "Pages"
404 occurs

Expected Behaviour
Should lead to designated page
Additional Context
No response

Was missing this:

func newKCPRestConfig(restConfig *rest.Config) (*rest.Config, error) {
	clusterConfig := rest.CopyConfig(restConfig)
	u, err := url.Parse(restConfig.Host)
	if err != nil {
		return nil, err
	}
	u.Path = ""
	clusterConfig.Host = u.String()
	clusterConfig.UserAgent = rest.DefaultKubernetesUserAgent()
	return clusterConfig, nil
}

Wrong rest config


[BUG]: Does not support transparent backgrounds.

I'm trying to interpolate between a regular color and a transparent one in order to have 2 radial gradients that interact with each other. Unfortunately it seems transparent gets ignored and interpreted as black. Transparent hex values also don't work.
      <RadialGradient
        style={{ width: 200, height: 200 }}
        colors={['#00ffff', 'transparent']}
        stops={[0.3]}
        center={[100, 100]}
        radius={200}
      />

results in

Whereas the black pixels should be transparent.

Hey guys,
I fixed this issue on iOS and sent pull request to this repository. But for now you can use fixed version from my fork:
npm install shkatulo/react-native-radial-gradient --save

The PR in question is #12.

Not sure if the owner (@surajitsarkar19) is still active. Has anyone heard from him recently?

+1 for Android issue. Even specifying colors like colors={['rgba(0,255,255,1)','rgba(0,255,255,0)']} are rendering a 'square' not 'circle'. Same result with iOS (PR !12 is merged and I can verify that fix from @shkatulo is in codebase of module, but its not working on iOS too).
Any clue ??

If this project is anymore active?

No idea. It's a shame, because it's such an important feature, and this library is very simple and easy to use.

I can totally understand if @surajitsarkar19 is no longer interested in maintaining the project, everyone has their priorities. Though if he could have mentioned state on repo home page (like deprecated / no longer being maintained), new users like me could have saved ton of time by not opting for this plugin.
Anyways, I don't have enough experience with native programming (a reason why I am using React Native) but hopefully someone having in depth idea about how native rendering is working will be able to get it resolved.
For now, I switched to SVG option.

+1 for Android issue. Even specifying colors like colors={['rgba(0,255,255,1)','rgba(0,255,255,0)']} are rendering a 'square' not 'circle'. Same result with iOS (PR !12 is merged and I can verify that fix from @shkatulo is in codebase of module, but its not working on iOS too).
Any clue ??

Just rebuild project, where I use fixed code. Still works for me on both platforms, if I create gradient like this:
<RadialGradient                  colors={[ '#C86DD7FF', '#C86DD760', '#C86DD700' ]}                  center={[ gradX, gradY ]}                 radius={radius}                 style={StyleSheet.absoluteFillObject}/>


Intended use of client messages

I'm somewhat confused by the USAGE example. It perfectly describes how messages are sent, but I'm lost on what best-practices are for using the library.
My naive implementation is to make each client authoritative over itself, but as mentioned in GafferOnGames Article, that's bad form.
So what IS encouraged form for a client-server game? What paradigm is Yojimbo made for?

Yojimbo is the answer to the question, what would the correct network stack for Apex Legends be?

Client -> server messages should be control messages. Not stuff like 'I fired my gun' ;)

@gafferongames Thank you for responding! I've been reading your articles, and that confirms what I saw in your tutorial on Deterministic Lockstep. Does Yojimbo have a Playout Delay Buffer internally, or do I have to put that together myself?

Yojimbo is just a library for you to define channels for communication, serialization for messages etc. It doesn't force you to any particular network model, although it has been designed with the needs of AAA games. You need to implement a playout delay buffer yourself.

Awesome. Thank you so much!


mj-font_external_fonts

Changes
Only to packages/mjml-font/README.md
Problem
@tonyketcham, in Issue #2215 suggested additional information about client support of external fonts in "mj-font"
Action
Add an aside pointing to https://www.caniemail.com/features/css-at-font-face/
Result
Resolves Issue #2215

Don't want to add a warning for each component. We probably need to think
of something else.
On Thu, Apr 8, 2021 at 6:09 PM Garry Flemings @.***>
wrote:

Changes
Only to packages/mjml-font/README.md
Problem
@tonyketcham https://github.com/tonyketcham, in Issue #2215
https://github.com/mjmlio/mjml/issues/2215 suggested additional
information about client support of external fonts in "mj-font"
Action
Add an aside pointing to
https://www.caniemail.com/features/css-at-font-face/
Result
Resolves Issue #2215 https://github.com/mjmlio/mjml/issues/2215
You can view, comment on, or merge this pull request online at:
https://github.com/mjmlio/mjml/pull/2226
Commit Summary

mj-font_external_fonts

File Changes

M packages/mjml-head-font/README.md
https://github.com/mjmlio/mjml/pull/2226/files#diff-5d77ab0436482013c837d94ddbb4080c40b9bd0f8ca4ab3160ded2153ca9e8d9
(11)

Patch Links:

https://github.com/mjmlio/mjml/pull/2226.patch
https://github.com/mjmlio/mjml/pull/2226.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/pull/2226, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTI3XAAGO534TEV6P3TTHXINLANCNFSM42TGOGMQ
.


[icu] update to 67.1

Library name: ICU
New version number: 67.1
ICU 67 updates to CLDR 37 locale data with many additions and corrections. This release also includes the updates to Unicode 13, subsuming the special CLDR 36.1 and ICU 66 releases. ICU 67 includes many bug fixes for date and number formatting, including enhanced support for user preferences in the locale identifier. The LocaleMatcher code and data are improved, and number skeletons have a new “concise” form that can be used in MessageFormat strings.
This is the first regular release after ICU 65. ICU 66 was a low-impact release with just Unicode 13 and a few bug fixes.
https://github.com/unicode-org/icu/releases

Hi. Could you please share your plans for updating this library?

@dinoele, sorry for my late reply.
Jon has summited a PR 11714 to upgrade icu. Thanks for reporting this issue!

@PhoebeHui, thanks for the quick update!


firebase-cloud-functions-angular: Some small mistakes/typos on Code Lab

Thanks for this well written, informative Code Lab.
One thing I've noticed, in Step 6 of Angular Lab, this is how you build Angular app: ng build --prod --aot
You don't need --aot option,  ng build --prod gives AoT output by default and --no-aot option is used in case AoT is not desired.
Also on Step 12:
A copy/paste mistake;
Install dependencies

To moderate the images we'll need another Node.js package:
.
.
To install these three packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.

This should be something like:

To detect sentiment from message text we'll need another Node.js package:
.
.
To install this packages into your Cloud Functions app, run the following npm install --save command. Make sure that you do this from the functions directory.

@jmdobry could you have a look?

@nicolasgarnier Fixed, tutorial re-published.


Standardization of Event Source tracing + Improvements for readability

Updates in EventSource tracing implementation:

Re-ordered Keywords
Code Organization for readability
Standardization of method names
Inline documentations
SNI Trace + Scope segregation
Event proofing

Also to mention:

This change also makes EventSource traces all disabled by default.
End users would have to enable "ExecutionTrace" to continue to capture Begin/End execute commands.
Keeping this trace enabled by default does not seem appropriate when comparing with other EventSource implementations. As we head to 2.0 (major), we are making amendments to set things right.

Enabling all traces seems to capture issues in Managed SNI tracing implementation from PR #461, to be continued tomorrow!


Bug 2034650: Rebase to k8s 1.23.0

https://issues.redhat.com/browse/BUILD-307

/assign @adambkaplan

/assign @coreydaley
/assign @gabemontero

/retest

/lgtm
/retest

/retest

/approve

/retest

/hold
Tests are consistently failing

/retitle Bug 2034650: Rebase to k8s 1.23.0

/retest

/test e2e-aws-builds-rhel7

/assign @gabemontero
/assign @adambkaplan
/assign @coreydaley

The only failing test now is this new rhel7 one
/retest
though it is failing in a setup looking phase..... @adambkaplan did you add this as part of working a bz with @nalind ?
if it keeps on failing in this setup looking phase, I wonder if it needs more work / should be skipped for now
let's see how this next run goes
/lgtm

/hold cancel

/skip

the repoquery in the rhel7 ansible playbook is consistently failing:
<ip-10-0-154-56.us-east-2.compute.internal> (1, '\n{"msg": "Error from repoquery: [\'/bin/repoquery\', \'--show-duplicates\', \'--plugins\', \'--quiet\', \'--disablerepo\', \'\', \'--enablerepo\', \'\', \'--qf\', \'%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}\', \'cri-o\']: Could not match packages: failure: repodata/repomd.xml from rhel-7-fast-datapath-rpms: [Errno 256] No more mirrors to try.\\nhttps://mirror.openshift.com/enterprise/reposync/ci-deps/rhel-fast-datapath-rpms/repodata/repomd.xml: [Errno 14] HTTPS Error 401 - Unauthorized\\n", "failed": true, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": [], "download_only": false, "bugfix": false, "list": "cri-o", "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}}\n', '')
<ip-10-0-154-56.us-east-2.compute.internal> Failed to connect to the host via ssh:
fatal: [ip-10-0-154-56.us-east-2.compute.internal]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "allow_downgrade": false,
            "autoremove": false,
            "bugfix": false,
            "conf_file": null,
            "disable_excludes": null,
            "disable_gpg_check": false,
            "disable_plugin": [],
            "disablerepo": [],
            "download_dir": null,
            "download_only": false,
            "enable_plugin": [],
            "enablerepo": [],
            "exclude": [],
            "install_repoquery": true,
            "install_weak_deps": true,
            "installroot": "/",
            "list": "cri-o",
            "lock_timeout": 30,
            "name": [],
            "releasever": null,
            "security": false,
            "skip_broken": false,
            "state": null,
            "update_cache": false,
            "update_only": false,
            "use_backend": "auto",
            "validate_certs": true
        }
    },
    "msg": "Error from repoquery: ['/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '--disablerepo', '', '--enablerepo', '', '--qf', '%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}', 'cri-o']: Could not match packages: failure: repodata/repomd.xml from rhel-7-fast-datapath-rpms: [Errno 256] No more mirrors to try.\nhttps://mirror.openshift.com/enterprise/reposync/ci-deps/rhel-fast-datapath-rpms/repodata/repomd.xml: [Errno 14] HTTPS Error 401 - Unauthorized\n"
}

orthogonal to these rebase changes

hmmm ... is it mandatory?
/retest-required

hmmm ... is it mandatory?
/retest-required

evidently yes

/override ci/prow/e2e-aws-builds-rhel7

hmmm ... is it mandatory?
/retest-required

I configured it required so that we can catch any regressions when we upgrade buildah. Given that something else is broken here, I'm overriding.


[FEATURE] from_hub raise on existing dataset name

Description

This PR changes the behaviour of the from_disk method when a dataset of the same name already exists. Currently, a new dataset is create with the name + uuid. This change will:

check id the dataset name exists, and if so
warn that the dataset exists and that the name parameter could be used to create a new one
try to push records to the existing dataset with a try except to add more context

Closes #5346
Type of change

Improvement (change adding some improvement to an existing functionality)

@davidberenstein1957 @frascuchon
I followed the recommendation here #5346 , but I'm a bit worried about pushing records to an unkown dataset, so I wrapped the push in a try/except. Let me know your thoughts?
We could also just raise when the dataset exists, and not try to push.

@davidberenstein1957 I've responded to comments on this and expanded testing.


Hvplot Line does not work with Decimal column

ALL software version info
hvplot==0.8.2
bokeh==2.4.3
numpy==1.23.5
holoviews==1.15.2
Description of expected behavior and the observed behavior
I would hope that hvplot could work with a pandas column of type Decimal
Complete, minimal, self-contained example code that reproduces the issue
from decimal import Decimal

import pandas as pd
import hvplot.pandas

df = pd.DataFrame([Decimal(x) for x in range(10)])

df.hvplot.line()

Stack traceback
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/IPython/core/formatters.py:972, in MimeBundleFormatter.__call__(self, obj, include, exclude)
    969     method = get_real_method(obj, self.print_method)
    971     if method is not None:
--> 972         return method(include=include, exclude=exclude)
    973     return None
    974 else:

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/core/dimension.py:1293, in Dimensioned._repr_mimebundle_(self, include, exclude)
   1286 def _repr_mimebundle_(self, include=None, exclude=None):
   1287     """
   1288     Resolves the class hierarchy for the class rendering the
   1289     object using any display hooks registered on Store.display
   1290     hooks.  The output of all registered display_hooks is then
   1291     combined and returned.
   1292     """
-> 1293     return Store.render(self)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/core/options.py:1426, in Store.render(cls, obj)
   1424 data, metadata = {}, {}
   1425 for hook in hooks:
-> 1426     ret = hook(obj)
   1427     if ret is None:
   1428         continue

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:277, in pprint_display(obj)
    275 if not ip.display_formatter.formatters['text/plain'].pprint:
    276     return None
--> 277 return display(obj, raw_output=True)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:247, in display(obj, raw_output, **kwargs)
    245 elif isinstance(obj, (CompositeOverlay, ViewableElement)):
    246     with option_state(obj):
--> 247         output = element_display(obj)
    248 elif isinstance(obj, (Layout, NdLayout, AdjointLayout)):
    249     with option_state(obj):

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:141, in display_hook.<locals>.wrapped(element)
    139 try:
    140     max_frames = OutputSettings.options['max_frames']
--> 141     mimebundle = fn(element, max_frames=max_frames)
    142     if mimebundle is None:
    143         return {}, {}

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:187, in element_display(element, max_frames)
    184 if type(element) not in Store.registry[backend]:
    185     return None
--> 187 return render(element)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:68, in render(obj, **kwargs)
     65 if renderer.fig == 'pdf':
     66     renderer = renderer.instance(fig='png')
---> 68 return renderer.components(obj, **kwargs)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/renderer.py:398, in Renderer.components(self, obj, fmt, comm, **kwargs)
    395 embed = (not (dynamic or streams or self.widget_mode == 'live') or config.embed)
    397 if embed or config.comms == 'default':
--> 398     return self._render_panel(plot, embed, comm)
    399 return self._render_ipywidget(plot)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/renderer.py:405, in Renderer._render_panel(self, plot, embed, comm)
    403 doc = Document()
    404 with config.set(embed=embed):
--> 405     model = plot.layout._render_model(doc, comm)
    406 if embed:
    407     return render_model(model, comm)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/panel/viewable.py:508, in Renderable._render_model(self, doc, comm)
    506 if comm is None:
    507     comm = state._comm_manager.get_server_comm()
--> 508 model = self.get_root(doc, comm)
    510 if config.embed:
    511     embed_state(self, model, doc,
    512                 json=config.embed_json,
    513                 json_prefix=config.embed_json_prefix,
    514                 save_path=config.embed_save_path,
    515                 load_path=config.embed_load_path,
    516                 progress=False)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/panel/viewable.py:559, in Renderable.get_root(self, doc, comm, preprocess)
    542 """
    543 Returns the root model and applies pre-processing hooks
    544
   (...)
    556 Returns the bokeh model corresponding to this panel object
    557 """
    558 doc = init_doc(doc)
--> 559 root = self._get_model(doc, comm=comm)
    560 if preprocess:
    561     self._preprocess(root)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/panel/layout/base.py:146, in Panel._get_model(self, doc, root, parent, comm)
    144 if root is None:
    145     root = model
--> 146 objects = self._get_objects(model, [], doc, root, comm)
    147 props = dict(self._init_params(), objects=objects)
    148 model.update(**self._process_param_change(props))

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/panel/layout/base.py:131, in Panel._get_objects(self, model, old_objects, doc, root, comm)
    129 else:
    130     try:
--> 131         child = pane._get_model(doc, root, model, comm)
    132     except RerenderError:
    133         return self._get_objects(model, current_objects[:i], doc, root, comm)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/panel/pane/holoviews.py:265, in HoloViews._get_model(self, doc, root, parent, comm)
    263     plot = self.object
    264 else:
--> 265     plot = self._render(doc, comm, root)
    267 plot.pane = self
    268 backend = plot.renderer.backend

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/panel/pane/holoviews.py:342, in HoloViews._render(self, doc, comm, root)
    339     if comm:
    340         kwargs['comm'] = comm
--> 342 return renderer.get_plot(self.object, **kwargs)

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/bokeh/renderer.py:70, in BokehRenderer.get_plot(self_or_cls, obj, doc, renderer, **kwargs)
     63 @bothmethod
     64 def get_plot(self_or_cls, obj, doc=None, renderer=None, **kwargs):
     65     """
     66     Given a HoloViews Viewable return a corresponding plot instance.
     67     Allows supplying a document attach the plot to, useful when
     68     combining the bokeh model with another plot.
     69     """
---> 70     plot = super().get_plot(obj, doc, renderer, **kwargs)
     71     if plot.document is None:
     72         plot.document = Document() if self_or_cls.notebook_context else curdoc()

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/renderer.py:240, in Renderer.get_plot(self_or_cls, obj, doc, renderer, comm, **kwargs)
    237     defaults = [kd.default for kd in plot.dimensions]
    238     init_key = tuple(v if d is None else d for v, d in
    239                      zip(plot.keys[0], defaults))
--> 240     plot.update(init_key)
    241 else:
    242     plot = obj

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/plot.py:948, in DimensionedPlot.update(self, key)
    946 def update(self, key):
    947     if len(self) == 1 and ((key == 0) or (key == self.keys[0])) and not self.drawn:
--> 948         return self.initialize_plot()
    949     item = self.__getitem__(key)
    950     self.traverse(lambda x: setattr(x, '_updated', True))

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/bokeh/element.py:1380, in ElementPlot.initialize_plot(self, ranges, plot, plots, source)
   1378     element = self.hmap.last
   1379 key = util.wrap_tuple(self.hmap.last_key)
-> 1380 ranges = self.compute_ranges(self.hmap, key, ranges)
   1381 self.current_ranges = ranges
   1382 self.current_frame = element

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/plot.py:607, in DimensionedPlot.compute_ranges(self, obj, key, ranges)
    603     # Only compute ranges if not axiswise on a composite plot
    604     # or not framewise on a Overlay or ElementPlot
    605     if (not (axiswise and not isinstance(obj, HoloMap)) or
    606         (not framewise and isinstance(obj, HoloMap))):
--> 607         self._compute_group_range(group, elements, ranges, framewise,
    608                                   axiswise, robust, self.top_level,
    609                                   prev_frame)
    610 self.ranges.update(ranges)
    611 return ranges

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/plot.py:824, in DimensionedPlot._compute_group_range(cls, group, elements, ranges, framewise, axiswise, robust, top_level, prev_frame)
    821     if t in ('factors', 'id'):
    822         continue
    823     matching &= (
--> 824         len({'date' if isinstance(v, util.datetime_types) else 'number'
    825              for rng in rs for v in rng if util.isfinite(v)}) < 2
    826     )
    827 if matching:
    828     group_dim_ranges[gdim] = values

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/plotting/plot.py:825, in <setcomp>(.0)
    821     if t in ('factors', 'id'):
    822         continue
    823     matching &= (
    824         len({'date' if isinstance(v, util.datetime_types) else 'number'
--> 825              for rng in rs for v in rng if util.isfinite(v)}) < 2
    826     )
    827 if matching:
    828     group_dim_ranges[gdim] = values

File ~/.cache/pypoetry/virtualenvs/balancer-research-FT13_TAJ-py3.10/lib/python3.10/site-packages/holoviews/core/util.py:886, in isfinite(val)
    884 elif isinstance(val, (str, bytes)):
    885     return True
--> 886 finite = np.isfinite(val)
    887 if pd and pandas_version >= LooseVersion('1.0.0'):
    888     if finite is pd.NA:

TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

I don't think this will ever be supported directly (see why below). Your column has an object dtype where the values are of the type Decimal.
I would suggest you take a look at a brand-new implementation of this here and a blog post about its advantage here, both by @martindurant.
When trying to install, you can use this for now: python -m pip install git+https://github.com/Hoxbro/pandas-decimal@find_packages.

Super cool! Thanks @Hoxbro


(1.10.2) Unable to automate the upgrade of a Draconic Evolution tool

Issue description:
I am unable to automate the upgrade of a Draconic Evolution tool as it does not recognize the tool.
https://www.youtube.com/watch?v=uT707TO-qso
What happens:
See video
What you expected to happen:
See video
Steps to reproduce:
See video
...
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>1
Refined Storage: 1.2.21

Does this issue occur on a server? [yes/no] yes as well
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

Err, why wasn't this closed automatically by that commit...


Add support for pausing synchronization

Motivation
During cluster maintenance it may be desirable to pause all
synchronization for an index set.
Modifications
Add a paused setting to the CRD which defaults to false,
and disable sync jobs whenever it is set to true. Ensure that
we still run cleanup on delete.
Results
Users may choose to temporarily disable the synchronization
process when desired without deleting the indices or turning
off the operator completely.
Fixes #16

Everything looks good to me. Thank you!


WIP:  Increasing contrast on two colors

For WCAG 2.0 compliance, text needs to have "at least 4.5:1" contrast.

New idea.

Create a new gray color that does pass a11y check
Assign some of the failing text color variables to it, in case they are used in the future.
Not yet done -- use a different class name when the text does not actually need to be muted.


fix checks: allow empty string in front, don't send upsert if there is no message in slack connector

cc @lasryaric FYI (we have the same condition for non threaded code, so I'm pretty sure this is fine here as well). Post merge review welcome.


How can I get the randn initial latent

I am sorry for bother.
I have question here, I will appreciate if you can help me.
Thank you!!
How can I get the initial latent here through a reverse process

Or can I get the latent pair I create randomly through reverse process?

I also have the same problem, do you solve this problem?

很抱歉打扰了。我在这里有问题，如果您能帮助我，我将不胜感激。 谢谢！！我怎样才能通过反向过程获得这里的初始潜伏
或者我可以通过逆向过程获得我随机创建的潜在对吗？


scala 2.12 support

Hi All,
is there any plan to support scala 2.12?
Thanks

IMHO migrate from maven to sbt (using https://www.scala-sbt.org/1.x/docs/Cross-Build.html) is the easiest way to support different versions of Scala. I can do the migration if the maintainers are willing to change to sbt.

sbt seems to be the way to go to support multiple scala versions. We plan to move to Scala 2.12 along with Spark 3 upgrade

Please support scala 2.11

sbt seems to be the way to go to support multiple scala versions. We plan to move to Scala 2.12 along with Spark 3 upgrade

any update please


include  in a few places that use it

This is a bit of a drive-by, but I was doing some builds with c++17 and triSYCL, but fell across these 3 errors with gcc version 8.1.1 20180712 (Red Hat 8.1.1-5) (GCC)  on Fedora 28.
These must be getting via another header somehow in normal builds.
I work for Red Hat so should be covered under a CLA already.

I signed it!

Nagging Assignee @caisq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


Panel becomes unresizable after a certain vertical position in the page

For some reason after reaching a certain position on the vertical axis (seems to be after 100vh?) the resize handle stops working, i made an example here:
sandbox example
I'm using v2.0.9 of the library
It doesn't seem to happen in v1.0.10
It seems to originate from v2.0.0, any version after v2 has this issue

Thanks for the repro. I will try to take a look sometime soon.

Sure thing! In the meanwhile I'm using v1.0.10 which seems to be working fine

Should be fixed in<EMAIL_ADDRESS>❤ → ☕ givebrian.coffee

Thank you! I'll test tomorrow


AttributeError: 'str' object has no attribute 'decode'

`pip install pyethapp
Downloading gipc-0.4.0.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-rh8m4fpb/gipc/setup.py", line 22, in
long_description=open("README.rst").read().decode('utf-8'),
AttributeError: 'str' object has no attribute 'decode'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rh8m4fpb/gipc/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Checklist

[x] installed pyethapp inside a virtualenv

System/environment

OS: ubuntu 16.04
python version: 3.5.2
pyethapp version: 1.5.0
installation method (pip & pypi/git & setup.py): pip
pyethapp branch (if applicable): FIXME

Expected behaviour
FIXME
Observed behaviour
FIXME
Steps to reproduce
pip install pyethapp

this bug not found when use "pip2 install pyethapp"

the same issue
system:  Sierra 10.12.5
env: python 3.6

This also happens with python 3.4. At least the installation can be fixed with using gipc==0.6.0 in requirements.txt. Haven't made any further tests.

Wasn't he support for Python3 added in gipc==0.6.0?

I believe this is now fixed with https://github.com/ethereum/pyethapp/pull/266

pip2 install pyethapp

Just use:
sudo pip install pyethapp==1.5.1a0


How to get the last inserted ID?

Can you provide an example with an INSERT returning the last inserted ID into a variable, thanks

I believe you can use this method. However it seems to be only available with ext-pgsql.
Anyone knows if it's possible to get last insert id with ext-pq?
On a side note I recommend using UUIDs instead.

Can you provide an example? thanks

Like this, I think.
Amp\Loop::run(function () {
    $config = Postgres\ConnectionConfig::fromString('host=localhost user=postgres');

    /** @var \Amp\Postgres\Connection $connection */
    $connection = yield Postgres\connect($config);

    /** @var \Amp\Sql\CommandResult $result */
    $result = yield $connection->query('INSERT INTO ...');

    $id = $result->getLastOid();
});

Tried, getting nothing, empty value on "id", any other ideas?

Unfortunately no.

@RonEskinder Generally, you'll get the last inserted ID via RETURNING statements in the query in postgres, e.g.
INSERT INTO person (lastname, firstname) VALUES ('Doe', 'John') RETURNING id;

@kelunik But how do you get it from the CommandResult? And if it's the
method i mentioned above then how to do it when ext-pq is used?
On Mon, Mar 9, 2020, 22:56 Niklas Keller<EMAIL_ADDRESS>wrote:

@RonEskinder https://github.com/RonEskinder Generally, you'll get the
last inserted ID via RETURNING statements in the query in postgres, e.g.
INSERT INTO person (lastname, firstname) VALUES ('Doe', 'John') RETURNING id;
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amphp/postgres/issues/25?email_source=notifications&email_token=AAEDWRTPVH4N4D2DDKT4V5LRGVQ2LA5CNFSM4LEPXRT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOJG35Q#issuecomment-596798966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEDWRXC5NWRBRJ3NEUV6C3RGVQ2LANCNFSM4LEPXRTQ
.

Tried this and im getting an error
use Amp\Postgres;
use Amp\Postgres\ConnectionConfig;

Amp\Loop::run(function () {
    $config = Postgres\ConnectionConfig::fromString($conn);

    /** @var \Amp\Postgres\Connection $connection */
    $connection = yield Postgres\connect($config);

    /** @var \Amp\Sql\CommandResult $result */
    $statement = yield $pool->prepare('INSERT INTO "public"."tc_fuel_merchant"("merchantName", "brand", "merchantAddress", "merchantCity", "merchantState", "merchantZip") VALUES (?, ?, ?, ?, ?, ?) RETURNING id;');
    $result = yield $statement->execute([$merchantName, $brand, $merchantAddress, $merchantCity, $merchantState, $merchantZip]);

    //$id = pg_getlastoid($result);
    $id = $result->getLastOid();
});

Error:
PHP Fatal error:  Uncaught Error: Call to undefined method Amp\Postgres\PooledResultSet::getLastOid()

As @kelunik suggested, you need to use RETURNING in Postgres.
$sql = "INSERT INTO person (lastname, firstname) VALUES (?, ?) RETURNING id;"
$statement = yield $pool->prepare($sql);
$result = yield $statement->execute(['Doe', 'John']);
if (!yield $result->advance()) {
    throw new \RuntimeException("Insertion failed.");
}
$id = $result->getCurrent()['id'];

Ignore PgsqlCommandResult::getLastOid(). Driver-specific methods that are misleading shouldn't have existed. I'll deprecate it and add something like the above to the docs.

This worked like a charm, thanks!


shared/api: nowadays various types of certs are accepted

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.10333/


Warning: componentWillReceiveProps has been renamed

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: RevealBase

Seems like the library has been mostly abandoned. Not sure if we'll ever see this change.

Please use react-awesome-reveal instead of this

OR - You can use https://www.npmjs.com/package/patch-package to patch this yourself - in your own project, yay!


Begginer problem: zsh:1: command not found: help

Describe the bug
I have a git server with a repository and I'd like to use it with soft serve, but when I ssh into it as ssh<EMAIL_ADDRESS>-i ~/.ssh/git-server -p 22 help, I get the following error zsh:1: command not found: help.
I also tried to use ssh soft but nothing comes up. I'm not sure if I did something wrong or if it's just a bug.
To Reproduce
Steps to reproduce the behavior:
First, I created my git server like this:

I created another user in my machine called git.
Since I'm on mac I enabled Remote Login in the admin user and gave access to the git user. I did the same on the git user (allowed access to the admin account).
I changed the Local hostname as some.local.
I entered the following commands:

su git
cd
mkdir .ssh && chmod 700 .ssh
touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys

Then, I created a new ssh key pair, called git-server and git-server.pub. I copied public key's content and pasted on the git's user authorized_keys.
I created a bare repository inside of the git's user.

mkdir ~/git-repos
chown git:staff git-repos/
cd git-repos && su git
ls -al # to check if it's owned by the git user
mkdir dotfiles.git && cd dotfiles.git
git init --bare

I configured my dotfiles repo, located in the admin's account so I could push it to the git server.

nvim .dotfiles/.git/config

I added the following:

[remote "home"]
	url = git@some.local:git-repos/dotfiles.git
	fetch = +refs/heads/*:refs/remotes/home/*

Finally, I pushed my dotfiles repo to my git server:

git push home main
# My dotfiles repository is on my git server.

Then For the soft-serve part, I followed the README.md steps:

I changed the default SOFT_SERVE_DATA_PATH and SOFT_SERVE_INITIAL_ADMIN_KEYSenvironmental variables:

# Inside .zshenv
export SOFT_SERVE_DATA_PATH=/Users/admin/.config/soft-serve
export SOFT_SERVE_INITIAL_ADMIN_KEYS=git-server.pub

I entered the following command soft serve
I changed the port that ssh uses:

sudo nvim /etc/ssh/sshd_config
# Uncomment `#Port 22`
# Change `Port 22` to `Port 2200`

I configured config.yaml like this:

name: "User Repos"
log_format: "text"
ssh:
  listen_addr: ":22"
  public_url: "ssh://git@some.local:2200
  key_path: "ssh/soft_serve_host_ed25519"
  client_key_path: "ssh/soft_serve_client_ed25519"
  max_timeout: 0
  idle_timeout: 0
git:
  listen_addr: ":9418"
  max_timeout: 0
  idle_timeout: 3
  max_connections: 32
http:
  listen_addr: ":443"
  tls_key_path: ""
  tls_cert_path: ""
  public_url: "http://git@some.local:4430"
stats:
  listen_addr: "localhost:23233"
initial_admin_keys:
  - "sssh-rsa AA... email sh-rsa"

Adding soft to ~/.ssh/confg

Host soft
  HostName<EMAIL_ADDRESS>  Port 22
  IdentityFile ~/.ssh/git-server

Configuring soft-serve

ssh<EMAIL_ADDRESS>-i ~/.ssh/git-server -p 22 help
><EMAIL_ADDRESS>Password:
> zsh:1: command not found: help
ssh soft
# Keeps loading and nothing happens. The same error comes up if I use user create and settings.

Expected behavior
I expect to being able to configure soft serve and access the TUI with my git server.
Screenshots

Environment (please complete the following information):

OS: MacOS Monterrey 12.6.2
Terminal: kitty 0.28.0
Version: v0.5.0 (91a1e40)

I tend to think this is a configuration issue, might as well try a simple test using the default configuration to rule out the problem.
export SOFT_SERVE_INITIAL_ADMIN_KEYS="ssh-ed25519 AAAAC3Nxxxxxxxxxxxxxx<EMAIL_ADDRESS>./soft serve

After that, try again ssh localhost -p 23231 help


"Lockdown" mode, maximally restrivtive of changes to dependancies.

Is your feature request related to a problem? Please describe.
I would like to lockdown a crate so that effectively all changes to Cargo.toml are denied:

no new deps
no changed versions
no feature changes
ect.

Describe the solution you'd like
Some config option(s) that act as wildcards to provide this "lockdown" mode in the canonical examples and/or docs. That is assuming others would find something close to this behavior of use.
Describe alternatives you've considered
Experimenting with configs to see if I can manage the behavior myself 😅 figured I would ask here first, maybe what I want is just a link to some doc I missed away :crossed_fingers:
Additional context
My use case is to leverage cargo deny in the context of crates used in coursework that is automatically graded and we want to ensure that:

Students will be warned locally (running cargo deny and/or tests) if they are changing anything as we require they do not use anything but provided crates, versions and features.
Automated grading is processed by a github workflow, and we want to check they complied and stop the grading before any other work or time is spent on the job if they did not.

I am not sure that this makes sense for cargo-deny. It is an extremely specific case that seems like it would be easier to verify by using --locked and validating the Cargo.lock has not been modified by using a SHA-256 or something in your automated process.


Update CORTX_on_Open_Virtual_Appliance.rst

Describe your changes in brief
Changes

[v] Why is this change required?
I successfully tested this tutorial.

Checklist

[v] tested locally

The file is now moved to another dir, I will create a new PR after resolving the conflict.


Feature/rollups  randi420bugs

Critical Changes
Changes

Includes updated rollup naming conventions.
Various bug fixes: W-023823, W-023803, W-024003, W-023804, W-023818, W-024029.

Issues Closed
New Metadata
Deleted Metadata

@randi274 Is it possible to list out the items fixed in the PR comments so I know what to test in the review?

@force2b can you provide steps to reproduce the W-023823 failure? I'm not able to reproduce in my scratch org.

I just followed the steps in the work item. https://foundation.lightning.force.com/lightning/r/a2x8000000APTzUAAX/view


Feature: add meta names to models/columns and hide surrogate keys in the schema.yml file(s)

Also formatting


Using Images as backgrounds, handles etc. of components is not easily feasable due to lazy/off-thread loading

I think there might be a use case for Images which isn't properly supported with the current off-thread decoding model for Images.
I am currently translating an iOS app written in Objective C and partly Xamarin to react native. A lot of my current custom controls/components are skinned with images - be it slider handles, scrollbar handles, component backgrounds etc. This works great, is beautiful and extremely fast in the native/xamarin iOS app.
When I rebuild these components in react native (which was surprisingly fast and easy), and include some of these components in my app, the rendering of the components however will be staggered and seem more like the loading of a slow web page than have the feel of native. This is because each different image will load off-thread and first render when it's available, with all of the other non-image GUI elements being rendered on first frame. Moreover, when using the same component multiple times in the GUI, it seems that each component will load its images in parallel independent of each other (so no caching, it seems). All in all, this behavior makes the UI feel incredibly unprofessional and non-native.
I have made a workaround, where I include every component's contents in a LoadableComponent, which will monitor the onLoad events of the images, and animate the opacity of the entire component from 0 to 1, once all images have properly loaded.
This use case however seems like something that should be supported natively by the react native system. I am wondering whether it would yield better rendering performance if I manually wrapped the iOS UIImageView component and used that for my static images. Maybe react native should provide a NativeStaticImage component for this kind of use.
Please forgive me if this is already covered, but it somehow skipped my attention.

Thank you, bot. Please see the following stackoverflow discussion for further details, and why we think this is something that should be supported:
http://stackoverflow.com/questions/34272286/how-to-prevent-static-images-in-react-native-from-stuttering-loading-asynchron/34353999#34353999

@christianscheuer Hi. If you want this as something to be worked on by the team, please post it on Product Pains
An alternative for you will be to write a native component which does this for you.

Hi @satya164. Thank you for your quick reply. I'll post it on Product Pains as soon as I get to it. If I end up implementing something myself that could be useful to the community I'll make it available as a package or PR.

@christianscheuer That would be awesome. Thanks :)

Seems related to https://github.com/facebook/react-native/issues/2570

Thanks @Intellicode
Closing in favor of #2570

This thread is closed in favour of #2570 and #2570 is closed in favour of this thread!
This is definitely an issue, I'm experiencing it with switching to any page in NavigatorIOS or Tab bar IOS and back to a page with a background image.

@hasen6 #2570 was never closed.

Ok it looks closed because it also has a big red 'closed' sign but I guess that's referring to this thread being closed.

I'd like to note that resizeMode being set to 'cover' instead of 'contain' solved one flickering issue when the assets were being loaded for a second time.
However, I experience a flicker when switching between two images, on first load. I expect this is because the image is being decoded on the fly, can anyone think of a way we can decode assets before they are being rendered, so the user won't experience a flash?

@xvalentino Any update ? :((