How do i do playback local music file ?

How do i do playback local music file ?

I am wondering how to play back a local video file also.

If you store your files in shared / PCL project I advice you to read this guide: https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/files/

I thought the source property is a string?  Do I set a different property?
Thanks,
Michael Smith

On Mar 29, 2017, at 3:13 PM, Erlend Angelsen<EMAIL_ADDRESS>wrote:
If you store your files in shared / PCL project I advice you to read this guide: https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/files/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm curious how to do this as well. I am using PCLStorage (recommended in the article above), setting the source to FileSystem.Current.LocalStorage + "/" +  + "/" + . This resolves to something like this in iOS:
/var/mobile/Containers/Data/Application/AE6136ED-28C4-482F-XXXX-XXXXXXXXXXXX/Documents/../Library/books/1103/video/635660817460381870.mp4
and this in Android:
/data/user/0/XXXX.Droid/files/books/1103/video/635660817460381870.mp4
Setting the source this way works with Xamarin Forms (ie. Image) and other plugins I've used (ie. FFImageLoading), but it doesn't seem to work in this one.

Has anyone figured this out yet please? Using a MediaPlayer I was able to just pass it a local resource e.g.
_player = MediaPlayer.Create(this, Resource.Raw.myMp3);
I'm not sure this is entirely possible as the library uses Java.IO.File(), and this seems to suggest it's not appropriate to use a resource
http://stackoverflow.com/questions/37083900/android-load-java-io-file-from-resource-file
Thank you

I have figured it out -
CrossMediaManager.Current.Play(Uri.Parse("android.resource://[PackageName]/" + Resource.[YourResourceName]).ToString());

That's great but it doesn't cover cases when the file is not a resource. My files are extracted from a zip file that I download online.

I'm also trying to figure this out for iOS. I  tried NSBundle.MainBundle.PathForResource(AppConstants.ResourceFiles.NotificationSound, null) but the file failed.
Also worth noting it's a .caf file.
Any tips on how to get and play local files?

This seems to be the only way to play media that requires custom http headers to access the files.
Has anyone had any breakthroughs on this? I'm also trying to play a locally downloaded file using PCLStorage in the exact same way as @priehle.
The files I'm using are not resources, and instead are saved locally after downloading. The paths look something like this:
iOS:
"/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Documents/../Library/myVideoFile.avi"
Android:
"/data/user/0/com.bundleId.appId/files/myVideoFile.avi"
Thanks everyone, any ideas are greatly appreciated!

Instead of using that version of CrossMediaManager.Current.Play() that takes a string, you should try creating a MediaFile object yourself and calling the version of that method that takes an IMediaFile.

anyone has a solution??

@MichaelMcKinney Hey I was playing around with your code, it seems to be what I'm looking for in my project. The variable 'myFile.Path', what exactly is going on there?

I found the solution for IOS in the sample project, but still no solution for android, also with the things mentioned in the other comments. Anyone?

I looked back on my solution from before and it has long since been changed. However, I found the place where we get the file path. Once we have the file path we can use the CrossMediaManager.Current.Play(filePath) piece from before.
Here is a helper function we use to save the downloaded file as a byte array to local storage. The we return the path for that file.
    public static async Task<string> WriteFileAsync(byte[] content, string fileExtension, int documentId
    {
        var rootFolder = FileSystem.Current.LocalStorage;
        var specificFileType = "myFile";

        var fileName = string.Concat(specificFileType, "_", documentId, fileExtension);

        IFolder subFolder = null;
        var subFolderExists = await rootFolder.CheckExistsAsync("MyAppResources");

        if (subFolderExists == ExistenceCheckResult.NotFound)
        {
            subFolder = await rootFolder.CreateFolderAsync("MyAppResources", CreationCollisionOption.ReplaceExisting);
        }
        else
        {
            subFolder = await rootFolder.GetFolderAsync("MyAppResources");
        }

        var fileExists = await subFolder.CheckExistsAsync(fileName);

        if (fileExists == ExistenceCheckResult.NotFound)
        {
            var file = await subFolder.CreateFileAsync(fileName, CreationCollisionOption.ReplaceExisting);
            var stream = await file.OpenAsync(FileAccess.ReadAndWrite);

            stream.Write(content, 0, content.Length);

            return file.Path;
        }

        var filePath = subFolder.Path + "/" + fileName;

        return filePath;
    }

Once you have the file path you should be able to use
var pathToFileURL = new System.Uri(filePath).AbsolutePath;
CrossMediaManager.Current.Play("file://"+ pathToFileURL);

Good luck everyone! this is just a part of the infrastructure I have set up, but these should be the important parts.

@MichaelMcKinney thanks for the hint to copy the files to local storage. with that workaround i could solve my problem..


Error code: SIGILL, Chrome 128 (Aw, snap! Chrome error) Dev mode

Reproduction
Just run the dev server in any Chrome version starting from 128.
System Info
System:
    OS: Linux 6.2 Ubuntu 23.04 23.04 (Lunar Lobster)
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1235U
    Memory: 9.30 GB / 15.34 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
    Watchman: 4.9.0 - /usr/bin/watchman
  Browsers:
    Chrome: 128.0.6613.84
  npmPackages:
    @remix-run/css-bundle: latest => 2.7.2
    @remix-run/dev: latest => 2.7.2
    @remix-run/node: latest => 2.7.2
    @remix-run/react: latest => 2.7.2
    @remix-run/serve: latest => 2.7.2
    @remix-run/server-runtime: latest => 2.7.2

Used Package Manager
npm
Expected Behavior
The page to load normally.
Actual Behavior
We are all experiencing the same issue. Some of us have a "Error code 5" (on a Mac machine), some "Error code 4", me personally I have "SIGILL". Even tried the beta version of Chrome (129) with no luck.
Other browers work fine. Productions build work fine as well.

I'm actually using remix 2.10.3 not 2.7.2 (as shown in System info, don't know why)

Could you provide some form of a reproduction?  I'm not seeing any issues  with the dev server or HMR on Chrome 128 and latest Remix on my machine.  Are you doing anything particularly interesting with your app setup?

Unfortunately I wouldn't know how to make reproducible example. I've just opened this https://issues.chromium.org/issues/361749722 since I suspect it may be related to the browser itself.

👍 ok - I'm going to close this since it doesn't seem to be related to Remix, but happy to re-open if we discover anything further.

After further investigation, it seems to crash (only on Chrome >= 128) when the function Scripts inside @remix-run/react/dist/esm/components.js gets called. On Firefox (where it works) this gets called multiple times tho.

I think this is it: https://issues.chromium.org/issues/362055818
It might not strictly be related to Remix, tho I think if Chrome doesn't react swiftly this may impact it.
What do you reckon?

I'm not sure what you are asking?  Without a reproduction there is not much we can do from our side.  And if it's a bug in Chrome - I'm also unsure what we would be able to do.


Better user experience in dump ovsflows by antctl

Describe what you are trying to solve
There are some points we might improve antctl get ovsflows

antctl get ovsflows don't dump flows  in the order of process of packets.
if dumping flows without stats is supported, better to read flows when hitting an issue.

Describe the solution you have in mind

Sort flows first by table and then by priority.
Add option to dump flows without no stats

Describe how your solution impacts user flows
This will improve UX by antctl when reading flows.
Describe the main design/architecture of your solution

Sort flows first by table and then by priority.
Add option to dump flows without no stats

Alternative solutions that you considered
Nothing.
Test plan
It has no impact on features.
Testing might not be required.

* Sort flows first by table and then by priority.

Now flows are ordered by tables already in the Agent API response. But just that the antctl table output format does not respect the order.
@lzhecheng @weiqiangt : any idea how to fix this?
I am also working on an PR to dump flows of a specific table: #649

* Add option to dump flows without no stats

Any specific reason you want to remove stats? Maybe we can consider a short format to remove stats, cookie, and duration.

Thank you for your comments.

Any specific reason you want to remove stats? Maybe we can consider a short format to remove stats, cookie, and duration.
Since ovs-ofctl supports --no-stats option, I proposed flows without stats.
But the idea is that it's good if we can have a short format of flows as you think.
So I think it's better if we can print flows without stats, cookie and duration

Ok. I feel n_packets sometimes are useful to check the packets hit the flow or not. So, I could work on a change to remove other fields we talked, but keep n_packets.

Jianjun
Thank you for considering my proposal.

Thank you for considering my proposal.
@yktsubo your feedback is definitely welcome!
The antctl table format output is still not ideal. It prints empty lines when the flow strings are long. Will continue to improve it.


Right prompt redraw issue in nu 0.101

Platform macOS
Terminal software ghostty
Describe the problem you are observing.
Noticed that right prompt redraw happens with resize in nu 0.101.0
But there's a side effect as shown in the screenshot
Steps to reproduce

set some right prompt
multiline left prompt
resize horizontally

Screenshots/Screencaptures
https://github.com/user-attachments/assets/dde62383-9b35-42d0-90c4-b1f3b5306d76
possibly related to #857

It turns out that single-line left prompt can trigger it as well.


Installation Bug

When i want to install Shopware 6, i get this error:
Slim Application Error
The application could not run because of the following error:
Details
Type: TypeError
Message: openssl_pkey_get_details() expects parameter 1 to be resource, bool given
File: C:\xampp\htdocs\public\recovery\common\src\Service\JwtCertificateService.php
Line: 30
Whole error code: https://pastebin.com/dvHXqUUK

Hey @flo2000ace,
Shopware 6 doesn't use Slim, looks like you tried to install Shopware 5? Then shopware/shopware would be the right repository.
Please confirm, that your bug report targets Shopware 5, then i will transfer your issue.

Hey @flo2000ace,
we don't support Windows for Shopware 6.
On Windows you often run into permission issues, that probably is the underlying problem here, because we can't generate an private/public key pair.
If you are on Windows you can install the installation package inside a virtual machine or in the Windows Subsystem for Linux.


Support Custom Properties

If a developer wants to use Custom Properties with this plugin, could this plugin lookup the variables for them? Even if it’s just on :root?
Currently, this plugin relies on PostCSS Custom Properties to remove var() usage, but 1. that’s not very future-leaning, and 2. the new major release of PostCSS Custom Properties preserves var() usage by default.
:root {
  --brand: #00bdbd;
  --dark-brand: color(var(--brand) shade(20%));
}

becomes
:root {
  --brand: #00bdbd;
  --dark-brand: color(var(--brand) shade(20%));
}

Unfortunately, it seems this plugin was never tested against Custom Properties with the preserve option enabled.
https://github.com/postcss/postcss-custom-properties/issues/99
https://github.com/postcss/postcss-custom-properties/issues/98

I have the same issue, do you find a way to do that?

The solution was using color-mod() instead, which is more spec-compliant and supports :root css custom properties out of the box!
Thank you @jonathantneal it worked flawlessy!

add PR

I think it would be great for this plugin to support custom properties, its flawed without.

Possible workaround: https://github.com/csstools/postcss-color-mod-function/issues/41#issuecomment-1007309849


Data truncation bars - revisit styling

Brought up in the data viz meeting on 06.01.22.
The yellow truncation bars are causing some issues still in visualizations (for example, the bar plot). @danicahelb as you think of others please add them to this issue!
Let's revisit how we're styling the truncation indicators.
We know adding a pattern to a plotly bar is very very difficult. @bobular suggested maybe an image would be easier?
Other thoughts?

@asizemore made this great suggestion a few days ago in Slack

