Update colortransform when building texture

Description
fixes #1585
fixed upstream in https://github.com/vispy/vispy/pull/1911
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

Thanks @tlambert03! Is there an easy way to test for this? Maybe with a screenshot?

lemme give it a shot

oh man... I don't even want to know why this doesn't work.  buuut, there seems to be some sort of race condition here making this very hard to test.  if I run the entire following code block at once, it passes, but if I run it in two chunks (where marked), or if I manually change the contrast limits, it fails
    import numpy as np, napari
    viewer = napari.Viewer()
    layer = viewer.add_image(
        np.random.random((200, 200)), contrast_limits=[0, 10]
    )
    visual = viewer.window.qt_viewer.layer_to_visual[layer]

    # if pause right here, and this fails, showing the weird contrast phenotype
    layer.contrast_limits = (0, 2)
    screen1 = viewer.screenshot()
    visual._on_data_change()
    screen2 = viewer.screenshot()
    assert np.allclose(screen1, screen2)

I also tried putting in a qtbot.wait() or a time.sleep there, but it still didn't fail the test on the current master.  So I'm actually not immediately sure how to get the failing test at the moment!

ok, I found a test that works (fails on master, passes here).  It's not pretty – testing for screenshot equality ended up being weirder/harder than expected – but it gets the job done


Revving version and forcing numpy to be >= 1.14

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please add noarch: python

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

noarch packages can't have selectors. If the selectors are necessary, please remove noarch: python.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

@conda-forge-admin, please add noarch: python

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Something is off here. Both the re-render and the noarch webservices failed to do the right thing :-/
Let me try a new PR.


Update Paint.NET Winget name.

Paint.NET's winget package name changed. Pull request to fix #1756.

@ruxunderscore added to my pr thanks for mentioning it


Add minification

Fixes #78

Thanks for working on this @karan-c3

@allcontributors add karan-c3 for code

@allcontributors add alucard17 for code

Thanks for working on this @alucard17


'React/RCTViewManager.h' file not found

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
When compiling the app. on find 'React / RCTViewManager.h'.
React Native version:
React Native Environment Info:
System:
OS: macOS 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 895.89 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 13.12.0 - /usr/local/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 26, 27, 28, 29
Build Tools: 27.0.2, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3
System Images: android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.59.5 => 0.59.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-navigation: 6.3.2
react-native-svg: 12.0.3
Steps To Reproduce

Add ARTShape to library

same problem i found, in the react-native-community/art at ios

'React/RCTViewManager.h' file not found after upgrade 0.62 to 0.63.2

Anyone still having this issue, check your ios/Podfile.lock file and search for React, mine was turning being set to 0.11.0 for some reason while i was on 0.63.4 react native version. The issue causing that was in package.json file under resolutions, i deleted the followings and it fixed itself
"@react-native-community/cli": "3.0.0-alpha.2",     "@react-native-community/cli-platform-android": "3.0.0-alpha.2",     "@react-native-community/cli-platform-ios": "3.0.0-alpha.2",     "@react-native-community/cli-tools": "2.8.3"


SAK-40461 Library: restyled the select dropdown menu element

https://jira.sakaiproject.org/browse/SAK-40461

brightened its default state
created a disabled state (with better than 5.5:1 contrast)
removed the down-arrow background image from the multi-select elements

@ottenhoff, are you okay with this fix?

Sure looks great
On Fri, Aug 17, 2018 at 2:03 PM Shawn Foster<EMAIL_ADDRESS>wrote:

@ottenhoff https://github.com/ottenhoff, are you okay with this fix?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sakaiproject/sakai/pull/5881#issuecomment-413944769,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxeCcjFvD6cAJxjDcLfi4_7Xpgeqt_fks5uRwV7gaJpZM4WBsdg
.


No release notes for versions post 2.8.0??

Please check our current Issues to see if someone already reported this https://github.com/Microsoft/azure-pipelines-task-lib/issues
Environment
azure-pipelines-task-lib version: 3.1.10
Issue Description
I was trying to find out the changes done to this library since 2.9.x version till 3.1.10 to evaluate if any breaking changes are there in azure-pipelines-task-lib or not. At this link https://github.com/microsoft/azure-pipelines-task-lib/blob/master/node/docs/releases.md i could only find release notes till 2.8.0...are the changes between versions still maintained? Can you point me to the link as i did not find on site.

Hi @kriti218! We don't maintain the changelog at the moment, but I think it makes sense to do that.
Another option would be to add changelogs to each release, and to recreate the missing github releases.
I've added this item to the backlog, we'll take a look at it once we have enough capacity.

AFAIK there are not supposed to be any breaking changes in tasklib since version 2.8.0.
3.x is focused on allowing us to use tasklib with node 10 and typescript 4.
Also, we faced issues if our tasks had both 3.x and 2.x present in node_modules. So make sure to check your package-lock and ensure that either only 2.x or only 3.x is used in the task.

@DaniilShmelev Thanks for quick response. Good to know that you have added the ask in your backlog. It is always good to maintain change logs per release i feel.

@DaniilShmelev When you say 3.x is to support node 10 and TS 4, i hope it is backward compatible and doesn't make it a mandate to upgrade to node 10 and TS 4? Can you confirm that? This is what your documentation on npm site states:
**Upgrading to Node 10
Upgrading your tasks from Node 6 should be relatively painless, however there are some things to note:
Typescript has been upgraded to TS 4. Older versions of TS may or may not work with Node 14 or the 3.x branch. We recommend upgrading to TS 4 when upgrading to task-lib 3.x.
Node has made some changes to fs between Node 6 and Node 10. It is worth reviewing and testing your tasks thoroughly before publishing updates to Node 10.**

Node 6 is currently a deprecated and optional part for the Azure Pipelines
Agent. Consider migrating to Node 10 as an important step to stay
compatible with Azure DevOps Server 2022 and up and Azure DevOps (Service).
Node 6 is past it's support date, no longer maintained and a security
problem waiting to happen.
On Mon, 21 Feb 2022, 11:19 kriti218, @.***> wrote:

@DaniilShmelev https://github.com/DaniilShmelev When you say 3.x is to
support node 10 and TS 4, i hope it is backward compatible and doesn't make
it a mandate to upgrade to node 10 and TS 4? Can you confirm that? This is
what your documentation on npm site states:
**Upgrading to Node 10
Upgrading your tasks from Node 6 should be relatively painless, however
there are some things to note:
Typescript has been upgraded to TS 4. Older versions of TS may or may not
work with Node 14 or the 3.x branch. We recommend upgrading to TS 4 when
upgrading to task-lib 3.x.
Node has made some changes to fs between Node 6 and Node 10. It is worth
reviewing and testing your tasks thoroughly before publishing updates to
Node 10.**
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azure-pipelines-task-lib/issues/819#issuecomment-1046707377,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA724SZVIBUA4R4Y5PXNXX3U4IGUJANCNFSM5O546KUQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Usually we update node, typescript and tasklib version all at the same time when we migrate a task, e.g.: https://github.com/microsoft/azure-pipelines-tasks/pull/14064. We don't have any guarantees that it will work on previous typescript or node versions. So in this sense, there is indeed a breaking change.


global logger?

I am open for global as local ones. As of now we have defined our own loggers inside each of the tools right? What is the idea behind a global logger? :-D

My idea was to ensure uniformity and that you do not have to keep re-initiating the logger in each tool.


Enter "set look &"

https://github.com/palewire/cummings.ee/blob/main/_data/poems/is-5/one-xxxi.yaml
https://archive.org/details/is-5-ee-cummings/page/n53/mode/2up

Instructions on how to contribute here: https://github.com/palewire/cummings.ee/blob/main/CONTRIBUTING.md

Transcribing now...will figure out how to submit the pull request tomorrow. :)

Great! I look forward to reviewing it.


Changelog not working unless I use the --unreleased flag

The problem
This is my git history at the moment:
3e7ea70   4 days ago User XXX (HEAD -> master, origin/master, origin/HEAD, semver) fix: repo-init does not clean codebase properly
fbfdcda   4 days ago User XXX chore: add .keep files in empty directory for docs
cd25db6   6 days ago User XXX feat(docs): autogenerate docs with sphinx and apidocs
184d5a3   5 days ago User YYY misc: makefile: del unnecessary var
201cd18   5 days ago User YYY fix: makefile: no need to set TZ in container
2840520   7 days ago User YYY feat: set timezone in docker without mounting from host
56b389e   7 days ago User YYY feat: generate docker-compose .env from makefile
cd7545e   7 days ago User YYY fix: wrong makefile phony
52f9641   7 days ago User XXX fix(initialization): write .TEMPLATE_VERSION
3b2f05d   7 days ago User XXX feat(initialization): Generate .TEMPLATE_VERSION file automatically + reset project version on init
4484142   7 days ago User XXX chore: remove unused file
40340ae   7 days ago User XXX feat(dev container): allow user to run commands as sudo, without any password prompt
13591aa   7 days ago User XXX (tag: v0.0.0) feat: configure python-semantic-release
1983ee6   7 days ago User YYY docs: -del doc about makefile-in-docker env var
eeb7f31   7 days ago User YYY feat: detect makefile is run in a docker container
a9026a0   7 days ago User XXX fix: remove forgotten doc for git-chglog
24847d0   8 days ago User XXX fix: remove also empty folders
34b4d2d   8 days ago User XXX fix: remove code base wrong path
7eeac63   8 days ago User XXX chore: remove template codebase at repo init
c7d2802   8 days ago User XXX fix: use -p in read call to avoid separate echo
7a00a69   8 days ago User XXX feat: remove unused step + add the possibility to create or not a git repository within the project
20b681b   8 days ago User XXX chore: delete unused

