Mark as read on the device

Hello, would you have a way to mark the messages as read on the phone? I noticed that even using send_seen, the messages are marked as read only on the web, but on the mobile phone it remains unread, is there a way to stay read as on the phone as well?
Thank you very much in advance.

Have the same problem, in python2, with the latest version

I have the same problem in web Web Whatsapp show like read but in phone show like unread, How to fix that problem? ...

Maybe wait a few seconds after receiving the message resolve this issue, this work fine for me but i'm using node js and my functions in JavaScript have little changes

This happens to me when the message is received before the application starts. In case of messages received after initialization woks fine.

Check the timezone. I'm using it with the docker solution, using selenium image, and it is in a different timezone than mine. Therefore, it would mark as read in the web, but not on the phone, e would not mark as read for the other user. I changed the timezone of the selenium image, using -e "TZ=America/Sao_Paulo" in the docker run command for the selenium image, and it worked correctly.


Filter by Prefix

NetBox version
4.0.6
Topology Views version
4.0.0
Feature type
New functionality
Proposed functionality
Add a new filter to allow filtering by Prefix
Use case
This allows to show all elements in a prefix.
External dependencies
none

I'm afraid, this is not doable. The filter mechanism filters devices and NetBox does not filter devices by IPAM information. Correct me if I'm wrong.

Yes, we would have to add our own logic to apply this filter and I currently don't plan to add this.
Feel free to create a PR if you really want this.

I think, the only good approach would be to add a feature request upstream (add ability to filter devices by IPAM information). Personally, I'm not a fan of working against NetBox' logic.


fix(input): not floating the label when updating the value programmatically with reactive forms

Fixes the input placeholder not being floated when the value is updated programmatically via FormControl.setValue. This was because the listener that handles the value changes gets initialized before the FormControl.
Fixes #2441.

Closing in favour of #2455.


fix(134-2): Changed the alert and success banner to a more UX friendly design using toastify.

Checklist:

[ x] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)

Changed the success banner to a more modern and more UX friendly design, the banner waits for a predefined timer before refreshing the page to show the user the new class

Hi, there @yeeao would it be possible for you to paste some pictures of the changes you've made so that we have more context to the changes? GitHub supports copy/pasting for pictures or even drag and drop, you can add them to the conversation or edit your original message to add them. Thanks!

[image: ClassSuccessfullyCreated.png]
[image: ClassSuccessfullyDeleted.png]
[image: somethingWrong.png]
I'll be getting rid of all the comments we made and clearing some of the
unneeded extras. I'll need to replace a portion of my code with
router.reload()
We were messing with toastContainer.js, I may end up deleting it in the
future if there is no use for it.
These are currently the three banners that will be changing based on
preferences, and will complete the other three by Saturday, if not, I would
like to continue this after the micro-internship ends.
Kevin Tieu
On Wed, Oct 26, 2022 at 9:24 PM Robert Huskins @.***>
wrote:

@.**** commented on this pull request.
In components/ClassInviteTable.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006381166
:

   classes.classroomId

);

toast.error('Holy smokes! Something seriously bad happened!', {

 position: 'top-center',

 hideProgressBar: false,

 closeOnClick: true,

 pauseOnHover: true,

 draggable: true,

 progress: undefined,

 theme: 'light'

});
//    alert(
//      'Text copied for:' +
//        '\n' +
//        'Class: ' +

Let's get rid of these comments of old code, don't want them in
production. Comments should only be describing how things work. If you
didn't have context on this repo you would be confused seeing this comment
with old code.
In components/modal.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006381219
:

import { MultiSelect } from 'react-multi-select-component';
+import { toast } from 'react-toastify';
+import 'react-toastify/dist/ReactToastify.css';

+//import "./toastContainer.js"
get rid of these comments too
In pages/classes/index.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006382743
:

@@ -76,6 +79,19 @@ export default function Classes({
}) {
return (
<>

 <ToastContainer

   position='top-center'

   hideProgressBar={false}

   newestOnTop={false}

   closeOnClick

   rtl={false}

   pauseOnFocusLoss

   draggable

   pauseOnHover

   theme='light'

 />

 {/* Same as */}

get rid of this comment
In components/toastContainer.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006384775
:

+import { ToastContainer } from 'react-toastify';
+import 'react-toastify/dist/ReactToastify.css';

+<ToastContainer
+position='top-center'
+hideProgressBar={false}
+newestOnTop={false}
+closeOnClick
+rtl={false}
+pauseOnFocusLoss
+draggable
+pauseOnHover
+theme='light'
+/>
+{/* Same as */}
get rid of comment
In components/modal.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006386242
:

@@ -28,8 +32,24 @@ export default function Modal({ userId, certificationNames }) {
method: 'POST',
body: JSON.stringify(formData)
});

router.reload();
alert('Successfully Created Class');

//router.reload();

Why did we get rid of router.reload()?
In components/modal.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006386449
:

@@ -28,8 +32,24 @@ export default function Modal({ userId, certificationNames }) {
method: 'POST',
body: JSON.stringify(formData)
});

router.reload();
alert('Successfully Created Class');

//router.reload();
//router.wait(10000);
setTimeout(function(){

 window.location.reload();

}, 5000);
//alert('Successfully Created Class');