We also discussed making the existing bars more obviously not-bars (especially important for histograms) by drawing alternating colours. We know there's no easy cross-hatching solution, but we can draw whatever shapes we like.


ipydeps.pip fails based on order of installed packages

When trying to install multiple packages, ipydeps will error out and not install as many packages as possible.
ipydeps.pip(['urllib2', 'pandas'])
will not install pandas while
ipydeps.pip(['pandas', 'urllib2'])
will work. This side-case could be resolved by calling pip.main() on each individual package instead of all at once.

To be totally honest, my first instinct was to just close this ticket, but it's more nuanced than that.
Python 3.5.2 with pip 9.0.1:
Both examples you provided generate an error and don't install anything, so the order doesn't matter in Python 3.
Python 2.7.12 with pip 9.0.1:
Both examples you provide generate an error, but the ['pandas','urllib2'] example installs pandas, then generates an error for urllib2.
The real question though is how this list-passing feature is interpreted.  From our perspective, it's always been something that overrides some package installs (see dependencies.link in docs), then simply passes the remainder of the list to pip; pip then figures out the rest.  In other words, if you were to pass the same list to pip on the command line, then pip is going to error out.  In that case, the error is firmly outside the scope of ipydeps.
The alternative interpretation of this feature is that it's simply a convenience wrapper around a for-loop, with each iteration calling pip (or doing an override) for each package on the list.  The problem with this interpretation is that it requires the user to figure out the order that the packages need to be installed, which I would much prefer to avoid.
In my mind, it makes more sense to leave it up to pip to figure out the order of package installation.  Furthermore, if  this is only an issue with Python 2, then that definitely lowers its priority, as Python 2 is dying out.  However, I'd like to hear what other people think, so I'm going to leave this ticket open for a bit.  Sorry it took me so long to get around to responding.

It's been about a year and I haven't heard any more input from people, so I'm closing this ticket.  We would probably need to re-run the tests anyway, as ipydeps and pip have changed a good bit in that time.


Added new optimizers

Fixes #586
Proposed Changes

Added the RAdam and LBFGS Optimizers

Checklist

[ ] I have read the CONTRIBUTING guide.
[ ] My PR is based from the current GaNDLF master .
[ ] Non-breaking change (does not break existing functionality): provide as many details as possible for any breaking change.
[ ] Function/class source code documentation added/updated.
[ ] Code has been blacked for style consistency.
[ ] If applicable, version information has been updated in GANDLF/version.py.
[ ] If adding a git submodule, add to list of exceptions for black styling in pyproject.toml file.
[ ] Usage documentation has been updated, if appropriate.
[ ] History has been updated, if appropriate.
[ ] Tests added or modified to cover the changes; if coverage is reduced, please give explanation.
[ ] If customized dependency installation is required (i.e., a separate pip install step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].

@Geeks-Sid I have signed the CLA


Does emberfire v3 realtime database adapter work at all?

Good day. I apologize for spamming the issue board. But does the adapter in question actually work at all? I am working on an app that is running Ember 3.4 and latest version of emberfire v2. I would like to update to newer versions of Ember, but I can't get the realtime database adapter in emberfire v3-rc6 to work, it does not create any websocket connection to firebase...

The dummy app in our tests is functional, using CLI 3.13; I haven't tested 3.4 with the latest release candidate. Can you provide more details on the troubles?

Thank you for your response and for your help. What kind of details would be helpful? I have tried updating the NPM package with npm i emberfire@next, which installed the latest release candidate rc6. I then replaced code in app/adapters/application.js with:
import RealtimeDatabaseAdapter from 'emberfire/adapters/realtime-database';
export default RealtimeDatabaseAdapter.extend({
});

The configuration in ENV.firebase worked with emberfire v2, so I didn't change anything there. When I launch the app after these updates, basically nothing happens, Chrome inspector shows no attempts to establish WS connection to Firebase. I have tried this with currently installed Ember v3.4, I have also tried updating Ember to 3.11 (using ember-cli-update, I think I've read somewhere on this issue board that it might help; it didn't).
Again, I am very sorry to bother you with my problem. I would greatly appreciate any thoughts from you, what might I be doing wrong?

I have solved the mistery! The reason was, of course, my stupidity :D In my defense, the migration docs are still not finished. After I have updated emberfire and launched the app, the first screen was login screen. No requests had to be made to the realtime database at this point, that is why in dev console I did not see no connection to Firebase over a Web Socket. And I was unable to log in, becase in<EMAIL_ADDRESS>authentication must be done differently. In the end, I have used https://github.com/simplabs/ember-simple-auth

@maxymczech are you able to share more details? I just upgraded to 3.0.0-rcX and my torii installation did not work. I am attempting to switch to ember-simple-auth but the app is not loading on start up.

This is basically the code I am using in app/components/login-form.js to authenticate the user:
import Component from '@ember/component';
import { inject as service } from '@ember/service';

export default Component.extend({
  firebaseApp: service(),

  submit() {
    this.get('firebaseApp').auth().then(auth => {
      auth.signInWithEmailAndPassword(this.email, this.password).then(async data => {
        //...
      }, error => {
        //...
      })
    });

    return false;
  }
});

Thanks for sharing and taking the time to reply. Did you use ember simple Auth, or just the native firebase sdk?

Neither native firebase SDK nor Torii worked for me either.  But simple auth did.
Ember 3.24.3
Ember Simple Auth 3.1.0
EmberFire 3.0.0-rc.6
Firebase 7.20.0


FIX FOR WINDOWS BITS AND BYTES

Find a windows version of bitsandbytes that works here: https://github.com/jllllll/bitsandbytes-windows-webui.git

THANKS!
The load_in_4bit problem seems working with that bitsandbytes. This is how I created the environment on window 10:
conda create --name=llama_2 python=3.11
Then I installed:
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
python -m pip install bitsandbytes --prefer-binary --extra-index-url=https://jllllll.github.io/bitsandbytes-windows-webui
pip install transformers==4.34.0
pip install trl==0.7.1
pip install datasets==2.14.5

This is my piece of code, that now works:
from transformers import AutoModelForCausalLM
from datasets import load_dataset
from trl import SFTTrainer
import os

!huggingface-cli login --token {os.environ["HUGGINGFACE_TOKEN"]}

model = AutoModelForCausalLM.from_pretrained(
    "meta-llama/Llama-2-7b-hf",
    load_in_4bit=True,
    cache_dir="D:\Data Scientist\.transformers_cache"
)

This is the output (I had already downloaded the LLM, but couldn't load in 4 bit!)

Try this:
pip uninstall bitsandbytes
pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.0-py3-none-win_amd64.whl

Try this: it's worked for me in Window 10
pip uninstall bitsandbytes
pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.0-py3-none-win_amd64.whl

Can confirm. This worked for me on windows 10 after trying out a lot of different windows builds. Thanks!

I keep getting the error when importing bitsandbytes:
CUDA Setup failed despite GPU being available.


Cargo binary for macOS assumes OpenSSL is installed via Homebrew

When following the instructions to install the toolchain on macOS, the cargo that gets installed links to OpenSSL via the openssl-sys crate and has library paths that assume OpenSSL was installed via Homebrew.
This leads to the following error if OpenSSL is installed by, for example, MacPorts.
$ cargo +esp
dyld: Library not loaded<EMAIL_ADDRESS>  Referenced from: /Users/steve/.rustup/toolchains/esp/bin/cargo
  Reason: image not found
Abort trap: 6

This can be fixed using install_name_tool(1).
$ install_name_tool -change<EMAIL_ADDRESS>/opt/local/lib/libssl.3.dylib \
                    -change<EMAIL_ADDRESS>/opt/local/lib/libcrypto.3.dylib \
                    cargo

This allows cargo to run, but the libraries have different compatibility versions so I'm not sure any OpenSSL functions would actually work correctly or not.

The problem was detected also with <IP_ADDRESS>. Suggested solution works.
Here is small tweak to acquire cargo command from active PATH:
install_name_tool -change<EMAIL_ADDRESS>/opt/local/lib/libssl.3.dylib \
 -change<EMAIL_ADDRESS>/opt/local/lib/libcrypto.3.dylib \
 `which cargo`

Solved in version <IP_ADDRESS>

Hi @georgik,
This issue has not been fixed.
Steps to reproduce:

Clone the rust-build repository.
Run the install script[DEP:~/esp/rust-build] (main) steve% ./install-rust-toolchain.sh
Processing configuration:
--build-target          = esp32,esp32s2,esp32s3
--cargo-home            = /Users/steve/.cargo
--clear-cache           = YES
--esp-idf-version       =
--export-file           =
--extra-crates          = ldproxy cargo-espflash
--installation-mode     = install
--llvm-version          = esp-14.0.0-20220415
--minified-esp-idf      = NO
--minified-llvm         = YES
--nightly-version       = nightly
--rustup-home           = /Users/steve/.rustup
--system-packages       = openssl@3
--toolchain-version     = <IP_ADDRESS>
--toolchain-destination = /Users/steve/.rustup/toolchains/esp
/Users/steve/.cargo/bin/rustup
nightly-aarch64-apple-darwin
Processing toolchain for aarch64-apple-darwin - operation: install
Installing system packages: openssl@3
Warning: Unable to find command brew. Skipping installation of system package.
** downloading: https://github.com/esp-rs/rust-build/releases/download/v<IP_ADDRESS>/rust-<IP_ADDRESS>-aarch64-apple-darwin.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 75.7M  100 75.7M    0     0  11.2M      0  0:00:06  0:00:06 --:--:-- 13.8M
install: creating uninstall script at /Users/steve/.rustup/toolchains/esp/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'rust-std-aarch64-apple-darwin'
install: installing component 'cargo'
install: installing component 'rustfmt-preview'
install: installing component 'clippy-preview'

    rust installed.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2324k  100 2324k    0     0  3094k      0 --:--:-- --:--:-- --:--:-- 8444k
install: creating uninstall script at /Users/steve/.rustup/toolchains/esp/lib/rustlib/uninstall.sh
install: installing component 'rust-src'

    rust src installed.

* installing /Users/steve/.espressif/tools/xtensa-esp32s3-elf-gcc/8_4_0-esp-2021r2-patch3-aarch64-apple-darwin
already installed
* installing /Users/steve/.espressif/tools/xtensa-esp32s2-elf-gcc/8_4_0-esp-2021r2-patch3-aarch64-apple-darwin
already installed
* installing /Users/steve/.espressif/tools/xtensa-esp32-elf-gcc/8_4_0-esp-2021r2-patch3-aarch64-apple-darwin
already installed
* installing /Users/steve/.espressif/tools/xtensa-esp32-elf-clang/esp-14.0.0-20220415-aarch64-apple-darwin
already installed
Removing cached dist files:
 - rust-<IP_ADDRESS>-aarch64-apple-darwin
 - rust-<IP_ADDRESS>-aarch64-apple-darwin.tar.xz
 - rust-src-<IP_ADDRESS>
 - rust-src-<IP_ADDRESS>.tar.xz
 - xtensa-esp32-elf-llvm14_0_0-esp-14.0.0-20220415-aarch64-apple-darwin.tar.xz
 - *-elf-gcc*.tar.gz
Add following command to /Users/steve/.zshrc
export LIBCLANG_PATH="/Users/steve/.espressif/tools/xtensa-esp32-elf-clang/esp-14.0.0-20220415-aarch64-apple-darwin/lib/"
export PATH="/Users/steve/.espressif/tools/xtensa-esp32-elf-gcc/8_4_0-esp-2021r2-patch3-aarch64-apple-darwin/bin/:/Users/steve/.espressif/tools/xtensa-esp32s2-elf-gcc/8_4_0-esp-2021r2-patch3-aarch64-apple-darwin/bin/:/Users/steve/.espressif/tools/xtensa-esp32s3-elf-gcc/8_4_0-esp-2021r2-patch3-aarch64-apple-darwin/bin/:$PATH"

Examine the newly installed cargo to see which libraries it links against.[DEP:~/esp/rust-build] (main) steve% otool -L ~/.rustup/toolchains/esp/bin/cargo
/Users/steve/.rustup/toolchains/esp/bin/cargo:
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 60157.60.19)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1856.105.0)
<EMAIL_ADDRESS>(compatibility version 3.0.0, current version 3.0.0)
<EMAIL_ADDRESS>(compatibility version 3.0.0, current version 3.0.0)
	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration (compatibility version 1.0.0, current version 1163.60.3)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)