When I launch semantic-release changelog, generated changelog is empty. When using --unreleased, this changelog is generated:
### Feature
* **docs:** Autogenerate docs with sphinx and apidocs ([`cd25db6`](https://github.com/my-repo/my-repo/commit/cd25db64bff3a5a5cbdb033d8e94c9eb68dbc3d8))
* Set timezone in docker without mounting from host ([`2840520`](https://github.com/my-repo/my-repo/commit/28405205b9d527b996b7f08537b8700d6a4dd3aa))
* Generate docker-compose .env from makefile ([`56b389e`](https://github.com/my-repo/my-repo/commit/56b389e730067f1a2849143e62c50a83e69cb5a3))
* **initialization:** Generate .TEMPLATE_VERSION file automatically + reset project version on init ([`3b2f05d`](https://github.com/my-repo/my-repo/commit/3b2f05d1dacc6cde2ccce2d272e2c885151dc912))
* **dev container:** Allow user to run commands as sudo, without any password prompt ([`40340ae`](https://github.com/my-repo/my-repo/commit/40340ae3d5617d83ab26127e4e9d4fe003a91ac1))

### Fix
* Repo-init does not clean codebase properly ([`3e7ea70`](https://github.com/my-repo/my-repo/commit/3e7ea7020418e6065a4f376353f89ee6334462ff))
* Makefile: no need to set TZ in container ([`201cd18`](https://github.com/my-repo/my-repo/commit/201cd18d780d5405f646d387d84367611e58c485))
* Wrong makefile phony ([`cd7545e`](https://github.com/my-repo/my-repo/commit/cd7545ebe8cc521ee2a12e6af2da810f5e0f7a7f))
* **initialization:** Write .TEMPLATE_VERSION ([`52f9641`](https://github.com/my-repo/my-repo/commit/52f9641d219276786a706b1fac2233949af0dabd))

Expected behavior
Without using --unreleased, the tool should give me the changelog, or there is a problem with the documentation / tool.
Indeed, publish command documentation describes the steps, and the first one is generating the changelog BEFORE creating the new version. So I wanted to execute commands step by step to check that it is working properly, but it's not.
Maybe I did something wrong ?
Additional context
The first version and tag on my project (pyproject.toml) was not created with semantic-release. Maybe this can be a problem ?
Also, while digging the code, those lines in cli.py look odd to me:
https://github.com/python-semantic-release/python-semantic-release/blob/a4b625f98da8b4d9364f6dd37260d92a24238cf6/semantic_release/cli.py#L287
Is it possible that the two parameters should be switched ? Looking at the function documentation, there may be an error or I'm just lost at trying to figure this out ?
Thank you for your help !

Hey :wave:
I think this is expected behaviour - changelog just produces a changelog structured version-by-version, but PSR tries to identify when the last version was by looking for its own commit. Because you haven't yet done a release with PSR, it doesn't think that anything has been released yet, so you get an empty changelog unless you add the --unreleased flag.
In publish the new version is calculated before the changelog is generated, and the changelog contents is essentially the summary of commits since the previous release, up until this new version, which gets substituted into the changelog file (during publish) wherever the <!--next-version-placeholder--> comment is.

Thank you for your answer.
I used publish command and it created the right changelog for version v0.1.0.
Now, I want to release a new version, but I do not want to use publish as it includes Github links for each commit and I'm not using GitHub neither Gitlab. So if I launch version it creates the right next version and updates it well, but even after that changelog is not working. So what's the issue there ?

When you say:

but even after that changelog is not working

what do you mean? Are you getting an empty changelog, or is it ok up until v0.1.0 but then missing anything else?
Can you post your configuration? And could you please make sure that you've got a <!--next-version-placeholder--> in your changelog?


[Bug]: Sorting by a column and then removing it results in a blank table

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Database blanks out when table is first sorted by a column, and then the column is removed from the database query.
Steps To Reproduce

Link a table to a database
Write a query to display data e.g. SELECT * FROM contacts LIMIT 10;

Sort that table by a particular column (say the ID column)
Remove that column from the database query  SELECT name, frequency FROM contacts LIMIT 10;

The table is now blank.

Public Sample App
No response
Issue video log
No response
Version
Cloud

Approach: If the column sorted by is not found in the data, please reset the table

Duplicate of #15238


Cloning/copying textures causes crash on switch build

This was encountered during the development of Final Forest

Example using WizEngine:
sf::Texture testTexture = *getAssets().get(GameAssets::LOGO);

This will cause a crash on the switch. Where getAssets().get(GameAssets::LOGO); is dereferenced and then is copied into testTexture.


Installation error

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

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: -
TensorFlow installed from (source or binary): binary
TensorFlow version: 2.2.0
Python version: 3.6 / 3.8
Installed using virtualenv? pip? conda?: pip
Bazel version (if compiling from source): -
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: -
GPU model and memory: NVIDIA GeForce GTX 960 6,0 GB

Describe the problem
While having installed the Tensorflow package via Pycharm Keras does not work. It does not want to import the Sequential Model from Keras. We want to run a unit test on a Keras-based neural network an it is not working. Here is my error message:
Error
Traceback (most recent call last):
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\unittest\case.py", line 601, in run
testMethod()
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\unittest\loader.py", line 34, in testFailure
raise self._exception
ImportError: Failed to import test module: test_neural_network
Traceback (most recent call last):
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\keras_init_.py", line 3, in
from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as module_util
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python_init.py", line 50, in
from tensorflow.python import pywrap_tensorflow
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 69, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Philip\AppData\Local\Programs\Python\Python36\lib\unittest\loader.py", line 153, in loadTestsFromName
module = import(module_name)
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\hw08_neural_networks\test_neural_network.py", line 2, in
from hw08_neural_networks import get_data, lstm, cnn
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\hw08_neural_networks\lstm.py", line 2, in
from keras.models import Sequential
File "D:\Uni\SS 20\Computerlinguistische Anwendungen\jophya\src\venv\lib\site-packages\keras_init_.py", line 6, in
'Keras requires TensorFlow 2.2 or higher. '
ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow
Assertion failed
Assertion failed
Ran 1 test in 0.050s
FAILED (errors=1)
Process finished with exit code 1
Assertion failed
Assertion failed
Has anybody any advise?
Thank you in advance
Provide the exact sequence of commands / steps that you executed before running into the problem
Any 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.

Please close all sessions of Jupyter Notebook and relaunch. Try to import again as a first step and it should work fine.

@adamczykp,
Please check this comment from a similar issue and let us know if it works. Thanks!


arguments validation improvements

Required for https://github.com/pydantic/pydantic/pull/5342.

Codecov Report

Merging #523 (1968540) into main (6a71543) will decrease coverage by 0.02%.
The diff coverage is 89.18%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #523      +/-   ##
==========================================
- Coverage   94.80%   94.78%   -0.02%
==========================================
  Files          93       93
  Lines       12259    12226      -33
  Branches       25       25
==========================================
- Hits        11622    11589      -33
  Misses        630      630
  Partials        7        7

Impacted Files
Coverage Δ

src/args_kwargs.rs
90.00% <86.66%> (-10.00%)
:arrow_down:

src/input/input_json.rs
96.31% <100.00%> (+0.34%)
:arrow_up:

src/input/input_python.rs
98.66% <100.00%> (+0.40%)
:arrow_up:

src/validators/call.rs
100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

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


made it so the config works even if there's  a space or not

oh i ended up pushing an identical change to master lol
i don't see the flaw in doing this. it's weird and it wasn't the ideal solution but it doesn't hurt.


Support for validating custom types

Hi
There seems to be an issue when attempting to use custom types. I'm trying to validate a moment daterange object but none of the valdation methods is called. I've tried both custom vaidation rules, _.extend(Backbone.Validation.validators, { ... }) and "dateRange": function() {}.
After some debugging, the flatten method is reveled  as the culprit.
var flatten = function (obj, into, prefix) {
  into = into || {};
  prefix = prefix || '';

  _.each(obj, function(val, key) {
    if(obj.hasOwnProperty(key)) {
      if (val && typeof val === 'object' && !(
        val instanceof Array ||
        val instanceof Date ||
        val instanceof RegExp ||
        val instanceof Backbone.Model ||
        val instanceof Backbone.Collection)
      ) {
        flatten(val, into, prefix + key + '.');
      }
      else {
        into[prefix + key] = val;
      }
    }
  });

  return into;
};

It recursively extracts all public methods of the daterange object and stores them as "daterange.publicmethod" referances. This cause the original type key dateRange be undefined when validateAttr is called. When adding a stupid check (key === "dateRange") as a last case to the instanceof blacklist, forcing it to resolve to the else block (into[prefix + key] = val), the validation work as expected.
Any ways to force the flatten method to skip the recursive extract and resolve to the else block?
Using backbone-validation-amd.js v0.9.1

Hi @kentandersen, I think pull request #264 should fix this issue (and that issue #261 is probably a duplicate of this one, oops). Please take a look and see if you agree.

Yes the #261 addresses the same problem I've had with validating nested objects, as do #186. The solution outlined in https://github.com/thedersen/backbone.validation/pull/264#issuecomment-71581538 seams like a good way fix this issiue

This should now be fixed with v0.11.1. Please let us know if you have any problems using that version or a later one.
@chiefGui do you want to close this?

Thank you @platinumazure.


[Documentation]: Advanced Text-to-SQL guide does not add other tables

Documentation Issue Description
In the guide, there is no code to add the other tables except city_stats in the SQL database. And the guide mentions it can search on large number of tables to get the SQL from natural query. However, we see only a single table is added to the SQL DB instance in the following line:
sql_database = SQLDatabase(engine, include_tables=["city_stats"])

Can you please post the correct code before updating the documentation? Thanks.
P.S New to Llama Index.
Documentation Link
https://gpt-index.readthedocs.io/en/latest/examples/index_structs/struct_indices/duckdb_sql_query.html#advanced-text-to-sql-with-our-sqltableretrieverqueryengine

🤖
Hello,
Thank you for bringing this to our attention. You're correct that the guide currently only shows how to add a single table to the SQL database. However, you can add multiple tables by creating a new Table object for each table you want to add, and then adding them to the MetaData object using metadata_obj.create_all(engine). Here's an example of how you can add two tables, city_stats and country_stats:
# create city SQL table
table_name1 = "city_stats"
city_stats_table = Table(
    table_name1,
    metadata_obj,
    Column("city_name", String(16), primary_key=True),
    Column("population", Integer),
    Column("country", String(16), nullable=False),
)

# create country SQL table
table_name2 = "country_stats"
country_stats_table = Table(
    table_name2,
    metadata_obj,
    Column("country_name", String(16), primary_key=True),
    Column("population", Integer),
    Column("continent", String(16), nullable=False),
)

metadata_obj.create_all(engine)

Then, when you create the SQLDatabase object, you need to include both table names in the include_tables parameter:
sql_database = SQLDatabase(engine, include_tables=["city_stats", "country_stats"])

And when you create the NLSQLTableQueryEngine object, you also need to include both table names in the tables parameter:
query_engine = NLSQLTableQueryEngine(
    sql_database=sql_database,
    tables=["city_stats", "country_stats"],
)

Finally, when you create the ObjectIndex, you need to create a SQLTableSchema object for each table:
table_schema_objs = [SQLTableSchema(table_name="city_stats"), SQLTableSchema(table_name="country_stats")]

And pass them to the ObjectIndex.from_objects method:
obj_index = ObjectIndex.from_objects(
    table_schema_objs,
    table_node_mapping,
    VectorStoreIndex,
)

In the context shared, you can also add additional context information for each table schema you define:
# manually set context text
city_stats_text = (
    "This table gives information regarding the population and country of a given city.\n"
    "The user will query with codewords, where 'foo' corresponds to population and 'bar'"
    "corresponds to city."
)

table_node_mapping = SQLTableNodeMapping(sql_database)
table_schema_objs = [
    (SQLTableSchema(table_name="city_stats", context_str=city_stats_text))
]

I hope this helps! If you have any other questions, feel free to ask.
Best, Dosu
Sources

docs/end_to_end_tutorials/structured_data/sql_guide.md
docs/examples/index_structs/struct_indices/SQLIndexDemo.ipynb
llama_index/utilities/sql_wrapper.py
llama_index/indices/struct_store/sql_query.py
llama_index/indices/base.py
llama_index/indices/keyword_table/base.py

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

How can I index and add hundreds or thousands of tables? Is there any to simplify the above process?

@dosu-bot Is there a way to add multiple table from different database and schema in SQLDatabase? Presently these tables are from 1 database:
sql_database = SQLDatabase(engine, include_tables=["city_stats", "country_stats"])
if we have 2 different database, how to include tables in that case?


Explicitly show how to read from a file into AA records

It strikes again: 'std/csv.d' contains trailing whitespace at line 70


[Bug]

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
Hello,
When I try to parallelly run two trainings on same GPU (its not fully used so I tried to start another one to compare results) Im getting the error:
raise RuntimeError(

RuntimeError: Default process group has not been initialized, please make sure to call init_process_group.

I have tried to run the second iteration with different port values and in distributed as well as simple way but no changes. Maybe there are some additional commands which needs to be given?
Environment information:
sys.platform: win32
Python: 3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]
CUDA available: True
GPU 0,1: NVIDIA GeForce RTX 3090
CUDA_HOME: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
NVCC: Cuda compilation tools, release 11.8, V11.8.89
MSVC: Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31630 for x64
GCC: n/a
PyTorch: 1.11.0+cu113
PyTorch compiling details: PyTorch built with:

C++ Version: 199711
MSVC 192829337
Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.5.2 (Git Hash a9302535553c73243c632ad3c4c80beec3d19a1e)
OpenMP 2019
LAPACK is enabled (usually provided by MKL)
CPU capability usage: AVX2
CUDA Runtime 11.3
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
CuDNN 8.2
Magma 2.5.4
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.2.0, CXX_COMPILER=C:/actions-runner/_work/pytorch/pytorch/builder/windows/tmp_bin/sccache-cl.exe, CXX_FLAGS=/DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/builder/windows/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.11.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=OFF, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.12.0+cu113
OpenCV: 4.6.0
MMCV: 1.6.2
MMCV Compiler: MSVC 192829924
MMCV CUDA Compiler: 11.3
MMDetection: 2.25.3+e71b499
Pytorch installed through pip.
Best regards,
Roberts
Reproduces the problem - code sample
first training which runs fine:
python -m torch.distributed.launch --master_port 11224 --nproc_per_node 1 tools/train.py configs/retinanet/retinanet_r50_fpn_1x_coco_one_class.py
second training started in paralllel:
tried:
python -m torch.distributed.launch --master_port 29900 --nproc_per_node 1 tools/train.py configs/efficientnet/retinanet_effb3_fpn_crop896_8x4_1x_coco_one_class.py
as well as:
python tools/train.py configs/efficientnet/retinanet_effb3_fpn_crop896_8x4_1x_coco_one_class.py --gpu-id 0
Reproduces the problem - command or script
first training which runs fine:
python -m torch.distributed.launch --master_port 11224 --nproc_per_node 1 tools/train.py configs/retinanet/retinanet_r50_fpn_1x_coco_one_class.py
second training started in paralllel:
tried:
python -m torch.distributed.launch --master_port 29900 --nproc_per_node 1 tools/train.py configs/efficientnet/retinanet_effb3_fpn_crop896_8x4_1x_coco_one_class.py
as well as:
python tools/train.py configs/efficientnet/retinanet_effb3_fpn_crop896_8x4_1x_coco_one_class.py --gpu-id 0
Reproduces the problem - error message
raise RuntimeError(

RuntimeError: Default process group has not been initialized, please make sure to call init_process_group.

Additional information
No response

Seems you forgot to add --launcher pytorch. Please refer to the tools/dist_train.sh to launch a distributed training process.


Update Metadata installation from Manifest

This PR reflects recent change of metadata manifest structure.

This change is

/lgtm
/approve


fixed sparse efficiency warning

Changed code in _jw_hf_state.py to use dok_matrix instead of csr_matrix in order to avoid sparse efficiency warning.

Good advice. This code was originally contributed by @idk3. I was just addressing the issue that arises due to using the wrong type of sparse matrix.

Coverage decreased (-6.0e-05%) to 99.597% when pulling e619309151896021768fb2951ca020d63078a3fc on babbush:fixing_sparse_warning into a2b4acf00e909b4bee527d8c15269f0971184e95 on quantumlib:master.

Coverage increased (+0.02%) to 99.614% when pulling 5fa039d027daf7ef23b4ab082214db2c7bad26fb on babbush:fixing_sparse_warning into a2b4acf00e909b4bee527d8c15269f0971184e95 on quantumlib:master.


[SPARK-11569] [ML] Fix StringIndexer to handle null value properly

The root cause of this bug is that StringIndexer is unable to handle input column with null value. With my fix, null value can also be indexed just like any other string value.
@jkbradley @holdenk Please let me know of any comments. Thanks!

Can one of the admins verify this patch?

@mengxr @jkbradley Can you please help to take a look at my fix? Thanks!

ok to test

Test build #46010 has started for PR 9709 at commit f360172.

Test build #46010 has finished for PR 9709 at commit f360172.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46010/
Test PASSed.

So if I understand the change correctly this will treat null values the same as the string "null" yes? If we do this we should document that behavior (it seems like a reasonable approach provided this is the standard but maybe add a comment so people aren't caught by surprise)? It might also make sense to have this be configurable (as per @jkbradley's comments in the JIRA).

Test build #46526 has started for PR 9709 at commit d17641e.

Test build #46526 has finished for PR 9709 at commit d17641e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46526/
Test PASSed.

Merged build finished. Test PASSed.

Test build #46528 has started for PR 9709 at commit 9166ae9.

Test build #46528 has finished for PR 9709 at commit 9166ae9.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46528/
Test FAILed.

Merged build finished. Test FAILed.

Test build #46530 has started for PR 9709 at commit 65af5c8.

Test build #46530 has finished for PR 9709 at commit 65af5c8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46530/
Test PASSed.

There are 174 commits in this PR, but I think you only need 1. Could you please rebase on master? It would make life easier for reviewers (for instance, this PR appears in the Mesos section on the spark-prs site, presumably because the other commits touch something on Mesos).

@dragos thanks for pointing it out. i am having some problem with rebase and will close this PR.


in RC Desktop i have message "Workspace unsupported".What will happen to the application when the deadline expires?

Hi all!
in RC Desktop i have message "Workspace unsupported".What will happen to the application when the deadline expires?
Will I be able to continue using the app?
I have community version and dont uses cloud services.

https://docs.rocket.chat/customer-center/support-center/premium-support-plans/support-prerequisites-and-version-durability


Project status

Alternative registries being easy to run is important for at least Rust development if not the tech's wider ecosystem.  Is this project is actively maintained?

I think you can guess the answer to that one... but also looking for this kind of thing. Do we start from here or is there a better starting point?

@gilescope I've since found https://github.com/Hirevo/alexandrie and intend on using it.


refactor(sbb-slider): lit migration

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)

See Review Guidelines for more information what is checked during review process.
Changes
Changes in this pull request:

sbb-slider migrated to Lit

Browsers
I tested the build on the following browsers:

[x] Firefox Desktop
[x] Chrome Desktop
[ ] Edge Desktop
[x] Safari Desktop
[ ] Chrome Mobile
[ ] Safari Mobile

Screen readers
I tested the build on the following browsers:

[ ] JAWS Firefox Desktop
[ ] JAWS Chrome Desktop
[ ] NVDA Firefox Desktop
[ ] NVDA Chrome Desktop
[x] VoiceOver Safari Desktop
[x] VoiceOver Chrome Desktop
[ ] VoiceOver Safari Mobile
[ ] Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[x] Yes
[ ] No

Other information

Codecov Report

:exclamation: No coverage uploaded for pull request base (lit-migration@ca5edcb). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@               Coverage Diff                @@
##             lit-migration    #2082   +/-   ##
================================================
  Coverage                 ?   95.35%
================================================
  Files                    ?      218
  Lines                    ?    34129
  Branches                 ?     1881
================================================
  Hits                     ?    32542
  Misses                   ?     1562
  Partials                 ?       25

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


error: cannot build manifest: cannot get container size when building example bootc-extension/httpd image

Bug description
I tried to build an example image using the button that bootc extension main page offers. It ended up with an error:
2024/04/29 10:10:23 error: cannot build manifest: cannot get container size: failed inspect image: exit status 125, stderr:
time="2024-04-29T10:10:23Z" level=error msg="Unable to write system event: \"write unixgram @00007->/run/systemd/journal/socket: sendmsg: no such file or directory\""
Error: size for layer "5c7899f28957a0021f72bc56674bd659732e464e05df2abaa352d1aec6bfe62a" is unknown, failing getSize()

Operating system
Windows 10
Version
next (development version)
Steps to reproduce

Install Podman Desktop 1.10.0
Install bootc extension 0.5.0
Open BootC initial page by clicking on the nav bar menu item
Press the button to pull example image: bootc-extension/httpd
Image is pulled, button to build appears
Build example image: httpd -> Pick up folder to build image in, choose RAW type to build the image and choose platform to build image with (amd 64 in my case)
Press build
Assert: Image is built
Error: Container exited with non-zero return code

Relevant log output
Build Image Log --------
ID:     httpd
Image:  quay.io/bootc-extension/httpd
Type:   raw
Folder: C:\Users\Ondrej\Temp\httpd
----------
{
  "name": "httpd-bootc-image-builder",
  "Image": "quay.io/centos-bootc/bootc-image-builder:latest-1713548482",
  "Tty": true,
  "HostConfig": {
    "Privileged": true,
    "SecurityOpt": [
      "label=type:unconfined_t"
    ],
    "Binds": [
      "C:\\Users\\Ondrej\\Temp\\httpd:/output/",
      "/var/lib/containers/storage:/var/lib/containers/storage"
    ]
  },
  "Labels": {
    "bootc.image.builder": "true"
  },
  "Cmd": [
    "quay.io/bootc-extension/httpd:latest",
    "--output",
    "/output/",
    "--local",
    "--type",
    "raw",
    "--target-arch",
    "amd64"
  ]
}
----------
Generating manifest manifest-raw.json
Error: cannot build manifest: cannot get container size: failed inspect image: exit status 125, stderr:
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container d05aaa27820137c9cf26af6e223561c2175be312ac7691e577a2eb0b40806426: acquiring lock 0 for container d05aaa27820137c9cf26af6e223561c2175be312ac7691e577a2eb0b40806426: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container b88a97a97346d20bbc25b0397d58df2a8d53ba0b21748ba50abb4c58c4ec69da: acquiring lock 3 for container b88a97a97346d20bbc25b0397d58df2a8d53ba0b21748ba50abb4c58c4ec69da: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container 93cece2899b06dabddff864df87552aecfe76a5f6827a401e7bc43e5d12253da: acquiring lock 2 for container 93cece2899b06dabddff864df87552aecfe76a5f6827a401e7bc43e5d12253da: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container f7b2aef47ff10b64fccc9e4ff1f0602d81804826cd559277f851eaf580e2c739: acquiring lock 5 for container f7b2aef47ff10b64fccc9e4ff1f0602d81804826cd559277f851eaf580e2c739: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing volume 0394379de0b78c5323e277919d642a43f7cc4ce06f15aa2941a18ce9971e1f4c: acquiring lock 4 for volume 0394379de0b78c5323e277919d642a43f7cc4ce06f15aa2941a18ce9971e1f4c: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container 55f29d581116d066a32e3d7ef6422b5cd5d7acabd38616d0fff390b7a955fca4: acquiring lock 6 for container 55f29d581116d066a32e3d7ef6422b5cd5d7acabd38616d0fff390b7a955fca4: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing volume 20e187485a19450882adbc3049c76b3de467821592173f01974527e948673c82: acquiring lock 8 for volume 20e187485a19450882adbc3049c76b3de467821592173f01974527e948673c82: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing pod f3bda8b18e3e9f8f3fc17889711e4533a3c31de54498596aaad115b156933264: retrieving lock 1 for pod f3bda8b18e3e9f8f3fc17889711e4533a3c31de54498596aaad115b156933264: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing volume 133e842ef1e04cd59cdbf704cd0a198a01370a7138900dbcb7a19848962c716c: acquiring lock 7 for volume 133e842ef1e04cd59cdbf704cd0a198a01370a7138900dbcb7a19848962c716c: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Unable to write system event: \"write unixgram @0000e->/run/systemd/journal/socket: sendmsg: no such file or directory\""
2024/04/29 10:22:34 error: cannot build manifest: cannot get container size: failed inspect image: exit status 125, stderr:
Error: size for layer "5c7899f28957a0021f72bc56674bd659732e464e05df2abaa352d1aec6bfe62a" is unknown, failing getSize()
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container d05aaa27820137c9cf26af6e223561c2175be312ac7691e577a2eb0b40806426: acquiring lock 0 for container d05aaa27820137c9cf26af6e223561c2175be312ac7691e577a2eb0b40806426: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container 93cece2899b06dabddff864df87552aecfe76a5f6827a401e7bc43e5d12253da: acquiring lock 2 for container 93cece2899b06dabddff864df87552aecfe76a5f6827a401e7bc43e5d12253da: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container b88a97a97346d20bbc25b0397d58df2a8d53ba0b21748ba50abb4c58c4ec69da: acquiring lock 3 for container b88a97a97346d20bbc25b0397d58df2a8d53ba0b21748ba50abb4c58c4ec69da: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container f7b2aef47ff10b64fccc9e4ff1f0602d81804826cd559277f851eaf580e2c739: acquiring lock 5 for container f7b2aef47ff10b64fccc9e4ff1f0602d81804826cd559277f851eaf580e2c739: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing pod f3bda8b18e3e9f8f3fc17889711e4533a3c31de54498596aaad115b156933264: retrieving lock 1 for pod f3bda8b18e3e9f8f3fc17889711e4533a3c31de54498596aaad115b156933264: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing volume 0394379de0b78c5323e277919d642a43f7cc4ce06f15aa2941a18ce9971e1f4c: acquiring lock 4 for volume 0394379de0b78c5323e277919d642a43f7cc4ce06f15aa2941a18ce9971e1f4c: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing container 55f29d581116d066a32e3d7ef6422b5cd5d7acabd38616d0fff390b7a955fca4: acquiring lock 6 for container 55f29d581116d066a32e3d7ef6422b5cd5d7acabd38616d0fff390b7a955fca4: file exists"

time="2024-04-29T10:22:34Z" level=error msg="Refreshing volume 133e842ef1e04cd59cdbf704cd0a198a01370a7138900dbcb7a19848962c716c: acquiring lock 7 for volume 133e842ef1e04cd59cdbf704cd0a198a01370a7138900dbcb7a19848962c716c: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Refreshing volume 20e187485a19450882adbc3049c76b3de467821592173f01974527e948673c82: acquiring lock 8 for volume 20e187485a19450882adbc3049c76b3de467821592173f01974527e948673c82: file exists"
time="2024-04-29T10:22:34Z" level=error msg="Unable to write system event: \"write unixgram @0000e->/run/systemd/journal/socket: sendmsg: no such file or directory\""
Error: size for layer "5c7899f28957a0021f72bc56674bd659732e464e05df2abaa352d1aec6bfe62a" is unknown, failing getSize()

Additional context
No response

Could you please post your podman version to see what version of Podman Machine you are working.
We've also updated the bootc-image-builder image, could you try with ghcr.io/containers/podman-desktop-extension-bootc:nightly which will have the 5.0.0+ fixes.

So basically rather to test with what is closer to 1.0.0 bootc ext. release?

So basically rather to test with what is closer to 1.0.0 bootc ext. release?

yup, nightly would be the latest changes to master that will reflect the 1.0.0 release going out tomorrow.

Update: Looks like an upstream issue: https://github.com/osbuild/bootc-image-builder/issues/406

@cdrage Tried again with newest bootc ext. installed (nightly). Still can see the issue.

@cdrage Tried again with newest bootc ext. installed (nightly). Still can see the issue.

May be a corrupted image on quay.io as it looks like I am getting the same issue..
Could you try pulling quay.io/centos-bootc/centos-bootc:stream9 and building that image?

@cdrage Tried again with newest bootc ext. installed (nightly). Still can see the issue.

May be a corrupted image on quay.io as it looks like I am getting the same issue but ONLY on the example image.
Could you try pulling quay.io/centos-bootc/centos-bootc:stream9 and building that image?

Yes. Now It worked nice. I just built RAW, but it worked.

@odockal thanks! i apologize for that. i've also gone ahead and deleted and re-pushed our example image, and it should be working fine now.

Ok to close?


Conversion failed!

I'm receiving this error and I wanted some advice even though it is probably an error on behalf of ffmpeg. I have the latest version of ffmpeg and the latest driver for the intel arc a380.
Encoding normalized\2019-08-03-21-21-46-17.av1_qsv.mkv
  Searching 00:04:40 ################################################################################ (crf 29, VMAF 95.54, size 34%)
Error: ffmpeg encode exit code 1
---stderr---
[av1_qsv @ 0000019dad20d240] Error allocating the output packetrate=20568.1kbits/s speed=4.68x
[vost#0:0/av1_qsv @ 0000019dad6fbb00] Error submitting video frame to the encoder
Conversion failed!

I have a batch script that is running ab-av1 auto-encode on every video file in a folder. The videos I plan on re-encoding are organized by date and stored on another system. This means that many of the videos I move to the script folder in order to be re-encoded have similarities. For example, every file the script is currently running on was recorded using the same application and the same CRF value. This is the reason I am so confused. How can auto-encode run successfully on many of the files but fail on others if the recording methodology was identical? I think it's safe to say this is more of an ffmpeg problem given that the error clearly states that ffmpeg exited—which means that the VMAF calculation was successful and the encode parameters were passed by ab-av1—but I still wanted to know if this is something anyone has run into.

here's another example
Encoding "normalized\2019-08-05 01-06-50-15.av1_qsv.mkv"
⠐ Searching 00:00:05 ####--------------------------------------------------------------------------------- (sampling crf 32, eta 2m)
Error copy_in_pipe_to_out: The pipe is being closed. (os error 232)
⠁ Searching 00:00:15 ##################------------------------------------------------------------------ (sampling crf 21, eta 78s)
Error copy_in_pipe_to_out: The pipe is being closed. (os error 232)
  Searching 00:07:20 ################################################################################ (crf 24, VMAF 95.42, size 68%)
Error: ffmpeg encode exit code 1
---stderr---
[av1_qsv @ 0000011e477775c0] Error allocating the output packetrate=19857.8kbits/s speed=4.72x
[vost#0:0/av1_qsv @ 0000011e47ba5540] Error submitting video frame to the encoder
Conversion failed!
------------

Error copy_in_pipe_to_out: can only happen on Windows during the vmaf run. It looks like this error is not causing the run to fail as Error: ffmpeg encode exit code 1 comes from the later attempt to encode.
I wonder if both errors have the same cause though, could the input be corrupt?
Perhaps you can reproduce the issue using ffmpeg encode directly, if so you could report that upstream. If so maybe also try another encoder like x264 in case it also encounters errors (suggesting issues with the input data).

Maybe your shell hickups on the - in the filename. Try ab-av1 auto-encode -i "2019-08-03-21-21-46-17.mkv" or rename it just to be sure to test.mkv -> ab-av1 auto-encode -i test.mkv
If it's still not working, please show the output of ffmpeg -i "2019-08-03-21-21-46-17.mkv" and mediainfo "2019-08-03-21-21-46-17.mkv"

I think enough time has passed and the tool error output should be much improved now to include ffmpeg output. I'll close this for now, feel free to reopen with more info.


Verbose (-v) key not working

It doesn't work when you give (-v). But, your usage support showing verbose (-v). Just simple missing :)

And I want to know, How do I find all the logs?

@blackcodersec you can use simplehttpserver -h to see all the flags.
it should be simplehttpserver -verbose, updated the readme.


Feature Request: Option to set page where the feed url redirects to as an alternative to the site's homepage

What
Follow up to this discussion: https://wordpress.org/support/topic/profile-url-goes-to-home-page-on-multisite/#post-17228167
Add either a radio button that allows the choice between home page or blog page and then use the page defined under settings > reading as the home page for the feed url. Or, provide a way to choose which page of the blog the feed url will redirect to as an alternative to the home page.
Why
For websites where the blog isn't the same as the home page, or where there isn't a link to the blog in the menu (Or it's named something else like "episodes"), this would allow the site admin to choose where the feed url would redirect to for easier access to all the posts. Thank you.
How
No response

i have multiple post types not showing all on the front page, so i'd like to be able to redirect actiitypub visitors to my all-posts page instead of to the front page.


Settings Loss on Power Cycle

Theme, brewery name, kegerator name, temp sensors, and at least the Raspberry Pints target reset on power cycle. Tap information doesn't. There's still zero action on MQTT on a pour; log in the next post.
Unplugging the USB cable used to flash the new firmware and check the logs, and plugging in the USB charger.

Fixed with #174


Check that scraper is executable before trying validation

in order to skip GE for now

Sorry about that, that was my workaround to get https://github.com/openZH/covid_19/blob/master/scrapers/test_scraper.sh to work.


Unrecognized command or argument '--no-auth' in 7.0

I used the current Kubernetes documentation and it's passing '--no-auth' argument when the container starts, in version 6 it was working fine but in version 7 it's broken.
How can I set --no-auth in the new version?
 Unrecognized command or argument '--no-auth'.

- name: monitor
  securityContext:
    runAsUser: 1000
  image: mcr.microsoft.com/dotnet/monitor
  args: [ "--no-auth" ]
  imagePullPolicy: IfNotPresent
  ports:
    - name: metrics
      containerPort: 9100

It's also advised that you use a tag other that latest (which you are implicitly using) to avoid breaking changes when new major versions are released.

Maybe we should also update the Kubernetes document to the latest
https://github.com/dotnet/dotnet-monitor/blob/main/documentation/kubernetes.md

Fixed with
- args: [ "--no-auth" ]
+ args: [ "collect", "--urls", "http://+:52323", "--no-auth"]


Entry in readme about using data source?

You can achieve almost equivalent functionality using the new aws_ami data source:
variable "channel" {
  default = "stable"
}

variable "virtualization_type" {
  default = "hvm"
}

data "aws_ami" "coreos" {
  most_recent = true

  owners = ["595879546273"]

  filter {
    name   = "architecture"
    values = ["x86_64"]
  }

  filter {
    name = "virtualization-type"
    values = ["${var.virtualization_type}"]
  }

  filter {
    name   = "name"
    values = ["CoreOS-${var.channel}-*"]
  }
}

Should there maybe be an entry in the README about alternatives?

@paultyng - Thanks! Does PR #15 look good enough ?


Run cypress tests/watch course test

Cypress test for user doing as course. Task id: deab7d52f7

One more thing, this branch is behind develop. You could use git rebase developand force push.


Track changes in watertap before v1.0

[x] Replace deprecated Pydantic method parse_obj() (related to watertap-org/watertap#1459)
[x] Replace watertap.examples.flowsheets imports to watertap.flowsheets (watertap-org/watertap#1438)
[x] Replace watertap.tools.parameter_sweep imports to parameter_sweep (needs watertap-org/watertap#1437)

@MichaelPesce all relevant PRs in watertap-org/watertap have been merged, so this may (and actually ought to) be merged in as well.

@lbianchi-lbl looks good to me


perf: enable shallow replication

What type of PR is this?
/kind performance
What this PR does / why we need it:
This PR changes the replication method for VHDs from full replication with the packer tool to shallow replication with a direct SIG API call. Currently, we are using the packer tool to fully replicate all non-arm64 VHDs to the SIG. For arm64 builds, a snapshot is created at the beginning of the build, updated at the end of the build, and then converted to the SIG.
This PR uses the arm64 publishing logic that is already in place to publish all VHDs to the SIG using shallow replication, with the exception of the confidential VM because it cannot be made into a snapshot.
In order to accomplish this, all references to arm64_os_disk* were changed to encompass all VHDs, all existing packer templates were modified to remove the shared_image_gallery_destination block, a new packer template was created to publish the confidential VM using the shared_image_gallery_destination block, and the convert-os-disk-snapshot-to-sig.sh file was modified to be used with all VHDs by assigning the architecture property dynamically and enabling shallow replication. Additionally, the deis/go-dev container needed to be reverted to v1.38.0.
Further details regarding these changes can be found in the project presentation.
Which issue(s) this PR fixes:
Unsatisfactory VHD Build Times.
Requirements:

[ ] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 76.258%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3000

Relevant Lines:
3934

💛  - Coveralls

Obsolete PR.


Outdated example code in typescript/gulp docs

In the typescript + gulp docs, there's an error in the example code.
The existing code, which defines a task that should depend on another task called copy-html, looks like this:
gulp.task("default", ["copy-html"], function () {...});
Since gulp 4, dependencies work differently. To achieve the same result, the following code would be correct:
gulp.task("default", gulp.series("copy-html", function () {...}));
If someone could fix this problem (which occurs more than once in the linked docs; use CTRL+F), you'd probably save numerous beginners from identical google searches ^^

This was fixed in the website a long time ago.


Deprecation warning for '~@no-js-emulation' with cucumber 3.0.1

I'm getting the following when running with cucumber 3.0.1:
Deprecated: Found tagged hook with '~@no-js-emulation'. Support for '~@tag' will be removed from the next release of Cucumber. Please use 'not @tag' instead.

I have the similar issue:
Deprecated: Found tags option '~@wip'. Support for '~@tag' will be removed from the next release of Cucumber. Please use 'not @tag' instead.

@dbilek - Is there anything in your cucumber.yml file that has ~@wip in it?

Looks like #348 would solve this, not sure what the failures are looking through Travis though.

We also have:
Deprecated: Found tagged hook with '~@javascript'. Support for '~@tag' will be removed from the next release of Cucumber. Please use 'not @tag' instead.
Deprecated: Found tagged hook with '~@no-database-cleaner'. Support for '~@tag' will be removed from the next release of Cucumber. Please use 'not @tag' instead.
Deprecated: Found tagged hook with '~@no-database-cleaner'. Support for '~@tag' will be removed from the next release of Cucumber. Please use 'not @tag' instead.

No such tags exist in our code base.

I also have the same issue. I wonder if the issue has been solved.
Thanks

Besides the point that there seems to be a bug somewhere, since a few people are getting these errors with no way of solving them - I for one think this change not an improvement. The old syntax was more succinct, and did not require putting this parameter in quotes, but I guess the authors had their reasons.

cucumber-rails did define some hooks with the deprecated tag syntax (~@tag instead of not @tag).
This issue has been fixed in master, but there hasn't been a new gem release in a while.
Can we get a new gem release?

@triskweline Unfortunately, the generate still includes the old tag syntax. Only the hooks in the step definitions were updated.

@mvz Thanks for letting me know.

The new release, v.1.6.0, will resolve this.
https://github.com/cucumber/cucumber-rails/issues/375

I have a similar problem, running my test cucumber throws a new exception like this:
"Found tagged hook with '~@javascript'.'~@tag' is no longer supported, use 'not @tag' instead. (RuntimeError)"
First problem was also with '~@wip', but i changed it in 'cucumber.yml with 'not @wip' and when i launch cucumber it doesn't matter anymore; I can't find  '~@javascript' anywhere, so i can't change it. Anyone knows where to find?

@LeonardoRomeo since this bug was fixed two years ago your problem is probably different (although the strikethrough makes it hard for me to figure out what your problem actually is). Can you open a new ticket please?


fix: support specifying custom sts endpoint

@bkyryliuk do we want to bump the lib version as well?

@feng-tao good idea, thanks
done


Uncaught TypeError: Cannot read property 'initializer' of undefined

Issue Summary
When editing a StreamField in the Wagtail Admin UI, I get the following error when clicking any of the StreamField elements:
Uncaught TypeError: Cannot read property 'initializer' of undefined
    at Object.onInitializeMember (stream.js:96)
    at l (sequence.js:100)
    at Object.n.insertMemberAtStart (sequence.js:194)
    at Object.onChooseBlock (stream.js:162)
    at HTMLButtonElement.<anonymous> (stream.js:67)
    at HTMLButtonElement.dispatch (jquery-3.5.1.min.js?v=f6bf7e78:2)
    at HTMLButtonElement.v.handle (jquery-3.5.1.min.js?v=f6bf7e78:2)

Steps to Reproduce

Create a model with a StreamField and corresponding FieldPanel
Add a new instance of the model via the Wagtail Admin UI
check the browser console

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no

Technical details

Python version: 3.8.5
Django version: 3.1.7
Wagtail version: 2.12.2
Browser version: Firefox 87.0 and Chromium 89.0.4389.114

Sorry. Using StreamFieldPanel instead of FieldPanel.

The strange part is that the StreamField renders correctly with FieldPanel, but the click handling doesn't work.


Handy Status

General Troubleshooting

[x] I have checked for similar issues.
[x] I have updated to the latest JDA version.
[x] I have checked the branches or the maintainers' PRs for upcoming features.

Feature Request

I want to have a feature so that the bot online status show him as handy user.
Example Use-Case
I want to show that my bot is on the phone.

Something like this:
jda.setOnlineStatus(OnlineStatus.HANDY);

This is not an official API feature and will not be supported by this library.

By the way "handy" is only used in the german language, so it might be confusing for others

Sorry ;)


Can not run the compiled xmodel (pytorch) in inference phase on KV260 (B4096 & B3136)

Hello,
I have quantized a resnet18 model using the resnet18_quant.py script provided by Vitis AI in the "example/vai_quantizer/pytorch" folder.
The xmodel was successfully created for the quantized model. I used this command to run the script:
python resnet18_quant.py --quant_mode test --model_dir pre_trained_models/ --data_dir tiny-imagenet-200/ --target DPUCZDX8G_ISA1_B3136 --batch_size=1 --deploy --subset_len 1
Then I compile the xmodel by this command:
vai_c_xir -x ResNet_int.xmodel -a /opt/vitis_ai/compiler/arch/DPUCZDX8G/KV260/arch.json -o customized_xmodel_pytorch/ -n resnet18
This command gives me the final xmodel file for DPU implementation. However, when I run DPU using this xmodel on my target device (KV260), I face this error:
""
Kernel Restarting
The kernel appears to have died. It will restart automatically.
"""

Which DPU image are you running on KV260? Have you checked "Vitis AI runtime example on that board" for sanity check if only the boot image is created by you?

At the time of writing the issue, I couldn't have the inference on KV260.
Right after that, I could run the xmodel on KV260. It was because the Vitis
ai libraries were not installed on Ubuntu OS, that was running on Kria
KV260. I got the last update of Vitis AI image from Xilinx website and
flashed the SD card. The problem was solved.
But I face another problem. Once I want to use the models from pre
trained weights, using the command
"model.load_state_dict(torch.load(pretrained_weights_path))", the model
cant be quantized. The error is that the model is not traceable. Could you
please help me on this matter?
On Fri, Mar 15, 2024 at 8:48 AM Krishna Gaihre @.***>
wrote:

Which DPU image are you running on KV260? Have you checked "Vitis AI
runtime example
https://github.com/Xilinx/Vitis-AI/tree/3.0/examples/vai_runtime/resnet50
on that board" for sanity check if only the boot image is created by you?
—
Reply to this email directly, view it on GitHub
https://github.com/Xilinx/Vitis-AI/issues/1411#issuecomment-1999596010,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV2DGZXW2U3SJZYT5VIMY43YYLUZVAVCNFSM6AAAAABEMGKFVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJZGU4TMMBRGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Reza Jahadi
MSc. Electrical and Computer Engineering
Department of Electrical Engineering
Lakehead University, Canada


🚀 [Feature Request] - Implementing Dark Mode

Is your feature request related to a problem ? Please describe. ✍
i want to implement dark mode using tailwind css and next themes to the web app under Hacktoberfest.
Describe briefly how you would implement this enhancement.
Some steps to implement this enhancement-
1. Step 1
2. Step 2
3. Step 3

Additional context or screenshots
Additional context
Are you contributing for a program?
Other
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

@rishuraj1, will do this as well.Plzz label this as hacktoberfest and assign me

@inbuilt-aura hi, I am already working on this one, just waiting for the assignment. Please find or create some other issues. Thanks

@inbuilt-aura please there can be more issues or. feat just try to see nd run project on localhost

@anmode no worries broo, let him fix the issue.I will work on different one and wait to see if there are any  other issue.

@anmode I tried this and for some reason Idk my solution won't work(using next-themes), So, @inbuilt-aura can try if you want. thanks.

@rishuraj1, i will look into it.No issue @anmode ??

@anmode can you tell me  the command to run , none of the command  is working.

None command? Please first make sure your code should be updated with upstream.
then install all packages npm i and then just run server in dev mode which is npm run dev

@inbuilt-aura what's the update on this issue?

@vatsalsinghkv I was working and almost completed this issue but my laptop got damaged and I had to order new one.

@vatsalsinghkv you can work if you are working fof hacktoberfest cuz I won't be available till 1 week

@inbuilt-aura would it really be ok? if implement the darkmode? colours in mind? for dark mode?

@vatsalsinghkv yes you can just keep in mind that colours should not look bad as we are using tailwind Css so it won't be an issue if you know how to do it.

@vatsalsinghkv @inbuilt-aura No worries hacktoberfest if end today... we have our swagkit wining window open.. Just complete 10PRs

@anmode, what do you mean by swagkit winning window?

@vatsalsinghkv yes, i am back now so i will try to submit pr today,hopefully

@inbuilt-aura, I've built the dark theme colour scheme, but I haven't used next-theme so if you want we can work together like you can migrate my darkmode theme to next-themes
I've come up with these colour schemes for the darkmode, not sure which one should I go with:

@anmode check these dark themes for the website

@vatsalsinghkv yeah seems what you have used like normal tailwind or what.Also i see that toggle isn't changing when clicking on day or night mode.

@vatsalsinghkv, can you share me the updated code?

@inbuilt-aura how should I share the code with u? yea actually I was just testing the dark colour theme without toggling with darkmode button that's why it's like this for now,

@vatsalsinghkv do one thing, create a new folder and push your code there on your own GitHub and share that link here.Once I will clone the code,you can delete the repo.

@anmode, what do you mean by swagkit winning window?

we have ongoing competition in grabtern, first 5 those who complete 10 PRs. ( techinal one) will get a swag kit from grabtern. as we are a startup!

@inbuilt-aura, I've built the dark theme colour scheme, but I haven't used next-theme so if you want we can work together like you can migrate my darkmode theme to next-themes
I've come up with these colour schemes for the darkmode, not sure which one should I go with:

@anmode check these dark themes for the website

it look amazing! LIKED IT

@vatsalsinghkv yeah seems what you have used like normal tailwind or what.Also i see that toggle isn't changing when clicking on day or night mode.

+1

Hey @inbuilt-aura, can we do something like this, I've implemented the dark-mode using context api and custom hook use-theme, you can migrate this code using custom hook to next-themes?

@vatsalsinghkv if thats okay with @anmode, then sure.

@anmode plzz share your thoughts so that we can implement and close this issue quick.

yeah! using context seem good to me!. You both can go forward with this

@anmode please accept pr so that i can clone it again and change things which are needed to

@anmode please accept pr so that i can clone it again and change things which are needed to

if you want to make any changes you can pull the PR! see the command line instructions below the PR. Ok if you want me to merge that.. some minor changes are needed ok no worries I'll merge it.. just one thing that default is light theme

@anmode  @vatsalsinghkv before giving the updates, @vatsalsinghkv i am not able to see any code which you have changed, i don't know what pr have u pushed. Can you tell how did you changed the colour as i am not able to see any difference in the code or have u reset and pushed the code like that.

Now for the updates, i have created the toggle theme and you can now change the code from light to dark, one thing is left that is to write tailwind css code for dark: colour to toggle into light and dark components.So tell the next step or for now should i push.

@anmode @vatsalsinghkv before giving the updates, @vatsalsinghkv i am not able to see any code which you have changed, i don't know what pr have u pushed. Can you tell how did you changed the colour as i am not able to see any difference in the code or have u reset and pushed the code like that.

The PR is under Review only a last thing to commit left after which it will good to merge and you can see on local too, and for the toggle that you show I personally like the previous toggle! please check this pR: @vatsalsinghkv did change but dashboard left to get checked and to be fixed in dark mode

@anmode thats bcz its not visible as i have not implemented the colors or background anything.I thought you have merged that pr, no issue.Just let me know when you have merged the pr so that i can complete rest of them and close this issue.Just comment here that pr is merged when done.

ok @inbuilt-aura so pR is merged now!

@anmode thanks

@vatsalsinghkv / @inbuilt-aura anyone working on improving dark mode??

@anmode yeah but there are some issues. I even checked commits and pr to confirm but i dont see any changes related to dark mode images which @vatsalsinghkv shown to us.Can you confirm that cuz neither i am seeing any code written in any file related to that just the dark mode related functionality which i had already done that and shared the image so how did he made the dark mode colour change?

@anmode bcz for that i have to re-write whole tailwind css styling code for each components to implement that.

@inbuilt-aura hey bro, which images are you talking about

@vatsalsinghkv the images which you have shared in dark mode

@inbuilt-aura the one in the footer and login page? I've inverted them in the dark mode as they were black and white

@vatsalsinghkv do one thing, i have completed the toggle and everything. I will even do the navbar, just apply dark colour to other component one by one which @anmode will like and we can complete this issue.Will that be okay @anmode

@vatsalsinghkv i can see for whole website

@vatsalsinghkv Okk got it.Plzzz check above images which i provided i have done the toggle thing.let me see the rest

https://github.com/anmode/grabtern-frontend/issues/778#issuecomment-1793417691 https://github.com/anmode/grabtern-frontend/issues/778#issuecomment-1793418040 @vatsalsinghkv here

@inbuilt-aura , I merged the dark Mode pR, Please pull the latest changes in develop branch.
@vatsalsinghkv We have two preloader first is main preloader of website and other is dashboard one.

https://github.com/anmode/grabtern-frontend/blob/f1622359a49d55de4862d97f4481d44ab77558a7/pages/_app.page.js#L147C6-L148C43
https://github.com/anmode/grabtern-frontend/blob/develop/components/mentorDashboard/PreLoader.js

@vatsalsinghkv Okk got it.Plzzz check above images which i provided i have done the toggle thing.let me see the rest

I think toggle is look good, any improvement you did? as in your screenshot toggle did not have any CSS ?

@vatsalsinghkvl @anmode I am working on the styling

@anmode thanks got it, I think it'd be better if we can also create a separate component for pre-loader under component/homePage

@anmode Hey I finally got logged in I think you fixed it, so in the next PR I am gonna fix dashboard & preloaders with darkmode

@anmode Hey I finally got logged in I think you fixed it, so in the next PR I am gonna fix dashboard & preloaders with darkmode. I also think there should be a dark-mode toggle button in the dashboard most probably next to the notification button

yeah it a great idea, waiting for the pRs!

@anmode thanks got it, I think it'd be better if we can also create a separate component for pre-loader under component/homePage

yeah it also a great idea! if you find ok, can create a seperate pR for this
PS: Loader needs to be tested carefully!

Can i work on this?

yeah sure!

@anmode is this issue resolved?


Sync changes in collection

Hi,
Thanks a lot for this amazing add-on.
Problem
Once a paper (or reference) in Zotero has been synced to Notion, if I change the paper's collection (folder) in Zotero, the change is not updated in the "Collections" field in Notion.
Ideal solution
I'd like the changes in the paper's collection in Zotero to be updated in Notion.
Alternatives I've considered
I couldn't find any convenient workaround.
Thanks a lot!

To add: I did try to right-click and select "Sync to Notion", but the "Collection" field still doesn't update.

Hi @marcelowoo, thanks for reporting this. This feature should be supported (I just tested it myself), so I'm curious why it's not working for you.
Does the "Collections" property show the first collection an item is added to, or is it not showing any collections at all?
Would you mind sending a screenshot of the error console showing the data that's being synced for one of your items in a collection? I'm specifically hoping to see the values being synced for the Collections property.
Below is a video showing how to find the Collections property in the error console.
Thanks!
https://github.com/user-attachments/assets/7af1cc0d-918b-4f5d-83b8-2382272352d7

Hi...
I didn't know it was possible to sync the collection automatically until I saw this.
I followed the video instructions, but it seems it doesn't show the Collections property:

I have the latest version of Zotero and Notero:

Hi @Pedrodas1, have you added a multi-select property to your Notion database named Collections? It will need to have that exact type and name in order for Notero to sync it.

@marcelowoo @Pedrodas1, are you still having issues with this?

Hi,
Apologies for the confusion earlier. You were correct. It turns out the issue was due to a missing 's' in "Collections" in the database name.

I'm glad you got it working, @Pedrodas1!
I'm going to close this issue, but @marcelowoo let me know if you're still having trouble.


one 404 page needs to be fixed

At the beginning of sub title Train from tf.data datasets, there is a super link pointing to Datasets API.
But when you click it out, only 404 page is what you get.
Since this API is very often been used, it would be better to correct this as soon as possible.

@duanw0916 Thanks for finding this broken link. I am closing this issue as PR related to this issue has been merged to master branch. Thanks!


Add to clipboard button for cli commands/code?

Maybe https://clipboardjs.com/? just did a simple search

Can we close this ? Since the PR was merged.

Yeah!


select_template: TypeError: select_template() takes an iterable of template names but got a string

On Django 2.2
  File "/usr/local/lib/python3.6/site-packages/django_renderpdf/helpers.py", line 110, in render_pdf
    html = select_template(template).render(context)
  File "/usr/local/lib/python3.6/site-packages/django/template/loader.py", line 34, in select_template
    'template by name.' % template_name_list
TypeError: select_template() takes an iterable of template names but got a string: 'foo.html'. Use get_template() if you want to load a single template by name.

Can you provide a short snippet of your code that triggers this error?
Thanks!

render_pdf('foo.html', data, context=context)

This function takes a list of templates, and will use the first one found:
render_pdf(['foo.html'], data, context=context)

Leaving the ticket open as a reminder to document this  better

This is a regression - it was working fine in my production system before upgrading.  Fair enough, this was a major upgrade, but it should be noted as a breaking change.

Agreed. Sorry about the breakage. This was an undocumented function. I'll document it as-is and leave the current API stable (this one aligns better with Django's APIs).

#11 restores backwards compatibility. I'll add this in v3.0.1 soon.


Admin Claim in End

The Admin claim disabled riding on Pokémon, so they cannot explore the end for different Pokémon spawns.
People with /fly can just void this claim if already in it.
Claim just needs shortened so others can fly too.

Fixed, thank you.


Fix https://api.ooni.io/stats speed

Oops, that was built, but not commited to source tree :-/

LGTM


Update video links in README

As per the suggestion in the meeting today, updating the README with some more recent videos.

/lgtm

morgan cannot into approving, apparently
although, the git robot should probably watch that, too
/approve

I cannot? What?

You submitted an approving review, which doesn't link up with the git robot, so it didn't count. You need to use the / command or add the label manually.


Set-Location : Cannot find drive. A drive with the name 'F01' does not exist.

Hi,
When attempting to run the program from my machine to the remote server i get errors related to not selecting the correct PS-drive:
Set-Location : Cannot find drive. A drive with the name 'F01' does not exist.
At line:19175 char:8

                        Set-Location -Path ($SiteCode + ":")

                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (F01:String) [Set-Location], DriveNotFoundException
FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

Set-Location : Cannot find drive. A drive with the name 'F01' does not exist.
I copied the module for ConfigurationManager to my machine and added it to the env variables so when It's imported it goes well, i don't receive any more errors of cmdlet not found for that matter, If i try to run this script, it works just fine:
$SiteCode = "F01" $SiteServer = "EDDITEDSCCM.EDITTED" Import-Module -Name "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ConfigurationManager\bin\ConfigurationManager.psd1" if((Get-PSDrive -Name $SiteCode -PSProvider CMSite -ErrorAction SilentlyContinue) -eq $null) { New-PSDrive -name $SiteCode -psprovider CMSite  -Root $SiteServer  } Set-Location "$($SiteCode):\"
Running the tool from the SCCM server site, doesn't work for me since Dell it's greyed out when running from the server, and... pretty much that's the end of the road for me since it's only dell what we have 😄
Thanks in advance.

@baldurfour Did you resolve this? I am also having this error "Set-Location : Cannot find drive. A drive with the name '' does not exist". I have two domains each with an SCCM server and a workstation on each domain to run DAT. Each of those workstations are fine. But I created another workstation to use on one of the domains and it gives this error. The workstation has Win10x64 21H2, with .NET 4.8.

Same issue here.  Tried on Win10 21h2 and 22h2.  Am able to connect to my site code drive no issues on the same machine via powershell, but Driver Automation Tool (v7.2.1):
Set-Location : Cannot find drive. A drive with the name 'XYZ' does not exist.
At line:17310 char:3

    Set-Location -Path ($SiteCode + ":")

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (XYZ:String) [Set-Location], DriveNotFoundException
FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand


qutebrowser: shorten launch time marginally if an instance is already running

Motivation for this change
qutebrowser can be made considerably faster to launch if an instance is already running, this method is documented in one of the scripts provided by the package:
https://github.com/qutebrowser/qutebrowser/blob/master/scripts/open_url_in_instance.sh
Basically, socat is used to make an IPC call.
I've left it disabled by default because the behavior changes if an instance is already running, the initial call would block until the program is stopped, whereas a call to the IPC would exit immediately after having transmitted. This is, however, common to major browsers such as chromium.
The optimization is disabled if qutebrowser is called with flags.
socat adds ~700kb to the 6.7mb derivation
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

I'm not pleased with how I measured, but I guess it's accurate enough:
without the optimization, a process takes ~1600ms to reach a page, and with it, it takes ~180ms

@jagajaga Any thoughts on having it enabled by default ?

@GrahamcOfBorg build qutebrowser

Success on x86_64-linux (full log)
Attempted: qutebrowser
Partial log (click to expand)
copying path '/nix/store/x60qkq2z4phxr9njypw1zz69msl93b1q-python3.6-pypeg2-2.15.2' from 'https://cache.nixos.org'...
copying path '/nix/store/kj6dw9l6w3l7jkak1v78i3zfvaq12qff-qtsensors-5.11.1' from 'https://cache.nixos.org'...
copying path '/nix/store/jq7njghw3cfhrfmn4z27hjn6fhf31wlj-qtsensors-5.11.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/w5s7yprg9qh95c115qjk7x1cvhgb1c3d-qtsensors-5.11.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/syxpcm0j59nixfhryxxkhy1vyw055058-qtwebkit-5.212-alpha-01-26-2018' from 'https://cache.nixos.org'...
copying path '/nix/store/mfyswr3m72yca3ilm5vx3a56rg8pbv73-python3.6-PyQt-5.10.1' from 'https://cache.nixos.org'...
copying path '/nix/store/d202gy6gzm3wc52yy80yj37gm19iblhk-qtwebkit-5.212-alpha-01-26-2018-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/i0xsa7vmdaarr1fhfxbw2nsakkfirygg-python3.6-PyQt-5.10.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/i9mk0ydf70jqcn7hps2zrlqhfzbgyb4m-qutebrowser-1.4.0' from 'https://cache.nixos.org'...
/nix/store/i9mk0ydf70jqcn7hps2zrlqhfzbgyb4m-qutebrowser-1.4.0

Failure on x86_64-darwin (full log)
Attempted: qutebrowser
Partial log (click to expand)
cannot build derivation '/nix/store/25hbaxxi3zzl5s1qw6j3r01l2qpdfkzr-qtmultimedia-5.11.1.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/zn9mq9j0lwa5ipm76r65q7b7affwgpp4-qtquickcontrols-5.11.1.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/fynsvgvjfvw5q7yvmm3c3x0m4kjimggg-qtsensors-5.11.1.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/n5zf7kha2lpyn082640fvlkjgkz88bq8-qtwebchannel-5.11.1.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/1zp183wggf2mfz3xx8gvfxj5h850rz22-qtlocation-5.11.1.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/gbhm5ra2xpsanma6x61ndaxfns691laq-qtwebengine-5.11.1.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/5pm19llkjdhwgq3h97plngva99yfjfb6-qtwebkit-5.212-alpha-01-26-2018.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/jywy3dk7h8qm5m3rwx5rrmmynjf1byws-python3.6-PyQt-5.10.1.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/iz7shch3cg805j03ji7714k4kp9m7r23-qutebrowser-1.4.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/iz7shch3cg805j03ji7714k4kp9m7r23-qutebrowser-1.4.0.drv' failed

Failure on aarch64-linux (full log)
Attempted: qutebrowser
Partial log (click to expand)
[ 25%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/inspector/InspectorBackendDispatchers.cpp.o
[ 25%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/yarr/YarrPattern.cpp.o
[ 25%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/JSCBuiltins.cpp.o
[ 25%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/API/JSStringRefQt.cpp.o
[ 25%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/yarr/YarrJIT.cpp.o
[ 25%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/yarr/YarrInterpreter.cpp.o
building of '/nix/store/93fzirkkdm3s4wjhx8930ichg76fhsp3-qtwebkit-5.212-alpha-01-26-2018.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/9zbi6ghmz0lccb4gv6f5v75rvs68s12j-python3.6-PyQt-5.10.1.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/dnph7rkrwv87fkmki9j5fvsylar2jpz4-qutebrowser-1.4.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/dnph7rkrwv87fkmki9j5fvsylar2jpz4-qutebrowser-1.4.0.drv' failed

Setting withSocatTrick = true currently requires rebuilding the whole qutebrowser derivation. I propose to make a wrapper derivation instead, which just takes the binary from the original derivation and wraps it into its own $out. Then a rebuild isn't needed when a user sets this flag to true.

Would it be possible to just get qutebrowser to come with a flag to do this? This isn't really something I like having Nixpkgs deal with.


future's range does not seem to be as compatible as six' range

future's range does not seem to be as compatible as six' range:
>>> from builtins import range as future_range
>>> from six.moves import range as six_range
>>> not 'C' in six_range(2)
True
>>> not 'C' in xrange(2)
True
>>> not 'C' in future_range(2)
Traceback (most recent call last):
  File "<pudb command line>", line 1, in <module>
  File "/xxx/future-0.16.0-py2.7.egg/future/types/newrange.py", line 109, in __contains__
    self.index(value)
  File "/xxx/future-0.16.0-py2.7.egg/future/types/newrange.py", line 93, in index
    diff = value - self._start
TypeError: unsupported operand type(s) for -: 'str' and 'int'

looks like this is already solved
   def __contains__(self, value):         """Return ``True`` if the integervalue occurs in         the sequence this range represents."""         try:             self.index(value)             return True         except ValueError:             return False


Run travis itests against an external Cassandra

I know the PR is not finished yet but I have a comment on cleaning the C* cache directory. Are you sure it is useful? You will need the archive at the beginning of the build to install Cassandra. And the .travis.install.cassandra.sh script takes care of keeping just one version already.

I know the PR is not finished yet but I have a comment on cleaning the C* cache directory. Are you sure it is useful? You will need the archive at the beginning of the build to install Cassandra. And the .travis.install.cassandra.sh script takes care of keeping just one version already.

I suppose, you mean this https://github.com/ppalaga/hawkular/commit/1d4ab6ac58cf2d3742fae6e82d6ebaf2e083daad#diff-354f30a63fb0907d4ad57269548329e3R57 ? If you mean that we should remove only "$HOME/.m2/repository" that's perhaps a good idea, given that it is only "$HOME/.m2/repository" that tends to grow over time. I neglected that because the cleaning of the cache happens only from time to time, IIRC for Hawkular, it is several weeks now.

Le 28/01/2016 12:57, Peter Palaga a écrit :

I suppose, you mean this
ppalaga@1d4ab6a#diff-354f30a63fb0907d4ad57269548329e3R57
https://github.com/ppalaga/hawkular/commit/1d4ab6ac58cf2d3742fae6e82d6ebaf2e083daad#diff-354f30a63fb0907d4ad57269548329e3R57

Yes

? If you mean that we should remove only |"$HOME/.m2/repository"| that's

Yes. The install scripts already cleans the C* archive cache directory:
https://github.com/hawkular/hawkular/pull/812/files#diff-abe71b5f0a9948943e50733f447f83e9R35

f4216c3 is good to merge from my PoV. The first Travis execution failed on the HystrixCommandsITest which is an indpendent problem, IMO. I restarted Travis.
@tsegismont Your proposal for removing just "$HOME/.m2" was accepted. Could you please review and eventually merge?

@ppalaga LGTM. I agree, HystrixCommandsITest is certainly a different issue.