toast.success('Successfully Created Class!', {

Looks like a lot of these arguments in the function are being repeated by
our . See my comment on the toastcontainer in the page.
In components/modal.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006386587
:

@@ -28,8 +32,24 @@ export default function Modal({ userId, certificationNames }) {
method: 'POST',
body: JSON.stringify(formData)
});

router.reload();
alert('Successfully Created Class');

//router.reload();
//router.wait(10000);
setTimeout(function(){

 window.location.reload();

}, 5000);
//alert('Successfully Created Class');

get rid of these comments
In components/toastContainer.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006389612
:

+import 'react-toastify/dist/ReactToastify.css';

+<ToastContainer
+position='top-center'
+hideProgressBar={false}
+newestOnTop={false}
+closeOnClick
+rtl={false}
+pauseOnFocusLoss
+draggable
+pauseOnHover
+theme='light'
+/>
+{/* Same as */}
+
need to export this component like the others to be able to use it
In pages/classes/index.js
https://github.com/freeCodeCamp/classroom/pull/165#discussion_r1006389882
:

@@ -76,6 +79,19 @@ export default function Classes({
}) {
return (
<>

 <ToastContainer

This is not imported from the components/toastContainer.js
The idea is you create a component under components that wraps the
original ToastContainer to hide a lot of these options that we don't really
want to configure every single time we want to add a ToastContainer.
Let's call it "ClassroomToastContainer".
I don't think we need to configure options "position", closeonclick,
hideProgressBar", "draggable" "rtl"... etc
I think we should be able only to pass in a few args, like color or
whether the alert is a success and failure.
I don't know the exact answer to this problem, but essentially could you
all go back and think about how to make this  and
toast.success( call to be as simple as possible for developers in the
future? @GuillermoFloresV https://github.com/GuillermoFloresV and I
eventually want to refactor all of the alert(s to use your framework you
are laying out here.
—
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/classroom/pull/165#pullrequestreview-1157566578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOVN2CBP76QSH2SHCNVIAGLWFH7W7ANCNFSM6AAAAAAROUK4EQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi, there @yeeao would it be possible for you to paste some pictures of the changes you've made so that we have more context to the changes? GitHub supports copy/pasting for pictures or even drag and drop, you can add them to the conversation or edit your original message to add them. Thanks!
will do, thanks for the advice!


[MGX-513] Motion close only for council members

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2961830

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2961831


Fixed bug in sip routing. SDK shouldnt send empty patch.

Description
Recently, we found bug in sending PATCH for sip configuration. When the trunks dictionary on the backend is already empty and user tries to call set_trunks with empty list, the API returns 422, unproccessable entity, because the PATCH request has empty body. This happens, because for trunks dictionary, we're using merge patch.
To fix this, check was added, to send the PATCH only if there are any trunks, that changed.
Scenarios for set_routes don't have this problem, as routes list is always completely replaced and not merge patched.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Sometimes Desktop Submenu appears in the middle of the page

I cannot figure out how to reproduce this consistently, but in some circumstances the main menu items appear in the middle of the page, not underneath the clicked menu item.
Here is the result...

dupe of GH-2014


fix: escape period in regex

Thanks @apeabody
Could we also add a testcase for this like git@githubAcom doesn't match?
https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/39838f58c18ae33c065243d028afd0d65c55bb34/cli/util/git_test.go#L41

Sure - ironically just means the value is unchanged.


Adjust Timing information that is returned by planning

This branch restructures how the HitSequence message for the audio is generated.
As described in the original issue, this logic now should calculate a ground truth of the desired note sequence based on the absolute time when the first note was hit/played by the robot.
On the side of the audio:
The audio is not affected directly.
It is just important, that it gets this information after the robot executed the action, because of the current logic. Correct me if I am wrong @yunlong-wang-cn

@Flova let me know whether I made the calculations for the first hit accurately

Ping @Juphex

Instead of using a class variable I would prefer using the return value to pass approach time. This is less prone to side effects. You also need to consider that the approach time not the time until the first note is played. So it is slightly off. The time until the note is played consists of the approach time + the down stroke duration.


cob_common: 0.7.9-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository cob_common to 0.7.9-1:

upstream repository: https://github.com/ipa320/cob_common.git
release repository: https://github.com/ipa320/cob_common-release.git
distro file: noetic/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.7.8-1

cob_actions

No changes

cob_common

No changes

cob_description

No changes

cob_msgs
* Merge pull request #301 <https://github.com/ipa320/cob_common/issues/301> from omar-ihab-ali/update/emergency_stop_state_msg
  update EmergencyStopState Msg to include other states sent from PLC
* update EmergencyStopState Msg to include other states sent from PLC
* Contributors: Benjamin Maidel, omar-ihab-ali

cob_srvs

No changes

raw_description

No changes

Holding for Noetic sync

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/preparing-for-noetic-sync-2023-11-09/34547/2


Fix issue 84: Update _load_azure_token to hande str and int

Fix bug by first checking if it is a digit
Add tests for:

time str
int
illegal str
illegal int

There were several pull requests on this, but none seem to have tests.
This should fix https://github.com/kubernetes-client/python-base/issues/84

Codecov Report

Merging #141 into master will increase coverage by 0.52%.
The diff coverage is 93.75%.

@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
+ Coverage   92.86%   93.38%   +0.52%
==========================================
  Files          13       13
  Lines        1345     1376      +31
==========================================
+ Hits         1249     1285      +36
+ Misses         96       91       -5

Impacted Files
Coverage Δ

config/kube_config_test.py
95.19% <100%> (+0.25%)
:arrow_up:

config/kube_config.py
87.95% <77.77%> (+1.59%)
:arrow_up:

Continue to review full report at Codecov.

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

@roycaihw and @yliaog: Do you have the time to look at this?

/lgtm
/approve

For which version of the kubernetes pip package will this fix be available? I need the openshift-0.9.0 package which I have installed and it has kubernetes-9.0.0 as dependency. I updated kubernetes to v10.0.0 and I couldn't find the fix yet. I suppose this fix will land in 9.0.0?

it will land in the next release. the current release is  v10.0.0. so v11.0.0 should have it


Fix ARM build

The char type on ARM is unsigned, resulting in build errors due to the explicit use of i8. Replace these with c_char to fix.
Sample error (one of many):
error[E0308]: mismatched types
  --> src/hostfxr/library1_0.rs:50:63
   |
50 |                 .hostfxr_main(args.len().try_into().unwrap(), args.as_ptr())
   |                                                               ^^^^^^^^^^^^^ expected `u8`, found `i8`
   |
   = note: expected raw pointer `*const *const u8`
              found raw pointer `*const *const i8`

I can't really tell what's gone wrong with the tests here. Are you able to provide any insight?


HMDB51 Dataset mislabeling nearly all videos

HMDB51 torchvision utility is mislabeling the gross majority of videos in the dataset. The following snippet should be sufficient to reproduce clear symptoms of the bug. Replacing HMDB_videos and HMDB_annotations with the appropriate directory, this snippet should run for about a minute on ~8 CPUs.
from torchvision.datasets import HMDB51
from collections import defaultdict

# Collect a single 1 frame clip from each video.
hmdb = HMDB51('/HMDB_videos/', '/HMDB_annotations/', 1, step_between_clips=10000)

class_counts = defaultdict(int)
for i in range(len(hmdb)):
    vid, aud, label = hmdb.__getitem__(i)
    class_counts[label] += 1

print(class_counts)

We would expect the class_counts dictionary to contain even counts for each of the 51 classes. Instead, we see only 31 classes even occurring, and inconsistently. The issue is worse with the validation set, wherein only 13 classes appear.

I've pushed a succinct code change to hmdb51.py that resolves the issue cleanly.
see: https://github.com/pytorch/vision/pull/1240

@bjuncek could you have a look at this issue? I'll check it more closely once I'm back from holidays on Aug 26th

I had a look and it indeed seems to be a problem. But this problem should also exist for UCF101

@fmassa I'll take a look at the PR, and leave the review but you'll have to approve it :)

I know it's not related to this issue, but I'm trying to use the HMDB51 class and get errors:
0%|                                                                                | 0/423 [00:00<?, ?it/s]
Traceback (most recent call last):
File "", line 1, in
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torchvision/datasets/hmdb51.py", line 67, in init
video_clips = VideoClips(video_list, frames_per_clip, step_between_clips)
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torchvision/datasets/video_utils.py", line 55, in init
self._compute_frame_pts()
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torchvision/datasets/video_utils.py", line 84, in _compute_frame_pts
for batch in dl:
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 819, in next
return self._process_data(data)
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data
data.reraise()
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torch/_utils.py", line 369, in reraise
raise self.exc_type(msg)
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torchvision/datasets/video_utils.py", line 74, in getitem
return read_video_timestamps(self.x[idx])
File "/home/ekosman/anaconda3/envs/torch/lib/python3.7/site-packages/torchvision/io/video.py", line 252, in read_video_timestamps
container.close()
AttributeError: 'av.container.input.InputContainer' object has no attribute 'close'
What could cause this?

@ekosman you probably have an older version of PyAV.
Version 6.2.0 has the close method, see https://github.com/mikeboers/PyAV/pull/513.
We should probably mention that we require 6.2.0, and not older versions

Fixed via https://github.com/pytorch/vision/pull/1240


[5.4] Add queryFoo For Eloquent Model to extend the query builder

As we define the
Foo::scopeBar()

we can do
Foo::bar()->get();
$baz->foos()->bar()->count();

But sometimes, get(), count(), sum()... are not enough. Such as sum and change unit,
This pull requent support that:
As we define the
Foo::queryQux();

we can do
Foo::bar()->qux();
$baz->foos()->bar()->qux();

As we store distance with unit cm, but want output as inch.
We can do this:
Distance::scopeFoo->scopeBar->sumDistanceAsInch();

by define
classDistance
{
	// ...
	public function qureySumDistanceAsInch( $query )
	{
		return $query->sum('distance')/2.54;
	}
	// ...
}

The usage is samiler with scopes, defining at model but using at qurey builder. But they not return qurey builder, but return the result, they use at the end of qurey chain.

No plans to merge this into core at this time.

Have just been searching around for this for about an hour.
How do you suggest to handle this case currently?
Trying to add a getPaginator() method to the Model that would query and return the correct paginator.
Adding the method to the Model doesn't work.
Returning from a scope works, but it's very explicitly said in the documentation that you should not do that :/
I would just like to do a Model::active()->ordered()->getPaginator(...$args); :(


there are many net in scopeA。which one should i used inference？

I uploaded the inference models and the code I used in my demo website.


dev.sitecore.net ASPX page redirects not resolving

After the domain switch, the redirects for ASPX pages are not resolving correctly. I think this may be due to casing and the ASPX. Adding an ASPX to the working URL causes it to fail. Changing 'downloads' to 'Downloads' causes it to fail.
TEST CASE 1 ❌
URL: https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1.aspx
RESULTING REDIRECTED URL: https://developers.sitecore.com/Downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1.aspx
WORKING URL: https://developers.sitecore.com/downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1
TEST CASE 2 ✅
URL: https://dev.sitecore.net/downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1
** RESULTING REDIRECTED URL:**
https://developers.sitecore.com/downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1
TEST CASE 3 (add aspx to Test Case 2) ❌
**URL: ** https://dev.sitecore.net/downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1.aspx
** RESULTING REDIRECTED URL:** https://developers.sitecore.com/downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1.aspx
WORKING URL: https://developers.sitecore.com/downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103_Update1

I've put in a middleware temporarily to handle the Downloads to downloads conversion


Quick Sort

Add a file code file written in C++ of quick sort

@amritansh22 I would like to work on this issue as a part of Hacktoberfest. Please assign it to me.

Assigning it to you. Just read the contribution guide and open a PR once done

Hi can you assign this issue to me for Hacktoberfest 2020.
Thanks

@amritansh22 please assign one issue to only one person.


Fix pandablocksclient to work with python3

Codecov Report

Merging #278 into master will decrease coverage by <.01%.
The diff coverage is 87.5%.

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   91.47%   91.46%   -0.01%
==========================================
  Files         204      204
  Lines       10364    10377      +13
==========================================
+ Hits         9480     9491      +11
- Misses        884      886       +2

Impacted Files
Coverage Δ

malcolm/modules/pandablocks/pandablocksclient.py
93.93% <100%> (+0.23%)
:arrow_up:

malcolm/__init__.py
77.77% <50%> (-22.23%)
:arrow_down:

Continue to review full report at Codecov.

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


Multiple dex files compile error while building the firebase codelab for Android

Steps to Reproduce

Downloaded the sample code for the firebase codelab.
Tried to run step 5 on my Android device.
It seems I'm getting competing versions of a dex file.

Logs
$ cd step_5_data_syncing/
amit@Amits-MBP ~/Downloads/friendlychat-steps-master/full_steps/step_5_data_syncing  $ flutter run -d A0001
Running "flutter packages get" in step_5_data_syncing...  7.5s
Launching lib/main.dart on A0001 in debug mode...
Running 'gradle assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/auth/api/signin/internal/zzm;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Gradle build failed: 1

$ flutter analyze
Analyzing /Users/amit/Downloads/friendlychat-steps-master/full_steps/step_5_data_syncing...
  hint • The value of the field '_messages' isn't used at lib/main.dart:116:27 • unused_field
1 issue found.
(Ran in 6.8s)

Flutter Doctor
$ flutter doctor
[✓] Flutter (on Mac OS X 10.12.4 16E195, locale en-IL, channel alpha)
    • Flutter at /Users/amit/src/flutter
    • Framework revision d36e2f6191 (3 days ago), 2017-06-21 15:09:10 -0700
    • Engine revision b0dee695ec
    • Tools Dart version 1.24.0-dev.6.7

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
    • Android SDK at /usr/local/opt/android-sdk
    • Platform android-25, build-tools 25.0.3
    • ANDROID_HOME = /usr/local/opt/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.3.2, Build version 8E2002
    • ios-deploy 1.9.1
    • CocoaPods version 1.2.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Gradle version 3.2
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.1.4)
    • Flutter plugin version 14.0
    • Dart plugin version 171.4694.29

[✓] Connected devices
    • A0001     • 92d555f3                             • android-arm • Android 6.0.1 (API 23)
    • iPhone SE • B95FE386-A4FA-4DC6-8B66-CAA32105FF83 • ios         • iOS 10.3 (simulator)

@collinjackson might know.

We recently made some updates to google_sign_in and firebase_auth plugins that might be related to this. What are your current dependencies in your pubspec.yaml? Can you please try google_sign_in ^0.2.1 and firebase_auth ^0.1.0 and let me know if that works? Thanks.

I had the same issue that is described by @amitkot, I updated the pusbec.yaml file with google_sign_in: ^0.2.1 and firebase_auth: ^0.1.0 like @collinjackson said and now works fine, thank you!

Great! @amitkot can you let us know if it worked for you?

@collinjackson I confirm. It works fine using the updated versions.
Thanks!

I get this same issue when I run it with the combination of  google_sign_in: 0.3.1 and firebase_auth: 0.3.1. But when I change firebase_auth to 0.3.0, it works fine.

having this same issue here in april 2018, including these two in the pubspec.yaml:
google_sign_in: ^3.0.0
firebase_auth: ^0.5.3

a work around I found:
open the projet with android studio, then open the android portion with android studio again, u do this
by right click, go to flutter, then open mod in android studio

Any fixes?


Fix Dyld library extraction not working

-Fix extracting a library from the DYLD cache throwing an exception due
to 4e1b743901b387518da9367c301860f0a1eef413 changing the behaviour
of RandomAccessByteProvider not allowing reading past the end
of the input. The FixupMacho32bitArmOffsets script used reading past
the end of the input as it's loop terminator. This doesn't work since
the provider changes.
-Change FixupMacho32bitArmOffsets to never attempt to read more
then the input length bytes and check for the index being
equal to the file length as the loop terminator.
-This was built and tested on the 9.2.3 branch and
on master.
Fixes #2216

I ended up rewriting the entire file so only the segment bytes relevant to the DYLIB segments get extracted.  There is no longer an issue with running off the end of the provider.


Unknown character in config file

Hey,
Still somewhat new with git stuff, and don't really know how to pull and make changes and commit em (haven't spent much time looking it either). But anyways, there seems to be a weird character in the config file. I noticed it created a folder named "plexdrive?" and it's not usable. Here is what it looks like:
# Local directory
local_decrypt_dir="${media_dir}/.local-decrypt/Media"
plexdrive_temp_dir="${media_dir}/.local-decrypt/plexdrive"â€‹

Changing to this seems to be fine, not sure where it comes from tho.
# Local directory
local_decrypt_dir="${media_dir}/.local-decrypt/Media"
plexdrive_temp_dir="${media_dir}/.local-decrypt/plexdrive"

It isn't visible in nano when opening the script on debian, but there is definitely some kind of character there as i can delete the "blank" characters within nano. Either way, just wanted to help out.

Hi there.
Good catch. I didn't see that and don't know how it was inserted. I've removed the character and it should be all good now.
Thank you very much!


Threadlocking in DataArray calculations for zarr data depending on where it's loaded from (S3 vs local)

What happened:
I am consistently seeing an issue where if I download the same dataset from a particular zarr archive on S3, calculations are slowed down by 3 seconds or more compared to when the same data was loaded locally. (I make sure to load all the data into the datasets before trying the calculations.) These same calculations are subsecond on the locally-loaded data, and it's literally just the same data copied from S3 using the aws cli.
Profiling shows that this is a threadlocking issue.
I have been able to reproduce it:

Using DataArray.mean or min as the calculation
On different machines, OS and Linux, on different networks
In different versions of Python, xarray, dask, and zarr
Loading the full Dataset with coordinates or just the data variable in question (they're in different directories for this archive)
On different zarr arrays in the same archive

What you expected to happen:
No major threadlocking issues, also calculations on the same data should perform the same regardless of where it was loaded from.
Minimal Complete Verifiable Example:
See the attached Jupyter Notebook (thread_locking.ipynb.zip) which has the magic for timing and profiling the operations.
import s3fs
import xarray as xr

s3 = s3fs.S3FileSystem(anon=True)
def lookup(path):
    return s3fs.S3Map(path, s3=s3)

path_forecast = "hrrrzarr/sfc/20211124/20211124_00z_fcst.zarr/surface/PRES"
ds_from_s3 = xr.open_zarr(lookup(f"{path_forecast}/surface"))
_ = ds_from_s3.PRES.values

%%time
%%prun -l 2

_ = ds_from_s3.PRES.mean(dim="time").values

This takes over 3 seconds, most of it in {method 'acquire' of '_thread.lock' objects}.
The same mean with the data in question downloaded via aws s3 cp --recursive and then opened locally is 10x faster. The threadlock is still the main time spent, but it's much less.

To what extent is this the time to download the data? How big is the dataset? What's the absolute difference for a very small dataset? Or for a large dataset including the time to download the data first?
The threading issue may be threading contention, or it could be the main thread waiting for another thread to complete the download (others will know more here).

@max-sixty There shouldn't be any download happening by the time I'm seeing this issue. If you check the notebook (also here if it's easier to read), I check that the data is downloaded (via looking at the dataset nbytes) before attempting the computation and verify it hasn't changed afterward. wait nevermind that doesn't actually work, just verified that nbytes returns the same size of the data even when I've just opened the dataset. Is there a way to check what is and isn't downloaded?
But in any case, I call .values on the data beforehand and it has the same issue if I run the method a second (third, fourth, fifth) time. Unless it's repeatedly re-downloading the same data for some reason download doesn't seem to be the problem.
The dataset is about 350 MB and has 48 x 150 x 150 chunks. I haven't tried creating smaller or larger datasets and posting them to S3 to see if it happens with them, too.

Is there a way to check what is and isn't downloaded?

What is the time difference between the approach you've tried vs. before anything is downloaded?

@max-sixty Okay, yeah, that's the problem, it's re-downloading the data every time the values are accessed. Apparently this is the default behavior given that zarr is a chunked format.
Adding cache=True:

Fixes the problem in open_dataset
Throws an error in open_zarr
Doesn't have any noticeable effect in open_mfdataset

My data archive can't normally be usefully read without open_mfdataset and it's small enough to easily fit in memory so this behavior isn't ideal.
I guess I had assumed that the data would get stored on disk temporarily even if it wasn't in memory, too, so it's an unexpected limitation that the choices are to either cache it in memory or re-read from S3 every time you access the data. It also seems odd that the default caching logic just takes into account whether the data is chunked, not how big (small) it is, how slow accessing the store is, or whether the data's being repeatedly accessed.

If you think the data would fit in memory maybe #5704 would be enough?

It is worth mentioning that, specifically when using Zarr with fsspec, you have multiple layers of caching available.

You can ask fsspec to cache locally:

path = 's3://hrrrzarr/sfc/20211124/20211124_00z_fcst.zarr/surface/PRES'
ds = xr.open_zarr('simplecache::'+path)

(more details on configuration: https://filesystem-spec.readthedocs.io/en/latest/features.html#caching-files-locally)

You can ask Zarr to cache chunks as they are read:

mapper = fsspec.get_mapper(path)
store = LRUStoreCache(mapper, max_size=1e9)
ds = xr.open_zarr(store)

(more details on configuration here: https://zarr.readthedocs.io/en/stable/api/storage.html#zarr.storage.LRUStoreCache)

Configure a more complex mapper/cache using 3rd party mappers (i.e. Zict)

It would be interesting to turn on s3fs logging to see the access pattern, if you are interested.
fsspec.utils.setup_logging(logger_name="s3fs")

Particularly, I am interested in whether xarray is loading chunk-by chunk serially versus concurrently. It would be good to know your chunksize versus total array size.
The dask version is interesting:
xr.open_zarr(lookup(f"{path_forecast}/surface"), chunks={}) # uses dask

where the dask partition size will be the same as the underlying chunk size. If you find a lot of latency (small chunks), you can sometimes get an order of magnitude download performance increase by specifying the chunksize along some dimension(s) to be a multiple of the on-disk size. I wouldn't normally recommend Dask just for loading the data into memory, but feel free to experiment.

There doesn't seem to be anything actionable here. Closing.


Can't use cson-loader in  tag

vue & vue-i18n version
ex: 2.6.6, 8.0.0
yaml-loader: 0.5.0
cson-loader: 0.1.0
Reproduction Link

my repository: https://bitbucket.org/new_novel/herbalist-web/src/default/
(see commits 2 and 3)
Steps to reproduce

go to my repository: https://bitbucket.org/new_novel/herbalist-web/src/default/, see two commits:

"freeze(i18n): yaml-loader works well for main-menu.vue"
"freeze(i18n): cson-loader doesn't work for main-menu.vue"

clone repository
update to first commit of 2 specified: hg update 2
run UI (npm run serve), see 'main-menu.vue', check in browser that all works
update to second commit of 2 specified: hg update 3
see 'main-menu.vue', run UI (npm run serve), see error:

SyntaxError: Unexpected token m in JSON at position 0
    at JSON.parse (<anonymous>:null:null)

What is Expected?
CSON was parsed just like YAML.
What is actually happening?
Cson isn't loaded from  tag, I receive error:
 ERROR  Failed to compile with 1 errors                                                                                7:18:37 PM

 error  in ./src/components/main-menu.vue?vue&type=custom&index=0&blockType=i18n

Syntax Error: SyntaxError: Unexpected token m in JSON at position 0
    at JSON.parse (<anonymous>:null:null)

 @ ./src/components/main-menu.vue?vue&type=custom&index=0&blockType=i18n 1:0-299 1:315-318 1:320-616 1:320-616
 @ ./src/components/main-menu.vue
 @ ./node_modules/babel-loader/lib!./node_modules/coffee-loader!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=coffee&
 @ ./src/App.vue?vue&type=script&lang=coffee&
 @ ./src/App.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

Hi, @vlad0337187
The reproduction link you provided is now return 404. Can you give us another one(and a github repo would be better)? Thanks.

Hello @PeterAlfredLee
Sorry, don't have GitHub repo for this - it's a Mercurial project.
Yep, Bitbucket disabled all Mercurial repositores some time ago.
Here is a mirror:
https://hg.sr.ht/~vlad0337187/herbalist-ui/log

vue-i18n-loader will be deprecated near the future
We can use unplugin-vue-i18n
Thanks


Support for specifying 'L' and 'LW' with other days of the month

In submitting this contribution, I agree to the current Software AG contributor agreement as referred to here:
https://github.com/quartz-scheduler/contributing/blob/main/CONTRIBUTING.md
This PR supports cron expressions such as "0 15 10 1,L * ? 2010."
Changes

Supports cron expressions such as "0 15 10 1,L * ? 2010"
Fixes the behavior in the case when the days of the month has 'W' with other days of the month like "0 15 10 2W,16 * ? 2010"

The expression used to be interpreted as "0 15 10 2W,16W * ? 2010"

Checklist

[x] tested locally
[x] updated the docs
[x] added appropriate test
[x] signed-off on the above mentioned SoftwareAG contributor agreement via git commit -s on my commits.
(If you're not using command-line, you can use a browser extension )

Unfortunately, due to the change of ownership of this project, the terms of contribution have been updated, and this PR will need to be re-created, agreeing to the new terms.

I've recreated the PR: https://github.com/quartz-scheduler/quartz/pull/1175.


Replace pillow's deprecated textsize, allow to zoom

Use getbboxsize instead of the deprecated textsize [critical fix, closes #74]
Use COCO format's image_root, if available, when not provided via command line [feature]
Allow to zoom images in/out using Ctrl++ or Ctrl+- [feature, closes #53]

@jbruned Thank you so much for the PR!! Especially for the zooming support!
I'll review it asap.

@jbruned Thank you so much for the PR!! Especially for the zooming support!
I'll review it asap.

Sure! It's a pretty basic implementation but I found it useful for my use case so I opened a PR. Thank you for the tool as well!


Add chain ID to permalink URL

I accidentally added this issue. Was supposed to be on a completely different repo 😅


deprecation of setData: prismockClient.reset not working

Since v1.19.2 prismockClient.setData is deprecated, and the usage of reset() is suggested.
When i try to use reset() inside afterEach(), consecutive tests will fail. My current work around was to use setData (prismockCleaner.ts)
afterEach(() => {
    Object.keys(prismock.getData()).forEach(key => {
        prismock.setData({[key]: []});
    });
    // prismock.reset(); /* <-- this does not work :( */
});

I use jest and i mock the prisma client here directly after the env is set (in jest.config.js the setupFilesAfterEnv is used).
Is there any suggestion, how to make reset work? Thanks in advance 🙏
repo: https://github.com/lebalz/events-api

Hello @lebalz , it seems like you are keeping references to delegates (ex: prisma.[delegate].create()) in your code, which are overridden by the reset method.
I'll have a look if I can update the reset method to keep the high-level delegate reference, but I advise against keeping those references nonetheless.

Hello @lebalz , reset should now work for you with the latest version (1.21.0)!

Hi @morintd
Thanks a lot, it works perfect! It's a pleasure to test with prismock 👍


System.IO classes no longer ignore extra backslashes before network paths (since .NET 4.6.2)

The following line of code used to return 'true' if the file existed on the network host (.NET 4.6.1 and below) and started returning 'false' with .NET 4.6.2 and above.
System.IO.File.Exists(@"\\\NetworkHost\Folder\FileName")
Obviously there are too many backslashes before the network host name in this path. However, this change in behavior is causing troubling run-time issues when such paths with extra backslashes are coming from various external sources (config files, database, etc...).

Thanks @JeremyKuhne . @yoni-rapoport does this answer your question?
@jamshedd fyi.

Yes it does.
Thanks!


chore: fix some comments

Context
fix some comments
Description
fix some comments
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Is this spam? Perhaps the @tianzedavid is farming trust? Github profile looks suspicious

Is this spam? Perhaps the @tianzedavid is farming trust? Github profile looks suspicious

Probably, could be spam or a new user trying to make contributions to open source repositories. The PR content is not harmful at all. Thanks @darrenvechain for taking care of this 💚


[NoQA] Fix the new contributor PR comment

Follow up to https://github.com/Expensify/App/pull/8010
Details

Adding the additional step to get details about the PR and use the author of the PR and not the person who is merging the PR.
Fixed Issues

$ https://github.com/Expensify/Expensify/issues/194440
Tests

[ ] Verify that no errors appear in the JS console

PR Review Checklist

Contributor (PR Author) Checklist

[ ] I verified the PR has a small number of commits behind main
[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I clearly indicated the environment tests should be run in (Staging vs Production)

[ ] I wrote testing steps that cover success & fail scenarios (if applicable)
[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests & veryfy they passed on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] I verified there are no console errors related to changes in this PR
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I added comments when the code was not self explanatory
[ ] I put all copy / text shown in the product in all src/languages/* files (if applicable)
[ ] I followed proper naming convention for platform-specific files (if applicable)
[ ] I followed style guidelines (in Styling.md) for all style edits I made
[ ] I followed the JSDocs style guidelines (in STYLE.md)

[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I corroborated the UI performance was not affected (the performance is the same than main branch)
[ ] If I created a new component I verified that a similar component doesn't exist in the codebase

PR Reviewer Checklist

[ ] I verified the PR has a small number of commits behind main
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the testing environment is mentioned in the test steps

[ ] I verified testing steps cover success & fail scenarios (if applicable)
[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] I verified there are no console errors related to changes in this PR
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified comments were added when the code was not self explanatory
[ ] I verified any copy / text shown in the product was added in all src/languages/* files (if applicable)
[ ] I verified proper naming convention for platform-specific files was followed (if applicable)
[ ] I verified style guidelines were followed
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components are not impacted by changes in this PR (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified the UI performance was not affected (the performance is the same than main branch)
[ ] If a new component is created I verified that a similar component doesn't exist in the codebase

QA Steps

[ ] Verify that no errors appear in the JS console

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@roryabraham PR is here and we can make sure this works after you merge it and then the logs should mention mountiny here:

@roryabraham So not sure what are the best practices for the actions here, but now the getMergedPullRequest is reused in three jobs in this workflow: chooseDeployActions, isExpensifyEmployee and newContributorWelcomeMessage.
Should this action be separated to its own job which will then be included in needs by the other jobs to call it just once?

Should this action be separated to its own job which will then be included in needs by the other jobs to call it just once?

Sounds like a good idea to DRY things up. You'll need to make sure that the job has all the correct outputs that are needed by other jobs that reference this step.

@roryabraham updated! and left one question, thank you very much for having a look!

@cead22 Thanks! Asking for a review again:)

@roryabraham Thank you for the review! Updated the workflow to be dependent directly on the getMergedPullRequest job!

This broke shit: https://github.com/Expensify/App/actions/runs/1995172499

🚀 Deployed to staging by @roryabraham in version: 1.1.44-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


AppStoreExtract.sh

Press any key to finish after downloading new software from AppStore.
seems to ignore space, tab, return, and enter.

Hi daroloson,
Thanks for this catch. I was able to make the Return/Enter key(s) work, but not the Spacebar or Tab, yet. Have to investigate and test further here before changing the script.

Well at least I wasn't delusional, I thought most people for "any key" would hit space or return
so why wouldn't this have been reported day one.
Definitely not a bash expert, but maybe read -rsN1

http://stackoverflow.com/questions/5297638/bash-how-to-end-infinite-loop-with-any-key-pressed
You need to put the standard input in non-blocking mode. Here is an example that works:
#!/bin/bash

 if [ -t 0 ]; then stty -echo -icanon -icrnl time 0 min 0; fi

 count=0
 keypress=''
  while [ "x$keypress" = "x" ]; do
   let count+=1
   echo -ne $count'\r'
   keypress="`cat -v`"
  done

  if [ -t 0 ]; then stty sane; fi

  echo "You pressed '$keypress' after $count loop iterations"
  echo "Thanks for using this script."
  exit 0

Edit 2014/12/09: Add the -icrnl flag to stty to properly catch the Return key, use cat -v instead of read in order to catch Space.
It is possible that cat reads more than one character if it is fed data fast enough; if not the desired behaviour, replace cat -v with dd bs=1 count=1 status=none | cat -v.

Hi daroloson
As far as I can tell, the problem is solved, thanks for the input.
Tested under Sierra 10.12.3, everything seems to work. If you have time, please test in your environment.


No access to tls.client

I'm trying to port some VCL to C@E, but the original has things like
tls.client.servername # https://developer.fastly.com/reference/vcl/variables/client-connection/tls-client-servername/
tls.client.ja3_md5 # https://developer.fastly.com/reference/vcl/variables/client-connection/tls-client-ja3-md5/

Given the existing API, I might expect something like
import { client } from "fastly:tls";

client.servername
client.ja3_md5

Or perhaps chained off FetchEvent.prototype like client.{address,geo}:
fetchEvent.tls.servername

Thanks for this issue @jamesarosen - I have a draft PR #562 which should hopefully resolve this for you 🤞


Crash on start hubble v1.15.7, Failed to get snapshot 404

What is the bug?
Crash on start after updating hubble to 1.15.7
{
  "app_name": "hubble",
  "message": {
    "level": 60,
    "time":<PHONE_NUMBER>744,
    "pid": 29,
    "hostname": "farcaster-hubble-0",
    "err": {
      "type": "Error",
      "message": "Failed to start hub: failed to fetch snapshot metadata - Failed to get latest snapshot from https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json [AxiosError: Request failed with status code 404]",
      "stack": "Error: Failed to start hub\n    at file:///home/node/app/apps/hubble/src/cli.ts:682:14\n    at /home/node/app/node_modules/neverthrow/dist/index.cjs.js:113:102\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at Command.<anonymous> (file:///home/node/app/apps/hubble/src/cli.ts:680:25)\ncaused by: HubError: failed to fetch snapshot metadata - Failed to get latest snapshot from https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json [AxiosError: Request failed with status code 404]\n    at Hub.attemptCatchupSyncWithSnapshot (file:///home/node/app/apps/hubble/src/hubble.ts:934:18)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at Hub.start (file:///home/node/app/apps/hubble/src/hubble.ts:631:27)\n    at Command.<anonymous> (file:///home/node/app/apps/hubble/src/cli.ts:680:25)"
    },
    "msg": "Failed to start hub"
  },
  "process_id": 0,
  "timestamp": "2024-10-25T23:16:41.788Z",
  "type": "out"
}

How can it be reproduced? (optional)
Accessed link https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json , returned 404
Additional context (optional)
none

Same issue here ✋ Looks like this has happened before and a temporary (?) workaround is to add this to your .env file:
CATCHUP_SYNC_WITH_SNAPSHOT=false

Context: https://github.com/farcasterxyz/hub-monorepo/issues/1930#issuecomment-2067744710

Same issue here ✋ Looks like this has happened before and a temporary (?) workaround is to add this to your .env file:
CATCHUP_SYNC_WITH_SNAPSHOT=false

Context: #1930 (comment)

Followed the suggested workaround and added CATCHUP_SYNC_WITH_SNAPSHOT=false to the .env file, and it seems to have resolved the issue temporarily.


Minimum Element in Sorted and Rotated Array in CPP

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
YES.

/assign


How can I be sure that sound path is "bitperfect"?

Hi,
I installed tidal-connect by your script on a Raspberry Pi 4 with Moode, connected to an integrated amplifier (Mission 778X) by USB .
Using Tidal app from my iphone, I read "MQA" under title of song (and effectively it sound very good!).
How can I ensure that sound path from Tidal to my ampli is "bitperfect", without re-encoding/resampling?
Thanks

Hello, the tidal-connect app contained in the docker image is a closed source application, so we cannot be 100% sure of what it actually does.
That said, I believe that the app does not perform any hidden conversions and/or resampling.
If your audio device supports the sample rate of the track, which is up to 24/96, excluding the possibility of 2nd unfolding on the dac itself, no resampling or re-encoding should happen.
One can force alsa to resample to a given sample rate using custom configurations (including rate and format) in /etc/asound.conf and/or ~/.asoundrc, but unless you do something like that, nothing unexpected should happen.
You can verify the format of what is currently playing though. For example, if you want to monitor the device at index 0, you might want to open a terminal and run
watch cat /proc/asound/card0/pcm0p/sub0/hw_params
This will display the current sampling rate and bit depth that is sent to the dac.

is this one of your posts maybe?

Here is the output:
$ cat /proc/asound/M20/pcm0p/sub0/hw_params                                                                                moode: Fri May 24 16:11:43 2024

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 96000 (96000/1)
period_size: 4800
buffer_size: 24000

Another question: what is the difference between software volume and hardware volume?

So it's playing @96kHz, and the format is S32_LE.
So 24 bit have been padded to 32bit, but is not a conversion we should worry about. DACs generally support S16 and S32, not S24 afaik. Padding is just adding the missing 8 bits with zeroes. The significant bits should be unchanged.
About software vs hardware volume...
If you generally keep volume at 100%, I believe you won't notice any particular difference. At least, I don't.
If you just want to have the option to quickly attenuate the sound from the app for convenience (say: you need to answer a call), only to go back to full volume immediately after, I would not worry at all about software volume quality-wise.
As far as I know there is no way that the Tidal App can act on the hardware volume of the device. Of course if you open alsamixer on the terminal, you can act on the hardware volume, but the change won't be reflected in the Tidal Application slider.
Software volume works in the scope of the application. Say you have Tidal Connect and Spotify Connect, both with software volume, ready on the same device. If you lower softvol on one, the other is not affected. If instead you use hardware volume, you modify the volume for every app. And in case of mixed configurations (say: Spotify Connect on hw volume and Tidal Connect, of course, on software volume), if you lower hardware volume on one, lowering softvol on the other would result in further volume reduction.
I generally use software volume and keep it 100%, but I like the convenience to be able to turn down the player (any player) volume via software. Sometimes it's quicker than finding the amp remote, or going to the amp itself and act on the knob.
A note about MQA: 100% volume might be needed for unfolding to happen downstream on the dac. I am not sure because I don't have a MQA dac, but some devices like the WiiM say that max volume is needed.
But again, I don't care a lot about MQA.

Thanks, Giovanni!
My amplifier doesn’t support MQA directly, only DSD, I hope to have no much MQAs around, if not on Tidal ☺
Another question: as far as you know, to listen on Qobuz, do I need an hardware streamer?
Problem with these is that they have always a DAC and I don’t need a DAC!

I don't know OpenHome and not really clear what upmpdcli does...
In any case, I'd like to have a single GUI but it seems that it's not actually possible, if not paying Volumio subscription :-)

This page might give you an idea of how upmpdcli works.
If you are looking for other options, especially for Qobuz, you might want to consider Logitech Media Server (now Lyrion Music Server), it has Qobuz and Tidal Plugins. Tidal plugin is limited to 24/48 and will probably not be updated soon for hires, see here. I believe he is right, but I reckon people still will want to have access to the best possible available formats.
With LMS you can access local music, qobuz, spotify and Tidal (albeit as said up to 24/48) from one interface. Players can be almost anything using squeezelite. I have a docker container for that if you want to explore the solution.
I hope this helps you choose what is best for your use cases. Please star the repo if you like the work!

Thus, Daphile could be the "definitive" all-in-one solution but I need a mini-PC.
Thanks for your responses.

Well daphile is x86 only for some reasons. And you would be tied to the release cycle of the guy who maintains it.
LMS itself can run on any platform. And why bothering with a hard requirement for a x86 mini-pc?
You might be able to repurpose something you might already have or even use the same pi you are using now, especially if the library is not too big.
You can also run it using docker with the community image, which works very well.

I am grateful to you for all these tips.
You need to know that Linux, containers, networking, servers, ... are part of my every day job since +25 years and thus I'm not so happy to struggle to make them working during my free time also :-)
In any case, what is not so clear to me is where I need to put LMS in a global architecture: do I need to install on a generic Linux (Raspbian) distro? Or can I install on the actual Moode?

I am grateful to you for all these tips. You need to know that Linux, containers, networking, servers, ... are part of my every day job since +25 years and thus I'm not so happy to struggle to make them working during my free time also :-)
In any case, what is not so clear to me is where I need to put LMS in a global architecture: do I need to install on a generic Linux (Raspbian) distro? Or can I install on the actual Moode?

If you ask me what you need, I can tell you that you can install it on any linux device.
However if you choose something like Daphile, you need a dedicated device, because of the way it is packaged.
If you use piCorePlayer, again you need a dedicated device.
These two are turnkey solutions but from what you tell me, you can happily do without them. I'm not saying anything bad about these solution: they are excellent and well documented, but if you are keen to do some DIY, you simply can do more with the same hardware or even less.
You can definitely install LMS on Moode. Moode already provides the squeezelite renderer. You can install the server using docker. Be careful of your available storage, and that probably your microsd card (if you are using one) might wear fast if you execute library scan too frequenly. If you have a spare ssd to connect to that pi, you can relocate the /config folder of the lms container to that ssd and the microsd will have a lot less work to do.
If you plan to just use online services like Qobuz, Tidal and Spotify, then this concern doesn't apply at all.
The LMS media server does not need to be where the player is, of course. If you already have some server in your house, with storage for your music library, you can install lms there.

Giovanni, I need a fully functional music server for "liquid" content (FLAC files archived on an external NAS and online, possibly HiRes, services).
Ideally, it should have a unified GUI (switching to/from mConnect actually works but it's sub-optimal for me).
I'm a beginner with these products, I don't even know that LMS architecture has so many roles (client, server, renderer).
My experience untl now is only with Volumio and Moode (and your Tidal-connect that works, even if sometime it suddenly dies).
I just ran LMS Docker image but now I don't know what other piece is missing  (probably Squeezelite?)

Giovanni, I need a fully functional music server for "liquid" content (FLAC files archived on an external NAS and online, possibly HiRes, services). Ideally, it should have a unified GUI (switching to/from mConnect actually works but it's sub-optimal for me).

Given what you have written in this thread, I'd suggest LMS. Maybe you nas can run it. Is it a commercial nas?

I'm a beginner with these products, I don't even know that LMS architecture has so many roles (client, server, renderer). My experience untl now is only with Volumio and Moode (and your Tidal-connect that works, even if sometime it suddenly dies).

Volumio, and even Moode, mostly for user-friendlyness, suggest an approach that requires the player to also index your library. In both case, what you generally do is add a remote samba/nfs share to your configuration. Then the indexing process starts.
But what if you have multiple players? Every time, same store: you've got to configure your share and index your files. Again.
So, considering that you don't seem to like upnp too much, I'd suggest LMS. With the "Material skin" plugin the web interface is very nice, and should tick all the boxes. Local files in hires is not a problem with LMS.
You want a new pi for a new dac, or a new amp? Just add a new linux box with a Squeezelite installation. Or, a Moode instance, with SqueezeLite enabled. No need (or better, no strict need) to rescan you library again.

I just ran LMS Docker image but now I don't know what other piece is missing (probably Squeezelite?)

Yes! Squeezelite on the player side.
And on android there are nice apps, like Squeezer (free) and Orange Squeeze (quite cheap). There are also good apps on iOS, iPeng IIRC, not free.
All of them are much easier for the end user compared to upnp/dlna apps, I must say.

Given what you have written in this thread, I'd suggest LMS. Maybe you nas can run it. Is it a commercial nas?
No, it's only the telco router working as a NAS with an attached USB disk.

I just ran LMS Docker image but now I don't know what other piece is missing (probably Squeezelite?)

Yes! Squeezelite on the player side.
Always as Docker container?

And on android there are nice apps, like Squeezer (free) and Orange Squeeze (quite cheap).
There are also good apps on iOS, iPeng IIRC, not free. All of them are much easier for the end user compared to upnp/dlna apps,
Bad news, I have an iPhone... but I will try...

iPeng also works on the iPhone

Given what you have written in this thread, I'd suggest LMS. Maybe you nas can run it. Is it a commercial nas?

No, it's only the telco router working as a NAS with an attached USB disk.

Uhm probably you won't be able to install LMS (and nothing similar) on that, can you consider using a Pi and connecting the nas to the pi instead?

I just ran LMS Docker image but now I don't know what other piece is missing (probably Squeezelite?)

Yes! Squeezelite on the player side.

Always as Docker container?

Yes, if this is convenient for you. If Moode is your player, then squeezelite is built-in, in the renderers page. You only need to enable it.

can you consider using a Pi and connecting the disk to the pi instead?
yes, of course, as disk is powered by a separate power supply.

Yes, if this is convenient for you. If Moode is your player, then squeezelite is built-in, in the renderers page. You only need to enable it.
OK, I enabled but how to configure LMS to "see" it?

OK, my fault: amplifier (DAC) was Off :-)
I was able to see Moode as player.
Now I need only the mobile app.
I will evaluate this setup next days. Thanks for all

My experience untl now is only with Volumio and Moode (and your Tidal-connect that works, even if sometime it suddenly dies).

Can you describe in more detail what happens?
I don't know if I can do something to solve the issue, the binary is closed source... and now quite old unfortunately.

Rest assured that I will post logs when it happens again.

I will evaluate this setup next days. Thanks for all
From my first tests, it seems a really impressive setup!

I installed Windows Squeezelite-X on a laptop: it's very responsive and it configured also an additional player!
Then, I tried the "material skin" on an iPhone and it's amazing! Fast fast fast and Tidal/Qobuz really integrated in searches and playlists! Perhaps, I don't even need the iPeng app.
At this point, I'm wondering what I need Moode for... Could I install piCorePlayer?

I will evaluate this setup next days. Thanks for all

From my first tests, it seems a really impressive setup!
I installed Windows Squeezelite-X on a laptop: it's very responsive and it configured also an additional player, so I can experiment with multiplayer setup.
Then, I tried the "material skin" on an iPhone and it's amazing! Fast fast fast and Tidal/Qobuz are really integrated in searches and playlists! Perhaps, I don't even need the iPeng app.
At this point, I'm wondering what I need Moode for... Could I install piCorePlayer?

Hello, yes you can if you choose to completely embrace the LMS solution... but while on Moode it's easy to install other things, on piCorePlayer you would be quite limited. There are scripts around, but it's not the same.
On Moode player, it's so easy to just add squeezelite.
Let me know what I usually do on a linux device used as a pure player, or on a Moode installation:

Add a last.fm scrobbler, usually with yams, docker image here
Install mpd with this image. Not needed with Moode of course
Add upmpdcli with this image. On Moode, I just enable it.
Enable Squeezelite with this image. On Moode, I just enable it
Enable Librespot for spotify connect with this image. On Moode, I just enable it.
Enable Shairport-sync with this image. On Moode, I just enable it.
Add mympd using the official image, not needed with Moode
Install tidal-connect with this repository

But when I want to connect more than one audio device, or have multiple configurations running at the same time, the standard solutions of course come short, piCorePlayer for example. Moode with the possibility of running docker is a very good starting point.

Rest assured that I will post logs when it happens again.

Tidal Connect - https://github.com/GioF71/tidal-connect.git - common.sh version 0.1.5
FRIENDLY_NAME=MISSION USB Audio 2.0
MODEL_NAME=Moode
MQA_CODEC=false
MQA_PASSTHROUGH=false
CARD_NAME=M20
CARD_INDEX=
CARD_DEVICE=
CARD_FORMAT=
CREATED_ASOUND_CARD_NAME=
ENABLE_SOFTVOLUME=yes
ENABLE_GENERATED_TONE=yes
ASOUND_FILE_PREFIX=
FORCE_PLAYBACK_DEVICE=
SLEEP_TIME_SEC=3
RESTART_ON_FAIL=1
RESTART_WAIT_SEC=10
CLIENT_ID=
LOG_LEVEL=3
File [asound.conf] has not been provided
File /etc/asound.conf exists.
File /etc/asound.conf is writable
Current /etc/asound.conf:
pcm.tidal-audio-device {
  type plug
  slave.pcm {
    type hw
    card 0
  }
}
pcm.tidal-softvol {
  type softvol
  slave {
    pcm "tidal-audio-device"
  }
  control {
    name "Master"
    card 0
  }
}
Entering write_asound_if_needed ...
Specified CARD_NAME=[M20]
Found audio device [M20] as index [0]
Entering write_audio_config with card_index=[0] ...
Creating sound configuration file (card_index=[0], softvol=[yes]) ...
Ok to enable softvolume, as no 'Master' control exists for the device at index [0]
Building asound.conf with softvolume ...
Setting PLAYBACK_DEVICE=[tidal-softvol]
Sound configuration file created
Completed write_audio_config
Completed write_asound_if_needed.
pcm.tidal-audio-device {
  type plug
  slave.pcm {
    type hw
    card 0
  }
}
pcm.tidal-softvol {
  type softvol
  slave {
    pcm "tidal-audio-device"
  }
  control {
    name "Master"
    card 0
  }
}
PLAYBACK_DEVICE=[tidal-softvol]
Starting Speaker Application in Background (TMUX)
Sleeping for a while (3 seconds)...
ENABLE_GENERATED_TONE=[yes]
Generated tone is enabled
certificate_path=[/app/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat]
COMMAND_LINE=/app/ifi-tidal-release/bin/tidal_connect_application          --tc-certificate-path /app/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat          --playback-device tidal-softvol          -f "MISSION USB Audio 2.0"          --model-name "Moode"          --codec-mpegh true          --codec-mqa false          --disable-app-security false          --disable-web-security false          --enable-mqa-passthrough false          --log-level 3          --enable-websocket-log "0"
Trying a short tone ...
Playing WAVE '/assets/audio/short-low-tone.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
tone_played=[1]
Starting TIDAL Connect ...
STARTING TidalConnect services, version: 1.1.3
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
STARTED TidalConnect services.
[2024-05-30 14:49:09.632] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
[2024-05-30 14:50:08] [info] asio async_shutdown error: asio.misc:2 (End of file)
[2024-05-30 14:52:45] [info] asio async_shutdown error: asio.misc:2 (End of file)
[2024-05-30 14:52:45.969] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
[2024-05-30 14:52:55.178] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
Expression 'alsa_snd_pcm_prepare( stream->playback.pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2920
Expression 'AlsaStart( stream, 0 )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4233
Expression 'alsa_snd_pcm_drop( stream->playback.pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3042
[2024-05-30 14:54:20] [info] asio async_shutdown error: asio.misc:2 (End of file)

yes.
and it was impossible to reconnect from Tidal app.
I was forced to restart the container, nothing of impossible

What were you streaming? In terms of bitdepth and samplerate

yes. and it was impossible to reconnect from Tidal app. I was forced to restart the container, nothing of impossible

probably restarting moode would have solved the issue as well, still it's only a workaround.

Pink Floyd - The Wall - Hey You  (Remastered 2011) :-)
Best quality (MQA)

I will try tomorrow... but anyway it might not happen.
An user pointed me to an updated version in this issue, most of the interesting content has been redated.
Anyway I could build an image with that version, also using a much more updated base image. But I cannot share it, and also, there was no clear benefit.
Anyway I'll try if this version works if the current doesn't, especially if the issue is somehow replicable.

Pink Floyd - The Wall - Hey You (Remastered 2011) :-) Best quality (MQA).
Listening now, excellent!

So don't you want to get rid of this old and now buggy up and try upmpdcli with the Tidal plugin? Give it a shot!

At this point, I will try everything and change diy-hifi to my second job :-)

How did you use the plugin? Did you use the upmpdcli installation available in Moode?

yes, I simply used upmpdcli already installed in Moods, after disabling Squeezelite renderer.

Hello, you can avoid the need to disable Squeezelite if you use the "-C" options using the "Other Options" box.
The option -C means:
-C [timeout] Close the output device after [timeout] seconds of the player being idle. The default is to always keep the device open as long as the player is "on"
so if you use -C 2 the audio device is release after it is not used for 2 seconds.
About upmpdcli, did you edit the upmpdcli.conf manually, or does moode already support the plugin? I am still using Moode 8.3.9 so I don't know yet. But I know they are working/have worked on this. See here.
And last thing, about iOS: you might want to try Linn Kazoo. Although, it might require that you enable OPENHOME and OPENAV in upmpdcli.conf, so in upmpdcli.conf:
upnpav = 1
openhome = 1

Actually it's not true that you need both upnpav and openhome active. I'd stick with openhome though.

So as I understand tidal connect can not play HI RES FLAC files for now??

How did you use the plugin? Did you use the upmpdcli installation available in Moode?

it's not yet available in moode, because (I believe) there is still not an official release of upmpdcli with some script that could make the process of creating the credentials decently easy. Our fault, but maybe after summer the author of upmpdcli will push a new release. I will ask him.
But if you are on moode, you can simply enable the upnp renderer (maybe in openhome mode) and create a media server using this example. Let me know if this work for your.
With latest changes, I have added the option of running the renderer with this media server, so if configured properly, you can avoid to enable the renderer in moode.
Let me know if this work for you!

So as I understand tidal connect can not play HI RES FLAC files for now??

it never played anything >= 24/88 unless through mqa unfolding. In fact it was streaming up to 24/48 and possibly executing that unfolding. Now that tidal has removed mqa content, I guess we are limited to 16/44 and maybe 24/48 if that was the native resolution.

Actually it's not true that you need both upnpav and openhome active. I'd stick with openhome though.

infact, I mentioned this as an option. If you don't enable upnp-av, then the renderer does not show in mconnect and/or Audirvana. BubbleUPnP supports both upnp-av and openhome, but that is not the case with every control point.

Maybe someone will hack new wiim firmware and make updated plugin 🙂

Who knows.... maybe. I wouldn't hold my breath though! :-)
There are very usable and cheap solutions available, did you try something already?

No cheap solution if you want to connect DAC witj usb 🤣

Well if you have a dac already, you can use the tidal plugin for upmpdcli and there are no additional costs. mConnect is free, and you can use any control point.

That's what I am using with moode, but still would prefer Tidal app  :) it is what it is right now

Good to know. You can open issues on the upmpdcli-plugins repository (available on profile page) for bugs and/or feature requests.
For hires inside tidal app, I am afraid the cheapest thing is a wiim mini. I have a pro and quite like it but I mostly use my plugin. I developed it based on my preferences but of course I am open to add features and/or change something.
Please star the repos if you like the work!

I am waiting till I see more updates and reviews about Wiim Ultra, seems very capable streamer
From: Giovanni Fulco @.>
Sent: Tuesday, August 6, 2024 9:07 PM
To: GioF71/tidal-connect @.>
Cc: Trilis29 @.>; Comment @.>
Subject: Re: [GioF71/tidal-connect] How can I be sure that sound path is "bitperfect"? (Issue #176)
Good to know. You can open issues on the upmpdcli-plugins repository (available on profile page) for bugs and/or feature requests.
For hires inside tidal app, I am afraid the cheapest thing is a wiim mini. I have a pro and quite like it but I mostly use my plugin. I developed it based on my preferences but of course I am open to add features and/or change something.
Please star the repos if you like the work!
—
Reply to this email directly, view it on GitHub https://github.com/GioF71/tidal-connect/issues/176#issuecomment-2271857929 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMKNSAPFLTFAUXQRLCXEZ63ZQEGEPAVCNFSM6AAAAABIHMFSXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRHA2TOOJSHE .
You are receiving this because you commented.  https://github.com/notifications/beacon/AMKNSAN2WBLCS7IMPHJ2CF3ZQEGEPA5CNFSM6AAAAABIHMFSXGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUHNHGQS.gif Message ID: @.*** @.***> >

I am waiting till I see more updates and reviews about Wiim Ultra, seems very capable streamer

Looks like it is very competent!

Just pushed to the latest-tidal branch for the tidal plugin for upmpdcli. New features include a Page selection (For You, Genres, Moods, Hires etc etc).
If you used the suggested config, with just a container restart you should get the latest release!

I'm now using Qobuz by the LMS plugin and I found that it's much better thank Tidal!
@GioF71 if you can/like, look at this discussion on AVMagazine forum:
https://www.avmagazine.it/forum/91-giradischi-cdp-e-altre-sorgenti/337724-qualcuno-ascolta-dsd-dsf
Some people taled me about upsampling, DSP, HQPlayer and I'd like to have your opinion!

I'm now using Qobuz by the LMS plugin and I found that it's much better thank Tidal!

Hello, @mimmus, nice to hear from you again!
It's all about the catalog, and your tastes... Qobuz is awesome. I am kind of 'stuck' with Tidal because I am developing the plugin, and I have currently suspended Qobuz. With Qobuz you have less issues with 3rd party apps because the do not stream using mped-dash like Tidal do. On the other hand, there is no Qobuz-Connect (yet!?). But I don't bother when there are good apps like BubbleUPnP and while we also have the qobuz plugin in upmpdcli, so it is easy to use Qobuz also from my work desk with upplay to the ubiquitous Rpi4+dac without having to necessarily use a phone/tablet.

@GioF71 if you can/like, look at this discussion on AVMagazine forum: https://www.avmagazine.it/forum/91-giradischi-cdp-e-altre-sorgenti/337724-qualcuno-ascolta-dsd-dsf Some people talked me about upsampling, DSP, C-3PO, HQPlayer and I'd like to have your opinion!

I kind of abandoned dsf when I noticed I was listening to tracks just because of the format... which to me is pointless if you put "music first". So I tend to not care a lot about dsd formats. About the things I already have, I like to play them without conversions to pcm, but I don't go searching for more dsd albums anymore. Anyway dsd always failed to impress me, but that is just me. Maybe a good setup can show differences, I cannot assume this cannot happen.
About upsampling techniques, yes they are lossy (probably in the sense that they are not reversible of course). The idea is to let the dac do its thing avoiding aliasing effects in the audible spectrum. The level of the distortions introduced by upsampling should be under any level we should bother about I believe.
I have used c3po, I find the plugin interesting while a little convoluted. C3PO is server-side as you probably already know.
Keep in mind that when streaming from Qobuz/Tidal, C3PO will upsample to the max sample rate and won't be able to do 2x 4x 8x upsampling. But if you use upsampling on the squeezelite player, you can upsample 2x 4x 8x regardless of the source (see these sample configurations. I tend to prefer client side upsampling even if it is less configurable, and more importantly, statically configured. I generally create two players per dac, one without upsampling and another with 4x or 8x upsampling. When using two players on the same host, you cannot use discovery, you need to specify the lms server.
I hope this helps!

@mimmus you might know that MPD can do upsampling as well... see here
My docker image also includes a patched version of mpd which allows integer upsampling (similar to moode's version).

I lost interest in experimenting with strange magic, it seems that my actual setup with piCorePlayer works very well. In my mind, upsampling cannot add information where there is not :-)
I was wondering if it might be worthwhile to purchase some classic masterpiece in DSD or it's better to pay 2 months of Qobuz and especially a couple of stand for my speakers!!!

I lost interest in experimenting with strange magic, it seems that my actual setup with piCorePlayer works very well. In my mind, upsampling cannot add information where there is not :-)

Yes of course there is no "silver bullet". Sometimes upsampling makes life easier for DACs which behave "better" (but again, better how?) when fed with higher sampling rates. Sometimes people who have non-oversampling DACs prefer the signal to be upsampled before reaching the DAC.
Sometimes I feels my setup sounds better (smoother maybe) with upsampling, but I never run repeatable tests. Sometimes infact I believe it does not make any difference. You might want to try the results in your specific setup.

I was wondering if it might be worthwhile to purchase some classic masterpiece in DSD or it's better to pay 2 months of Qobuz or especially a couple of stand for my speakers!!!

I would definitely choose the speaker stands, you would benefit of those with every listening session.
About boutique DSD recordings, I wouldn't pays those prices and I would instead stick with what's available on qobuz/tidal or my local library, what that's me and my two cents!
Cheers!


CSS and Typescript Improvements

Hi,
theanks for the great work on this timepicker. I added some improvements and thought it would be nice to share them back to you. You can pull them if you like.

Added Typescript declarations
Refactored Sass to a Mixin which makes theming easy

With the sass changes you can now easily customize the picker appearence like this:
    $picker-colors: (
        primary-dark:       mat-color($primary, 900),
        primary:            mat-color($primary, 500),
        primary-light:      mat-color($primary, A100),
        text:               mat-color($foreground, text),
        accent:             mat-color($accent, 500),
        primary-text:       mat-color($foreground, text),
        secondary-text:     mat-color($foreground, secondary-text),
        divider:            mat-color($foreground, divider),
        clock-face:         mat-color($background, background),
        wrapper-background: mat-color($background, dialog),
        background:         mat-color($background, dialog)
    );

    @include mtp-timepicker-theme($picker-colors);

Awesome thanks so much!


Allow to override tokenizer separator

Followup of the issue #3
Even If I'm able to workaround this by stripping punctuation before adding to document, it makes the fields barely usable after they have been squashed.
For example, in my case, I'm serializing 3 fields: url, title, content.
For the url, I would prefer to be able to keep the real url (e.g /doc/api/general) but instead, I have do remove punctuation so that it becomes doc api general and the tokenizer is happy (it won't tokenize /)
In lunr, there is a way to override the tokenizer separator, though statically which is not great, but I believe this could be done per builder instance in LunrCore.
In my case, I could use a more appropriate regex separator like [^\w]+

Your link points to the separator regular expression, which matches on whitespace and hyphens. Not sure what this has to do with slashes. As far as I can tell, the slashes are hard-coded into builder.js.

It's always possible to make that pluggable of course, but if you do, you'd break compatibility with lunr.js. That may be fine in your scenario, let me know.

Your link points to the separator regular expression, which matches on whitespace and hyphens. Not sure what this has to do with slashes. As far as I can tell, the slashes are hard-coded into builder.js.

Hm, ok, maybe I misunderstood, but the tokenizer is supposed to build tokens but if / is not a separator, it will start to consider that /doc/api/general is a single token/word, hence why I was seeing /doc/api/general  in the inverted index which is unusable.

It's always possible to make that pluggable of course, but if you do, you'd break compatibility with lunr.js. That may be fine in your scenario, let me know.

Precisely, it is pluggable in lunr, so I don't think it would break anything here

I don't believe it is. We can make the whitespace and hyphens pluggable like in lunr (although in their case it's more that JavaScript lets you do anything than an extensibility mechanism), but I don't think that will help with slashes.

Oooh, you want to add slashes to the list of separators? Then each token in the path is a separate token? I see. Yeah, we can do that.

Ok, let's take another example without slashes. If I have a string with this(is,a,text), it will assume that this(is,a,text) is an entire word. There is no slash, but you have ( and ,

I don't believe it is. We can make the whitespace and hyphens pluggable like in lunr (although in their case it's more that JavaScript lets you do anything than an extensibility mechanism), but I don't think that will help with slashes.

The documentation of the separator states that it is overrideable.
/* The separator used to split a string into tokens. Override this property to change the behaviour of
 * `lunr.tokenizer` behaviour when tokenizing strings. By default this splits on whitespace and hyphens.
*/

Oooh, you want to add slashes to the list of separators? Then each token in the path is a separate token? I see. Yeah, we can do that.

Yeah, this is why I'm using the regex [^\w]+ to match anything that is a non-word. This is what I use before passing my strings to LunrCore currently to avoid the issues with non-word characters being indexed.

The documentation of the separator states that it is overrideable.

Oh I know. My remark is more agreeing with you that exposing a static property is not a proper extensibility mechanism.

Oh I know. My remark is more agreeing with you that exposing a static property is not a proper extensibility mechanism.

Yeah, that's why I suggested to add it through the Builder instance instead ;)

The reason why it is important to be able to override separators is that then after, If I want to extract a excerpt of the original content where the match occurs, I would loose all the punctuation while I would like to preserve it. So my workaround of stripping everything before indexing is "okish" to go through LunrCore, but definitely not great when you want to have correct positions back to your original text.

I can do a PR if you want (my evening is coming, I have some sparetime to kill 😉 )

Ok, I just made a small PR #10 so that you can get a quick glimpse of the kind of changes


[GitHub Request] New Repository: opensearch-remote-metadata-sdk

What is the type of request?
Repository Management
Details of the request
Please create a new repository in the opensearch-project org with the name opensearch-remote-metadata-sdk.  Initial maintainers should be @dbwiddis, @arjunkumargiri, and @dhrubo-os.
Additional information to support your request
This repository will host the multitenant metadata client which currently resides in the feature/multi_tenancy branch of ML Commons, and will be consumed by ml-commons, flow-framework, and possibly alerting plugins among others.
When does this request need to be completed?
ASAP.  This is to support refactoring work which must be completed for 2.19 release, so the earlier it is available, the more time we have to migrate.
Notes
Track the progress of your request here: https://github.com/orgs/opensearch-project/projects/208/views/33.
Member of @opensearch-project/admin will take a look at the request soon.
Thanks!

The review has been reviewed by OSPO before.
And the name is also approved.
Will wait until tomorrow meeting with LF before create the helpdesk ticket.

Pending LF Helpdesk: https://jira.linuxfoundation.org/plugins/servlet/desk/portal/2/IT-27584

Still pending LF response on the ticket.

Still pending LF response on the ticket.

Thanks.  A fast follow-up will be to enable Maven publication on that; hopefully that'll go faster 🤞

@peterzhuamazon any update on this? Thanks


Update README.md

Change year to 2017

@benmann could you please update your branch 😬

sorry ,that is only test memo.


Remove version: RoyQu.RedPanda-C++ version 1.4

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/redpanda-cpp/files/1.4/RedPanda.C%2B%2B.1.4.win32.MinGW-w64.i686.GCC.8.1.Setup.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


fix: add lenovo mgr mib

:tada: This PR is included in version 1.14.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


🚀 Feature: Add Slack command bot templates

Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code. 🤩 You can learn more at our official Appwrite Functions docs.
What you’re building
Your task is to implement the Slack command bot in Node.js.
Slack apps can be created to handle / commands by making an HTTP request to an API endpoint. The Slack command bot should be a template to handle basic Slack command bot actions following their API specifications. The behavior of the Slack bot should be similar to our Discord bot and act as a basic Hello world! type application.
The starter commands should be simple, but the code should be architected in a way that allows developers to customize and expand the commands supported. Make sure to follow our contributing guide.
Tasks summary:

[ ]  Fork & clone Appwrite's templates repository
[ ]  Create a branch feat-implement-slack-command-bot-node
[ ]  Write code for the function in folder node/slack-command-bot/.
[ ]  Test the function using Appwrite, provide a video.
[ ]  Write a README.md explaining what the function does, how to use it, and customize it. Here is an example.
[ ]  Submit a pull request to our templates repository

If you need any help, contact us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy Appwriting!

Hi Please assign this issue to me

Hi Please Assign this issue to me

Hi Please assign this issue to me

Hi @ManasMadan  have assigned the issue to you! Thank you for showing interest in contributing to Appwrite! Happy Hacktoberfest 🎃
Notes:
Please update us with your progress every 3 days, so that we know that you are working on it.
Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

Hi Please Assign this issue to me

Hi, we are assigning issues on a first-come, first-serve basis, if the other user decides to drop, the issue will go to you.

Hi Please assign this issue to me

Hi @ManasMadan have assigned the issue to you! Thank you for showing interest in contributing to Appwrite! Happy Hacktoberfest 🎃
Notes:
Please update us with your progress every 3 days, so that we know that you are working on it. Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

Hi this repo is eligible for swags right ? xD

Hi Please assign this issue to me

Hi @ManasMadan have assigned the issue to you! Thank you for showing interest in contributing to Appwrite! Happy Hacktoberfest 🎃
Notes:
Please update us with your progress every 3 days, so that we know that you are working on it. Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

Hi this repo is eligible for swags right ? xD

I have added the hacktoberfest label, so yes. You will get a swag only after you have raised a PR and it gets the hacktoberfest-accepted label

hi @Haimantika , i can work on this if @ManasMadan drops.

@Haimantika A Few Doubts,

Since slack doesn't have a api to create commands i don't need to work on that
I need to create a appwrite function that will be triggered when the command is executed on slack right ? and this is what i need to show in the video
Thanks

Hey @Haimantika please assign this to me

@itsmesuraj20 I am working on it. Please find another issue

@Haimantika A Few Doubts,

Since slack doesn't have a api to create commands i don't need to work on that
I need to create a appwrite function that will trigger the command on slack right ? and this is what i need to show in the video
Thanks

The doc here says that you can use the API for slash commands - https://api.slack.com/interactivity/slash-commands#getting_started
Yes

@Haimantika A Few Doubts,

Since slack doesn't have a api to create commands i don't need to work on that
I need to create a appwrite function that will trigger the command on slack right ? and this is what i need to show in the video
Thanks

The doc here should  help you with slash commands - https://api.slack.com/interactivity/slash-commands#getting_started
Yes

Cool !
I Am Almost done with it. Will Be Creating a PR by 14th

@Haimantika I have Created a PR #236 Merging that PR closes this issue


Restore router state

I use react-router-redux for sync history. I want to save the state of an application and restore it in the future. All components wich connected to redux work fine with restored state wich I transfer by initial state. But! Router doesn't understand :( What is wrong?

I got / ;(

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Could you post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.

What? No! I want to get help here. You can move this repository to Stackoverflow for productivity work. Reopen issue!

cc @taion @gaearon @mjackson

This isn't even the right repo.
This issue tracker is for bugs and feature requests for React Router. It's neither feasible nor desirable for broad support inquiries or general questions to do with React Router to go here.
There are a number of great forums to get help with trying to do what you want to do – this isn't one of them.

@taion You should write about this in the Readme. I'm feeling negative...

This is clearly stated in the README:

For questions and support, please visit our channel on Reactiflux or Stack Overflow. The issue tracker is exclusively for bug reports and feature requests.

Why you think it is not a bug?

This discussion is no longer productive.

If you have any further concerns regarding React Router's integration with react-router-redux, please follow up on the appropriate repository.


No known class method for selector 'promiseWithResolverBlock:'

PromiseKit version: 4.0.4
Xcode version:  Xcode 8
CocoaPods version: 1.2.0.beta.1

Migrating to Swift 3, I get the "No known class method for selector 'promiseWithResolverBlock:'" in after.m and in AnyPromise.m
Tried to reinstall the pod with same (unsuccessful) result.

I believe this is a dupe and the solution was wiping out the cocoapods cache or similar. If this doesn't work keep browsing the closed tickets.

I saw another ticket with a similar problem, I did the same, I changed the folder, and it worked, but I wanted to know how to solve it, is it some kind of macOS cache, in folder structures, would you say?

Changed which folder?

My project was done in a folder structure
/Folder1/folder2/folder3/app, I changed to folderx/app

dafuq?


Bank holiday logic is wrong.

I've reviewed your code just a bit so I may be wrong about its intent.
However your docs state:

if the holiday falls on Saturday, the holiday is observed the previous day (Friday).

The Federal Reserve system does not operate like this.
I have verified this by calling two different local (to me) banks.
The Federal Reserve Websites
For bank holidays falling on Saturday, banks are open the preceding Friday.
https://www.frbservices.org/about/holiday-schedules/
I think the confusion comes from this web page
https://www.federalreserve.gov/aboutthefed/k8.htm
At the top of the page

For holidays falling on Saturday, Federal Reserve Banks and Branches will be open the preceding Friday; however, the Board of Governors will be closed

At the bottom of the page

Saturday - the Board of Governors is closed on June 18, 2021, December 24, 2021, December 31, 2021, and November 10, 2023.

Interesting. So the logic for bank holidays is based around when the holiday is observed. I’m pretty sure the federal government follows the logic as I have it. For instance, I think Christmas 2021 was “observed” on Christmas Eve since Christmas Day was a Saturday. I think banks follow the same logic, (besides maybe the federal reserve), but maybe they don’t. Which seems weird.
I wonder if the federal reserve has special rules for holidays, but banks (Chase, Bank of America, Wells Fargo, etc) follow the federal government holiday calendar.

Might make more sense to name it “Federal Holiday” since banks can in theory be open or closed on any days they want.

Interesting. So the logic for bank holidays is based around when the holiday is observed. I’m pretty sure the federal government follows the logic as I have it. For instance, I think Christmas 2021 was “observed” on Christmas Eve since Christmas Day was a Saturday. I think banks follow the same logic, (besides maybe the federal reserve), but maybe they don’t. Which seems weird.
I wonder if the federal reserve has special rules for holidays, but banks (Chase, Bank of America, Wells Fargo, etc) follow the federal government holiday calendar.

In 2021 there was no bank holiday for Christmas.  Bank branches were free to close on the 24th, but in terms of FedACH and electronic banking, 12/24/2021 (Friday) was a normal banking day.

I confirmed this with two banks (US Bank) and a local credit union.
I spoke with a colleague who writes enterprise software at a bank and he confirmed what I'm reporting here.  If the holiday falls on a Saturday it is not observed.  If it falls on a Sunday it is observed on Monday.

I’m going to do some more research to confirm but initially I think I’m going to create a new function that checks if it is a federal holiday (that uses the current logic) and update the current bank holiday method to update to follow the correct rules for banks which only are holidays if the holidays falls on Sunday, then it is observed on Monday, but ignore Saturday holidays.