So rather than assuming that the openssl libraries were in /usr/local/opt as it did when I filed this issue, it now assumes that they are in /opt/homebrew/opt. We can see this if we try running cargo +esp --version:
[DEP:~/esp/rust-build] (main) steve% cargo +esp --version
dyld[10805]: Library not loaded<EMAIL_ADDRESS>  Referenced from: /Users/steve/.rustup/toolchains/esp/bin/cargo
  Reason: tried<EMAIL_ADDRESS>(no such file), '/Users/steve/.rustup/toolchains/esp/lib/libssl.3.dylib' (no such file), '/Users/steve/lib/libssl.3.dylib' (no such file), '/usr/local/lib/libssl.3.dylib' (no such file), '/usr/lib/libssl.3.dylib' (no such file)
zsh: abort      cargo +esp --version

The underlying issue appears not to have been solved.

I just noticed that the path differences are due to architecture. On an Apple M1, it's looking in /opt/homebrew/opt. On x86-64, it's looking in /usr/local/opt. But in either case, the pre-built artifacts are linking against a library not provided by macOS.


[Feature request]: Show time until break in the system tray

Version

[X] I'm using version 1.15.1

Existing requests

[X] I've checked Existing requests

Advanced Preferences

[X] I've checked Advanced Preferences

What operating system are you using?
macOS
Operating System Version
macOS Sonoma 14.2.1
Problem description
Sometimes, it feels like a break hasn't come in a while and I'm unsure how much time there is before the next break or whether even Stretchly is working right.
Possible solution
I'd like to be able to see the number of minutes before the next break. If there's less than 1 minute remaining before the break, it'd be nice to see the seconds remaining until the break.
E.g. show "3 m." if time remaining < 4 mins && >= 3 mins, show "56 s." if time remaining == 56 s.
Alternative solutions
Instead of a text label, I guess the tray icon could use a circular progress indicator. But that's a lot less precise.
Additional information
No response
Code of Conduct

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

I've checked Advanced Preferences, but somehow missed the settings. Found it now.


Add manufacturing info pictures etc

Add pictures and text about our manufacturing process etc.
Or maybe as a blog post on the website instead
@JohnWhiting what do you think?

I think possibly this would be better to do on the site as a Blog Post rather than on the docs.


Feature: Exiting current variable_scope (parent scope)

Is it possible to exit a current variable_scope?
I know it is possible to get to the root name_scope with something like tf.name_scope(None) but I don't seem to find a way to do that for tf.variable_scope.
This feature is interesting to me because I would like to share certain variables across parts of my model without passing around the variable_scope object. I would like to just configure a name for my shared variable_scope and then wherever I need to use that shared scope call
with tf.variable_scope(shared, reuse=tf.AUTO_REUSE) without having to care which scope I am currently in.
I look through all the issues and stackoverflow but I have not found anything in that direction.

To partly answer my question.
There is an option to change to a different variable_scope. It is just confusing to use.
with tf.variable_scope(
              tf.VariableScope(tf.AUTO_REUSE, 'shared'), reuse=tf.AUTO_REUSE,
              auxiliary_name_scope=False):

This will always set the variable_scope to shared no matter what scope you are int.

Could the example below solve your problem?
tf.variable_scope(tf.AUTO_REUSE, 'shared') as shared:
  pass

with tf.variable_scope(shared, auxiliary_name_scope=False):
  # do something

And you can find more examples for variable scope in test file:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/kernel_tests/variable_scope_test.py

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

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

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

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

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

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

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

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

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

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

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

Hi @sleighsoft ! In the current version (2.9), Scope can be shared only if you use scope.reuse_variables or reuse=tf.compat.v1.AUTO_REUSE in variable scope.  Attached gist for reference. Thank you!

@sleighsoft,
Could you please a look at this comment and let us know if the issue persists. Thank you!


Change div tags to script tags and put viewContext/props inside

this is exacerbated because HTML encoded JSON is very bloated as " -> &quot when rendered into an HTML attribute and there are a great deal of quote marks in JSON!

On pages with large amounts of data the time to usability is dramatically increased on lower bandwidth connections as megabytes of html encoded JSON needs to be downloaded before the HTML that displays the page can be retrieved.

I'm working on a PR right now to address this.

Turbo links is the tough one if we do that. Script tag is how I originally had it. Other issue is escaping the data.

What issues does this cause with TurboLinks?
If the data is put into the script tag as proper JSON what issue's might we still have?

The page scripts don't run with TurboLinks, without some special configuration, and I'm not even sure on that.
So TurboLinks will just insert the HTML tags on the existing page (so CSS and JS are not reloaded), and we have a hook from TurboLinks to parse the special dom elements and kick start the React parts. See https://github.com/turbolinks/turbolinks#working-with-script-elements

According to the link

Turbolinks evaluates

Let's try it out! It's possible that the older turbo links didn't.

I'll try to do some work on this over the weekend.  I'm headed back to
London Sunday and probably won't have much time during the week, but I'll
try to fit some work in on it.
On Wed, May 4, 2016 at 5:34 PM, Justin Gordon<EMAIL_ADDRESS>wrote:

Let's try it out! It's possible that the older turbo links didn't.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/shakacode/react_on_rails/issues/412#issuecomment-217024187

@martyphee Any info on this? Be particularly careful with escaping issues. I.e., suppose you have application data sent in the JavasScript, and it can close the script tag and open a new one.

I'll try to take a look at this today.
On Fri, May 20, 2016 at 8:05 PM, Justin Gordon<EMAIL_ADDRESS>wrote:

@martyphee https://github.com/martyphee Any info on this? Be
particularly careful with escaping issues. I.e., suppose you have
application data sent in the JavasScript, and it can close the script tag
and open a new one.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/shakacode/react_on_rails/issues/412#issuecomment-220749919

I got some work done on it, but haven't finished.
On Sat, May 21, 2016 at 11:58 AM, Martin Phee<EMAIL_ADDRESS>wrote:

I'll try to take a look at this today.
On Fri, May 20, 2016 at 8:05 PM, Justin Gordon<EMAIL_ADDRESS>wrote:

@martyphee https://github.com/martyphee Any info on this? Be
particularly careful with escaping issues. I.e., suppose you have
application data sent in the JavasScript, and it can close the script tag
and open a new one.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/shakacode/react_on_rails/issues/412#issuecomment-220749919

@martyphee sounds like a great improvement. Is the difference noticeable on phone load time?

@jbhatab I have most of the test passing now.  I'll hopefully get the rest done in today or tomorrow.  Mainly the ones which just check the rendering of the div's.

Ok, down to two test failures.

@martyphee The most important thing is that we super, super carefully consider the escaping and that we have good tests. If we incorrectly put the data in the generated JavaScript, this would allow for script injection hack.

Won't that be more of the server making sure it doesn't except or removes all XSS attempts?  Not sure the best way of escaping the data on the server without causing other side effects.

@justin808: just in case: http://apidock.com/rails/ERB/Util/json_escape properly escapes JSON-encoded strings for further inclusion to HTML code (inside the tags).
It handles things like { "foo": "<script>window.alert(1);</script>"}.  It does JSON-level escaping, so that HTML-dangerous chars do not leak to the HTML code.
You can have a code like this:
  def json_safe_and_pretty(something)
    if Rails.env.development?
      json_escape(JSON.pretty_generate(something.as_json))
    else
      json_escape(something.to_json)
    end
  end

and use it in your ERB template like this:
<script type="application/json" id="json-entries"><%= raw json_safe_and_pretty(@foobar) %></script>

Hey Guys, I have a project I would love to use this on but we have a hard requirement of not being able to mount our state into the hidden divs the way this project does..  Both @martyphee and I would appreciate it.
Please see the full message thread above. The main hazard is an XSS injection in the data.

@gregoryStarr Please work off of #411.

Closed by #775.


Add support for multiple upstreams

add support to watch multiple services and configure whitelisted routes per service
add capability to respond to envoy discovery requests
use epoch time for version, nonce fields
add end to end test for xds interaction
upgrade consul client to 1.2.2

@akula1001 Thanks for this. this closes #17


1.6.0-alpha.12 - Startup Failed: TypeError: 'int' object is not iterable

Trying the latest pre-release on Win 10 x64. Application fails to startup:
2024-02-23T12:53:01 | comictagger | ERROR | GUI mode failed
Traceback (most recent call last):
File "comictaggerlib\gui.py", line 136, in open_tagger_window
File "comictaggerlib\taggerwindow.py", line 221, in init
TypeError: 'int' object is not iterable

Delete your settings file. Or you can just delete the line with save_data_style


flash_attn_2_cuda.cpython-38-x86_64-linux-gnu.so: undefined symbol

Reminder

[X] I have read the README and searched the existing issues.

System Info
torch==2.3.0  llama_factory ==v0.8.2-87e330f版本  cuda==12.0

Reproduction
lora yi-1.5-34B-chat-16k  with llama-factory  shell command see in the picture,i can not solve it
Expected behavior
hope lora can run successfully
Others
No response

https://github.com/hiyouga/LLaMA-Factory/issues/4264


Add Subnet resource

Issue: #489
Changes

Adds create/delete Subnet functionality with smoke tests
Adds terminal_codes for Subnet. Triggered when users try to create Subnet with malformed or invalid VpcId

related: attempting to delete VPC with Subnet attached will result in DependencyViolation which will requeue the delete with backoff (default behavior) until user resolves

Adds helm artifacts

Testing

Tested controller locally with go run  ✅
make kind-test ✅

[gw2] [ 33%] PASSED tests/test_subnet.py::TestSubnet::test_terminal_condition
[gw3] [ 66%] PASSED tests/test_vpc.py::TestVpc::test_smoke
[gw0] [100%] PASSED tests/test_subnet.py::TestSubnet::test_crud

======================================================================= 3 passed in 54.60s =======================================================================

Looks straightforward. Do your ReadMany changes in the generator not help here?

/ok-to-test

Looks straightforward. Do your ReadMany changes in the generator not help here?

Yeah, they do but only 1/2 are merged right now (working on revision) and it was unclear to me if I should wait until another release is cut with those features or not. Any suggestions?


Fix link to sit in README

Questions
Answers

Description?
Fix more links to website in README

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?

How to test?
No test, only README modified

Thank you @justeen35


Check-ex-spec exposes wheat/chaff names

At the moment, we use raw names for wheats and chaffs when downloading them, making it easy to see how to catch the chaffs for students.

Where's the staff script for uploading wheats & chaffs?
Also, check-ex-spec should be downloading from the tnelson/lfs repo and not tdelv/lfs-2021-check-ex-spec right?
(I am thinking the upload script should generate new names for compiled files ... "wheat_0.zo" "0.zo" ....)

Where's the staff script for uploading wheats & chaffs?
Also, check-ex-spec should be downloading from the tnelson/lfs repo and not tdelv/lfs-2021-check-ex-spec right?
(I am thinking the upload script should generate new names for compiled files ... "wheat_0.zo" "0.zo" ....)

The staff script is in tnelson/lfs/check-ex-spec. We need a separate, public repo for the check-ex-spec to download from, so for now I was just using a repo I made.

The staff script is in tnelson/lfs/check-ex-spec. We need a separate, public repo for the check-ex-spec to download from, so for now I was just using a repo I made.

IIRC this was fixed with a staff-only script that renamed files before shipping them.


Shortcuts

Shortcuts for decoders and encoders.

A co ty runnery,  trainery, postprocesory, ...?
Dne 29. 8. 2017 10:24 napsal uživatel "Tomáš Musil" <
<EMAIL_ADDRESS>
Merged #528 https://github.com/ufal/neuralmonkey/pull/528.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ufal/neuralmonkey/pull/528#event-1225258093, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABwcs7vR21iGxIYCn0b2doHKS7wgQl2Eks5sc9jPgaJpZM4PFDbT
.


twister: Fix exception when running coverage

Fix an exception when running coverage using gcov or llvm-cov.
Fixes https://github.com/zephyrproject-rtos/zephyr/issues/66897

still an issue with #66747 now merged?

still an issue with #66747 now merged?

That fixes it as well for me (I could reproduce locally, @golowanow no nothing set apart from ZEPHYR_BASE)

still an issue with #66747 now merged?
... nothing set apart from ZEPHYR_BASE)

then the better fix is already #66747
https://github.com/zephyrproject-rtos/zephyr/pull/66747/files#diff-d7590c92e90c3827d0cac169343ceaac1ba22223aec878f5ccef89ea3e035b1aR355

Actually https://github.com/zephyrproject-rtos/zephyr/pull/66747 fixes the specific case in the issue but it does not in our internal run, which as it turns out sets --gcov-tool, which is defined as type=Path and then breaks down the line. So I think this should still be applied.

Here's a traceback we're seeing on our downstream repo.
Traceback (most recent call last):
  File "/mnt/host/source/src/third_party/zephyr/main/scripts/twister", line 211, in <module>
    ret = main(options)
  File "/mnt/host/source/src/third_party/zephyr/main/scripts/pylib/twister/twisterlib/twister_main.py", line 205, in main
    coverage_completed = run_coverage(tplan, options)
  File "/mnt/host/source/src/third_party/zephyr/main/scripts/pylib/twister/twisterlib/coverage.py", line 365, in run_coverage
    coverage_completed = coverage_tool.generate(options.outdir)
  File "/mnt/host/source/src/third_party/zephyr/main/scripts/pylib/twister/twisterlib/coverage.py", line 117, in generate
    ret = self._generate(outdir, coveragelog)
  File "/mnt/host/source/src/third_party/zephyr/main/scripts/pylib/twister/twisterlib/coverage.py", line 201, in _generate
    self.run_command(cmd, coveragelog)
  File "/mnt/host/source/src/third_party/zephyr/main/scripts/pylib/twister/twisterlib/coverage.py", line 167, in run_command
    cmd_str = " ".join(cmd)
TypeError: sequence item 2: expected str instance, PosixPath found

ok, I see where the problem is, down in the file there is an inconsistent usage of self.gcov_tool, sometimes str() is applied, sometimes it is not. I get this fix should just resolve that and we should just use self.gcov_tool everywhere else and drop str(self.gcov_tool)

followup fix here https://github.com/zephyrproject-rtos/zephyr/pull/66905


how can I submit the results to KITTI?

I do some change to the network? Can I submit it to KITTI?What should I do? @MarvinTeichmann

I have also encountered this problem. Have you resolved it?


Link to publisher / data provider in LLR page don't work

Hi,
Since the new teaser of the organizational profiles, the link to the publisher (and I assume data provider) don't work anymore. They do on the Sources page:
http://landportal.info/library/resources/status-national-legal-frameworks-valuing-compensation-expropriated-land-0
Can we make sure that this links to their organizational profile?
Thanks! :)

Just want to make sure that this is on someone's radar.
This should be relatively easy to fix. Can we do that within the next 2-3 days? Thanks!

Another reminder to get this on someone's radar.
It is a strange change and would like to see it changed back ASAP please :)


[BUG/ISSUE] Show info glitch when alternating between Winget and Scoop packages

For example:
1- Show info of main/win32yank
2- Quickly click show info of Winamp.Winamp
3 - It will then briefly show info of win32yank, then the info Winamp.Winamp and maybe win32yank again afterwards
A possible fix would be to kill the PShell module when closing the info menu
Video
https://user-images.githubusercontent.com/73800734/209722466-564e1880-70ce-43c9-ad90-a2e775e5e092.mp4

Yes, or simply giving an identifier to each program, and then, before loading more info, check if the indetifier is still the same.


Minor Changes in the Hindi Translation article

Minor changes from left out English sentences or letters in the Hindi Translation Article.
The changes are made in the articles_ folder containing How-to-contribute.md, starting-a-project.md and getting-paid.md
These changes will help in better understanding for Indian users who prefer articles in Hindi

[✔] Have you followed the contributing guidelines?
[✔ ] Have you explained what your changes do, and why they add value to the Guides?

Thank you for the improvements!

Google hacking me to the dark web


TODO: Add section in main instance page for using detect action

In RSS-Bridge there is a feature, where you input the link and you get redirected to bridge, that is associtated with this link.
For example:
https://feed.eugenemolotov.ru/?action=detect&format=Html&url=https://t.me/s/durov
Currently no idea about the design of that page

I cant find this used anywhere in the web UI.

I cant find this used anywhere in the web UI.

There is no web UI for this feature atm.

https://rss-bridge.github.io/rss-bridge/For_Developers/Actions.html#detect


Run Spring lifecycle before/after for TestType.Dynamic

Closes https://github.com/kotest/kotest/issues/2899

👍🏼

Do you want me to release @Kantis

I'll give it a shot :)


Error: Zigbee2MQTT: TypeError: can only concatenate str (not "dict") to str**

@Stanislav,
Version: 2022.1 (build 14318)
Build Hash: a380461ea
Compile Date: 2022-04-22 07:36:31
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
rpi = 4b, 4gb, bullseye
got the following error in the log:
2022-05-03 20:21:11.856 Error: Zigbee2MQTT: Call to function 'onMessage' failed, exception details:
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: Traceback (most recent call last):
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 298, in onMessage
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: _plugin.onMessage(Connection, Data)
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 137, in onMessage
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: self.mqttClient.onMessage(Connection, Data)
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py", line 167, in onMessage
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: self.on_mqtt_message_cb(topic, message)
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 180, in onMQTTPublish
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: domoticz.log('Zigbee2mqtt bridge is ' + (message))
2022-05-03 20:21:11.864 Error: Zigbee2MQTT: TypeError: can only concatenate str (not "dict") to str
at line 179:
if (topic == 'bridge/state'):
domoticz.log('Zigbee2mqtt bridge is ' + message)
return
shouldn't this be:
if (topic == 'bridge/state'):
domoticz.log('Zigbee2mqtt bridge is ' + str(message))
return

Version: 2022.1 (build 14328)
Build Hash: 37943b463
Compile Date: 2022-04-29 08:26:28
dzVents Version: 3.1.8
Python Version: 3.8.13 (default, Apr 19 2022, 02:32:06) [GCC 11.2.0]
Ubuntu 22.04
Hi,
same issue for me ........
2022-05-06 07:53:48.988 Error: Gateway Zigbee: Call to function 'onMessage' failed, exception details:
2022-05-06 07:53:49.013 Gateway Zigbee: Received available devices list from bridge
2022-05-06 07:53:49.014 Gateway Zigbee: Received available devices groups from bridge
2022-05-06 07:53:49.036 Status: MQTT Broker Mosquitto: connected to: localhost:1882
2022-05-06 07:53:49.011 Error: Gateway Zigbee: Traceback (most recent call last):
2022-05-06 07:53:49.011 Error: Gateway Zigbee: File "/home/domo2022/domoticz/plugins/zigbee2mqtt/plugin.py", line 298, in onMessage
2022-05-06 07:53:49.011 Error: Gateway Zigbee: _plugin.onMessage(Connection, Data)
2022-05-06 07:53:49.011 Error: Gateway Zigbee: File "/home/domo2022/domoticz/plugins/zigbee2mqtt/plugin.py", line 137, in onMessage
2022-05-06 07:53:49.011 Error: Gateway Zigbee: self.mqttClient.onMessage(Connection, Data)
2022-05-06 07:53:49.011 Error: Gateway Zigbee: File "/home/domo2022/domoticz/plugins/zigbee2mqtt/mqtt.py", line 167, in onMessage
2022-05-06 07:53:49.011 Error: Gateway Zigbee: self.on_mqtt_message_cb(topic, message)
2022-05-06 07:53:49.011 Error: Gateway Zigbee: File "/home/domo2022/domoticz/plugins/zigbee2mqtt/plugin.py", line 180, in onMQTTPublish
2022-05-06 07:53:49.011 Error: Gateway Zigbee: domoticz.log('Zigbee2mqtt bridge is ' + message)
2022-05-06 07:53:49.011 Error: Gateway Zigbee: TypeError: can only concatenate str (not "dict") to str

I think the line 179 of plugin.py should be fixed to this to keep with latest api of z2m:
domoticz.log('Zigbee2mqtt bridge is ' + str(message['state']))

I kept str as "fail-safe" 😉
But there is more problems with plugin since z2m folks changed api and some methods got deprecated (unsupported): like requesting device list...

Enabling Legacy API in Z2M make this error go away.
Personally I don't this is good solution 🙃

nice solution, I think, but how do we get it into the release?
seems like Stanislav is not reacting?

Added the fix to master


add docs about window handling

The current documentation seems fine: https://splinter.readthedocs.io/en/latest/browser.html#managing-windows
@andrewsmedina You can re-open this ticket if there's something missing from the docs, but it looks fine to me.


unknown_thisproblem keeps coming

Description
What steps will reproduce the problem?

Everyime I open Spyder, I keep getting this error. I have recently started using Spyder, so can't really understand the reason
Traceback
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor.py", line 1942, in load
    finfo = self.editorstacks[0].load(filename, set_current=False)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/widgets/editor.py", line 2251, in load
    text, enc = encoding.read(filename)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/utils/encoding.py", line 249, in read
    text, encoding = decode( open(filename, 'rb').read() )
PermissionError: [Errno 1] Operation not permitted: '/Users/aishvarya/Documents/RA/Dream11/D11_Spyder/data_FE_percentile_CommonUsers_Paid.py'

Versions

Spyder version: 3.3.6
Python version: 3.7.0
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Darwin 19.0.0

Dependencies
pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.4.2 (OK)
sphinx >=0.6.6    :  2.2.0 (OK)
rope >=0.9.4      :  0.14.0 (OK)
jedi >=0.9.0      :  0.15.1 (OK)
psutil >=0.3      :  5.6.3 (OK)
nbconvert >=4.0   :  5.6.0 (OK)
pandas >=0.13.1   :  0.25.1 (OK)
numpy >=1.7       :  1.18.1 (OK)
sympy >=0.7.3     :  1.4 (OK)
cython >=0.21     :  0.29.16 (OK)
qtconsole >=4.2.0 :  4.5.5 (OK)
IPython >=4.0     :  7.8.0 (OK)
matplotlib >=2.0.0:  3.1.1 (OK)
pylint >=0.25     :  2.4.2 (OK)

Hi @Aishvarya5 seems like the user that you are using to run Spyder doesn't have access to the file that you are trying to open. Checking a little bit seems like this could be a duplicate of #10406 which seems to be caused by updating of mac OS to Catalina.
This could be helpful in your case: https://www.anaconda.com/blog/how-to-restore-anaconda-after-macos-catalina-update
I'm closing this as a duplicate but let us know if the anaconda guide helps you :)


[HTTPCORE-663] - add http status code 425

The RFC 8470 describes following HTTP Status codes:
425 Too Early
Currently, the HTTP Status code list doesn't include this codes.
https://tools.ietf.org/html/rfc8470

@arturobernalg Is not the RFC still in PROPOSED state?

@arturobernalg Is not the RFC still in PROPOSED state?

Alls RFCs are proposed, because it sasy request for comments, those aren't standards like ISO, DIN, or EN. See RFC 7230, it says PROPOSED STANDARD too.

Alls RFCs are proposed, because it sasy request for comments, those aren't standards like ISO, DIN, or EN. See RFC 7230, it says PROPOSED STANDARD too.

@arturobernalg My mistake.

@arturobernalg My mistake.


cephfs volume creation error: setfattr: Operation not supported on k8s node

I'm hoping you can help me with that, though it seems not directly a cause of ceph-csi
itself.
attr's in general are supported and enabled by the filesystem (EXT4) on the node (tried with setfattr -n user.foo -v bar foobar).
I've tried the setfattr command on the node and within the container. It does not work on either of those.
The k8s node is running on a Ubuntu 18.04.1 LTS
Container (kubectl exec csi-cephfsplugin-provisioner-0 -i -t -- sh -il):
# setfattr -n ceph.quota.max_bytes -v<PHONE_NUMBER> /var/lib/kubelet/plugins/csi-cephfsplugin/controller/volumes/root-csi-cephfs-378acacb-e5ed-11e8-9b8b-c60474a907dc
sh: setfattr: not found

Node:
# setfattr -n ceph.quota.max_bytes -v<PHONE_NUMBER> /var/lib/kubelet/plugins/csi-cephfsplugin/controller/volumes/root-csi-cephfs-378acacb-e5ed-11e8-9b8b-c60474a907dc
setfattr: root-csi-cephfs-378acacb-e5ed-11e8-9b8b-c60474a907dc: Operation not supported

Here are the logs:
logs-from-csi-cephfsplugin-attacher-in-csi-cephfsplugin-attacher-0.txt
logs-from-csi-provisioner-in-csi-cephfsplugin-provisioner-0.txt
logs-from-driver-registrar-in-csi-cephfsplugin-t94m4.txt
logs-from-csi-cephfsplugin-in-csi-cephfsplugin-t94m4.txt
Greetings and sorry for bothering you again :disappointed:

I don't think that's related, and the plugin defaults to the FUSE driver anyway. Could you please attach /etc/ceph/ceph.conf from the Ceph cluster?

[global]
	 auth client required = cephx
	 auth cluster required = cephx
	 auth service required = cephx
	 cluster network = <IP_ADDRESS>/24
	 fsid = 0a83c65a-5016-41d6-b4cb-298ec32b4fa8
	 keyring = /etc/pve/priv/$cluster.$name.keyring
	 mon allow pool delete = true
	 osd journal size = 5120
	 osd pool default min size = 1
	 osd pool default size = 2
	 public network = <IP_ADDRESS>/24

[client]
	 rbd cache = true
	 rbd cache max dirty = 536870912
	 rbd cache max dirty age = 30.0
	 rbd cache size =<PHONE_NUMBER>
	 rbd cache target dirty = 67108864
	 rbd cache writethrough until flush = true
	 rbd default order = 20
	 rbd default stripe count = 6
	 rbd default stripe unit = 65536
	 rbd op threads = 8

[client.telegraf]
	 keyring = /etc/ceph/client.telegraf.keyring

[osd]
	 bluestore_cache_kv_max = 524288000
	 bluestore_cache_size = 524288000
	 bluestore_cache_size_hdd = 524288000
	 bluestore_cache_size_ssd = 524288000
	 debug filestore = 0
	 debug osd = 0
	 filestore max sync interval = 15
	 filestore min sync interval = 0.01
	 filestore op threads = 32
	 filestore queue commiting max ops = 5000
	 filestore queue max bytes =<PHONE_NUMBER>0
	 filestore queue max ops = 25000
	 keyring = /var/lib/ceph/osd/ceph-$id/keyring
	 max open files = 65536
	 osd client message size cap =<PHONE_NUMBER>
	 osd client op priority = 63
	 osd crush update on start = false
	 osd deep scrub interval = 2592000
	 osd disk thread ioprio class = idle
	 osd disk thread ioprio priority = 7
	 osd disk threads = 2
	 osd map cache bl size = 128
	 osd map cache size = 1024
	 osd map message max = 1024
	 osd max backfills = 2
	 osd max scrubs = 10
	 osd max write size = 512
	 osd op threads = 8
	 osd recovery max active = 2
	 osd recovery op priority = 10
	 osd scrub begin hour = 2
	 osd scrub end hour = 10
	 osd scrub priority = 1
	 osd scrub load threshold = 15
	 osd snap trim priority = 5
	 osd snap trim sleep = 0.1

[mds]
	mds data = /var/lib/ceph/mds/$cluster-$id
	keyring = /var/lib/ceph/mds/$cluster-$id/keyring

[mds.pve5]
	host = pve5

[mds.pve6]
	host = pve6

[mon.pve2]
	 host = pve2
	 mon addr = <IP_ADDRESS>:6789

[mon.pve3]
	 host = pve3
	 mon addr = <IP_ADDRESS>:6789

[mon.pve6]
	 host = pve6
	 mon addr = <IP_ADDRESS>:6789

@rootfs could you please have a look?

@compilenix it looks setfattr is missing in your container?

@rootfs well the provisioner doesn't need setfattr anyway so I don't think that's the issue here, rather that the plugin is complaining about Operation not supported when setting the attributes, even though the mount with ceph-fuse was successful.

setfattr is called here in provisioner
https://github.com/ceph/ceph-csi/blob/master/pkg/cephfs/volume.go#L84
the error message is
E1111 20:14:02.125104       1 controllerserver.go:75] failed to create volume pvc-51f99106e5ee11e8: cephfs: setfattr failed with following error: exit status 1
cephfs: setfattr output: setfattr: /var/lib/kubelet/plugins/csi-cephfsplugin/controller/volumes/root-csi-cephfs-54a2ccde-e5ee-11e8-b5a7-c60474a907dc/csi-volumes/csi-cephfs-54a2ccde-e5ee-11e8-b5a7-c60474a907dc: Operation not supported

@compilenix what is your ceph release?  @batrick any idea why setfattr failed with operation not supported on cephfs quota?

I have Ceph on Debian 9 (12.2.8 -> luminous)

Correct setfattr is not installed in the provisioner container / image.
I've installed it manually to see if it makes any difference, using apk add attr. But the behavior and logs doesn't look differnent.

external-provisioner sidecar-container does not need these utilities

@compilenix can you turn on mds logging and post the mds log?

@compilenix and also please could you try mounting the volume manually with ceph-fuse -d in the plugin container?
After you get that error, check the logs to see the mount command and just copy-paste that along with the -d flag like so:
logs:
I1111 20:41:04.651845       1 util.go:41] cephfs: EXEC ceph-fuse [/var/lib/kubelet/plugins/csi-cephfsplugin/controller/volumes/root-csi-cephfs-1bd3d4bc-e5f2-11e8-b5a7-c60474a907dc -c /etc/ceph/ceph.share.csi-cephfs-1bd3d4bc-e5f2-11e8-b5a7-c60474a907dc.conf -n client.admin --keyring /etc/ceph/ceph.share.csi-cephfs-1bd3d4bc-e5f2-11e8-b5a7-c60474a907dc.client.admin.keyring -r / -o nonempty]

so the command would be:
$ ceph-fuse -d /mnt -c /etc/ceph/ceph.share.csi-cephfs-1bd3d4bc-e5f2-11e8-b5a7-c60474a907dc.conf -n client.admin --keyring /etc/ceph/ceph.share.csi-cephfs-1bd3d4bc-e5f2-11e8-b5a7-c60474a907dc.client.admin.keyring -r / -o nonempty

and also try ls-ing the mount point to see if ceph-fuse is not exiting silently. Thanks!

the file /etc/ceph/ceph.share.csi-cephfs-1bd3d4bc-e5f2-11e8-b5a7-c60474a907dc.conf did not exist anymore, but there are plenty similar named files so i used ceph.share.csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc.conf.
the ceph-fuse -d seems to work:
# kubectl exec csi-cephfsplugin-grb26 -c csi-cephfsplugin -i -t -- sh -il
# ceph-fuse -d /mnt -c /etc/ceph/ceph.share.csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc.conf -n client.admin --keyring /etc/ceph/ceph.share.csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc.client.admin.keyring -r / -o nonempty
2018-11-15 07:20:11.520 7efde07f3c00  0 ceph version 13.2.2 (02899bfda814146b021136e9d8e80eba494e1126) mimic (stable), process ceph-fuse, pid 1200
2018-11-15 07:20:11.532 7efde07f3c00 -1 init, newargv = 0x28b5dc0 newargc=9
ceph-fuse[1200]: starting ceph client
ceph-fuse[1200]: starting fuse

[ process keeps running ]

the mds log level was set to 3 during this command:
2018-11-15 08:20:11.551125 7f6514d54700  0 -- <IP_ADDRESS>:6824/554074929 >> <IP_ADDRESS>:0/500610910 conn(0x55e7ebfbd800 :6824 s=STATE_ACCEPTING_WAIT_CONNECT_MSG_AUTH pgs=0 cs=0 l=0).handle_connect_msg: challenging authorizer
2018-11-15 08:20:11.552481 7f6512581700  3 mds.0.server handle_client_session client_session(request_open) v3 from client.174516258
2018-11-15 08:20:11.560212 7f6512581700  3 mds.0.server handle_client_session client_session(request_renewcaps seq 1) v1 from client.174516258
2018-11-15 08:20:12.549042 7f6512581700  3 mds.0.server handle_client_session client_session(request_renewcaps seq 2) v1 from client.174516258
2018-11-15 08:20:15.924434 7f650fd7c700  2 mds.0.cache check_memory_usage total 414680, rss 22280, heap 313916, baseline 313916, buffers 0, 1 / 108 inodes have caps, 1 caps, 0.00925926 caps per inode
2018-11-15 08:20:20.924715 7f650fd7c700  2 mds.0.cache check_memory_usage total 414680, rss 22280, heap 313916, baseline 313916, buffers 0, 1 / 108 inodes have caps, 1 caps, 0.00925926 caps per inode

using mount in the plugin container in a seperate shell i can see that the mount seems to have worked:
[ truncated ]
tmpfs on /var/lib/kubelet/pods/d3c0739a-e5f6-11e8-b38a-0ab53650f6d5/volumes/kubernetes.io~secret/csi-nodeplugin-token-5vkbc type tmpfs (rw,relatime)
tmpfs on /run/secrets/kubernetes.io/serviceaccount type tmpfs (ro,relatime)
/dev/sda1 on /var/lib/kubelet/plugins/csi-cephfsplugin type ext4 (rw,relatime,errors=remount-ro,data=ordered)
ceph-fuse on /mnt type fuse.ceph-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)

ls -la /mnt shows a single directory named csi-volumes.
This directory has many subfolders like this:
# ls -la /mnt/csi-volumes
total 49
drwxr-x--- 97 root root 0 Nov 14 19:53 .
drwxr-xr-x  3 root root 0 Nov 11 19:48 ..
drwxr-x---  2 root root 0 Nov 11 21:16 csi-cephfs-02105771-e5f7-11e8-91f0-c60474a907dc
drwxr-x---  2 root root 0 Nov 11 20:33 csi-cephfs-06a97aa2-e5f1-11e8-b5a7-c60474a907dc
drwxr-x---  2 root root 0 Nov 14 19:39 csi-cephfs-09bab242-e845-11e8-91f0-c60474a907dc
[ truncated ]

a directory named csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc did exist, too.
i could create a simple text file within that directory (/mnt/csi-volumes/csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc/test.txt)
the new file contributed to used space on the cephfs data pool (which was completly empty up until now; ceph df detail:
POOLS:
    NAME                QUOTA OBJECTS     QUOTA BYTES      USED     %USED     MAX AVAIL     OBJECTS     DIRTY     READ       WRITE       RAW USED
    cephfs              N/A               N/A                28         0          440G           1         1          0           1           56
    cephfs_metadata     N/A               N/A              613k         0          440G          21        21         94         617        1226k

@compilenix can you setfattr on that directory?
setfattr -n ceph.quota.max_bytes -v 5000000 mnt/csi-volumes/csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc/

No.
# setfattr -n ceph.quota.max_bytes -v 5000000 /mnt/csi-volumes/csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc/
setfattr: /mnt/csi-volumes/csi-cephfs-ffb93536-e5f8-11e8-91f0-c60474a907dc/: Operation not supported

mds log at this time:
2018-11-15 15:20:11.430010 7f650fd7c700  2 mds.0.cache check_memory_usage total 420824, rss 29788, heap 313916, baseline 313916, buffers 0, 98 / 109 inodes have caps, 98 caps, 0.899083 caps per inode
2018-11-15 15:20:15.800946 7f6512581700  3 mds.0.server handle_client_session client_session(request_renewcaps seq 1262) v1 from client.174516258
2018-11-15 15:20:16.430177 7f650fd7c700  2 mds.0.cache check_memory_usage total 420824, rss 29788, heap 313916, baseline 313916, buffers 0, 98 / 109 inodes have caps, 98 caps, 0.899083 caps per inode
2018-11-15 15:20:21.429998 7f650fd7c700  2 mds.0.cache check_memory_usage total 420824, rss 29788, heap 313916, baseline 313916, buffers 0, 98 / 109 inodes have caps, 98 caps, 0.899083 caps per inode
2018-11-15 15:20:26.430372 7f650fd7c700  2 mds.0.cache check_memory_usage total 420824, rss 29788, heap 313916, baseline 313916, buffers 0, 98 / 109 inodes have caps, 98 caps, 0.899083 caps per inode
2018-11-15 15:20:31.430457 7f650fd7c700  2 mds.0.cache check_memory_usage total 420824, rss 29788, heap 313916, baseline 313916, buffers 0, 98 / 109 inodes have caps, 98 caps, 0.899083 caps per inode

@jcsp @batrick can you take a look? thanks

So the problem only occurs with the kernel client? What version of the kernel is being used? Kernel quota management is not supported until Mimic and 4.17 kernel: http://docs.ceph.com/docs/master/cephfs/kernel-features/

No, the problem occurs with the fuse client.
I suspected this earlier, too.
The kernel is at version 4.15.0 (Ubuntu 18.04).
Is there a option not to define a quota, this would work for me just fine?

let's see if #100 fixes this issue

@compilenix I merged #100, please try the new cephfs plugin image

@compilenix do you use same cephcsi plugin container at quay.io? I am not sure if the cephfs-fuse is up to date but I'll check.

I've used this image url: quay.io/cephcsi/cephfsplugin:v0.3.0

@compilenix I merged #100, please try the new cephfs plugin image

Sure, i've updated the yml files (see attached, i've excluded the rbac config) to include imagePullPolicy: Always.
csi-cephfsplugin.txt
csi-cephfsplugin-attacher.txt
csi-cephfsplugin-provisioner.txt
It does not seem to make a difference.
here are the logs:
logs-from-csi-cephfsplugin-attacher-in-csi-cephfsplugin-attacher-0.txt
logs-from-csi-cephfsplugin-in-csi-cephfsplugin-mmrmz.txt
logs-from-csi-provisioner-in-csi-cephfsplugin-provisioner-0.txt
logs-from-driver-registrar-in-csi-cephfsplugin-mmrmz.txt

@rootfs:

A bit off topic, the attribute setting here and below appear only applicable to new kernel mounter or cephfs-fuse. I believe we need some if-else here: if it is a kernel mounter, we should avoid setting them since old kernel mounter will fail to mount later. @gman0

This was not an issue before, the kernel client would just ignore the quota

@compilenix @rootfs  I tried to reproduce this issue with Ceph Luminous cluster (it's 12.2.4 but regardless) and it's indeed successfully failing with the aforementioned error message. There seems to be an incompatibility between Ceph Luminous cluster and Ceph Mimic FUSE driver when setting attributes. It's also worth noting that the kernel client does not exhibit this issue and works as expected.

@gman0 which OS and kernel version did you use?

@compilenix I've used ceph-container, tested on hosts:
$ uname -a
Linux ceph 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u1 (2018-08-03) x86_64 GNU/Linux

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/

and
$ uname -a
Linux ceph 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-11-02) x86_64 GNU/Linux

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux buster/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

@gman0 can we close this issue? or still, this issue is present?

Hi all,
I exec the command that my k8s minion or ceph minion that both failed,it means that my ceph cluster donot support the para? thanks very much
1/use kernel : mount -t ceph <IP_ADDRESS>:1091,<IP_ADDRESS>:1091,<IP_ADDRESS>:1091:/ /home/jlx -o name=admin,secret=AQA0whldex5NJhAAnLkp5U9Iwh+69lz9zbMhMg==,mds_namespace=cephfs
mount error 22 = Invalid argument  i found add mds_namespace para will fail
2/ use ceph-fuse
[root@node-7:/home]$ ceph-fuse /home/jlx -m <IP_ADDRESS>:1091,<IP_ADDRESS>:1091,<IP_ADDRESS>:1091 -c /etc/ceph/ceph.conf -n client.admin --key=AQA0w>
2019-07-05 16:33:12.116323 7f002195e040 -1 asok(0x562c5a7961c0) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/ceph-client.admin.asok': (17) File exists
2019-07-05 16:33:12.117721 7f002195e040 -1 init, newargv = 0x562c5a7932d0 newargc=11
ceph-fuse[107904]: starting ceph client
ceph-fuse[107904]: starting fuse
[root@node-7:/home]$ setfattr -n ceph.quota.max_bytes -v<PHONE_NUMBER> /home/jlx
setfattr: /home/jlx: Invalid parameters

cc @ajarr

can anyone help me with the problem? I found that i exec the setfattr command in the csi-cephfsplugin container will print log Operation not supported but in my ceph cluster minion and k8s minion exec command can run correct, why ? thanks all!
setfattr -n ceph.quota.max_bytes -v<PHONE_NUMBER> csi-vol-097f0e23-a221-11e9-8c5a-fa163e58264b-creating
[root@node-7:/usr/bin]$ docker ps
CONTAINER ID        IMAGE                                                                                COMMAND                  CREATED             STATUS              PORTS                            NAMES
6be1813bad0d        e9251e1eaa69                                                                                "/usr/local/bin/cephc"   4 days ago          Up 4 days                                            k8s_csi-cephfsplugin_csi-cephfsplugin-provisioner-0_default_704d4169-9eeb-11e9-82a9-fa163e3dc6af_0
docker exec -it  6be1813bad0d /bin/sh
sh-4.2# setfattr -n ceph.quota.max_bytes -v<PHONE_NUMBER> csi-vol-097f0e23-a221-11e9-8c5a-fa163e58264b-creating
setfattr: csi-vol-097f0e23-a221-11e9-8c5a-fa163e58264b-creating: Operation not supported
sh-4.2# ps -ef |grep ceph-fuse
root      93071      0  0 08:04 pts/1    00:00:00 ceph-fuse /paasdata/docker/plugins/cephfs.csi.ceph.com/controller/volumes/root-csi-vol-fff4d95a-a11a-11e9-8c5a-fa163e58264b -m <IP_ADDRESS>:1091,<IP_ADDRESS>:1091,<IP_ADDRESS>:1091 -c /etc/ceph/ceph.conf -n client.admin --key=AQA0whldex5NJhAAnLkp5U9Iwh+69lz9zbMhM== -r / -o nonempty --client_mds_namespace=cephfs

CC @poornimag can you help?

I made some private change to ignore error with the "setfattr“ operation, which is not support in my kernel version, and the volume create/mount is not impacted.

yeah,today I also want to use the method you said,the problem is in csi driver the ceph-fuse version not  compatible to my ceph cluster version? why the problem can not resolved and merge to the github?thanks all
the csi driver :the ceph-fuse version is
sh-4.2# rpm -qa | grep ceph
ceph-base-14.2.1-0.el7.x86_64
ceph-mgr-rook-14.2.1-0.el7.noarch
ceph-osd-14.2.1-0.el7.x86_64
ceph-iscsi-config-2.6-2.6.el7.noarch
ceph-common-14.2.1-0.el7.x86_64
ceph-mgr-dashboard-14.2.1-0.el7.noarch
nfs-ganesha-ceph-2.7.3-0.1.el7.x86_64
ceph-fuse-14.2.1-0.el7.x86_64
ceph-radosgw-14.2.1-0.el7.x86_64
but my ceph cluster is :
[root@node-7:/home/jlx]$ rpm -qa | grep ceph
python-cephfs-12.2.2-10.el7.x86_64
ceph-common-12.2.2-10.el7.x86_64
libcephfs2-12.2.2-10.el7.x86_64
ceph-fuse-12.2.2-10.el7.x86_64

the problem i have fixed that the ceph client version not compatible to the ceph version in csi driver container,i modify the csi driver container ceph client version v1.14 to v1.12,then the pv and volume can dynamic created and pod use pvc claim can running,thanks
to Madhu-1 :
the pr can you merge the master branch? thanks
#460


Dobin basis transformation

Implementation of Issue #3371
Distance based Outlier BasIs using Neighbors (DOBIN) is a new approach to select a set of basis vectors tailored for outlier detection. The transformation outputs are the new coordinate system (such that outliers are best retained in lower the dimensional feature space).
FYI @Lovkush-A @fkiraly @lmmentel

@fkiraly @aiwalter @Lovkush-A @lmmentel this is ready for review :)

@fkiraly ready to merge?

Thanks @fkiraly - this should address everything now


Start and stop shortcuts for Accumulo

Adds shortcut commands to uno for starting adn stopping Accumulo. The commands only start (resp. stop) when Accumulo is not running (resp. running).
This start/stop behavior could be expanded to fluo, metrics, and spark in the future.

This start/stop behavior could be expanded to fluo, metrics, and spark in the future.

Based on this comment, I am thinking we could change the syntax of the command from astart and astop to start accumulo and stop accumulo.  Even if not implementing starting and stopping other complements ATM, the syntax supports adding them later.

Try this new set


Matt simple

Issue:
Script failed to run after downloading.
Was generating large numbers of null exception errors even after correcting basic script failure.
Reason:
Correct errors to bring script back to function.
Fix:
Fixed issue with Parameters.
Added null check for modified properties.
Validation:
Ran script against customer provided dataset and received correct output.

Everything fixed should be good to go.


fix: camera permission request on ff

Firefox is not requesting camera access permission

Web is working properly, but FF extension is not, can't scan QR codes:

Web is working properly, but FF extension is not, can't scan QR codes:

This PR only makes sure that FF asks for camera permission. QR scanner issue should be tackled in a separate task

Camera permissions request has been fixed.


Microsoft Sign-in

I cant sign into Microsoft. It shows up for a brief second and then turns white.

Updating the electron webview from v21 to v26 has made things to screwy please use
https://github.com/unknownskl/greenlight/releases/tag/v2.0.0-beta12
Instead for now

Linux specific issue confirmed

https://community.frame.work/t/electron-apps-are-blank-empty-on-startup-solvable/23574
this maybe ?

I can confirm this exact issue on Fedora 38 (Gnome)

Using on arch (cachyOS) and also find the screen blanks out. This doesn't appear to happen if for example you load Greenlight and don't focus on the window. But as soon as mouse moves over or your focus the window it goes all white within 20 seconds.
If you are bloody fast you can successfully login but the issue still happens on the main dashboard.
I do not have Xf86-video-intel driver installed on my system, so the removal of this (suggested in the link from @LeChatP ) doesn't help out here.
Unfortunately I do think the problem is more "electron" rather than "greenlight".

Fixed since a month for me, Maybe electron or microsoft fixed a buggy dark dependency. Tested for 2.0.0-beta12 and 2.0.1, both fixed... Who knows.
Or maybe its since i've upgraded to ubuntu23.04... Nevermind, it works for me.

This bug should be solved in the 2.0.1 release. Please reopen the issue if the problem persists.


Particle Background Animation imported successfully

Description
Particle background animation imported successfully in different pages of the website.
Fixes Issue #128
Type of Change:

New Feature

https://user-images.githubusercontent.com/61961107/123537163-ad016180-d74b-11eb-8962-f1fa631ab555.mp4

Hii @ROHAN842 can you please remove that animation from the homepage?

@rockingrohit9639 OK sure!!

@ROHAN842 please push the commit so that we can merge your PR.


docs: Automated Changelog Update for v5.0.1-beta3.7

copilot:all
Automated changes by create-pull-request GitHub action

🤖 Generated by lychee action
Summary

Status
Count

🔍 Total
2191

✅ Successful
516

⏳ Timeouts
0

🔀 Redirected
0

👻 Excluded
1672

❓ Unknown
0

🚫 Errors
1

Errors per input
Errors in docs/blog/zh-Hans/2024/how-to-deploy-and-configure-meilisearch-using-docker/index.md

[403] https://zhuanlan.zhihu.com/p/703201822 | Failed: Network error: Forbidden

Full action output
Full Github Actions output


Problem with ignoreFirst

Hello, so i have a problem when i use rss-emitter-ts with more than one rss url. I use the option ignoreFirst: true but for the first url work and for the others don't work. Some help?

I have the same problem, I have fixed it deleting some lines of code, you can see my fork https://github.com/MCheca/RssEmitter it works for me

Sorry I'm so late on this, I got a better fix that does not include removing the whole else block since that will break other code.

Version 0.4.2 has been published to npm, please let me know if it didn't fix it for you.


change default branch to "main"

Is your feature request related to a problem? Please describe.
There is a movement to change many words to something politically correct.
Describe the solution you'd like
Github changes its default branch to "main", change here as same as it.

Side effect is too big.


Update test files

Ensure correct phasing for all test files.
Still to do: Reduce the tolerances in unit tests.
Fixes #38

Leave unmerged until we update the tolerances in the tests!

This should be ready now.


Clean up some error types for reconnects

Description
Some error types needed to be unwrapped to get to the root error which may be retryable. I have run this on a chaos PR and there are no instances of Unretryable log which means that we are correctly retrying and eventually succeeding
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Will run the chaos test with this and see what errors pop up

@dashrews78 One more time, sorry. Required a lot more changes


Support tracking for different hook resources kinds, other that Jobs

Werf for not does not support tracking any hook kinds other than Job, printing the warning like:
Will not track helm hook statefulset/X: StatefulSet kind not supported for tracking

Werf should support some basic fallback tracking for any kind of resource of helm hook.

Done in https://github.com/werf/kubedog/pull/255


Define License policies

We have many projects, most of them should follow the same license model.

Thanks @inigomarquinez for unify the criteria!


The image size of BEV Semantics Segmentation Camera

In https://ai4ce.github.io/V2X-Sim/data.html the description of BEV Semantics Segmentation Camera is 900x900 pixels in image size. But the size of npz file in sweeps/BEV_TOP_id_1 is only 256*256.
Where can I get the larger size BEV Semantics Segmentation image ?

Please refer to the size we provided in the actual dataset, as this could have been a typo.
It could also be that the size 900x900 might be referring to the size provided in V2X-Sim 1.0 (before I joined the team).
In either case, unfortunately, there's currently no way for us to retrieve images of 900*900 in size.


Add triggers for generic types.

var entities = modelBuilder.Model.GetEntityTypes().ToList();
entities.ForEach(entity =>
{
var entityType = entity.GetType();
var fks = entity.GetForeignKeys().ToList();
if(fks.Count == 0)
{
modelBuilder.Entity(entityType)/* EXTENSION METHODS HERE*/
}
});
Is there a way to create triggers by the sample code above? I actually know that using modelBuilder.Entity() is possible. But I would like to create a generic trigger generator.

I'm having same issue. did you get any alternative?

No. I needed to do it by another way. I created a static class that is executed when user executes database-update. My problem context is: I needed to create triggers whenever a table is created. My approach was: delete all triggers and recreate the triggers when user executes database-update.

public static class ExecuteTriggersSQL
{
    public async static Task Execute()
    {
        var config = new ConfigurationBuilder()
            .SetBasePath(Directory.GetCurrentDirectory())
            .AddJsonFile("appsettings.json")
            .Build();

        var builder = new DbContextOptionsBuilder<DefaultDbContext>()
            .UseSqlServer(config.GetConnectionString("DefaultConnection"),
            b => b.MigrationsAssembly("Persistence"));

        builder.EnableSensitiveDataLogging();

        using (var dbContext = new DefaultDbContext(builder.Options))
        {
            var executeOnUpdateDatabase = Environment.GetEnvironmentVariable("ExecuteOnUpdateDatabase");
            if (!string.IsNullOrEmpty(executeOnUpdateDatabase) && executeOnUpdateDatabase.ToLower() == "true")
            {
                Console.WriteLine("Applying Migrations");
                dbContext.Database.Migrate();
                Console.WriteLine("Done.");

Added the method to help with generic trigger registration https://github.com/win7user10/Laraue.EfCoreTriggers/blob/master/tests/Laraue.EfCoreTriggers.Tests/Tests/GenericTriggersTests.cs#L53


Can I deploy this to netlify?

Can I deploy to to netlify as the static website?
Thanks

Since this is just an HTML/CSS static theme it can be adapted to be deployed with any framework, CMS, etc. with the proper customization.


Change default for --snapshot-volumes, --restore-volumes to true

Right now these default to false; we should probably change to true.

This was fixed by #45 . Thanks @jrnt30 !


Index page of the orchestrator API should not be protected by JWT

It should show a message that we reach the orchestrator API and a link to the api-console

fixed by #524

software version
master : 92d0ba0


The method 'group_by' isn't defined for the type 'SimpleSelectStatement'.

Hello,
I am using trying to count the number of entries per month and per year, however I am getting
The method 'group_by' isn't defined for the type 'SimpleSelectStatement'.
with the following query :
final filesPerMonth = dbFiles.id.count();
final query = select(dbFiles)
    ..addColumns([filesPerMonth])
    ..group_by([dbFiles.date.year])
    ..group_by([dbFiles.date.month]);

This is my table :
class DbFiles extends Table {
  TextColumn get id => text().clientDefault(() => _uuid.v4())();
  DateTimeColumn get date => dateTime()();

  @override
  Set<Column> get primaryKey => {id};
}

What I would like to get as a result of the query is a map withe the years containing a map with month and number of files, like this :
{
  2020: {01: 160, 07: 10},
  2019: {02: 55}
}

If any other informations are required, feel free to ask.
Thank you very much.

The problem is that addColumns turns the SimpleSelectStatement to JoinedSelectStatement, and groupBy only works on the latter. So you'd have to write your query like this:
final query = select(dbFiles).addColumns([filesPerMonth]);
query.groupBy([dbFiles.date.year, dbFiles.date.month]);

Note how we're only using one dot before addColumns.

Thank you very much this worked perfectly.


Make couroutineDispatcher type in configuration generic

Issue:
I wanted to override the CoroutineDispatcher in the schema config. Unfortunately that is not possible because the inherited Type is "CommonPool"
Fix:
I changed the type explicity to "CoroutineDispatcher" so the user can override it

Thank you for contribution @TobiasWalle!


Add Workrise to list of adopters

Signed-off-by: michael.rode<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Add our company Workrise to list of adopters.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Welcome Michael and Workrise 🙌


[FR] Upgrade quickstart dataset format

The quickstart zoo dataset uses the deprecated attributes dict to store object attributes:
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart")

print(dataset.first()["ground_truth"].detections[0])

<Detection: {
    'id': '5f452471ef00e6374aac53c8',
    'attributes': BaseDict({
        'area': <NumericAttribute: {'value': 73790.37944999996}>,
        'iscrowd': <NumericAttribute: {'value': 0.0}>,
    }),
    'tags': BaseList([]),
    'label': 'bird',
    'bounding_box': BaseList([
        0.21084375,
        0.0034375,
        0.46190625,
        0.9442083333333334,
    ]),
    'mask': None,
    'confidence': None,
    'index': None,
}>

Per the docs, the attributes field will be removed, and dynamic attributes should be used instead:
<Detection: {
    'id': '5f452471ef00e6374aac53c8',
    'tags': BaseList([]),
    'label': 'bird',
    'bounding_box': BaseList([
        0.21084375,
        0.0034375,
        0.46190625,
        0.9442083333333334,
    ]),
    'mask': None,
    'confidence': None,
    'index': None,
    'area': 73790.37944999996,
    'iscrowd': 0.0,
}>

We should upgrade the quickstart dataset to use dynamic attributes, per our recommendation.

Closing this issue won't involve a PR. The goal is just to update the format of the quickstart files so that, when it the dataset downloaded via download_zoo_dataset() in the future, the dataset will use the latter format for its Detection objects.
It should be noted that the quickstart dataset is used very frequency in example snippets, so changing its format would, in general, be something that should be done with care to avoid breaking example code. However, we've been planning to delete the attributes dict for awhile:

https://voxel51.com/docs/fiftyone/user_guide/using_datasets.html#label-attributes
https://github.com/voxel51/fiftyone/blob/d81007d630106f1819d95943df937fc112da3b3a/fiftyone/core/labels.py#L226

and the API already allows attributes to be stored via either syntax, so I do not believe any examples will break here.

To make sure I'm understanding: the task here is to update the files in gdrive to reflect the changes in the docs? If not, I think I need some more clarification

So yes, you're correct

Makes sense. It looks like sample.json is the only file that will need to be updated?
I'll make the changes and then reach out separately just to have a second set of eyes review. After someone else takes a look-see I'll re-upload to overwrite the outdated version


__getitem__ does not raise OutStageError

Describe the bug
$out must be the last stage in the aggregation pipeline.
The Aggify pipeline methods like filter prevent adding their stage with last_out_stage_check decorator
It means this code will fail
Aggify(BaseModel).out(...).filter()

But __getitem__ is not decorated!
and this will not (but must) fail
Aggify(BaseModel).out(...)[1:3]

To fix
decorate __getitem__ with last_out_stage_check decorator and add its needed tests
I myself will fix this. I added an issue to not to forget it 😁

fixed #21


[#22] [iOS] [Integrate] As a user, I can see Survey header

close #22

What happened
Show Survey header with data from API.
Insight

Add SurveySelectionViewModel.
Call api /me in SurveySelectionViewModel.
SurveySelectionViewModel always return SurveyHeaderUiModel regardless of API error.

Proof Of Work
https://user-images.githubusercontent.com/6356137/207842252-b840c5e8-44f4-4921-8149-7981cc1f04fb.mov

modified the Android code in this PR too, implementation-wise there is not an issue from me. At the same time, I think it is better to have a P.o.W on the changed places for Android too

@minhnimble I don't think there's an Android code change in this PR? Only on KMM module for ViewModel. They should be no Android code change as I haven't start the Android app yet 🤔

@minhnimble I don't think there's an Android code change in this PR? Only on KMM module for ViewModel. They should be no Android code change as I haven't start the Android app yet 🤔

Oh you are right, I saw the creation of the SurveyHeaderUiModel but there is not a visible implementation for the Android app yet, please ignore then 🙏


About the Classification head in BinsFormer

Hi Zhenyu,
I read your paper BinsFormer, the result looks very impressive!
I have a question on the proposed classfication head, I wonder what exactly is the scene type the classification head aims to specify, and where does the supervising signal come from in KITTI and NYUDepth datasets, etc.
Moreover, wish you can release the code in the coming days so the followers including me can do some explorations upon your nice work. Thank you :D

Thanks for your attention to our work.
Keep in mind that the major insight of BinsFormer is to predict adaptive bins in a more elegant manner. One of the points proposed in our paper is the multi-scale interaction with per-pixel representations, which makes sense and is inevitable. Another useful information for bins prediction may come from semantic knowledge. However, the semantic info can be discarded during the forward propagation of the encoder-decoder (the feature tends to be depth-related instead of semantic). So, we add the scene classification query to learn the semantic info explicitly. This GT label can be obtained from the folder name. For example, a training image in NYU has path data/nyu/bathroom_0001/rgb_00000.jpg, and its scene label is bathroom. In KITTI, we do not use the scene understanding task since all images come from outdoor settings, which are hard to classify into different classes.
As for codes, I am currently busy with other projects, but I will release BinsFormer ASAP.

Close for now. Feel free to re-open for further discussion.

Hello,
Thank you for your answer.
And why is the parameter "classify"  not used in all your config files?
I find it in "Based-decode_heads class" and I can not find the demo.

That's a parameter for the cls.-based depth estimation method, which is presented in the BinsFormer paper (see the ablation studies). So when I release the BinsFormer, you can find them in the configs. :D

Nice, Look forward your work, thank you.


Allowing including additional files/directories to watch with the development server

Feature request

What is the expected behavior?
Watch specific file(s) or folder(s) in addition to the code from the package being built.
What is motivation or use case for adding/changing the behavior?
Consider a project structured like this:
.
├── angular.json
├── browserslist
├── client
│  └── ...
│     ├── ...
├── package.json
├── packages
│  ├── shared
│  │  ├── src
│  │  └── package.json
│  └── package xyz
│     ├── package.json
│     ├── src
├── tsconfig.json
├── webpack.config.js

client/ contains the client source code being built and served with webpack - could be an angular app, etc
packages/* contains source code that client depends upon. These may be published separately as well. They're regular npm packages.

When we serve the client app, the webpack dev server watches changes in client/ directory. If a change in made in packages/* directory, the client needs to be rebuilt and updated accordingly, but it is not. It should be.
How should this be implemented in your opinion?
Add an option similar to watchOptions.ignored, such as include.
Workarounds

https://stackoverflow.com/questions/44743790/webpack-dev-server-watch-arbitrary-directory-files-and-reload

Are you willing to work on this yourself?
No

We have https://webpack.js.org/configuration/dev-server/#devserverwatchfiles, please use it

I did not know that existed. Thanks!
On Thu, Mar 10, 2022, 11:50 PM Alexander Akait @.***>
wrote:

Closed #15506 https://github.com/webpack/webpack/issues/15506.
—
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack/issues/15506#event-6220008637, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJJ7WNT7SQZ6T5HRBJYM3TU7I77XANCNFSM5QNPW5EA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@alexander-akait I used that and it seems that it doesn't solve the issue. The packages under the packages directory are not being re-built. Is there a solution to that?
I'll re-open the issue and update the description with more details


release 2.3.0 package version not upgraded

Hey there! Ignite CLI seems to be having a problem, eh?
Welllllll, it just might be. First, search the issues to make sure it's not already
here, and if not head over to http://community.infinite.red to
get some help. If you've identified that it's really an Ignite CLI issue, then:

Explain what's going on and preferably how to replicate the issue (bonus points for a repro app)
Run ignite doctor and paste the result below, including the lines with 3 backticks
Delete these instructions! We don't want to look at them. ;)

What's going on?
the last release doesn't show the right version, ignite -v will display 2.0.0
Steps to reproduce
ignite -v
please take a look here: https://github.com/infinitered/ignite/blob/2.3.0/package.json#L3
ignite doctor results:

The boilerplate version is 2.3, but the CLI is 2.0.0.
I know that sounds silly, but we don't have a method for detecting the current boilerplate.  We could add it.

We've recently added the boilerplate to the Ignite Doctor output.


Splash Screen(Animation) in Android

I would like to code for Splash Screen( with Animations) . I will use animation and material design.
assign me this issue please. @GovindSingh9447

Anmol now you can proceed.

Anmol now you can proceed.

@GovindSingh9447  but why you closed the issue?

@anmol20112000  Now you can work on it.

@anmol20112000 How are you adding the project in this repo? There is not any android directory.

@anmol20112000 How are you adding the project in this repo? There is not any android directory.

Actually i also didn't have any idea regarding this... I m thinking this too & What about ur issue  login & register screen ..in which directory  u will pull the code..?

@anmol20112000 How are you adding the project in this repo? There is not any android directory.

Actually i also didn't have any idea regarding this... I m thinking this too & What about ur issue login & register screen ..in which directory u will pull the code..?

I created project on android studio and then I created directory in forked repo and copied the app project which I made and pasted there.

@anmol20112000 How are you adding the project in this repo? There is not any android directory.

Actually i also didn't have any idea regarding this... I m thinking this too & What about ur issue login & register screen ..in which directory u will pull the code..?

I created project on android studio and then I created directory in forked repo and copied the app project which I made and pasted there.

Ohh nice💯..i think i also have to this..🤷🏼♂..else i have no other option..


Within text, the component should be a tiny bit thinner

It would be nice if the component could blend better into scenarios like this:
https://kit-data-manager.github.io/webpage/typed-pid-maker/index.html
I suppose it would be possible to make it almost text-only. In this example it could be like this, without any borders, and therefore blend into text perfectly well:
v 21.11152/6ea60288-d895-414e-80c0-26c9fdd662b2 (copy)
, where v would be a nice arrow down, but not taller than the line-height.
The way it expands would need to be adjusted, but could look the same as of now. Maybe we can adjust all the padding/margin used currently to zero and animate it to the current values. Still, borders and other elements around may need to be made invisible or so in order to not interfere on the little space available.

Looks great!


⚠ Site has degraded performance

In 0fbd758, Site (https://fyle.uk) experienced degraded performance:

HTTP code: 503
Response time: 29417 ms

Resolved: Site performance has improved in d3f320f after 8 minutes.


Superscript caret

Hello again,
I cloned SubscriptTests (which are themselves a revised copy of StrikethroughTests), and this fails:
    public void SuperscriptExample10()
    {
        // '[' char in the middle will delay the ^^ match to the post-process phase.
        Helpers.ExecuteTest("foo ^^ba[r^^", "
foo ba[r
", Settings);
    }

Expected:
  <
foo ba[r
>.

Actual:
  <
foo ba[r
>.

The funny thing is the same example in subscript passes.
Any ideas? Does this have to do with InlineStackPriority.Emphasis? Should I create a new priority value for sub/sup?

Silly me. Of course I missed PostProcessInlineStack().
Sorry about the noise.


[bug] Some android devices can't scan the QR code in dark mode

Link to minimal reproducible example
https://github.com/AlphaWallet/alpha-wallet-android/issues/3089
Summary
Taken from https://github.com/AlphaWallet/alpha-wallet-android/issues/3089
Reproduction:

Go to https://web3modal.com/ click on Connect Wallet button
Try to scan the QR code with on certain Android devices
Nothing happens, the QR code just does not get scanned no matter how long I hold the camera to the code

@jakubuid Mentioned:
On some Android wallets the QR code in dark mode is not recognized by a scanner implemented with one of the popular Android lib ZXing.
List of related npm package versions

Can confirm. Metamask mobile does not work in dark mode but works in light mode

@Ian-Bright Can you please let us know Metamask and Android versions?

It's an issue with some wallets apparently.I had a similar issue. I contacted metamask/binance directly and they had it resolved for me<EMAIL_ADDRESS>Send them a mail. They'll help you out.

Able to reproduce this with Samsung S22 Ultra on dark mode
Steps:

Go to https://v2-migration-lab.walletconnect.com/wagmi with device/browser theme set to prefer dark mode
Click on Connect Wallet
QR doesn't scan through Rainbow wallet/Trust Wallet unless brightness is dropped all the way down.

Notes:

This issue doesn't happen with light mode for me

FYI Uniswap has its QR code in dark mode: https://interface-git-add-wc-v2-uniswap.vercel.app/#/swap
Can confirm that Metamask is not able to scan it.
MM Android build: https://app.bitrise.io/app/be69d4368ee7e86d/build/f804a7b2-ba13-4f47-a5e5-25096a178df3/artifact/9e1620b52271f6a4/p/8f5617afabfc4833dda2a985cb603bb0

Closing as this will be fixed in https://github.com/WalletConnect/web3modal/issues/1069


fix: Hot Reload Fails, DOM adds an additional iframe

There is the solution from  https://github.com/facebook/create-react-app/issues/11880
- Change the react-script version to 4.0.3 inside package.json.
- Add this to package.json below the dependencies
- "resolutions": { "react-error-overlay": "6.0.9" },
- Install react-error-overlay v6.0.9 inside your devDependencies.
- Remove your node_modules and package-lock.json.
- Do npm install and check that works.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket: